Lines Matching refs:ib_port

47 struct ib_port;
50 struct ib_port *port;
55 struct ib_port { struct
69 ssize_t (*show)(struct ib_port *, struct port_attribute *, char *buf); argument
70 ssize_t (*store)(struct ib_port *, struct port_attribute *,
104 struct ib_port *p = container_of(kobj, struct ib_port, kobj); in port_attr_show()
118 struct ib_port *p = container_of(kobj, struct ib_port, kobj); in port_attr_store()
135 struct ib_port *p = container_of(kobj, struct gid_attr_group, in gid_attr_show()
148 static ssize_t state_show(struct ib_port *p, struct port_attribute *unused, in state_show()
172 static ssize_t lid_show(struct ib_port *p, struct port_attribute *unused, in lid_show()
185 static ssize_t lid_mask_count_show(struct ib_port *p, in lid_mask_count_show()
199 static ssize_t sm_lid_show(struct ib_port *p, struct port_attribute *unused, in sm_lid_show()
212 static ssize_t sm_sl_show(struct ib_port *p, struct port_attribute *unused, in sm_sl_show()
225 static ssize_t cap_mask_show(struct ib_port *p, struct port_attribute *unused, in cap_mask_show()
238 static ssize_t rate_show(struct ib_port *p, struct port_attribute *unused, in rate_show()
291 static ssize_t phys_state_show(struct ib_port *p, struct port_attribute *unused, in phys_state_show()
314 static ssize_t link_layer_show(struct ib_port *p, struct port_attribute *unused, in link_layer_show()
364 struct ib_port *p, struct port_attribute *attr, char *buf, in _show_port_gid_attr()
381 static ssize_t show_port_gid(struct ib_port *p, struct port_attribute *attr, in show_port_gid()
410 static ssize_t show_port_gid_attr_ndev(struct ib_port *p, in show_port_gid_attr_ndev()
416 static ssize_t show_port_gid_attr_gid_type(struct ib_port *p, in show_port_gid_attr_gid_type()
423 static ssize_t show_port_pkey(struct ib_port *p, struct port_attribute *attr, in show_port_pkey()
502 static ssize_t show_pma_counter(struct ib_port *p, struct port_attribute *attr, in show_pma_counter()
659 struct ib_port *p = container_of(kobj, struct ib_port, kobj); in ib_port_release()
716 alloc_group_attrs(ssize_t (*show)(struct ib_port *, in alloc_group_attrs() argument
807 struct ib_port *port; in show_hw_stats()
818 port = container_of(kobj, struct ib_port, kobj); in show_hw_stats()
848 struct ib_port *p = container_of(kobj, struct ib_port, kobj); in show_stats_lifespan()
883 struct ib_port *p = container_of(kobj, struct ib_port, kobj); in set_stats_lifespan()
942 static void setup_hw_stats(struct ib_device *device, struct ib_port *port, in setup_hw_stats()
1022 struct ib_port *p; in add_port()
1282 struct ib_port *port = container_of(p, struct ib_port, kobj); in free_port_list_attributes()