/openbmc/linux/drivers/hwmon/ |
H A D | smpro-hwmon.c | 206 static int smpro_read_temp(struct device *dev, u32 attr, int channel, long *val) in smpro_read_temp() 231 static int smpro_read_in(struct device *dev, u32 attr, int channel, long *val) in smpro_read_in() 250 static int smpro_read_curr(struct device *dev, u32 attr, int channel, long *val) in smpro_read_curr() 269 static int smpro_read_power(struct device *dev, u32 attr, int channel, long *val_pwr) in smpro_read_power() 294 u32 attr, int channel, long *val) in smpro_read() 311 u32 attr, int channel, const char **str) in smpro_read_string() 361 u32 attr, int channel) in smpro_is_visible()
|
H A D | sch5636.c | 169 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_value_show() local 185 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_label_show() local 194 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_value_show() local 208 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_fault_show() local 222 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_alarm_show() local 236 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_value_show() local 253 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_fault_show() local 267 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_alarm_show() local
|
H A D | asb100.c | 286 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() 312 static ssize_t set_fan_min(struct device *dev, struct device_attribute *attr, in set_fan_min() 338 static ssize_t set_fan_div(struct device *dev, struct device_attribute *attr, in set_fan_div() 473 struct device_attribute *attr, char *buf) in cpu0_vid_show() 482 static ssize_t vrm_show(struct device *dev, struct device_attribute *attr, in vrm_show() 489 static ssize_t vrm_store(struct device *dev, struct device_attribute *attr, in vrm_store() 519 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm() 539 static ssize_t pwm1_show(struct device *dev, struct device_attribute *attr, in pwm1_show() 546 static ssize_t pwm1_store(struct device *dev, struct device_attribute *attr, in pwm1_store() 567 struct device_attribute *attr, char *buf) in pwm1_enable_show() [all …]
|
H A D | atxp1.c | 77 struct device_attribute *attr, char *buf) in cpu0_vid_show() 91 struct device_attribute *attr, const char *buf, in cpu0_vid_store() 152 static ssize_t gpio1_show(struct device *dev, struct device_attribute *attr, in gpio1_show() 165 static ssize_t gpio1_store(struct device *dev, struct device_attribute *attr, in gpio1_store() 197 static ssize_t gpio2_show(struct device *dev, struct device_attribute *attr, in gpio2_show() 210 static ssize_t gpio2_store(struct device *dev, struct device_attribute *attr, in gpio2_store()
|
H A D | w83793.c | 330 vrm_store(struct device *dev, struct device_attribute *attr, in vrm_store() 371 store_beep(struct device *dev, struct device_attribute *attr, in store_beep() 437 struct device_attribute *attr, const char *buf, in store_chassis_clear() 481 store_fan_min(struct device *dev, struct device_attribute *attr, in store_fan_min() 526 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() 579 store_temp(struct device *dev, struct device_attribute *attr, in store_temp() 711 store_sf_setup(struct device *dev, struct device_attribute *attr, in store_sf_setup() 811 store_sf_ctrl(struct device *dev, struct device_attribute *attr, in store_sf_ctrl() 883 store_sf2_pwm(struct device *dev, struct device_attribute *attr, in store_sf2_pwm() 924 store_sf2_temp(struct device *dev, struct device_attribute *attr, in store_sf2_temp() [all …]
|
H A D | ultra45_env.c | 98 static ssize_t show_fan_speed(struct device *dev, struct device_attribute *attr, in show_fan_speed() 116 static ssize_t set_fan_speed(struct device *dev, struct device_attribute *attr, in set_fan_speed() 140 static ssize_t show_fan_fault(struct device *dev, struct device_attribute *attr, in show_fan_fault() 163 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() 184 static ssize_t show_stat_bit(struct device *dev, struct device_attribute *attr, in show_stat_bit() 201 static ssize_t show_fwver(struct device *dev, struct device_attribute *attr, in show_fwver() 213 static ssize_t show_name(struct device *dev, struct device_attribute *attr, in show_name()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_sysfs.c | 18 struct device_attribute *attr, in ixgbe_hwmon_show_location() 28 struct device_attribute *attr, in ixgbe_hwmon_show_temp() 47 struct device_attribute *attr, in ixgbe_hwmon_show_cautionthresh() 61 struct device_attribute *attr, in ixgbe_hwmon_show_maxopthresh()
|
/openbmc/linux/drivers/soundwire/ |
H A D | sysfs_slave.c | 96 struct device_attribute *attr, char *buf) in modalias_show() 159 struct device_attribute *attr, char *buf) in words_show() 233 struct device_attribute *attr, char *buf) in status_show() 242 struct device_attribute *attr, char *buf) in device_number_show()
|
/openbmc/linux/drivers/platform/x86/intel/ |
H A D | rst.c | 13 struct device_attribute *attr, in irst_show_wakeup_events() 30 struct device_attribute *attr, in irst_store_wakeup_events() 58 struct device_attribute *attr, char *buf) in irst_show_wakeup_time() 74 struct device_attribute *attr, in irst_store_wakeup_time()
|
/openbmc/linux/sound/aoa/soundbus/ |
H A D | sysfs.c | 8 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show() 24 struct device_attribute *attr, char *buf) in name_show() 34 struct device_attribute *attr, char *buf) in type_show()
|
/openbmc/linux/lib/ |
H A D | fault-inject.c | 18 int setup_fault_attr(struct fault_attr *attr, char *str) in setup_fault_attr() 42 static void fail_dump(struct fault_attr *attr) in fail_dump() 58 static bool fail_task(struct fault_attr *attr, struct task_struct *task) in fail_task() 67 static bool fail_stacktrace(struct fault_attr *attr) in fail_stacktrace() 91 static inline bool fail_stacktrace(struct fault_attr *attr) in fail_stacktrace() 103 bool should_fail_ex(struct fault_attr *attr, ssize_t size, int flags) in should_fail_ex() 161 bool should_fail(struct fault_attr *attr, ssize_t size) in should_fail() 212 struct dentry *parent, struct fault_attr *attr) in fault_create_debugfs_attr()
|
/openbmc/linux/drivers/s390/crypto/ |
H A D | zcrypt_cex4.c | 79 struct device_attribute *attr, in cca_serialnr_show() 110 struct device_attribute *attr, in cca_mkvps_show() 210 struct device_attribute *attr, in ep11_api_ordinalnr_show() 231 struct device_attribute *attr, in ep11_fw_version_show() 254 struct device_attribute *attr, in ep11_serialnr_show() 287 struct device_attribute *attr, in ep11_card_op_modes_show() 332 struct device_attribute *attr, in ep11_mkvps_show() 382 struct device_attribute *attr, in ep11_queue_op_modes_show()
|
/openbmc/linux/drivers/video/backlight/ |
H A D | adp8860_bl.c | 456 struct device_attribute *attr, char *buf) in adp8860_bl_l3_dark_max_show() 471 struct device_attribute *attr, char *buf) in adp8860_bl_l2_office_max_show() 485 struct device_attribute *attr, char *buf) in adp8860_bl_l1_daylight_max_show() 505 struct device_attribute *attr, char *buf) in adp8860_bl_l3_dark_dim_show() 511 struct device_attribute *attr, in adp8860_bl_l3_dark_dim_store() 520 struct device_attribute *attr, char *buf) in adp8860_bl_l2_office_dim_show() 526 struct device_attribute *attr, in adp8860_bl_l2_office_dim_store() 535 struct device_attribute *attr, char *buf) in adp8860_bl_l1_daylight_dim_show() 541 struct device_attribute *attr, in adp8860_bl_l1_daylight_dim_store() 551 struct device_attribute *attr, char *buf) in adp8860_bl_ambient_light_level_show() [all …]
|
/openbmc/linux/drivers/platform/x86/dell/ |
H A D | alienware-wmi.c | 192 struct device_attribute *attr; member 263 static struct platform_zone *match_zone(struct device_attribute *attr) in match_zone() 333 static ssize_t zone_set(struct device *dev, struct device_attribute *attr, in zone_set() 398 struct device_attribute *attr, char *buf) in show_control_state() 408 struct device_attribute *attr, in store_control_state() 538 struct device_attribute *attr, char *buf) in show_hdmi_cable() 559 struct device_attribute *attr, char *buf) in show_hdmi_source() 581 struct device_attribute *attr, in toggle_hdmi_source() 639 struct device_attribute *attr, char *buf) in show_amplifier_status() 692 struct device_attribute *attr, char *buf) in show_deepsleep_status() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A D | igb_hwmon.c | 24 struct device_attribute *attr, in igb_hwmon_show_location() 34 struct device_attribute *attr, in igb_hwmon_show_temp() 53 struct device_attribute *attr, in igb_hwmon_show_cautionthresh() 67 struct device_attribute *attr, in igb_hwmon_show_maxopthresh()
|
/openbmc/linux/drivers/usb/host/ |
H A D | ehci-sysfs.c | 11 struct device_attribute *attr, in companion_show() 38 struct device_attribute *attr, in companion_store() 69 struct device_attribute *attr, in uframe_periodic_max_show() 82 struct device_attribute *attr, in uframe_periodic_max_store()
|
/openbmc/linux/drivers/pci/ |
H A D | pci-label.c | 89 struct device_attribute *attr, char *buf) in smbios_label_show() 99 static ssize_t index_show(struct device *dev, struct device_attribute *attr, in index_show() 156 enum acpi_attr_enum attr) in dsm_get_label() 196 static ssize_t label_show(struct device *dev, struct device_attribute *attr, in label_show() 204 struct device_attribute *attr, char *buf) in acpi_index_show()
|
/openbmc/linux/drivers/misc/ |
H A D | isl29003.c | 185 struct device_attribute *attr, char *buf) in isl29003_show_range() 193 struct device_attribute *attr, in isl29003_store_range() 220 struct device_attribute *attr, in isl29003_show_resolution() 229 struct device_attribute *attr, in isl29003_store_resolution() 255 struct device_attribute *attr, char *buf) in isl29003_show_mode() 263 struct device_attribute *attr, const char *buf, size_t count) in isl29003_store_mode() 289 struct device_attribute *attr, in isl29003_show_power_state() 298 struct device_attribute *attr, in isl29003_store_power_state() 322 struct device_attribute *attr, char *buf) in isl29003_show_lux()
|
/openbmc/linux/drivers/staging/olpc_dcon/ |
H A D | olpc_dcon.c | 390 struct device_attribute *attr, in dcon_mode_show() 399 struct device_attribute *attr, in dcon_sleep_show() 408 struct device_attribute *attr, in dcon_freeze_show() 417 struct device_attribute *attr, in dcon_mono_show() 426 struct device_attribute *attr, in dcon_resumeline_show() 433 struct device_attribute *attr, in dcon_mono_store() 449 struct device_attribute *attr, in dcon_freeze_store() 478 struct device_attribute *attr, in dcon_resumeline_store() 495 struct device_attribute *attr, in dcon_sleep_store()
|
/openbmc/linux/drivers/w1/slaves/ |
H A D | w1_therm.c | 431 u32 attr, int channel) in w1_is_visible() 437 u32 attr, int channel, long *val) in w1_read() 1589 struct device_attribute *attr, char *buf) in w1_slave_show() 1681 struct device_attribute *attr, char *buf) in temperature_show() 1719 struct device_attribute *attr, char *buf) in ext_power_show() 1741 struct device_attribute *attr, char *buf) in resolution_show() 1822 struct device_attribute *attr, char *buf) in alarms_show() 1962 struct device_attribute *attr, char *buf) in therm_bulk_read_show() 1986 struct device_attribute *attr, char *buf) in conv_time_show() 2028 struct device_attribute *attr, char *buf) in features_show() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | indir_table.h | 44 struct mlx5_flow_attr *attr, in mlx5_esw_indir_table_get() 58 struct mlx5_flow_attr *attr, in mlx5_esw_indir_table_needed() 66 mlx5_esw_indir_table_decap_vport(struct mlx5_flow_attr *attr) in mlx5_esw_indir_table_decap_vport()
|
/openbmc/linux/drivers/platform/x86/ |
H A D | msi-ec.c | 721 struct device_attribute *attr, in charge_control_threshold_show() 736 struct device_attribute *attr, in charge_control_threshold_store() 759 struct device_attribute *attr, in charge_control_start_threshold_show() 767 struct device_attribute *attr, in charge_control_start_threshold_store() 775 struct device_attribute *attr, in charge_control_end_threshold_show() 783 struct device_attribute *attr, in charge_control_end_threshold_store()
|
/openbmc/linux/drivers/s390/cio/ |
H A D | chp.c | 233 struct device_attribute *attr, char *buf) in chp_status_show() 246 struct device_attribute *attr, in chp_status_write() 278 struct device_attribute *attr, char *buf) in chp_configure_show() 294 struct device_attribute *attr, in chp_configure_write() 314 static ssize_t chp_type_show(struct device *dev, struct device_attribute *attr, in chp_type_show() 328 static ssize_t chp_cmg_show(struct device *dev, struct device_attribute *attr, in chp_cmg_show() 343 struct device_attribute *attr, char *buf) in chp_shared_show() 356 static ssize_t chp_chid_show(struct device *dev, struct device_attribute *attr, in chp_chid_show() 374 struct device_attribute *attr, char *buf) in chp_chid_external_show() 391 struct device_attribute *attr, char *buf) in chp_esc_show() [all …]
|
/openbmc/linux/drivers/greybus/ |
H A D | interface.c | 49 u16 attr, u32 *val) in gb_interface_dme_attr_get() 368 u16 attr; in gb_interface_read_and_clear_init_status() local 458 struct device_attribute *attr, char *buf) in voltage_now_show() 477 struct device_attribute *attr, char *buf) in current_now_show() 496 struct device_attribute *attr, char *buf) in power_now_show() 515 struct device_attribute *attr, char *buf) in power_state_show() 526 struct device_attribute *attr, const char *buf, in power_state_store() 585 struct device_attribute *attr, char *buf) in interface_type_show() 621 struct attribute *attr, int n) in interface_unipro_is_visible() 636 struct attribute *attr, int n) in interface_greybus_is_visible() [all …]
|
/openbmc/linux/drivers/cpuidle/ |
H A D | sysfs.c | 22 struct device_attribute *attr, in show_available_governors() 43 struct device_attribute *attr, in show_current_driver() 61 struct device_attribute *attr, in show_current_governor() 77 struct device_attribute *attr, in store_current_governor() 146 struct attribute attr; member 167 static ssize_t cpuidle_show(struct kobject *kobj, struct attribute *attr, in cpuidle_show() 182 static ssize_t cpuidle_store(struct kobject *kobj, struct attribute *attr, in cpuidle_store() 216 struct attribute attr; member 413 static ssize_t cpuidle_state_show(struct kobject *kobj, struct attribute *attr, in cpuidle_state_show() 427 static ssize_t cpuidle_state_store(struct kobject *kobj, struct attribute *attr, in cpuidle_state_store() [all …]
|