Home
last modified time | relevance | path

Searched refs:device_attribute (Results 1 – 20 of 20) sorted by relevance

/freebsd-13.1/sys/dev/pms/freebsd/driver/common/
H A Dlxencrypt.h84 ssize_t set_dek_table_entry0(struct device *dev, struct device_attribute *attr, const char *buf, si…
85 ssize_t show_dek_table_entry0(struct device *dev, struct device_attribute *attr, char *buf);
86 ssize_t set_dek_table_entry1(struct device *dev, struct device_attribute *attr, const char *buf, si…
87 ssize_t show_dek_table_entry1(struct device *dev, struct device_attribute *attr, char *buf);
88 ssize_t show_kek_table(struct device *dev, struct device_attribute *attr, char *buf);
89 ssize_t show_dek_kek_map0(struct device *dev, struct device_attribute *attr, char *buf);
90 ssize_t show_dek_kek_map1(struct device *dev, struct device_attribute *attr, char *buf);
91 ssize_t show_target_dek_map(struct device *dev, struct device_attribute *attr, char *buf);
H A Dlxencrypt.c117 set_dek_table_entry0(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) in set_dek_table_entry0()
131 set_dek_table_entry1(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) in set_dek_table_entry1()
194 show_dek_table_entry0(struct device *dev, struct device_attribute *attr, char *buf) in show_dek_table_entry0()
208 show_dek_table_entry1(struct device *dev, struct device_attribute *attr, char *buf) in show_dek_table_entry1()
222 show_kek_table(struct device *dev, struct device_attribute *attr, char *buf) in show_kek_table()
296 show_dek_kek_map0(struct device *dev, struct device_attribute *attr, char *buf) in show_dek_kek_map0()
310 show_dek_kek_map1(struct device *dev, struct device_attribute *attr, char *buf) in show_dek_kek_map1()
324 show_target_dek_map(struct device *dev, struct device_attribute *attr, char *buf) in show_target_dek_map()
/freebsd-13.1/sys/compat/linuxkpi/common/include/linux/
H A Ddevice.h145 struct device_attribute { struct
148 struct device_attribute *, char *); argument
150 struct device_attribute *, const char *, argument
155 struct device_attribute dev_attr_##_name = \
158 struct device_attribute dev_attr_##_name = __ATTR_RO(_name)
160 struct device_attribute dev_attr_##_name = __ATTR_WO(_name)
162 struct device_attribute dev_attr_##_name = __ATTR_RW(_name)
540 device_create_file(struct device *dev, const struct device_attribute *attr) in device_create_file()
549 device_remove_file(struct device *dev, const struct device_attribute *attr) in device_remove_file()
/freebsd-13.1/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_sysfs.c47 struct device_attribute *attr, char *buf) in show_admin_alias_guid()
69 struct device_attribute *attr, in store_admin_alias_guid()
112 struct device_attribute *attr, in show_port_gid()
139 struct device_attribute *attr, in show_phys_port_pkey()
165 struct device_attribute *attr, in create_sysfs_entry()
168 struct device_attribute *attr, in create_sysfs_entry()
372 struct device_attribute enable_smi_admin;
373 struct device_attribute smi_enabled;
544 struct device_attribute *attr, char *buf) in sysfs_show_smi_enabled()
559 struct device_attribute *attr, in sysfs_show_enable_smi_admin()
[all …]
H A Dmlx4_ib_mcg.c117 struct device_attribute dentry;
809 struct device_attribute *attr, char *buf);
994 struct device_attribute *attr, char *buf) in sysfs_show_group()
H A Dmlx4_ib.h522 struct device_attribute dentry;
H A Dmlx4_ib_main.c2056 static ssize_t show_hca(struct device *device, struct device_attribute *attr, in show_hca()
2064 static ssize_t show_rev(struct device *device, struct device_attribute *attr, in show_rev()
2072 static ssize_t show_board(struct device *device, struct device_attribute *attr, in show_board()
2085 static struct device_attribute *mlx4_class_attributes[] = {
/freebsd-13.1/sys/ofed/drivers/infiniband/core/
H A Dib_sysfs.c1201 struct device_attribute *attr, char *buf) in show_node_type()
1217 struct device_attribute *dev_attr, char *buf) in show_sys_image_guid()
1229 struct device_attribute *attr, char *buf) in show_node_guid()
1241 struct device_attribute *attr, char *buf) in show_node_desc()
1249 struct device_attribute *attr, in set_node_desc()
1267 static ssize_t show_fw_ver(struct device *device, struct device_attribute *attr, in show_fw_ver()
1283 static struct device_attribute *ib_class_attributes[] = {
H A Dib_uverbs_main.c1075 static ssize_t show_ibdev(struct device *device, struct device_attribute *attr, in show_ibdev()
1097 struct device_attribute *attr, char *buf) in show_dev_abi_version()
1148 show_dev_device(struct device *device, struct device_attribute *attr, char *buf) in show_dev_device()
1161 show_dev_vendor(struct device *device, struct device_attribute *attr, char *buf) in show_dev_vendor()
H A Dib_user_mad.c1110 static ssize_t show_ibdev(struct device *dev, struct device_attribute *attr, in show_ibdev()
1122 static ssize_t show_port(struct device *dev, struct device_attribute *attr, in show_port()
H A Dib_ucm.c1225 static ssize_t show_ibdev(struct device *dev, struct device_attribute *attr, in show_ibdev()
H A Dib_ucma.c1759 struct device_attribute *attr, in show_abi_version()
/freebsd-13.1/sys/dev/qlnx/qlnxr/
H A Dqlnxr_os.c76 show_rev(struct device *device, struct device_attribute *attr, in show_rev()
86 struct device_attribute *attr, char *buf) in show_hca_type()
94 struct device_attribute *attr, char *buf) in show_fw_ver()
105 struct device_attribute *attr, char *buf) in show_board()
116 static struct device_attribute *qlnxr_class_attributes[] = {
/freebsd-13.1/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_vlan.c48 static ssize_t show_parent(struct device *d, struct device_attribute *attr, in show_parent()
/freebsd-13.1/sys/dev/mthca/
H A Dmthca_provider.c1077 static ssize_t show_rev(struct device *device, struct device_attribute *attr, in show_rev()
1085 static ssize_t show_hca(struct device *device, struct device_attribute *attr, in show_hca()
1105 static ssize_t show_board(struct device *device, struct device_attribute *attr, in show_board()
1117 static struct device_attribute *mthca_dev_attributes[] = {
/freebsd-13.1/sys/compat/linuxkpi/common/src/
H A Dlinux_compat.c401 struct device_attribute *dattr; in linux_dev_show()
404 dattr = container_of(attr, struct device_attribute, attr); in linux_dev_show()
416 struct device_attribute *dattr; in linux_dev_store()
419 dattr = container_of(attr, struct device_attribute, attr); in linux_dev_store()
/freebsd-13.1/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c2533 static ssize_t show_fw_pages(struct device *device, struct device_attribute *attr, in show_fw_pages()
2543 struct device_attribute *attr, char *buf) in show_reg_pages()
2551 static ssize_t show_hca(struct device *device, struct device_attribute *attr, in show_hca()
2559 static ssize_t show_rev(struct device *device, struct device_attribute *attr, in show_rev()
2567 static ssize_t show_board(struct device *device, struct device_attribute *attr, in show_board()
2582 static struct device_attribute *mlx5_class_attributes[] = {
/freebsd-13.1/sys/dev/mlx4/mlx4_core/
H A Dmlx4.h820 struct device_attribute port_attr;
823 struct device_attribute port_mtu_attr;
H A Dmlx4_main.c1081 struct device_attribute *attr, in show_port_type()
1168 struct device_attribute *attr, in set_port_type()
1233 struct device_attribute *attr, in show_port_ib_mtu()
1246 struct device_attribute *attr, in set_port_ib_mtu()
/freebsd-13.1/sys/dev/drm2/
H A Ddrm_crtc.h567 struct device_attribute *attr;