Home
last modified time | relevance | path

Searched defs:attr (Results 276 – 300 of 2622) sorted by relevance

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

/openbmc/linux/drivers/platform/x86/
H A Dasus-wmi.c796 struct device_attribute *attr, in gpu_mux_mode_store()
853 struct device_attribute *attr, in kbd_rgb_mode_store()
921 struct device_attribute *attr, in kbd_rgb_state_store()
2363 struct device_attribute *attr, in fan1_input_show()
2488 struct device_attribute *attr, in asus_hwmon_temp1()
2505 struct device_attribute *attr, in fan2_input_show()
2530 struct device_attribute *attr, in fan3_input_show()
2554 struct device_attribute *attr, in pwm2_enable_show()
2563 struct device_attribute *attr, in pwm2_enable_store()
2600 struct device_attribute *attr, in pwm3_enable_show()
[all …]
/openbmc/linux/drivers/dax/
H A Dbus.c249 struct device_attribute *attr, char *buf) in id_show()
258 struct device_attribute *attr, char *buf) in region_size_show()
269 struct device_attribute *attr, char *buf) in region_align_show()
294 struct device_attribute *attr, char *buf) in available_size_show()
308 struct device_attribute *attr, char *buf) in seed_show()
327 struct device_attribute *attr, char *buf) in create_show()
702 struct device_attribute *attr, char *buf) in start_show()
718 struct device_attribute *attr, char *buf) in end_show()
734 struct device_attribute *attr, char *buf) in pgoff_show()
905 struct device_attribute *attr, char *buf) in size_show()
[all …]
/openbmc/linux/tools/lib/bpf/
H A Dskel_internal.h71 static inline int skel_sys_bpf(enum bpf_cmd cmd, union bpf_attr *attr, in skel_sys_bpf()
226 union bpf_attr attr; in skel_map_create() local
243 union bpf_attr attr; in skel_map_update_elem() local
257 union bpf_attr attr; in skel_map_delete_elem() local
269 union bpf_attr attr; in skel_map_get_fd_by_id() local
280 union bpf_attr attr; in skel_raw_tracepoint_open() local
293 union bpf_attr attr; in skel_link_create() local
314 union bpf_attr attr; in bpf_load_and_run() local
/openbmc/linux/drivers/usb/misc/
H A Dlvstest.c102 struct device_attribute *attr, const char *buf, size_t count) in u3_entry_store()
131 struct device_attribute *attr, const char *buf, size_t count) in u3_exit_store()
160 struct device_attribute *attr, const char *buf, size_t count) in hot_reset_store()
179 struct device_attribute *attr, const char *buf, size_t count) in warm_reset_store()
198 struct device_attribute *attr, const char *buf, size_t count) in u2_timeout_store()
227 struct device_attribute *attr, const char *buf, size_t count) in u1_timeout_store()
256 struct device_attribute *attr, const char *buf, size_t count) in get_dev_desc_store()
294 struct device_attribute *attr, const char *buf, size_t count) in enable_compliance_store()
/openbmc/linux/drivers/hid/
H A Dhid-roccat-arvo.c27 struct device_attribute *attr, char *buf) in arvo_sysfs_show_mode_key()
47 struct device_attribute *attr, char const *buf, size_t size) in arvo_sysfs_set_mode_key()
77 struct device_attribute *attr, char *buf) in arvo_sysfs_show_key_mask()
97 struct device_attribute *attr, char const *buf, size_t size) in arvo_sysfs_set_key_mask()
142 struct device_attribute *attr, char *buf) in arvo_sysfs_show_actual_profile()
151 struct device_attribute *attr, char const *buf, size_t size) in arvo_sysfs_set_actual_profile()
227 struct kobject *kobj, struct bin_attribute *attr, char *buf, in arvo_sysfs_write_button()
237 struct kobject *kobj, struct bin_attribute *attr, char *buf, in arvo_sysfs_read_info()
/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dsysfs.c65 struct device_attribute *attr, in b43legacy_attr_interfmode_show()
99 struct device_attribute *attr, in b43legacy_attr_interfmode_store()
146 struct device_attribute *attr, in b43legacy_attr_preamble_show()
170 struct device_attribute *attr, in b43legacy_attr_preamble_store()
/openbmc/linux/drivers/hwmon/
H A Dlm80.c259 static ssize_t in_show(struct device *dev, struct device_attribute *attr, in in_show()
271 static ssize_t in_store(struct device *dev, struct device_attribute *attr, in in_store()
293 static ssize_t fan_show(struct device *dev, struct device_attribute *attr, in fan_show()
305 static ssize_t fan_div_show(struct device *dev, struct device_attribute *attr, in fan_div_show()
315 static ssize_t fan_store(struct device *dev, struct device_attribute *attr, in fan_store()
343 struct device_attribute *attr, const char *buf, in fan_div_store()
404 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_show() local
415 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_store() local
431 static ssize_t alarms_show(struct device *dev, struct device_attribute *attr, in alarms_show()
440 static ssize_t alarm_show(struct device *dev, struct device_attribute *attr, in alarm_show()
H A Dit87.c1340 struct device_attribute *attr, char *buf) in show_pwm_enable()
1676 struct device_attribute *attr, char *buf) in show_pwm_temp_map()
1791 struct device_attribute *attr, char *buf) in show_auto_pwm_slope()
1804 struct device_attribute *attr, in set_auto_pwm_slope()
2213 struct device_attribute *attr, char *buf) in cpu0_vid_show()
2259 struct attribute *attr, int index) in it87_in_is_visible()
2343 struct attribute *attr, int index) in it87_temp_is_visible()
2410 struct attribute *attr, int index) in it87_is_visible()
2442 struct attribute *attr, int index) in it87_fan_is_visible()
2513 struct attribute *attr, int index) in it87_pwm_is_visible()
[all …]
H A Doxp-sensors.c224 struct attribute *attr, int n) in tt_toggle_is_visible()
238 struct device_attribute *attr, const char *buf, in tt_toggle_store()
260 struct device_attribute *attr, char *buf) in tt_toggle_show()
300 enum hwmon_sensor_types type, u32 attr, int channel) in oxp_ec_hwmon_is_visible()
313 u32 attr, int channel, long *val) in oxp_platform_read()
360 u32 attr, int channel, long val) in oxp_platform_write()
H A Dlm95245.c159 static int lm95245_read_temp(struct device *dev, u32 attr, int channel, in lm95245_read_temp()
276 static int lm95245_write_temp(struct device *dev, u32 attr, int channel, in lm95245_write_temp()
337 static int lm95245_read_chip(struct device *dev, u32 attr, int channel, in lm95245_read_chip()
351 static int lm95245_write_chip(struct device *dev, u32 attr, int channel, in lm95245_write_chip()
369 u32 attr, int channel, long *val) in lm95245_read()
382 u32 attr, int channel, long val) in lm95245_write()
394 static umode_t lm95245_temp_is_visible(const void *data, u32 attr, int channel) in lm95245_temp_is_visible()
417 u32 attr, int channel) in lm95245_is_visible()
H A Di5k_amb.c130 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_alarm() local
145 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_min() local
165 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_mid() local
185 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_max() local
204 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_min() local
214 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_mid() local
224 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_max() local
234 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_temp() local
244 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_label() local
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dopal-powercap.c22 struct kobj_attribute attr; member
30 static ssize_t powercap_show(struct kobject *kobj, struct kobj_attribute *attr, in powercap_show()
82 struct kobj_attribute *attr, const char *buf, in powercap_store()
133 struct powercap_attr *attr) in powercap_add_attr()
/openbmc/linux/drivers/s390/crypto/
H A Dzcrypt_card.c40 struct device_attribute *attr, char *buf) in type_show()
50 struct device_attribute *attr, in online_show()
61 struct device_attribute *attr, in online_store()
116 struct device_attribute *attr, in load_show()
/openbmc/linux/drivers/dma-buf/
H A Ddma-buf-sysfs-stats.c54 struct attribute attr; member
61 struct attribute *attr, in dma_buf_stats_attribute_show()
83 struct dma_buf_stats_attribute *attr, in exporter_name_show()
90 struct dma_buf_stats_attribute *attr, in size_show()
/openbmc/linux/drivers/auxdisplay/
H A Dline-display.c123 static ssize_t message_show(struct device *dev, struct device_attribute *attr, in message_show()
142 static ssize_t message_store(struct device *dev, struct device_attribute *attr, in message_store()
155 struct device_attribute *attr, char *buf) in scroll_step_ms_show()
163 struct device_attribute *attr, in scroll_step_ms_store()
/openbmc/linux/drivers/fpga/
H A Ddfl-afu-error.c115 static ssize_t errors_show(struct device *dev, struct device_attribute *attr, in errors_show()
131 static ssize_t errors_store(struct device *dev, struct device_attribute *attr, in errors_store()
147 struct device_attribute *attr, char *buf) in first_error_show()
164 struct device_attribute *attr, in first_malformed_req_show()
191 struct attribute *attr, int n) in port_err_attrs_visible()
/openbmc/linux/drivers/input/
H A Dinput-poller.c138 struct device_attribute *attr, in input_dev_get_poll_interval()
147 struct device_attribute *attr, in input_dev_set_poll_interval()
184 struct device_attribute *attr, char *buf) in input_dev_get_poll_max()
194 struct device_attribute *attr, char *buf) in input_dev_get_poll_min()
204 struct attribute *attr, int n) in input_poller_attrs_visible()
/openbmc/linux/drivers/thunderbolt/
H A Dusb4_port.c41 static ssize_t link_show(struct device *dev, struct device_attribute *attr, in link_show()
109 struct device_attribute *attr, char *buf) in offline_show()
117 struct device_attribute *attr, const char *buf, size_t count) in offline_store()
168 struct device_attribute *attr, const char *buf, size_t count) in rescan_store()
216 struct attribute *attr, int n) in service_attr_is_visible()
/openbmc/linux/drivers/platform/chrome/wilco_ec/
H A Dsysfs.c70 struct device_attribute *attr, in boot_on_ac_store()
125 static ssize_t version_show(struct device *dev, struct device_attribute *attr, in version_show()
134 struct device_attribute *attr, char *buf) in build_revision_show()
142 struct device_attribute *attr, char *buf) in build_date_show()
150 struct device_attribute *attr, char *buf) in model_number_show()
180 struct device_attribute *attr, char *buf) in usb_charge_show()
199 struct device_attribute *attr, in usb_charge_store()
/openbmc/linux/arch/powerpc/perf/
H A Dhv-gpci.c93 struct device_attribute *attr, in kernel_version_show()
100 struct device_attribute *attr, char *buf) in cpumask_show()
192 static ssize_t processor_bus_topology_show(struct device *dev, struct device_attribute *attr, in processor_bus_topology_show()
260 static ssize_t processor_config_show(struct device *dev, struct device_attribute *attr, in processor_config_show()
329 struct device_attribute *attr, char *buf) in affinity_domain_via_virtual_processor_show()
398 static ssize_t affinity_domain_via_domain_show(struct device *dev, struct device_attribute *attr, in affinity_domain_via_domain_show()
509 static ssize_t affinity_domain_via_partition_show(struct device *dev, struct device_attribute *attr, in affinity_domain_via_partition_show()
887 struct device_attribute *attr = NULL; in sysinfo_device_attr_create() local
951 struct device_attribute *attr[INTERFACE_NULL_ATTR - INTERFACE_PROCESSOR_BUS_TOPOLOGY_ATTR]; in add_sysinfo_interface_files() local
/openbmc/linux/kernel/bpf/
H A Dsyscall.c1127 static int map_create(union bpf_attr *attr) in map_create()
1685 const union bpf_attr *attr, in generic_map_delete_batch()
1742 const union bpf_attr *attr, in generic_map_update_batch()
1804 const union bpf_attr *attr, in generic_map_lookup_batch()
4374 const union bpf_attr *attr, in bpf_prog_get_info_by_fd()
4663 const union bpf_attr *attr, in bpf_map_get_info_by_fd()
4708 const union bpf_attr *attr, in bpf_btf_get_info_by_fd()
4724 const union bpf_attr *attr, in bpf_link_get_info_by_fd()
5120 static int link_update(union bpf_attr *attr) in link_update()
5178 static int link_detach(union bpf_attr *attr) in link_detach()
[all …]
/openbmc/linux/drivers/scsi/
H A Dscsi_transport_srp.c121 show_srp_rport_id(struct device *dev, struct device_attribute *attr, in show_srp_rport_id()
139 show_srp_rport_roles(struct device *dev, struct device_attribute *attr, in show_srp_rport_roles()
157 struct device_attribute *attr, in store_srp_rport_delete()
175 struct device_attribute *attr, in show_srp_rport_state()
213 struct device_attribute *attr, char *buf) in show_reconnect_delay()
221 struct device_attribute *attr, in store_reconnect_delay()
253 struct device_attribute *attr, char *buf) in show_failed_reconnects()
263 struct device_attribute *attr, in show_srp_rport_fast_io_fail_tmo()
272 struct device_attribute *attr, in store_srp_rport_fast_io_fail_tmo()
298 struct device_attribute *attr, in show_srp_rport_dev_loss_tmo()
[all …]
/openbmc/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_app.c1577 version_fw_show(struct device *dev, struct device_attribute *attr, in version_fw_show()
1599 fw_queue_depth_show(struct device *dev, struct device_attribute *attr, in fw_queue_depth_show()
1662 struct device_attribute *attr, char *buf) in logging_level_show()
1686 struct device_attribute *attr, in logging_level_store()
1711 adp_state_show(struct device *dev, struct device_attribute *attr, in adp_state_show()
1768 sas_address_show(struct device *dev, struct device_attribute *attr, in sas_address_show()
1802 device_handle_show(struct device *dev, struct device_attribute *attr, in device_handle_show()
1835 persistent_id_show(struct device *dev, struct device_attribute *attr, in persistent_id_show()
1867 struct device_attribute *attr, char *buf) in sas_ncq_prio_supported_show()
1885 struct device_attribute *attr, char *buf) in sas_ncq_prio_enable_show()
[all …]
/openbmc/linux/drivers/cpufreq/
H A Dcpufreq_governor_attr_set.c11 static inline struct governor_attr *to_gov_attr(struct attribute *attr) in to_gov_attr()
16 static ssize_t governor_show(struct kobject *kobj, struct attribute *attr, in governor_show()
24 static ssize_t governor_store(struct kobject *kobj, struct attribute *attr, in governor_store()
/openbmc/linux/drivers/regulator/
H A Duserspace-consumer.c35 struct device_attribute *attr, char *buf) in name_show()
43 struct device_attribute *attr, char *buf) in state_show()
53 static ssize_t state_store(struct device *dev, struct device_attribute *attr, in state_store()
101 static umode_t attr_visible(struct kobject *kobj, struct attribute *attr, int idx) in attr_visible()

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