Home
last modified time | relevance | path

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

/freebsd-12.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-12.1/sys/compat/linuxkpi/common/include/linux/
H A Ddevice.h139 struct device_attribute { struct
142 struct device_attribute *, char *); argument
144 struct device_attribute *, const char *, argument
149 struct device_attribute dev_attr_##_name = \
152 struct device_attribute dev_attr_##_name = __ATTR_RO(_name)
154 struct device_attribute dev_attr_##_name = __ATTR_WO(_name)
156 struct device_attribute dev_attr_##_name = __ATTR_RW(_name)
517 device_create_file(struct device *dev, const struct device_attribute *attr) in device_create_file()
526 device_remove_file(struct device *dev, const struct device_attribute *attr) in device_remove_file()
/freebsd-12.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.c2053 static ssize_t show_hca(struct device *device, struct device_attribute *attr, in show_hca()
2061 static ssize_t show_rev(struct device *device, struct device_attribute *attr, in show_rev()
2069 static ssize_t show_board(struct device *device, struct device_attribute *attr, in show_board()
2082 static struct device_attribute *mlx4_class_attributes[] = {
/freebsd-12.1/sys/dev/drm2/radeon/
H A Dradeon_pm.c341 struct device_attribute *attr, in radeon_get_pm_profile()
356 struct device_attribute *attr, in radeon_set_pm_profile()
391 struct device_attribute *attr, in radeon_get_pm_method()
403 struct device_attribute *attr, in radeon_set_pm_method()
440 struct device_attribute *attr, in radeon_hwmon_show_temp()
473 struct device_attribute *attr, in radeon_hwmon_show_name()
/freebsd-12.1/sys/ofed/drivers/infiniband/core/
H A Dib_sysfs.c1147 struct device_attribute *attr, char *buf) in show_node_type()
1163 struct device_attribute *dev_attr, char *buf) in show_sys_image_guid()
1175 struct device_attribute *attr, char *buf) in show_node_guid()
1187 struct device_attribute *attr, char *buf) in show_node_desc()
1195 struct device_attribute *attr, in set_node_desc()
1213 static ssize_t show_fw_ver(struct device *device, struct device_attribute *attr, in show_fw_ver()
1229 static struct device_attribute *ib_class_attributes[] = {
H A Dib_uverbs_main.c1051 static ssize_t show_ibdev(struct device *device, struct device_attribute *attr, in show_ibdev()
1073 struct device_attribute *attr, char *buf) in show_dev_abi_version()
1124 show_dev_device(struct device *device, struct device_attribute *attr, char *buf) in show_dev_device()
1137 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.c1750 struct device_attribute *attr, in show_abi_version()
/freebsd-12.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-12.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-12.1/sys/compat/linuxkpi/common/src/
H A Dlinux_compat.c327 struct device_attribute *dattr; in linux_dev_show()
330 dattr = container_of(attr, struct device_attribute, attr); in linux_dev_show()
342 struct device_attribute *dattr; in linux_dev_store()
345 dattr = container_of(attr, struct device_attribute, attr); in linux_dev_store()
/freebsd-12.1/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c2339 static ssize_t show_fw_pages(struct device *device, struct device_attribute *attr, in show_fw_pages()
2349 struct device_attribute *attr, char *buf) in show_reg_pages()
2357 static ssize_t show_hca(struct device *device, struct device_attribute *attr, in show_hca()
2365 static ssize_t show_rev(struct device *device, struct device_attribute *attr, in show_rev()
2373 static ssize_t show_board(struct device *device, struct device_attribute *attr, in show_board()
2388 static struct device_attribute *mlx5_class_attributes[] = {
/freebsd-12.1/sys/dev/mlx4/mlx4_core/
H A Dmlx4.h818 struct device_attribute port_attr;
821 struct device_attribute port_mtu_attr;
H A Dmlx4_main.c1080 struct device_attribute *attr, in show_port_type()
1167 struct device_attribute *attr, in set_port_type()
1232 struct device_attribute *attr, in show_port_ib_mtu()
1245 struct device_attribute *attr, in set_port_ib_mtu()
/freebsd-12.1/sys/dev/drm2/
H A Ddrm_crtc.h567 struct device_attribute *attr;