Home
last modified time | relevance | path

Searched defs:attr (Results 101 – 125 of 2622) sorted by relevance

12345678910>>...105

/openbmc/linux/include/linux/
H A Dbpf-netns.h37 static inline int netns_bpf_prog_query(const union bpf_attr *attr, in netns_bpf_prog_query()
43 static inline int netns_bpf_prog_attach(const union bpf_attr *attr, in netns_bpf_prog_attach()
49 static inline int netns_bpf_prog_detach(const union bpf_attr *attr, in netns_bpf_prog_detach()
55 static inline int netns_bpf_link_create(const union bpf_attr *attr, in netns_bpf_link_create()
/openbmc/linux/drivers/hwmon/
H A Daxi-fan-control.c81 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in axi_fan_control_show() local
93 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in axi_fan_control_store() local
171 static int axi_fan_control_read_fan(struct device *dev, u32 attr, long *val) in axi_fan_control_read_fan()
189 static int axi_fan_control_read_pwm(struct device *dev, u32 attr, long *val) in axi_fan_control_read_pwm()
216 u32 attr, int channel, const char **str) in axi_fan_control_read_labels()
232 u32 attr, int channel, long *val) in axi_fan_control_read()
248 u32 attr, int channel, long val) in axi_fan_control_write()
258 static umode_t axi_fan_control_fan_is_visible(const u32 attr) in axi_fan_control_fan_is_visible()
270 static umode_t axi_fan_control_pwm_is_visible(const u32 attr) in axi_fan_control_pwm_is_visible()
280 static umode_t axi_fan_control_temp_is_visible(const u32 attr) in axi_fan_control_temp_is_visible()
[all …]
H A Dlm93.c1402 struct device_attribute *attr, in temp_auto_boost_hyst_show()
1813 struct device_attribute *attr, in pwm_enable_store()
1953 struct device_attribute *attr, in pwm_auto_spinup_min_show()
1968 struct device_attribute *attr, in pwm_auto_spinup_min_store()
1998 struct device_attribute *attr, in pwm_auto_spinup_time_show()
2043 struct device_attribute *attr, in pwm_auto_prochot_ramp_store()
2075 struct device_attribute *attr, in pwm_auto_vrdhot_ramp_store()
2140 struct device_attribute *attr, in prochot_max_store()
2247 struct device_attribute *attr, in prochot_override_duty_cycle_show()
2255 struct device_attribute *attr, in prochot_override_duty_cycle_store()
[all …]
H A Dlm85.c734 struct device_attribute *attr, in pwm_enable_store()
1021 struct device_attribute *attr, in pwm_auto_channels_show()
1030 struct device_attribute *attr, in pwm_auto_channels_store()
1061 struct device_attribute *attr, in pwm_auto_pwm_min_store()
1083 struct device_attribute *attr, in pwm_auto_pwm_minctl_show()
1092 struct device_attribute *attr, in pwm_auto_pwm_minctl_store()
1140 struct device_attribute *attr, in temp_auto_temp_off_store()
1179 struct device_attribute *attr, in temp_auto_temp_min_store()
1220 struct device_attribute *attr, in temp_auto_temp_max_store()
1247 struct device_attribute *attr, in temp_auto_temp_crit_show()
[all …]
H A Dadm1025.c164 in_show(struct device *dev, struct device_attribute *attr, char *buf) in in_show()
173 in_min_show(struct device *dev, struct device_attribute *attr, char *buf) in in_min_show()
182 in_max_show(struct device *dev, struct device_attribute *attr, char *buf) in in_max_show()
191 temp_show(struct device *dev, struct device_attribute *attr, char *buf) in temp_show()
199 temp_min_show(struct device *dev, struct device_attribute *attr, char *buf) in temp_min_show()
207 temp_max_show(struct device *dev, struct device_attribute *attr, char *buf) in temp_max_show()
276 struct device_attribute *attr, const char *buf, in temp_min_store()
298 struct device_attribute *attr, const char *buf, in temp_max_store()
327 alarms_show(struct device *dev, struct device_attribute *attr, char *buf) in alarms_show()
335 alarm_show(struct device *dev, struct device_attribute *attr, char *buf) in alarm_show()
[all …]
H A Dsmsc47m192.c169 static ssize_t in_show(struct device *dev, struct device_attribute *attr, in in_show()
178 static ssize_t in_min_show(struct device *dev, struct device_attribute *attr, in in_min_show()
266 static ssize_t temp_show(struct device *dev, struct device_attribute *attr, in temp_show()
276 struct device_attribute *attr, char *buf) in temp_min_show()
285 struct device_attribute *attr, char *buf) in temp_max_show()
294 struct device_attribute *attr, const char *buf, in temp_min_store()
317 struct device_attribute *attr, const char *buf, in temp_max_store()
340 struct device_attribute *attr, char *buf) in temp_offset_show()
349 struct device_attribute *attr, in temp_offset_store()
401 struct device_attribute *attr, char *buf) in cpu0_vid_show()
[all …]
/openbmc/linux/drivers/block/rnbd/
H A Drnbd-clt-sysfs.c226 struct kobj_attribute *attr, char *page) in state_show()
264 struct kobj_attribute *attr, char *page) in mapping_path_show()
277 struct kobj_attribute *attr, char *page) in access_mode_show()
290 struct kobj_attribute *attr, char *page) in rnbd_clt_unmap_dev_show()
297 struct kobj_attribute *attr, in rnbd_clt_unmap_dev_store()
360 struct kobj_attribute *attr, in rnbd_clt_resize_dev_show()
368 struct kobj_attribute *attr, in rnbd_clt_resize_dev_store()
393 struct kobj_attribute *attr, char *page) in rnbd_clt_remap_dev_show()
399 struct kobj_attribute *attr, in rnbd_clt_remap_dev_store()
501 struct kobj_attribute *attr, in rnbd_clt_map_device_show()
[all …]
/openbmc/linux/drivers/infiniband/hw/usnic/
H A Dusnic_ib_sysfs.c49 struct device_attribute *attr, char *buf) in board_id_show()
67 config_show(struct device *device, struct device_attribute *attr, char *buf) in config_show()
119 iface_show(struct device *device, struct device_attribute *attr, char *buf) in iface_show()
129 max_vf_show(struct device *device, struct device_attribute *attr, char *buf) in max_vf_show()
139 qp_per_vf_show(struct device *device, struct device_attribute *attr, char *buf) in qp_per_vf_show()
153 cq_per_vf_show(struct device *device, struct device_attribute *attr, char *buf) in cq_per_vf_show()
178 struct attribute attr; member
186 usnic_ib_qpn_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) in usnic_ib_qpn_attr_show()
/openbmc/linux/drivers/misc/
H A Denclosure.c434 struct device_attribute *attr, in id_show()
476 struct device_attribute *attr, char *buf) in get_component_fault()
487 struct device_attribute *attr, in set_component_fault()
500 struct device_attribute *attr,char *buf) in get_component_status()
511 struct device_attribute *attr, in set_component_status()
545 struct device_attribute *attr, in set_component_active()
569 struct device_attribute *attr, in set_component_locate()
582 struct device_attribute *attr, in get_component_power_status()
599 struct device_attribute *attr, in set_component_power_status()
621 struct device_attribute *attr, char *buf) in get_component_type()
[all …]
H A Dbh1770glc.c630 struct device_attribute *attr, in bh1770_power_state_store()
708 struct device_attribute *attr, in bh1770_prox_enable_store()
808 struct device_attribute *attr, in bh1770_set_prox_rate_above()
826 struct device_attribute *attr, in bh1770_set_prox_rate_below()
851 struct device_attribute *attr, in bh1770_set_prox_thres()
883 struct device_attribute *attr, in bh1770_prox_persistence_store()
910 struct device_attribute *attr, in bh1770_prox_abs_thres_store()
955 struct device_attribute *attr, in bh1770_lux_calib_store()
1006 struct device_attribute *attr, in bh1770_set_lux_rate()
1075 struct device_attribute *attr, in bh1770_set_lux_thresh_above()
[all …]
/openbmc/linux/drivers/s390/crypto/
H A Dap_queue.c511 struct device_attribute *attr, in request_count_show()
532 struct device_attribute *attr, in request_count_store()
577 struct device_attribute *attr, char *buf) in reset_show()
600 struct device_attribute *attr, in reset_store()
639 struct device_attribute *attr, char *buf) in config_show()
667 struct device_attribute *attr, char *buf) in ap_functions_show()
688 struct device_attribute *attr, char *buf) in states_show()
746 struct device_attribute *attr, char *buf) in last_err_rc_show()
846 struct device_attribute *attr, in se_bind_store()
895 struct device_attribute *attr, char *buf) in se_associate_show()
[all …]
/openbmc/linux/drivers/video/backlight/
H A Dadp8870_bl.c577 struct device_attribute *attr, char *buf) in adp8870_bl_l5_dark_max_show()
592 struct device_attribute *attr, char *buf) in adp8870_bl_l4_indoor_max_show()
622 struct device_attribute *attr, char *buf) in adp8870_bl_l2_bright_max_show()
636 struct device_attribute *attr, char *buf) in adp8870_bl_l1_daylight_max_show()
656 struct device_attribute *attr, char *buf) in adp8870_bl_l5_dark_dim_show()
662 struct device_attribute *attr, in adp8870_bl_l5_dark_dim_store()
677 struct device_attribute *attr, in adp8870_bl_l4_indoor_dim_store()
693 struct device_attribute *attr, in adp8870_bl_l3_office_dim_store()
708 struct device_attribute *attr, in adp8870_bl_l2_bright_dim_store()
723 struct device_attribute *attr, in adp8870_bl_l1_daylight_dim_store()
[all …]
/openbmc/linux/tools/lib/perf/tests/
H A Dtest-evsel.c24 struct perf_event_attr attr = { in test_stat_cpu() local
58 struct perf_event_attr attr = { in test_stat_thread() local
90 struct perf_event_attr attr = { in test_stat_thread_enable() local
133 struct perf_event_attr attr = { in test_stat_user_read() local
195 static int test_stat_read_format_single(struct perf_event_attr *attr, struct perf_thread_map *threa… in test_stat_read_format_single()
230 static int test_stat_read_format_group(struct perf_event_attr *attr, struct perf_thread_map *thread… in test_stat_read_format_group()
294 struct perf_event_attr attr = { in test_stat_read_format() local
/openbmc/linux/arch/s390/pci/
H A Dpci_sysfs.c44 struct device_attribute *attr, char *buf) in mio_enabled_show()
52 static ssize_t recover_store(struct device *dev, struct device_attribute *attr, in recover_store()
124 struct bin_attribute *attr, char *buf, in util_string_read()
137 struct bin_attribute *attr, char *buf, in report_error_write()
156 struct device_attribute *attr, char *buf) in uid_is_unique_show()
165 struct device_attribute *attr, char *buf) in index_show()
178 struct attribute *attr, int n) in zpci_index_is_visible()
/openbmc/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_ctl.c2907 struct device_attribute *attr, char *buf) in version_nvdata_persistent_show()
3186 struct device_attribute *attr, char *buf) in reply_queue_count_show()
3291 struct device_attribute *attr, char *buf) in host_trace_buffer_size_show()
3399 struct device_attribute *attr, char *buf) in host_trace_buffer_enable_show()
3518 struct device_attribute *attr, char *buf) in diag_trigger_master_show()
3595 struct device_attribute *attr, char *buf) in diag_trigger_event_show()
3671 struct device_attribute *attr, char *buf) in diag_trigger_scsi_show()
3745 struct device_attribute *attr, char *buf) in diag_trigger_mpi_show()
3823 struct device_attribute *attr, char *buf) in drv_support_bitmap_show()
3843 struct device_attribute *attr, char *buf) in enable_sdev_max_qd_show()
[all …]
/openbmc/linux/drivers/media/pci/solo6x10/
H A Dsolo6x10-core.c159 static ssize_t eeprom_store(struct device *dev, struct device_attribute *attr, in eeprom_store()
189 static ssize_t eeprom_show(struct device *dev, struct device_attribute *attr, in eeprom_show()
205 struct device_attribute *attr, in p2m_timeouts_show()
215 struct device_attribute *attr, in sdram_size_show()
225 struct device_attribute *attr, in tw28xx_show()
238 struct device_attribute *attr, in input_map_show()
273 struct device_attribute *attr, in p2m_timeout_store()
289 struct device_attribute *attr, in p2m_timeout_show()
299 struct device_attribute *attr, in intervals_show()
318 struct device_attribute *attr, in sdram_offsets_show()
/openbmc/linux/drivers/scsi/arcmsr/
H A Darcmsr_attr.c259 struct device_attribute *attr, char *buf) in arcmsr_attr_host_driver_version()
268 struct device_attribute *attr, char *buf) in arcmsr_attr_host_driver_posted_cmd()
280 struct device_attribute *attr, char *buf) in arcmsr_attr_host_driver_reset()
292 struct device_attribute *attr, char *buf) in arcmsr_attr_host_driver_abort()
303 arcmsr_attr_host_fw_model(struct device *dev, struct device_attribute *attr, in arcmsr_attr_host_fw_model()
316 struct device_attribute *attr, char *buf) in arcmsr_attr_host_fw_version()
329 struct device_attribute *attr, char *buf) in arcmsr_attr_host_fw_request_len()
342 struct device_attribute *attr, char *buf) in arcmsr_attr_host_fw_numbers_queue()
355 struct device_attribute *attr, char *buf) in arcmsr_attr_host_fw_sdram_size()
368 struct device_attribute *attr, char *buf) in arcmsr_attr_host_fw_hd_channels()
/openbmc/linux/arch/x86/coco/
H A Dcore.c23 static bool noinstr intel_cc_platform_has(enum cc_attr attr) in intel_cc_platform_has()
41 static __maybe_unused __always_inline bool amd_cc_platform_vtom(enum cc_attr attr) in amd_cc_platform_vtom()
65 static bool noinstr amd_cc_platform_has(enum cc_attr attr) in amd_cc_platform_has()
104 bool noinstr cc_platform_has(enum cc_attr attr) in cc_platform_has()
/openbmc/linux/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c344 struct mount_attr attr = { in mount_setattr_thread() local
539 struct mount_attr attr = { in TEST_F() local
575 struct mount_attr attr = { in TEST_F() local
669 struct mount_attr attr = { in TEST_F() local
726 struct mount_attr attr = { in TEST_F() local
760 struct mount_attr attr = { in TEST_F() local
964 struct mount_attr attr = { in TEST_F() local
980 struct mount_attr attr = { in TEST_F() local
1071 struct mount_attr attr = { in TEST_F() local
1089 struct mount_attr attr = { in TEST_F() local
[all …]
/openbmc/linux/tools/testing/nvdimm/test/
H A Dndtest.c381 struct device_attribute *attr, char *buf) in range_index_show()
563 struct device_attribute *attr, char *buf) in phys_id_show()
573 struct device_attribute *attr, char *buf) in vendor_show()
580 struct device_attribute *attr, char *buf) in id_show()
591 struct device_attribute *attr, char *buf) in nvdimm_handle_show()
605 struct device_attribute *attr, char *buf) in subsystem_vendor_show()
612 struct device_attribute *attr, char *buf) in dirty_shutdown_show()
619 struct device_attribute *attr, char *buf) in formats_show()
629 struct device_attribute *attr, char *buf) in format_show()
662 struct device_attribute *attr, char *buf) in flags_show()
[all …]
/openbmc/linux/drivers/watchdog/
H A Dwatchdog_dev.c473 static ssize_t status_show(struct device *dev, struct device_attribute *attr, in status_show()
489 struct device_attribute *attr, char *buf) in bootstatus_show()
515 static ssize_t timeout_show(struct device *dev, struct device_attribute *attr, in timeout_show()
525 struct device_attribute *attr, char *buf) in min_timeout_show()
534 struct device_attribute *attr, char *buf) in max_timeout_show()
543 struct device_attribute *attr, char *buf) in pretimeout_show()
578 static ssize_t state_show(struct device *dev, struct device_attribute *attr, in state_show()
591 struct device_attribute *attr, char *buf) in pretimeout_available_governors_show()
598 struct device_attribute *attr, in pretimeout_governor_show()
607 struct device_attribute *attr, in pretimeout_governor_store()
[all …]
/openbmc/linux/drivers/hid/
H A Dhid-ntrig.c169 struct device_attribute *attr, in show_phys_width()
181 struct device_attribute *attr, in show_phys_height()
193 struct device_attribute *attr, in show_log_width()
217 struct device_attribute *attr, in show_min_width()
229 struct device_attribute *attr, in set_min_width()
264 struct device_attribute *attr, in set_min_height()
288 struct device_attribute *attr, in show_activate_slack()
298 struct device_attribute *attr, in set_activate_slack()
321 struct device_attribute *attr, in show_activation_width()
333 struct device_attribute *attr, in set_activation_width()
[all …]
/openbmc/linux/drivers/fpga/
H A Ddfl-fme-main.c29 struct device_attribute *attr, char *buf) in ports_num_show()
48 struct device_attribute *attr, char *buf) in bitstream_id_show()
80 struct device_attribute *attr, char *buf) in cache_size_show()
95 struct device_attribute *attr, char *buf) in fabric_version_show()
110 struct device_attribute *attr, char *buf) in socket_id_show()
215 u32 attr, int channel) in thermal_hwmon_attrs_visible()
227 u32 attr, int channel, long *val) in thermal_hwmon_read()
301 struct attribute *attr, int index) in thermal_extra_attrs_visible()
378 u32 attr, int channel, long *val) in power_hwmon_read()
412 u32 attr, int channel, long val) in power_hwmon_write()
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpiolib-sysfs.c73 struct device_attribute *attr, char *buf) in direction_show()
90 struct device_attribute *attr, const char *buf, size_t size) in direction_store()
114 struct device_attribute *attr, char *buf) in value_show()
133 struct device_attribute *attr, const char *buf, size_t size) in value_store()
242 struct device_attribute *attr, char *buf) in edge_show()
317 struct device_attribute *attr, char *buf) in active_low_show()
401 struct device_attribute *attr, char *buf) in base_show()
410 struct device_attribute *attr, char *buf) in label_show()
419 struct device_attribute *attr, char *buf) in ngpio_show()
442 const struct class_attribute *attr, in export_store()
[all …]
/openbmc/linux/drivers/s390/char/
H A Dsclp_cpi_sys.c179 static int check_string(const char *attr, const char *str) in check_string()
202 static void set_string(char *attr, const char *value) in set_string()
221 struct kobj_attribute *attr, char *page) in system_name_show()
232 struct kobj_attribute *attr, in system_name_store()
253 struct kobj_attribute *attr, char *page) in sysplex_name_show()
264 struct kobj_attribute *attr, in sysplex_name_store()
285 struct kobj_attribute *attr, char *page) in system_type_show()
296 struct kobj_attribute *attr, in system_type_store()
317 struct kobj_attribute *attr, char *page) in system_level_show()
328 struct kobj_attribute *attr, in system_level_store()
[all …]

12345678910>>...105