Home
last modified time | relevance | path

Searched defs:attr (Results 726 – 750 of 2622) sorted by relevance

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

/openbmc/linux/drivers/leds/
H A Dled-class.c29 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 Dxgene-hwmon.c320 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 Dw83627ehf.c908 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 Dsbrmi.c192 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 Dw83773g.c173 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 Dscmi-hwmon.c91 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 Dxenbus_probe.c231 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 Denum-attributes.c13 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 Dacpi_lpit.c58 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 Ddptf_power.c65 struct device_attribute *attr, in prochot_confirm_store()
136 char *attr; in dptf_power_notify() local
/openbmc/linux/net/wireless/
H A Dsysfs.c41 struct device_attribute *attr, in name_show()
51 struct device_attribute *attr, in addresses_show()
/openbmc/linux/drivers/iio/imu/bno055/
H A Dbno055.c551 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 Ddell-wmi-ddv.c282 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 Dpcpu.c100 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 Dibm_rtl.c143 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 Dphy-tahvo.c63 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 Dmemmap.c55 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 Dsysfs.c23 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 Dbsr.c78 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 Dptrace-perf-hwbreak.c116 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 Dmax31865.c217 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 Dwindfarm_core.c160 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 Dspi-dln2.c420 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 Di915_pmu.c876 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 Dledtrig-backlight.c61 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()

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