Lines Matching refs:attr
53 struct ib_port_attribute *attr, char *buf) in hrtbt_enable_show() argument
62 struct ib_port_attribute *attr, in hrtbt_enable_store() argument
89 struct ib_port_attribute *attr, const char *buf, in loopback_store() argument
105 struct ib_port_attribute *attr, in led_override_store() argument
125 struct ib_port_attribute *attr, char *buf) in status_show() argument
156 struct ib_port_attribute *attr, char *buf) in status_str_show() argument
196 &ib_port_attr_loopback.attr,
197 &ib_port_attr_led_override.attr,
198 &ib_port_attr_hrtbt_enable.attr,
199 &ib_port_attr_status.attr,
200 &ib_port_attr_status_str.attr,
286 struct bin_attribute *attr, int n) in qib_ccmgta_is_bin_visible() argument
292 return attr->attr.mode; in qib_ccmgta_is_bin_visible()
304 struct ib_port_attribute attr; member
309 struct ib_port_attribute *attr, char *buf) in sl2vl_attr_show() argument
312 container_of(attr, struct qib_sl2vl_attr, attr); in sl2vl_attr_show()
321 .attr = __ATTR(N, 0444, sl2vl_attr_show, NULL), \
343 &qib_sl2vl_attr_0.attr.attr,
344 &qib_sl2vl_attr_1.attr.attr,
345 &qib_sl2vl_attr_2.attr.attr,
346 &qib_sl2vl_attr_3.attr.attr,
347 &qib_sl2vl_attr_4.attr.attr,
348 &qib_sl2vl_attr_5.attr.attr,
349 &qib_sl2vl_attr_6.attr.attr,
350 &qib_sl2vl_attr_7.attr.attr,
351 &qib_sl2vl_attr_8.attr.attr,
352 &qib_sl2vl_attr_9.attr.attr,
353 &qib_sl2vl_attr_10.attr.attr,
354 &qib_sl2vl_attr_11.attr.attr,
355 &qib_sl2vl_attr_12.attr.attr,
356 &qib_sl2vl_attr_13.attr.attr,
357 &qib_sl2vl_attr_14.attr.attr,
358 &qib_sl2vl_attr_15.attr.attr,
372 struct ib_port_attribute attr; member
377 struct ib_port_attribute *attr, char *buf) in diagc_attr_show() argument
380 container_of(attr, struct qib_diagc_attr, attr); in diagc_attr_show()
388 struct ib_port_attribute *attr, const char *buf, in diagc_attr_store() argument
392 container_of(attr, struct qib_diagc_attr, attr); in diagc_attr_store()
408 .attr = __ATTR(N, 0664, diagc_attr_show, diagc_attr_store), \
455 struct ib_port_attribute *attr, char *buf) in rc_acks_show() argument
466 struct ib_port_attribute *attr, const char *buf, in rc_acks_store() argument
478 struct ib_port_attribute *attr, char *buf) in rc_qacks_show() argument
489 struct ib_port_attribute *attr, const char *buf, in rc_qacks_store() argument
501 struct ib_port_attribute *attr, char *buf) in rc_delayed_comp_show() argument
512 struct ib_port_attribute *attr, in rc_delayed_comp_store() argument
524 &qib_diagc_attr_rc_resends.attr.attr,
525 &qib_diagc_attr_seq_naks.attr.attr,
526 &qib_diagc_attr_rdma_seq.attr.attr,
527 &qib_diagc_attr_rnr_naks.attr.attr,
528 &qib_diagc_attr_other_naks.attr.attr,
529 &qib_diagc_attr_rc_timeouts.attr.attr,
530 &qib_diagc_attr_loop_pkts.attr.attr,
531 &qib_diagc_attr_pkt_drops.attr.attr,
532 &qib_diagc_attr_dmawait.attr.attr,
533 &qib_diagc_attr_unaligned.attr.attr,
534 &qib_diagc_attr_rc_dupreq.attr.attr,
535 &qib_diagc_attr_rc_seqnak.attr.attr,
536 &qib_diagc_attr_rc_crwaits.attr.attr,
537 &ib_port_attr_rc_acks.attr,
538 &ib_port_attr_rc_qacks.attr,
539 &ib_port_attr_rc_delayed_comp.attr,
564 static ssize_t hw_rev_show(struct device *device, struct device_attribute *attr, in hw_rev_show() argument
575 struct device_attribute *attr, char *buf) in hca_type_show() argument
591 struct device_attribute *attr, char *buf) in boardversion_show() argument
603 struct device_attribute *attr, char *buf) in localbus_info_show() argument
615 struct device_attribute *attr, char *buf) in nctxts_show() argument
632 struct device_attribute *attr, char *buf) in nfreectxts_show() argument
643 static ssize_t serial_show(struct device *device, struct device_attribute *attr, in serial_show() argument
657 struct device_attribute *attr, const char *buf, in chip_reset_store() argument
680 struct device_attribute *attr, char *buf) in tempsense_show() argument
715 &dev_attr_hw_rev.attr,
716 &dev_attr_hca_type.attr,
717 &dev_attr_board_id.attr,
718 &dev_attr_version.attr.attr,
719 &dev_attr_nctxts.attr,
720 &dev_attr_nfreectxts.attr,
721 &dev_attr_serial.attr,
722 &dev_attr_boardversion.attr,
723 &dev_attr_tempsense.attr,
724 &dev_attr_localbus_info.attr,
725 &dev_attr_chip_reset.attr,