Lines Matching refs:port_attribute
393 struct port_attribute { struct
395 ssize_t (*show)(struct mlx4_port *, struct port_attribute *, char *buf); argument
396 ssize_t (*store)(struct mlx4_port *, struct port_attribute *, argument
403 struct port_attribute *port_attr = in port_attr_show()
404 container_of(attr, struct port_attribute, attr); in port_attr_show()
416 struct port_attribute *port_attr = in port_attr_store()
417 container_of(attr, struct port_attribute, attr); in port_attr_store()
436 struct port_attribute attr;
441 static ssize_t show_port_pkey(struct mlx4_port *p, struct port_attribute *attr, in show_port_pkey()
454 static ssize_t store_port_pkey(struct mlx4_port *p, struct port_attribute *attr, in store_port_pkey()
487 struct port_attribute *attr, char *buf) in show_port_gid_idx()
494 struct port_attribute *, char *buf), in alloc_group_attrs() argument
495 ssize_t (*store)(struct mlx4_port *, struct port_attribute *, in alloc_group_attrs()