Lines Matching defs:attr
50 struct ib_port_attribute attr; member
77 struct device_attribute attr; member
86 struct ib_port_attribute attr; member
106 struct attribute *attr, char *buf) in port_attr_show()
119 struct attribute *attr, in port_attr_store()
147 struct device_attribute *attr, char *buf) in hw_stat_device_show()
158 struct device_attribute *attr, in hw_stat_device_store()
171 struct ib_port_attribute *attr, char *buf) in hw_stat_port_show()
183 struct ib_port_attribute *attr, in hw_stat_port_store()
196 struct attribute *attr, char *buf) in gid_attr_show()
216 struct ib_port_attr attr; in state_show() local
242 struct ib_port_attr attr; in lid_show() local
255 struct ib_port_attr attr; in lid_mask_count_show() local
268 struct ib_port_attr attr; in sm_lid_show() local
281 struct ib_port_attr attr; in sm_sl_show() local
294 struct ib_port_attr attr; in cap_mask_show() local
307 struct ib_port_attr attr; in rate_show() local
382 struct ib_port_attr attr; in phys_state_show() local
458 struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, in _show_port_gid_attr()
478 struct ib_port_attribute *attr, char *buf) in show_port_gid()
507 struct ib_port_attribute *attr, in show_port_gid_attr_ndev()
515 struct ib_port_attribute *attr, in show_port_gid_attr_gid_type()
522 struct ib_port_attribute *attr, char *buf) in show_port_pkey()
554 static int get_perf_mad(struct ib_device *dev, int port_num, __be16 attr, in get_perf_mad()
599 struct ib_port_attribute *attr, char *buf) in show_pma_counter()
935 struct hw_stats_device_attribute *attr; in ib_setup_device_attrs() local
1035 struct hw_stats_port_attribute *attr; in setup_hw_port_stats() local
1137 const struct ib_port_attr *attr) in setup_gid_attrs()
1199 const struct ib_port_attr *attr) in setup_port()
1317 struct device_attribute *attr, char *buf) in node_type_show()
1341 struct device_attribute *attr, char *buf) in node_guid_show()
1355 struct device_attribute *attr, char *buf) in node_desc_show()
1363 struct device_attribute *attr, in node_desc_store()
1382 static ssize_t fw_ver_show(struct device *device, struct device_attribute *attr, in fw_ver_show()
1433 struct ib_port_attr attr; in ib_setup_port_attrs() local