Home
last modified time | relevance | path

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

/freebsd-10-stable/sys/dev/pms/freebsd/driver/common/
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);
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-10-stable/sys/ofed/include/linux/
Ddevice.h87 struct device_attribute { struct
90 struct device_attribute *, char *); argument
92 struct device_attribute *, const char *, argument
97 struct device_attribute dev_attr_##_name = \
253 struct device_attribute *dattr; in dev_show()
256 dattr = container_of(attr, struct device_attribute, attr); in dev_show()
268 struct device_attribute *dattr; in dev_store()
271 dattr = container_of(attr, struct device_attribute, attr); in dev_store()
385 device_create_file(struct device *dev, const struct device_attribute *attr) in device_create_file()
394 device_remove_file(struct device *dev, const struct device_attribute *attr) in device_remove_file()
/freebsd-10-stable/sys/ofed/drivers/infiniband/core/
Dsysfs.c671 struct device_attribute *attr, char *buf) in show_node_type()
685 struct device_attribute *dev_attr, char *buf) in show_sys_image_guid()
703 struct device_attribute *attr, char *buf) in show_node_guid()
715 struct device_attribute *attr, char *buf) in show_node_desc()
723 struct device_attribute *attr, in set_node_desc()
746 static struct device_attribute *ib_class_attributes[] = {
763 struct device_attribute *attr, char *buf, in show_protocol_stat()
781 struct device_attribute *attr, char *buf) \
Duverbs_main.c748 static ssize_t show_ibdev(struct device *device, struct device_attribute *attr, in show_ibdev()
761 struct device_attribute *attr, char *buf) in show_dev_abi_version()
781 show_dev_device(struct device *device, struct device_attribute *attr, char *buf) in show_dev_device()
794 show_dev_vendor(struct device *device, struct device_attribute *attr, char *buf) in show_dev_vendor()
Duser_mad.c964 static ssize_t show_ibdev(struct device *dev, struct device_attribute *attr, in show_ibdev()
976 static ssize_t show_port(struct device *dev, struct device_attribute *attr, in show_port()
Ducma.c1319 struct device_attribute *attr, in show_abi_version()
Ducm.c1227 static ssize_t show_ibdev(struct device *dev, struct device_attribute *attr, in show_ibdev()
/freebsd-10-stable/sys/ofed/drivers/infiniband/hw/mlx4/
Dsysfs.c47 struct device_attribute *attr, char *buf) in show_admin_alias_guid()
73 struct device_attribute *attr, in store_admin_alias_guid()
132 struct device_attribute *attr, in show_port_gid()
159 struct device_attribute *attr, in show_phys_port_pkey()
185 struct device_attribute *attr, in create_sysfs_entry()
188 struct device_attribute *attr, in create_sysfs_entry()
Dmain.c1295 static ssize_t show_hca(struct device *device, struct device_attribute *attr, in show_hca()
1303 static ssize_t show_fw_ver(struct device *device, struct device_attribute *attr, in show_fw_ver()
1313 static ssize_t show_rev(struct device *device, struct device_attribute *attr, in show_rev()
1321 static ssize_t show_board(struct device *device, struct device_attribute *attr, in show_board()
1335 static struct device_attribute *mlx4_class_attributes[] = {
1672 struct device_attribute *attr, \
1698 struct device_attribute *attr, in clear_diag_counters()
Dmcg.c111 struct device_attribute dentry;
803 struct device_attribute *attr, char *buf);
986 struct device_attribute *attr, char *buf) in sysfs_show_group()
Dmlx4_ib.h498 struct device_attribute dentry;
/freebsd-10-stable/sys/dev/drm2/radeon/
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-10-stable/sys/ofed/drivers/net/mlx4/
Dmlx4.h762 struct device_attribute firmware_attr;
763 struct device_attribute hca_attr;
764 struct device_attribute board_attr;
771 struct device_attribute port_attr;
774 struct device_attribute port_mtu_attr;
Dmain.c1207 struct device_attribute *attr, in show_port_type()
1227 struct device_attribute *attr, in set_port_type()
1338 show_board(struct device *device, struct device_attribute *attr, in show_board()
1350 show_hca(struct device *device, struct device_attribute *attr, in show_hca()
1362 struct device_attribute *attr, in show_firmware_version()
1375 struct device_attribute *attr, in show_port_ib_mtu()
1392 struct device_attribute *attr, in set_port_ib_mtu()
3035 info->firmware_attr = (struct device_attribute)__ATTR(fw_ver, S_IRUGO, in mlx4_init_hca_info()
3040 info->hca_attr = (struct device_attribute)__ATTR(hca, S_IRUGO, show_hca, in mlx4_init_hca_info()
3045 info->board_attr = (struct device_attribute)__ATTR(board_id, S_IRUGO, in mlx4_init_hca_info()
/freebsd-10-stable/sys/ofed/drivers/infiniband/ulp/ipoib/
Dipoib_vlan.c43 static ssize_t show_parent(struct device *d, struct device_attribute *attr, in show_parent()
/freebsd-10-stable/sys/ofed/drivers/infiniband/hw/mthca/
Dmthca_provider.c1193 static ssize_t show_rev(struct device *device, struct device_attribute *attr, in show_rev()
1201 static ssize_t show_fw_ver(struct device *device, struct device_attribute *attr, in show_fw_ver()
1211 static ssize_t show_hca(struct device *device, struct device_attribute *attr, in show_hca()
1231 static ssize_t show_board(struct device *device, struct device_attribute *attr, in show_board()
1244 static struct device_attribute *mthca_dev_attributes[] = {
/freebsd-10-stable/sys/dev/mlx5/mlx5_ib/
Dmlx5_ib_main.c1235 static ssize_t show_fw_pages(struct device *device, struct device_attribute *attr, in show_fw_pages()
1245 struct device_attribute *attr, char *buf) in show_reg_pages()
1253 static ssize_t show_hca(struct device *device, struct device_attribute *attr, in show_hca()
1261 static ssize_t show_fw_ver(struct device *device, struct device_attribute *attr, in show_fw_ver()
1270 static ssize_t show_rev(struct device *device, struct device_attribute *attr, in show_rev()
1278 static ssize_t show_board(struct device *device, struct device_attribute *attr, in show_board()
1294 static struct device_attribute *mlx5_class_attributes[] = {
/freebsd-10-stable/sys/dev/drm2/
Ddrm_crtc.h567 struct device_attribute *attr;