Home
last modified time | relevance | path

Searched defs:attr (Results 251 – 275 of 2622) sorted by relevance

1...<<11121314151617181920>>...105

/openbmc/linux/drivers/hwmon/
H A Dsmpro-hwmon.c206 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 Dsch5636.c169 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 Dasb100.c286 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 Datxp1.c77 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 Dw83793.c330 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 Dultra45_env.c98 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 Dixgbe_sysfs.c18 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 Dsysfs_slave.c96 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 Drst.c13 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 Dsysfs.c8 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 Dfault-inject.c18 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 Dzcrypt_cex4.c79 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 Dadp8860_bl.c456 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 Dalienware-wmi.c192 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 Digb_hwmon.c24 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 Dehci-sysfs.c11 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 Dpci-label.c89 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 Disl29003.c185 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 Dolpc_dcon.c390 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 Dw1_therm.c431 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 Dindir_table.h44 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 Dmsi-ec.c721 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 Dchp.c233 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 Dinterface.c49 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 Dsysfs.c22 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 …]

1...<<11121314151617181920>>...105