Lines Matching refs:mlx4_port

366 struct mlx4_port {  struct
380 struct mlx4_port *p = container_of(kobj, struct mlx4_port, kobj); in mlx4_port_release() argument
395 ssize_t (*show)(struct mlx4_port *, struct port_attribute *, char *buf);
396 ssize_t (*store)(struct mlx4_port *, struct port_attribute *,
405 struct mlx4_port *p = container_of(kobj, struct mlx4_port, kobj); in port_attr_show()
418 struct mlx4_port *p = container_of(kobj, struct mlx4_port, kobj); in port_attr_store()
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()
486 static ssize_t show_port_gid_idx(struct mlx4_port *p, in show_port_gid_idx()
493 alloc_group_attrs(ssize_t (*show)(struct mlx4_port *, in alloc_group_attrs() argument
495 ssize_t (*store)(struct mlx4_port *, struct port_attribute *, in alloc_group_attrs() argument
541 struct mlx4_port *p = in sysfs_show_smi_enabled()
542 container_of(attr, struct mlx4_port, smi_enabled); in sysfs_show_smi_enabled()
553 struct mlx4_port *p = in sysfs_show_enable_smi_admin()
554 container_of(attr, struct mlx4_port, enable_smi_admin); in sysfs_show_enable_smi_admin()
565 struct mlx4_port *p = in sysfs_store_enable_smi_admin()
566 container_of(attr, struct mlx4_port, enable_smi_admin); in sysfs_store_enable_smi_admin()
578 static int add_vf_smi_entries(struct mlx4_port *p) in add_vf_smi_entries()
613 static void remove_vf_smi_entries(struct mlx4_port *p) in remove_vf_smi_entries()
627 struct mlx4_port *p; in add_port()
700 struct mlx4_port *mport; in register_one_pkey_tree()
740 mport = container_of(p, struct mlx4_port, kobj); in register_one_pkey_tree()
775 struct mlx4_port *port; in unregister_pkey_tree()
785 port = container_of(p, struct mlx4_port, kobj); in unregister_pkey_tree()