Lines Matching refs:port_attribute
394 struct port_attribute { struct
396 ssize_t (*show)(struct mlx4_port *, struct port_attribute *, char *buf); argument
397 ssize_t (*store)(struct mlx4_port *, struct port_attribute *, argument
404 struct port_attribute *port_attr = in port_attr_show()
405 container_of(attr, struct port_attribute, attr); in port_attr_show()
417 struct port_attribute *port_attr = in port_attr_store()
418 container_of(attr, struct port_attribute, attr); in port_attr_store()
437 struct port_attribute attr;
442 static ssize_t show_port_pkey(struct mlx4_port *p, struct port_attribute *attr, in show_port_pkey()
459 static ssize_t store_port_pkey(struct mlx4_port *p, struct port_attribute *attr, in store_port_pkey()
492 struct port_attribute *attr, char *buf) in show_port_gid_idx()
499 struct port_attribute *, char *buf), in alloc_group_attrs() argument
500 ssize_t (*store)(struct mlx4_port *, struct port_attribute *, in alloc_group_attrs()