Home
last modified time | relevance | path

Searched refs:port_attribute (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Dsysfs.c68 struct port_attribute { struct
70 ssize_t (*show)(struct ib_port *, struct port_attribute *, char *buf);
71 ssize_t (*store)(struct ib_port *, struct port_attribute *,
76 struct port_attribute port_attr_##_name = __ATTR(_name, _mode, _show, _store)
79 struct port_attribute port_attr_##_name = __ATTR_RO(_name)
82 struct port_attribute attr;
103 struct port_attribute *port_attr = in port_attr_show()
104 container_of(attr, struct port_attribute, attr); in port_attr_show()
117 struct port_attribute *port_attr = in port_attr_store()
118 container_of(attr, struct port_attribute, att in port_attr_store()
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
H A Dsysfs.c391 struct port_attribute { struct
393 ssize_t (*show)(struct mlx4_port *, struct port_attribute *, char *buf);
394 ssize_t (*store)(struct mlx4_port *, struct port_attribute *,
401 struct port_attribute *port_attr = in port_attr_show()
402 container_of(attr, struct port_attribute, attr); in port_attr_show()
414 struct port_attribute *port_attr = in port_attr_store()
415 container_of(attr, struct port_attribute, attr); in port_attr_store()
434 struct port_attribute attr;
439 static ssize_t show_port_pkey(struct mlx4_port *p, struct port_attribute *attr, in show_port_pkey()
456 static ssize_t store_port_pkey(struct mlx4_port *p, struct port_attribute *att
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx4/
H A Dsysfs.c393 struct port_attribute { struct
395 ssize_t (*show)(struct mlx4_port *, struct port_attribute *, char *buf);
396 ssize_t (*store)(struct mlx4_port *, struct port_attribute *,
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 *att
[all...]

Completed in 4 milliseconds