Lines Matching refs:ib_port
48 struct ib_port;
51 struct ib_port *port;
56 struct ib_port { struct
70 ssize_t (*show)(struct ib_port *, struct port_attribute *, char *buf); argument
71 ssize_t (*store)(struct ib_port *, struct port_attribute *,
105 struct ib_port *p = container_of(kobj, struct ib_port, kobj); in port_attr_show()
119 struct ib_port *p = container_of(kobj, struct ib_port, kobj); in port_attr_store()
136 struct ib_port *p = container_of(kobj, struct gid_attr_group, in gid_attr_show()
149 static ssize_t state_show(struct ib_port *p, struct port_attribute *unused, in state_show()
173 static ssize_t lid_show(struct ib_port *p, struct port_attribute *unused, in lid_show()
186 static ssize_t lid_mask_count_show(struct ib_port *p, in lid_mask_count_show()
200 static ssize_t sm_lid_show(struct ib_port *p, struct port_attribute *unused, in sm_lid_show()
213 static ssize_t sm_sl_show(struct ib_port *p, struct port_attribute *unused, in sm_sl_show()
226 static ssize_t cap_mask_show(struct ib_port *p, struct port_attribute *unused, in cap_mask_show()
239 static ssize_t rate_show(struct ib_port *p, struct port_attribute *unused, in rate_show()
310 static ssize_t phys_state_show(struct ib_port *p, struct port_attribute *unused, in phys_state_show()
325 static ssize_t link_layer_show(struct ib_port *p, struct port_attribute *unused, in link_layer_show()
380 struct ib_port *p, struct port_attribute *attr, char *buf, in _show_port_gid_attr()
397 static ssize_t show_port_gid(struct ib_port *p, struct port_attribute *attr, in show_port_gid()
426 static ssize_t show_port_gid_attr_ndev(struct ib_port *p, in show_port_gid_attr_ndev()
432 static ssize_t show_port_gid_attr_gid_type(struct ib_port *p, in show_port_gid_attr_gid_type()
439 static ssize_t show_port_pkey(struct ib_port *p, struct port_attribute *attr, in show_port_pkey()
518 static ssize_t show_pma_counter(struct ib_port *p, struct port_attribute *attr, in show_pma_counter()
675 struct ib_port *p = container_of(kobj, struct ib_port, kobj); in ib_port_release()
732 alloc_group_attrs(ssize_t (*show)(struct ib_port *, in alloc_group_attrs() argument
826 struct ib_port *port; in show_hw_stats()
837 port = container_of(kobj, struct ib_port, kobj); in show_hw_stats()
867 struct ib_port *p = container_of(kobj, struct ib_port, kobj); in show_stats_lifespan()
902 struct ib_port *p = container_of(kobj, struct ib_port, kobj); in set_stats_lifespan()
961 static void setup_hw_stats(struct ib_device *device, struct ib_port *port, in setup_hw_stats()
1043 struct ib_port *p; in add_port()
1313 struct ib_port *port = container_of(p, struct ib_port, kobj); in ib_free_port_attrs()
1402 struct ib_port *port = container_of(p, struct ib_port, kobj); in ib_port_register_module_stat()