Home
last modified time | relevance | path

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

12

/freebsd/sys/dev/pms/freebsd/driver/common/
H A Dlxencrypt.h83 ssize_t set_dek_table_entry0(struct device *dev, struct device_attribute *attr, const char *buf, si…
84 ssize_t show_dek_table_entry0(struct device *dev, struct device_attribute *attr, char *buf);
85 ssize_t set_dek_table_entry1(struct device *dev, struct device_attribute *attr, const char *buf, si…
86 ssize_t show_dek_table_entry1(struct device *dev, struct device_attribute *attr, char *buf);
87 ssize_t show_kek_table(struct device *dev, struct device_attribute *attr, char *buf);
88 ssize_t show_dek_kek_map0(struct device *dev, struct device_attribute *attr, char *buf);
89 ssize_t show_dek_kek_map1(struct device *dev, struct device_attribute *attr, char *buf);
90 ssize_t show_target_dek_map(struct device *dev, struct device_attribute *attr, char *buf);
H A Dlxencrypt.c116 set_dek_table_entry0(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) in set_dek_table_entry0()
130 set_dek_table_entry1(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) in set_dek_table_entry1()
193 show_dek_table_entry0(struct device *dev, struct device_attribute *attr, char *buf) in show_dek_table_entry0()
207 show_dek_table_entry1(struct device *dev, struct device_attribute *attr, char *buf) in show_dek_table_entry1()
221 show_kek_table(struct device *dev, struct device_attribute *attr, char *buf) in show_kek_table()
295 show_dek_kek_map0(struct device *dev, struct device_attribute *attr, char *buf) in show_dek_kek_map0()
309 show_dek_kek_map1(struct device *dev, struct device_attribute *attr, char *buf) in show_dek_kek_map1()
323 show_target_dek_map(struct device *dev, struct device_attribute *attr, char *buf) in show_target_dek_map()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Ddevice.h150 struct device_attribute { struct
153 struct device_attribute *, char *); argument
155 struct device_attribute *, const char *, argument
160 struct device_attribute dev_attr_##_name = \
163 struct device_attribute dev_attr_##_name = __ATTR_RO(_name)
165 struct device_attribute dev_attr_##_name = __ATTR_WO(_name)
167 struct device_attribute dev_attr_##_name = __ATTR_RW(_name)
628 device_create_file(struct device *dev, const struct device_attribute *attr) in device_create_file()
637 device_remove_file(struct device *dev, const struct device_attribute *attr) in device_remove_file()
/freebsd/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.h517 struct device_attribute dentry;
H A Dmlx4_ib_main.c1966 static ssize_t show_hca(struct device *device, struct device_attribute *attr, in show_hca()
1974 static ssize_t show_rev(struct device *device, struct device_attribute *attr, in show_rev()
1982 static ssize_t show_board(struct device *device, struct device_attribute *attr, in show_board()
1995 static struct device_attribute *mlx4_class_attributes[] = {
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_sysfs.c1199 struct device_attribute *attr, char *buf) in show_node_type()
1215 struct device_attribute *dev_attr, char *buf) in show_sys_image_guid()
1227 struct device_attribute *attr, char *buf) in show_node_guid()
1239 struct device_attribute *attr, char *buf) in show_node_desc()
1247 struct device_attribute *attr, in set_node_desc()
1265 static ssize_t show_fw_ver(struct device *device, struct device_attribute *attr, in show_fw_ver()
1281 static struct device_attribute *ib_class_attributes[] = {
H A Dib_uverbs_main.c945 static ssize_t ibdev_show(struct device *device, struct device_attribute *attr, in ibdev_show()
965 struct device_attribute *attr, char *buf) in abi_version_show()
1000 show_dev_device(struct device *device, struct device_attribute *attr, char *buf) in show_dev_device()
1014 show_dev_vendor(struct device *device, struct device_attribute *attr, char *buf) in show_dev_vendor()
H A Dib_user_mad.c1108 static ssize_t show_ibdev(struct device *dev, struct device_attribute *attr, in show_ibdev()
1120 static ssize_t show_port(struct device *dev, struct device_attribute *attr, in show_port()
H A Dib_ucm.c1223 static ssize_t show_ibdev(struct device *dev, struct device_attribute *attr, in show_ibdev()
/freebsd/sys/dev/qlnx/qlnxr/
H A Dqlnxr_os.c74 show_rev(struct device *device, struct device_attribute *attr, in show_rev()
84 struct device_attribute *attr, char *buf) in show_hca_type()
92 struct device_attribute *attr, char *buf) in show_fw_ver()
103 struct device_attribute *attr, char *buf) in show_board()
114 static struct device_attribute *qlnxr_class_attributes[] = {
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_vlan.c46 static ssize_t show_parent(struct device *d, struct device_attribute *attr, in show_parent()
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dthermal.c62 struct device_attribute *attr, in ath10k_thermal_show_temp()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dthermal.c63 struct device_attribute *attr, in ath11k_thermal_show_temp()
/freebsd/sys/dev/mthca/
H A Dmthca_provider.c1023 static ssize_t show_rev(struct device *device, struct device_attribute *attr, in show_rev()
1031 static ssize_t show_hca(struct device *device, struct device_attribute *attr, in show_hca()
1051 static ssize_t show_board(struct device *device, struct device_attribute *attr, in show_board()
1063 static struct device_attribute *mthca_dev_attributes[] = {
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dinit.c15 struct device_attribute *attr, in mt7921_thermal_temp_show()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_compat.c251 struct device_attribute *dattr; in linux_dev_show()
254 dattr = container_of(attr, struct device_attribute, attr); in linux_dev_show()
266 struct device_attribute *dattr; in linux_dev_store()
269 dattr = container_of(attr, struct device_attribute, attr); in linux_dev_store()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c2530 static ssize_t show_fw_pages(struct device *device, struct device_attribute *attr, in show_fw_pages()
2540 struct device_attribute *attr, char *buf) in show_reg_pages()
2548 static ssize_t show_hca(struct device *device, struct device_attribute *attr, in show_hca()
2556 static ssize_t show_rev(struct device *device, struct device_attribute *attr, in show_rev()
2564 static ssize_t show_board(struct device *device, struct device_attribute *attr, in show_board()
2579 static struct device_attribute *mlx5_class_attributes[] = {
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dinit.c51 struct device_attribute *attr, in mt7915_thermal_temp_show()
77 struct device_attribute *attr, in mt7915_thermal_temp_store()
/freebsd/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/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dinit.c20 struct device_attribute *attr, in mt7615_thermal_show_temp()
/freebsd/sys/dev/drm2/
H A Ddrm_crtc.h565 struct device_attribute *attr;
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dmain.c2015 static ssize_t show_rev(struct device *device, struct device_attribute *attr, in show_rev()
2024 static ssize_t show_hca(struct device *device, struct device_attribute *attr, in show_hca()
2034 static struct device_attribute *bnxt_re_attributes[] = {

12