Home
last modified time | relevance | path

Searched defs:attr (Results 301 – 325 of 2622) sorted by relevance

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

/openbmc/linux/arch/powerpc/kernel/
H A Deeh_sysfs.c42 struct device_attribute *attr, char *buf) in eeh_pe_state_show()
57 struct device_attribute *attr, in eeh_pe_state_store()
81 struct device_attribute *attr, char *buf) in eeh_notify_resume_show()
94 struct device_attribute *attr, in eeh_notify_resume_store()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_kfunc_dynptr_param.c39 int BPF_PROG(not_valid_dynptr, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG()
49 int BPF_PROG(not_ptr_to_stack, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG()
58 int BPF_PROG(dynptr_data_null, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsend_signal.c14 static void test_send_signal_common(struct perf_event_attr *attr, in test_send_signal_common()
158 struct perf_event_attr attr = { in test_send_signal_perf() local
170 struct perf_event_attr attr = { in test_send_signal_nmi() local
/openbmc/linux/net/bridge/
H A Dbr_mst.c92 struct switchdev_attr attr = { in br_mst_set_state() local
153 struct switchdev_attr attr = { in br_mst_vlan_set_msti() local
200 struct switchdev_attr attr = { in br_mst_set_enabled() local
299 const struct nlattr *attr, in br_mst_process_one()
331 struct nlattr *attr; in br_mst_process() local
/openbmc/linux/drivers/hwmon/
H A Dlm63.c334 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan() local
364 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_pwm1() local
382 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_pwm1() local
460 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_local_temp8() local
469 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_remote_temp8() local
479 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_lut_temp() local
662 struct device_attribute *attr, char *buf) in update_interval_show()
670 struct device_attribute *attr, in update_interval_store()
689 struct device_attribute *attr, char *buf) in temp2_type_show()
697 struct device_attribute *attr, in temp2_type_store()
[all …]
H A Dltc2992.c342 static umode_t ltc2992_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, in ltc2992_is_visible()
450 static int ltc2992_read_gpios_in(struct device *dev, u32 attr, int nr_gpio, long *val) in ltc2992_read_gpios_in()
481 static int ltc2992_read_in_alarm(struct ltc2992_state *st, int channel, long *val, u32 attr) in ltc2992_read_in_alarm()
501 static int ltc2992_read_in(struct device *dev, u32 attr, int channel, long *val) in ltc2992_read_in()
579 static int ltc2992_read_curr(struct device *dev, u32 attr, int channel, long *val) in ltc2992_read_curr()
654 static int ltc2992_read_power(struct device *dev, u32 attr, int channel, long *val) in ltc2992_read_power()
700 static int ltc2992_write_curr(struct device *dev, u32 attr, int channel, long val) in ltc2992_write_curr()
719 static int ltc2992_write_gpios_in(struct device *dev, u32 attr, int nr_gpio, long val) in ltc2992_write_gpios_in()
738 static int ltc2992_write_in(struct device *dev, u32 attr, int channel, long val) in ltc2992_write_in()
760 static int ltc2992_write_power(struct device *dev, u32 attr, int channel, long val) in ltc2992_write_power()
[all …]
H A Dvt1211.c334 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in()
365 static ssize_t set_in(struct device *dev, struct device_attribute *attr, in set_in()
439 static ssize_t set_temp(struct device *dev, struct device_attribute *attr, in set_temp()
515 static ssize_t set_fan(struct device *dev, struct device_attribute *attr, in set_fan()
621 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm()
745 struct device_attribute *attr, in show_pwm_auto_point_temp()
759 struct device_attribute *attr, in set_pwm_auto_point_temp()
809 struct device_attribute *attr, in show_pwm_auto_point_pwm()
822 struct device_attribute *attr, in set_pwm_auto_point_pwm()
886 struct device_attribute *attr, char *buf) in show_name()
[all …]
H A Dgsc-hwmon.c58 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_auto_point_temp_show() local
76 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_auto_point_temp_store() local
101 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_auto_point_pwm_show() local
146 gsc_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, in gsc_hwmon_read()
213 u32 attr, int channel, const char **buf) in gsc_hwmon_read_string()
235 gsc_hwmon_is_visible(const void *_data, enum hwmon_sensor_types type, u32 attr, in gsc_hwmon_is_visible()
H A Dlm83.c176 static int lm83_temp_read(struct device *dev, u32 attr, int channel, long *val) in lm83_temp_read()
225 static int lm83_temp_write(struct device *dev, u32 attr, int channel, long val) in lm83_temp_write()
250 static int lm83_chip_read(struct device *dev, u32 attr, int channel, long *val) in lm83_chip_read()
275 u32 attr, int channel, long *val) in lm83_read()
288 u32 attr, int channel, long val) in lm83_write()
299 u32 attr, int channel) in lm83_is_visible()
/openbmc/linux/drivers/base/
H A Dsoc.c27 struct soc_device_attribute *attr; member
48 struct attribute *attr, in soc_attribute_mode()
69 static ssize_t soc_info_show(struct device *dev, struct device_attribute *attr, in soc_info_show()
211 static int soc_device_match_attr(const struct soc_device_attribute *attr, in soc_device_match_attr()
/openbmc/linux/mm/
H A Dbacking-dev.c134 struct device_attribute *attr, in read_ahead_kb_store()
163 struct device_attribute *attr, const char *buf, size_t count) in min_ratio_store()
182 struct device_attribute *attr, const char *buf, size_t count) in min_ratio_fine_store()
201 struct device_attribute *attr, const char *buf, size_t count) in max_ratio_store()
220 struct device_attribute *attr, const char *buf, size_t count) in max_ratio_fine_store()
239 struct device_attribute *attr, in min_bytes_show()
248 struct device_attribute *attr, const char *buf, size_t count) in min_bytes_store()
267 struct device_attribute *attr, in max_bytes_show()
276 struct device_attribute *attr, const char *buf, size_t count) in max_bytes_store()
295 struct device_attribute *attr, in stable_pages_required_show()
[all …]
/openbmc/linux/drivers/input/misc/
H A Dyealink.c555 static ssize_t show_map(struct device *dev, struct device_attribute *attr, in show_map()
562 static ssize_t store_map(struct device *dev, struct device_attribute *attr, in store_map()
605 static ssize_t show_line1(struct device *dev, struct device_attribute *attr, in show_line1()
611 static ssize_t show_line2(struct device *dev, struct device_attribute *attr, in show_line2()
617 static ssize_t show_line3(struct device *dev, struct device_attribute *attr, in show_line3()
652 static ssize_t store_line1(struct device *dev, struct device_attribute *attr, in store_line1()
658 static ssize_t store_line2(struct device *dev, struct device_attribute *attr, in store_line2()
675 static ssize_t get_icons(struct device *dev, struct device_attribute *attr, in get_icons()
726 static ssize_t show_icon(struct device *dev, struct device_attribute *attr, in show_icon()
732 static ssize_t hide_icon(struct device *dev, struct device_attribute *attr, in hide_icon()
[all …]
/openbmc/linux/kernel/power/
H A Dhibernate.c1065 static ssize_t disk_show(struct kobject *kobj, struct kobj_attribute *attr, in disk_show()
1100 static ssize_t disk_store(struct kobject *kobj, struct kobj_attribute *attr, in disk_store()
1152 static ssize_t resume_show(struct kobject *kobj, struct kobj_attribute *attr, in resume_show()
1159 static ssize_t resume_store(struct kobject *kobj, struct kobj_attribute *attr, in resume_store()
1213 struct kobj_attribute *attr, char *buf) in resume_offset_show()
1219 struct kobj_attribute *attr, const char *buf, in resume_offset_store()
1235 static ssize_t image_size_show(struct kobject *kobj, struct kobj_attribute *attr, in image_size_show()
1241 static ssize_t image_size_store(struct kobject *kobj, struct kobj_attribute *attr, in image_size_store()
1257 struct kobj_attribute *attr, char *buf) in reserved_size_show()
1263 struct kobj_attribute *attr, in reserved_size_store()
/openbmc/linux/drivers/edac/
H A Dedac_device_sysfs.c108 struct attribute attr; member
118 struct attribute *attr, char *buffer) in edac_dev_ctl_info_show()
130 struct attribute *attr, in edac_dev_ctl_info_store()
340 struct attribute attr; member
347 struct attribute *attr, char *buffer) in edac_dev_instance_show()
359 struct attribute *attr, in edac_dev_instance_store()
416 struct attribute *attr, char *data) in block_ue_count_show()
424 struct attribute *attr, char *data) in block_ce_count_show()
450 struct attribute *attr, char *buffer) in edac_dev_block_show()
462 struct attribute *attr, in edac_dev_block_store()
/openbmc/linux/drivers/video/backlight/
H A Dbacklight.c181 static ssize_t bl_power_show(struct device *dev, struct device_attribute *attr, in bl_power_show()
189 static ssize_t bl_power_store(struct device *dev, struct device_attribute *attr, in bl_power_store()
223 struct device_attribute *attr, char *buf) in brightness_show()
254 struct device_attribute *attr, const char *buf, size_t count) in brightness_store()
270 static ssize_t type_show(struct device *dev, struct device_attribute *attr, in type_show()
280 struct device_attribute *attr, char *buf) in max_brightness_show()
289 struct device_attribute *attr, char *buf) in actual_brightness_show()
309 struct device_attribute *attr, char *buf) in scale_show()
/openbmc/linux/drivers/iio/
H A Dindustrialio-event.c259 static enum iio_event_direction iio_ev_attr_dir(struct iio_dev_attr *attr) in iio_ev_attr_dir()
264 static enum iio_event_type iio_ev_attr_type(struct iio_dev_attr *attr) in iio_ev_attr_type()
269 static enum iio_event_info iio_ev_attr_info(struct iio_dev_attr *attr) in iio_ev_attr_info()
275 struct device_attribute *attr, in iio_ev_state_store()
299 struct device_attribute *attr, in iio_ev_state_show()
319 struct device_attribute *attr, in iio_ev_value_show()
342 struct device_attribute *attr, in iio_ev_value_store()
523 struct attribute **attr; in iio_device_register_eventset() local
/openbmc/linux/drivers/most/
H A Dcore.c169 struct device_attribute *attr, in available_directions_show()
185 struct device_attribute *attr, in available_datatypes_show()
227 struct device_attribute *attr, in size_of_packet_buffer_show()
238 struct device_attribute *attr, in size_of_stream_buffer_show()
249 struct device_attribute *attr, in channel_starving_show()
258 struct device_attribute *attr, in set_number_of_buffers_show()
267 struct device_attribute *attr, in set_buffer_size_show()
276 struct device_attribute *attr, in set_direction_show()
289 struct device_attribute *attr, in set_datatype_show()
313 struct device_attribute *attr, in set_packets_per_xact_show()
[all …]
/openbmc/linux/drivers/devfreq/
H A Ddevfreq.c1414 struct device_attribute *attr, char *buf) in name_show()
1422 struct device_attribute *attr, char *buf) in governor_show()
1513 struct device_attribute *attr, in available_governors_show()
1576 struct device_attribute *attr, char *buf) in target_freq_show()
1680 struct device_attribute *attr, in available_frequencies_show()
1708 struct device_attribute *attr, char *buf) in trans_stat_show()
1780 struct device_attribute *attr, in trans_stat_store()
1825 struct device_attribute *attr, char *buf) in polling_interval_show()
1836 struct device_attribute *attr, in polling_interval_store()
1858 struct device_attribute *attr, char *buf) in timer_show()
[all …]
/openbmc/linux/drivers/infiniband/core/
H A Dcache.c88 struct ib_gid_attr attr; member
294 alloc_gid_entry(const struct ib_gid_attr *attr) in alloc_gid_entry()
353 const struct ib_gid_attr *attr = &entry->attr; in add_roce_gid() local
427 const struct ib_gid_attr *attr) in add_modify_gid()
476 struct ib_gid_attr *attr; in find_gid() local
547 union ib_gid *gid, struct ib_gid_attr *attr, in __ib_cache_gid_add()
591 union ib_gid *gid, struct ib_gid_attr *attr) in ib_cache_gid_add()
602 union ib_gid *gid, struct ib_gid_attr *attr, in _ib_cache_gid_del()
631 union ib_gid *gid, struct ib_gid_attr *attr) in ib_cache_gid_del()
693 const struct ib_gid_attr *attr; in rdma_find_gid_by_port() local
[all …]
/openbmc/linux/fs/orangefs/
H A Dorangefs-sysfs.c166 struct attribute attr; member
177 struct attribute *attr, in orangefs_attr_show()
189 struct attribute *attr, in orangefs_attr_store()
211 struct orangefs_attribute *attr, char *buf) in sysfs_int_show()
281 struct orangefs_attribute *attr, const char *buf, size_t count) in sysfs_int_store()
321 struct orangefs_attribute *attr, char *buf) in sysfs_service_op_show()
536 struct orangefs_attribute *attr, const char *buf, size_t count) in sysfs_service_op_store()
/openbmc/linux/drivers/leds/trigger/
H A Dledtrig-pattern.c145 static ssize_t repeat_show(struct device *dev, struct device_attribute *attr, in repeat_show()
161 static ssize_t repeat_store(struct device *dev, struct device_attribute *attr, in repeat_store()
294 static ssize_t pattern_show(struct device *dev, struct device_attribute *attr, in pattern_show()
303 static ssize_t pattern_store(struct device *dev, struct device_attribute *attr, in pattern_store()
314 struct device_attribute *attr, char *buf) in hw_pattern_show()
323 struct device_attribute *attr, in hw_pattern_store()
334 struct attribute *attr, int index) in pattern_trig_attrs_mode()
H A Dledtrig-netdev.c209 struct device_attribute *attr, char *buf) in device_name_show()
266 struct device_attribute *attr, const char *buf, in device_name_store()
282 enum led_trigger_netdev_modes attr) in netdev_led_attr_show()
306 size_t size, enum led_trigger_netdev_modes attr) in netdev_led_attr_store()
376 struct device_attribute *attr, char *buf) in interval_show()
385 struct device_attribute *attr, const char *buf, in interval_store()
413 struct device_attribute *attr, char *buf) in offloaded_show()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_sysfs.c186 struct device_attribute *attr, in status_store()
228 struct device_attribute *attr, in status_show()
241 struct device_attribute *attr, in dpms_show()
253 struct device_attribute *attr, in enabled_show()
265 struct bin_attribute *attr, char *buf, loff_t off, in edid_show()
298 struct device_attribute *attr, in modes_show()
316 struct device_attribute *attr, in connector_id_show()
/openbmc/linux/arch/x86/kernel/cpu/
H A Dumwait.c127 enable_c02_show(struct device *dev, struct device_attribute *attr, char *buf) in enable_c02_show()
135 struct device_attribute *attr, in enable_c02_store()
159 max_time_show(struct device *kobj, struct device_attribute *attr, char *buf) in max_time_show()
167 struct device_attribute *attr, in max_time_store()
/openbmc/linux/drivers/acpi/
H A Dacpi_pad.c276 struct device_attribute *attr, const char *buf, size_t count) in rrtime_store()
291 struct device_attribute *attr, char *buf) in rrtime_show()
298 struct device_attribute *attr, const char *buf, size_t count) in idlepct_store()
313 struct device_attribute *attr, char *buf) in idlepct_show()
320 struct device_attribute *attr, const char *buf, size_t count) in idlecpus_store()
333 struct device_attribute *attr, char *buf) in idlecpus_show()

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