Home
last modified time | relevance | path

Searched defs:attr (Results 626 – 650 of 2622) sorted by relevance

1...<<21222324252627282930>>...105

/openbmc/linux/drivers/thermal/
H A Dthermal_hwmon.c33 struct device_attribute attr; member
50 temp_input_show(struct device *dev, struct device_attribute *attr, char *buf) in temp_input_show()
70 temp_crit_show(struct device *dev, struct device_attribute *attr, char *buf) in temp_crit_show()
/openbmc/linux/drivers/ufs/core/
H A Dufs-debugfs.c144 struct ufs_debugfs_attr *attr = s->private; in ufs_saved_err_show() local
163 struct ufs_debugfs_attr *attr = file->f_inode->i_private; in ufs_saved_err_write() local
214 const struct ufs_debugfs_attr *attr; in ufs_debugfs_hba_init() local
/openbmc/linux/drivers/hwmon/
H A Dmax31827.c103 enum hwmon_sensor_types type, u32 attr, in max31827_is_visible()
130 u32 attr, int channel, long *val) in max31827_read()
284 u32 attr, int channel, long val) in max31827_write()
H A Dsfctemp.c177 u32 attr, int channel) in sfctemp_is_visible()
195 u32 attr, int channel, long *val) in sfctemp_read()
216 u32 attr, int channel, long val) in sfctemp_write()
H A Dmax6621.c139 max6621_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, in max6621_is_visible()
201 max6621_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, in max6621_read()
310 max6621_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, in max6621_write()
349 max6621_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr, in max6621_read_string()
H A Dltc2945.c245 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc2945_value_show() local
258 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc2945_value_store() local
296 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc2945_history_store() local
349 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc2945_bool_show() local
H A Dsht3x.c501 struct device_attribute *attr, in heater_enable_show()
516 struct device_attribute *attr, in heater_enable_store()
610 struct device_attribute *attr, in repeatability_show()
619 struct device_attribute *attr, in repeatability_store()
652 u32 attr, int channel) in sht3x_is_visible()
703 u32 attr, int channel, long *val) in sht3x_read()
781 u32 attr, int channel, long val) in sht3x_write()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads_termtbl.c115 struct mlx5_esw_flow_attr *attr) in mlx5_eswitch_termtbl_get_create()
215 struct mlx5_flow_attr *attr, in mlx5_eswitch_termtbl_required()
247 struct mlx5_esw_flow_attr *attr, in mlx5_eswitch_add_termtbl_rule()
/openbmc/linux/drivers/block/
H A Dpktcdvd.c120 struct device_attribute *attr, char *buf) in packets_started_show()
129 struct device_attribute *attr, char *buf) in packets_finished_show()
138 struct device_attribute *attr, char *buf) in kb_written_show()
147 struct device_attribute *attr, char *buf) in kb_read_show()
156 struct device_attribute *attr, char *buf) in kb_read_gather_show()
164 static ssize_t reset_store(struct device *dev, struct device_attribute *attr, in reset_store()
196 struct device_attribute *attr, char *buf) in size_show()
226 struct device_attribute *attr, char *buf) in congestion_off_show()
238 struct device_attribute *attr, in congestion_off_store()
257 struct device_attribute *attr, char *buf) in congestion_on_show()
[all …]
/openbmc/linux/mm/
H A Dcma_sysfs.c33 struct kobj_attribute *attr, char *buf) in alloc_pages_success_show()
43 struct kobj_attribute *attr, char *buf) in alloc_pages_fail_show()
/openbmc/linux/arch/powerpc/sysdev/
H A Dfsl_mpic_timer_wakeup.c52 struct device_attribute *attr, in fsl_timer_wakeup_show()
68 struct device_attribute *attr, in fsl_timer_wakeup_store()
/openbmc/linux/fs/ocfs2/
H A Dfilecheck.c108 ocfs2_filecheck_show(struct kobject *kobj, struct attribute *attr, char *buf) in ocfs2_filecheck_show()
122 ocfs2_filecheck_store(struct kobject *kobj, struct attribute *attr, in ocfs2_filecheck_store()
299 struct kobj_attribute *attr, in ocfs2_filecheck_attr_show()
447 struct kobj_attribute *attr, in ocfs2_filecheck_attr_store()
/openbmc/linux/drivers/firmware/efi/
H A Desrt.c76 struct attribute attr; member
87 static struct esre_attribute *to_attr(struct attribute *attr) in to_attr()
96 struct esre_attribute *attr = to_attr(_attr); in esre_attr_show() local
222 struct attribute *attr, int n) in esrt_attr_is_visible()
/openbmc/linux/drivers/cdx/
H A Dcdx.c304 struct device_attribute *attr, in remove_store()
327 static ssize_t reset_store(struct device *dev, struct device_attribute *attr, in reset_store()
348 struct device_attribute *attr, in driver_override_store()
365 struct device_attribute *attr, char *buf) in driver_override_show()
/openbmc/linux/block/
H A Ddisk-events.c346 struct device_attribute *attr, char *buf) in disk_events_show()
356 struct device_attribute *attr, char *buf) in disk_events_async_show()
362 struct device_attribute *attr, in disk_events_poll_msecs_show()
373 struct device_attribute *attr, in disk_events_poll_msecs_store()
/openbmc/linux/drivers/staging/iio/frequency/
H A Dad9834.c142 struct device_attribute *attr, in ad9834_write()
220 struct device_attribute *attr, in ad9834_store_wavetype()
280 struct device_attribute *attr, in ad9834_show_out0_wavetype_available()
302 struct device_attribute *attr, in ad9834_show_out1_wavetype_available()
/openbmc/linux/drivers/infiniband/hw/cxgb4/
H A Dprovider.c324 struct device_attribute *attr, char *buf) in hw_rev_show()
337 struct device_attribute *attr, char *buf) in hca_type_show()
350 static ssize_t board_id_show(struct device *dev, struct device_attribute *attr, in board_id_show()
428 struct ib_port_attr attr; in c4iw_port_immutable() local
/openbmc/linux/fs/smb/server/
H A Dserver.c438 static ssize_t stats_show(const struct class *class, const struct class_attribute *attr, in stats_show()
458 const struct class_attribute *attr, const char *buf, in kill_server_store()
478 static ssize_t debug_show(const struct class *class, const struct class_attribute *attr, in debug_show()
496 static ssize_t debug_store(const struct class *class, const struct class_attribute *attr, in debug_store()
/openbmc/linux/drivers/cxl/core/
H A Dregion.c33 static ssize_t uuid_show(struct device *dev, struct device_attribute *attr, in uuid_show()
73 static ssize_t uuid_store(struct device *dev, struct device_attribute *attr, in uuid_store()
346 struct device_attribute *attr, char *buf) in interleave_ways_show()
364 struct device_attribute *attr, in interleave_ways_store()
415 struct device_attribute *attr, in interleave_granularity_show()
432 struct device_attribute *attr, in interleave_granularity_store()
2286 struct device_attribute *attr, char *buf) in create_pmem_region_show()
2292 struct device_attribute *attr, char *buf) in create_ram_region_show()
2324 struct device_attribute *attr, in create_pmem_region_store()
2344 struct device_attribute *attr, in create_ram_region_store()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_xgmi.c284 struct attribute *attr, char *buf) in amdgpu_xgmi_show_attrs()
318 struct device_attribute *attr, in amdgpu_xgmi_show_device_id()
329 struct device_attribute *attr, in amdgpu_xgmi_show_num_hops()
344 struct device_attribute *attr, in amdgpu_xgmi_show_num_links()
360 struct device_attribute *attr, in amdgpu_xgmi_show_error()
/openbmc/linux/drivers/platform/x86/intel/
H A Dsdsi.c379 struct bin_attribute *attr, char *buf, loff_t off, in provision_akc_write()
393 struct bin_attribute *attr, char *buf, loff_t off, in provision_cap_write()
449 struct bin_attribute *attr, char *buf, loff_t off, in state_certificate_read()
461 struct bin_attribute *attr, char *buf, loff_t off, in meter_certificate_read()
472 struct bin_attribute *attr, char *buf, loff_t off, in registers_read()
507 sdsi_battr_is_visible(struct kobject *kobj, struct bin_attribute *attr, int n) in sdsi_battr_is_visible()
527 static ssize_t guid_show(struct device *dev, struct device_attribute *attr, char *buf) in guid_show()
/openbmc/linux/sound/core/
H A Dcontrol_led.c397 struct device_attribute *attr, char *buf) in mode_show()
412 struct device_attribute *attr, in mode_store()
442 struct device_attribute *attr, char *buf) in brightness_show()
584 struct device_attribute *attr, in attach_store()
592 struct device_attribute *attr, in detach_store()
600 struct device_attribute *attr, in reset_store()
615 struct device_attribute *attr, char *buf) in list_show()
/openbmc/linux/drivers/firmware/
H A Ddmi-sysfs.c53 struct attribute attr; member
68 struct attribute attr; member
93 static struct dmi_sysfs_attribute *to_attr(struct attribute *attr) in to_attr()
102 struct dmi_sysfs_attribute *attr = to_attr(_attr); in dmi_sysfs_attr_show() local
199 struct attribute *attr; member
208 struct dmi_sysfs_mapped_attribute *attr; in dmi_entry_attr_show_helper() local
216 struct attribute *attr, in dmi_entry_attr_show()
/openbmc/linux/drivers/platform/mellanox/
H A Dmlxbf-pmc.c971 struct device_attribute *attr, char *buf) in mlxbf_pmc_counter_show()
1003 struct device_attribute *attr, in mlxbf_pmc_counter_store()
1051 struct device_attribute *attr, char *buf) in mlxbf_pmc_event_show()
1079 struct device_attribute *attr, in mlxbf_pmc_event_store()
1113 struct device_attribute *attr, in mlxbf_pmc_event_list_show()
1142 struct device_attribute *attr, char *buf) in mlxbf_pmc_enable_show()
1163 struct device_attribute *attr, in mlxbf_pmc_enable_store()
1196 struct mlxbf_pmc_attribute *attr; in mlxbf_pmc_init_perftype_counter() local
1272 struct mlxbf_pmc_attribute *attr; in mlxbf_pmc_init_perftype_reg() local
/openbmc/linux/drivers/platform/x86/intel/wmi/
H A Dsbl-fw-update.c71 struct device_attribute *attr, in firmware_update_request_show()
85 struct device_attribute *attr, in firmware_update_request_store()

1...<<21222324252627282930>>...105