Lines Matching defs:ib_port

45 struct ib_port {
55 ssize_t (*show)(struct ib_port *, struct port_attribute *, char *buf);
56 ssize_t (*store)(struct ib_port *, struct port_attribute *,
77 struct ib_port *p = container_of(kobj, struct ib_port, kobj);
89 static ssize_t state_show(struct ib_port *p, struct port_attribute *unused,
113 static ssize_t lid_show(struct ib_port *p, struct port_attribute *unused,
126 static ssize_t lid_mask_count_show(struct ib_port *p,
140 static ssize_t sm_lid_show(struct ib_port *p, struct port_attribute *unused,
153 static ssize_t sm_sl_show(struct ib_port *p, struct port_attribute *unused,
166 static ssize_t cap_mask_show(struct ib_port *p, struct port_attribute *unused,
179 static ssize_t rate_show(struct ib_port *p, struct port_attribute *unused,
204 static ssize_t phys_state_show(struct ib_port *p, struct port_attribute *unused,
227 static ssize_t link_layer_show(struct ib_port *p, struct port_attribute *unused,
265 static ssize_t show_port_gid(struct ib_port *p, struct port_attribute *attr,
280 static ssize_t show_port_pkey(struct ib_port *p, struct port_attribute *attr,
295 static ssize_t get_pma_counters(struct ib_port *p, struct port_attribute *attr,
372 static ssize_t show_pma_counter(struct ib_port *p, struct port_attribute *attr,
426 static ssize_t show_pma_counter_ext(struct ib_port *p,
460 struct ib_port *p = container_of(kobj, struct ib_port, kobj);
509 alloc_group_attrs(ssize_t (*show)(struct ib_port *,
555 struct ib_port *p;
965 struct ib_port *port;
969 port = container_of(p, struct ib_port, kobj);
995 struct ib_port *port;
1007 port = container_of(p, struct ib_port, kobj);