Lines Matching refs:ib_port
57 struct ib_port *port;
64 struct ib_port { struct
110 struct ib_port *p = container_of(kobj, struct ib_port, kobj); in port_attr_show()
124 struct ib_port *p = container_of(kobj, struct ib_port, kobj); in port_attr_store()
134 struct ib_port *port = container_of(kobj, struct ib_port, kobj); in ib_port_sysfs_get_ibdev_kobj()
175 struct ib_port *port = ibdev->port_data[port_num].sysfs; in hw_stat_port_show()
188 struct ib_port *port = ibdev->port_data[port_num].sysfs; in hw_stat_port_store()
200 struct ib_port *p = container_of(kobj, struct gid_attr_group, in gid_attr_show()
752 struct ib_port *port = container_of(kobj, struct ib_port, kobj); in ib_port_release()
986 alloc_hw_stats_port(struct ib_port *port, struct attribute_group *group) in alloc_hw_stats_port()
1025 static int setup_hw_port_stats(struct ib_port *port, in setup_hw_port_stats()
1121 static int setup_gid_attrs(struct ib_port *port, in setup_gid_attrs()
1168 static void destroy_gid_attrs(struct ib_port *port) in destroy_gid_attrs()
1183 static struct ib_port *setup_port(struct ib_core_device *coredev, int port_num, in setup_port()
1189 struct ib_port *p; in setup_port()
1262 static void destroy_port(struct ib_core_device *coredev, struct ib_port *port) in destroy_port()
1397 struct ib_port *port = container_of(p, struct ib_port, kobj); in ib_free_port_attrs()
1419 struct ib_port *port; in ib_setup_port_attrs()