/openbmc/linux/drivers/leds/ |
H A D | led-class.c | 29 struct device_attribute *attr, char *buf) in brightness_show() 40 struct device_attribute *attr, const char *buf, size_t size) in brightness_store() 72 struct device_attribute *attr, char *buf) in max_brightness_show() 111 struct device_attribute *attr, char *buf) in brightness_hw_changed_show()
|
/openbmc/linux/drivers/hwmon/ |
H A D | xgene-hwmon.c | 320 struct device_attribute *attr, in temp1_input_show() 337 struct device_attribute *attr, in temp1_label_show() 353 struct device_attribute *attr, in power1_label_show() 360 struct device_attribute *attr, in power2_label_show() 367 struct device_attribute *attr, in power1_input_show() 382 struct device_attribute *attr, in power2_input_show()
|
H A D | w83627ehf.c | 908 store_tolerance(struct device *dev, struct device_attribute *attr, in store_tolerance() 1079 cpu0_vid_show(struct device *dev, struct device_attribute *attr, char *buf) in cpu0_vid_show() 1338 u32 attr, int channel) in w83627ehf_is_visible() 1430 w83627ehf_do_read_temp(struct w83627ehf_data *data, u32 attr, in w83627ehf_do_read_temp() 1465 w83627ehf_do_read_in(struct w83627ehf_data *data, u32 attr, in w83627ehf_do_read_in() 1494 w83627ehf_do_read_fan(struct w83627ehf_data *data, u32 attr, in w83627ehf_do_read_fan() 1522 w83627ehf_do_read_pwm(struct w83627ehf_data *data, u32 attr, in w83627ehf_do_read_pwm() 1542 w83627ehf_do_read_intrusion(struct w83627ehf_data *data, u32 attr, in w83627ehf_do_read_intrusion() 1554 u32 attr, int channel, long *val) in w83627ehf_read() 1583 u32 attr, int channel, const char **str) in w83627ehf_read_string() [all …]
|
H A D | sbrmi.c | 192 u32 attr, int channel, long *val) in sbrmi_read() 226 u32 attr, int channel, long val) in sbrmi_write() 250 u32 attr, int channel) in sbrmi_is_visible()
|
H A D | w83773g.c | 173 u32 attr, int channel, long *val) in w83773_read() 198 u32 attr, int channel, long val) in w83773_write() 212 u32 attr, int channel) in w83773_is_visible()
|
H A D | scmi-hwmon.c | 91 u32 attr, int channel, long *val) in scmi_hwmon_read() 103 u32 attr, int channel, const char **str) in scmi_hwmon_read_string() 116 u32 attr, int channel) in scmi_hwmon_is_visible()
|
/openbmc/linux/drivers/xen/xenbus/ |
H A D | xenbus_probe.c | 231 struct device_attribute *attr, in spurious_threshold_show() 240 struct device_attribute *attr, in spurious_threshold_store() 454 struct device_attribute *attr, char *buf) in nodename_show() 461 struct device_attribute *attr, char *buf) in devtype_show() 468 struct device_attribute *attr, char *buf) in modalias_show() 476 struct device_attribute *attr, char *buf) in state_show()
|
/openbmc/linux/drivers/platform/x86/dell/dell-wmi-sysman/ |
H A D | enum-attributes.c | 13 static ssize_t current_value_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in current_value_show() 91 static ssize_t type_show(struct kobject *kobj, struct kobj_attribute *attr, in type_show()
|
/openbmc/linux/drivers/acpi/ |
H A D | acpi_lpit.c | 58 struct device_attribute *attr, in low_power_idle_system_residency_us_show() 73 struct device_attribute *attr, in low_power_idle_cpu_residency_us_show()
|
/openbmc/linux/drivers/acpi/dptf/ |
H A D | dptf_power.c | 65 struct device_attribute *attr, in prochot_confirm_store() 136 char *attr; in dptf_power_notify() local
|
/openbmc/linux/net/wireless/ |
H A D | sysfs.c | 41 struct device_attribute *attr, in name_show() 51 struct device_attribute *attr, in addresses_show()
|
/openbmc/linux/drivers/iio/imu/bno055/ |
H A D | bno055.c | 551 int reg, int mask, struct bno055_sysfs_attr *attr) in bno055_get_regmask() 580 int reg, int mask, struct bno055_sysfs_attr *attr) in bno055_set_regmask() 761 static int bno055_sysfs_attr_avail(struct bno055_priv *priv, struct bno055_sysfs_attr *attr, in bno055_sysfs_attr_avail() 1021 struct device_attribute *attr, in in_accel_range_raw_available_show() 1039 struct device_attribute *attr, in fusion_enable_show() 1049 struct device_attribute *attr, in fusion_enable_store() 1080 struct device_attribute *attr, in in_magn_calibration_fast_enable_show() 1090 struct device_attribute *attr, in in_magn_calibration_fast_enable_store() 1122 struct device_attribute *attr, in in_accel_range_raw_show() 1140 struct device_attribute *attr, in in_accel_range_raw_store() [all …]
|
/openbmc/linux/drivers/platform/x86/dell/ |
H A D | dell-wmi-ddv.c | 282 static umode_t dell_wmi_ddv_is_visible(const void *drvdata, enum hwmon_sensor_types type, u32 attr, in dell_wmi_ddv_is_visible() 288 static int dell_wmi_ddv_fan_read_channel(struct dell_wmi_ddv_data *data, u32 attr, int channel, in dell_wmi_ddv_fan_read_channel() 314 static int dell_wmi_ddv_temp_read_channel(struct dell_wmi_ddv_data *data, u32 attr, int channel, in dell_wmi_ddv_temp_read_channel() 346 static int dell_wmi_ddv_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, in dell_wmi_ddv_read() 459 static int dell_wmi_ddv_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr, in dell_wmi_ddv_read_string() 654 static ssize_t temp_show(struct device *dev, struct device_attribute *attr, char *buf) in temp_show() 672 static ssize_t eppid_show(struct device *dev, struct device_attribute *attr, char *buf) in eppid_show()
|
/openbmc/linux/drivers/xen/ |
H A D | pcpu.c | 100 struct device_attribute *attr, in online_show() 109 struct device_attribute *attr, in online_store() 145 struct attribute *attr, int idx) in pcpu_dev_is_visible()
|
/openbmc/linux/drivers/platform/x86/ |
H A D | ibm_rtl.c | 143 struct device_attribute *attr, in rtl_show_version() 150 struct device_attribute *attr, in rtl_show_state() 157 struct device_attribute *attr, in rtl_set_state()
|
/openbmc/linux/drivers/usb/phy/ |
H A D | phy-tahvo.c | 63 struct device_attribute *attr, char *buf) in vbus_show() 256 struct device_attribute *attr, char *buf) in otg_mode_show() 271 struct device_attribute *attr, in otg_mode_store()
|
/openbmc/linux/drivers/firmware/ |
H A D | memmap.c | 55 struct attribute attr; member 387 static inline struct memmap_attribute *to_memmap_attr(struct attribute *attr) in to_memmap_attr() 393 struct attribute *attr, char *buf) in memmap_attr_show()
|
/openbmc/linux/fs/erofs/ |
H A D | sysfs.c | 23 struct attribute attr; member 108 struct attribute *attr, char *buf) in erofs_attr_show() 130 static ssize_t erofs_attr_store(struct kobject *kobj, struct attribute *attr, in erofs_attr_store()
|
/openbmc/linux/drivers/char/ |
H A D | bsr.c | 78 bsr_size_show(struct device *dev, struct device_attribute *attr, char *buf) in bsr_size_show() 86 bsr_stride_show(struct device *dev, struct device_attribute *attr, char *buf) in bsr_stride_show() 94 bsr_length_show(struct device *dev, struct device_attribute *attr, char *buf) in bsr_length_show()
|
/openbmc/linux/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-perf-hwbreak.c | 116 static int perf_event_open(struct perf_event_attr *attr, pid_t pid, int cpu, in perf_event_open() 122 static void perf_user_event_attr_set(struct perf_event_attr *attr, void *addr, u64 len) in perf_user_event_attr_set() 137 struct perf_event_attr attr; in perf_watchpoint_open() local
|
/openbmc/linux/drivers/iio/temperature/ |
H A D | max31865.c | 217 struct device_attribute *attr, in show_fault_ovuv() 224 struct device_attribute *attr, in show_filter() 234 struct device_attribute *attr, in set_filter()
|
/openbmc/linux/drivers/macintosh/ |
H A D | windfarm_core.c | 160 struct device_attribute *attr, char *buf) in wf_show_control() 188 struct device_attribute *attr, in wf_store_control() 290 struct device_attribute *attr, char *buf) in wf_show_sensor()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-dln2.c | 420 u16 data_len, u8 attr) in dln2_spi_write_one() 425 u8 attr; in dln2_spi_write_one() member 449 u16 data_len, u8 attr) in dln2_spi_read_one() 455 u8 attr; in dln2_spi_read_one() member 490 u8 *rx_data, u16 data_len, u8 attr) in dln2_spi_read_write_one() 496 u8 attr; in dln2_spi_read_write_one() member 547 u8 *rx_data, u16 data_len, u8 attr) in dln2_spi_rdwr() 659 u8 attr = 0; in dln2_spi_transfer_one() local
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_pmu.c | 876 struct device_attribute attr; member 881 struct device_attribute *attr, char *buf) in i915_pmu_format_show() 906 struct device_attribute attr; member 911 struct device_attribute *attr, char *buf) in i915_pmu_event_show() 920 struct device_attribute *attr, char *buf) in cpumask_show() 959 add_i915_attr(struct i915_ext_attribute *attr, const char *name, u64 config) in add_i915_attr() 971 add_pmu_attr(struct perf_pmu_events_attr *attr, const char *name, in add_pmu_attr() 1010 struct attribute **attr = NULL, **attr_iter; in create_event_attributes() local
|
/openbmc/linux/drivers/leds/trigger/ |
H A D | ledtrig-backlight.c | 61 struct device_attribute *attr, char *buf) in bl_trig_invert_show() 69 struct device_attribute *attr, const char *buf, size_t num) in bl_trig_invert_store()
|