/openbmc/linux/drivers/thermal/ |
H A D | thermal_hwmon.c | 33 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 D | ufs-debugfs.c | 144 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 D | max31827.c | 103 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 D | sfctemp.c | 177 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 D | max6621.c | 139 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 D | ltc2945.c | 245 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 D | sht3x.c | 501 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 D | eswitch_offloads_termtbl.c | 115 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 D | pktcdvd.c | 120 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 D | cma_sysfs.c | 33 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 D | fsl_mpic_timer_wakeup.c | 52 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 D | filecheck.c | 108 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 D | esrt.c | 76 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 D | cdx.c | 304 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 D | disk-events.c | 346 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 D | ad9834.c | 142 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 D | provider.c | 324 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 D | server.c | 438 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 D | region.c | 33 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 D | amdgpu_xgmi.c | 284 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 D | sdsi.c | 379 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 D | control_led.c | 397 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 D | dmi-sysfs.c | 53 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 D | mlxbf-pmc.c | 971 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 D | sbl-fw-update.c | 71 struct device_attribute *attr, in firmware_update_request_show() 85 struct device_attribute *attr, in firmware_update_request_store()
|