Home
last modified time | relevance | path

Searched defs:attr (Results 76 – 100 of 2625) sorted by relevance

12345678910>>...105

/openbmc/linux/drivers/ptp/
H A Dptp_sysfs.c14 struct device_attribute *attr, char *page) in clock_name_show()
22 struct device_attribute *attr, in max_phase_adjustment_show()
49 struct device_attribute *attr, in extts_enable_store()
75 struct device_attribute *attr, char *page) in extts_fifo_show()
110 struct device_attribute *attr, in period_store()
138 struct device_attribute *attr, in pps_enable_store()
186 struct device_attribute *attr, char *page) in n_vclocks_show()
202 struct device_attribute *attr, in n_vclocks_store()
265 struct device_attribute *attr, char *page) in max_vclocks_show()
276 struct device_attribute *attr, in max_vclocks_store()
[all …]
/openbmc/linux/tools/perf/tests/
H A Dbp_account.c42 static int __event(bool is_x, void *addr, struct perf_event_attr *attr) in __event()
71 static int wp_event(void *addr, struct perf_event_attr *attr) in wp_event()
76 static int bp_event(void *addr, struct perf_event_attr *attr) in bp_event()
83 struct perf_event_attr attr, attr_mod, attr_new; in bp_accounting() local
115 struct perf_event_attr attr; in detect_cnt() local
139 struct perf_event_attr attr; in detect_ioctl() local
153 struct perf_event_attr attr; in detect_share() local
/openbmc/linux/drivers/platform/x86/intel/ifs/
H A Dsysfs.c23 struct device_attribute *attr, in details_show()
45 struct device_attribute *attr, in status_show()
64 struct device_attribute *attr, in run_test_store()
87 struct device_attribute *attr, in current_batch_store()
111 struct device_attribute *attr, char *buf) in current_batch_show()
127 struct device_attribute *attr, char *buf) in image_version_show()
/openbmc/linux/mm/damon/
H A Dsysfs-schemes.c40 static ssize_t start_show(struct kobject *kobj, struct kobj_attribute *attr, in start_show()
49 static ssize_t end_show(struct kobject *kobj, struct kobj_attribute *attr, in end_show()
59 struct kobj_attribute *attr, char *buf) in nr_accesses_show()
67 static ssize_t age_show(struct kobject *kobj, struct kobj_attribute *attr, in age_show()
140 struct kobj_attribute *attr, char *buf) in total_bytes_show()
198 static ssize_t nr_tried_show(struct kobject *kobj, struct kobj_attribute *attr, in nr_tried_show()
207 static ssize_t sz_tried_show(struct kobject *kobj, struct kobj_attribute *attr, in sz_tried_show()
217 struct kobj_attribute *attr, char *buf) in nr_applied_show()
226 struct kobj_attribute *attr, char *buf) in sz_applied_show()
235 struct kobj_attribute *attr, char *buf) in qt_exceeds_show()
[all …]
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/
H A Domapfb-sysfs.c28 struct device_attribute *attr, char *buf) in show_rotate_type()
37 struct device_attribute *attr, in store_rotate_type()
82 struct device_attribute *attr, char *buf) in show_mirror()
91 struct device_attribute *attr, in store_mirror()
132 struct device_attribute *attr, char *buf) in show_overlays()
180 static ssize_t store_overlays(struct device *dev, struct device_attribute *attr, in store_overlays()
322 struct device_attribute *attr, char *buf) in show_overlays_rotate()
344 struct device_attribute *attr, const char *buf, size_t count) in store_overlays_rotate()
414 struct device_attribute *attr, char *buf) in show_size()
422 static ssize_t store_size(struct device *dev, struct device_attribute *attr, in store_size()
[all …]
/openbmc/linux/drivers/acpi/
H A Ddevice_sysfs.c36 struct attribute attr; member
62 struct attribute *attr, char *buf) in acpi_data_node_attr_show()
337 modalias_show(struct device *dev, struct device_attribute *attr, char *buf) in modalias_show()
344 struct device_attribute *attr, char *buf) in real_power_state_show()
360 struct device_attribute *attr, char *buf) in power_state_show()
370 eject_store(struct device *d, struct device_attribute *attr, in eject_store()
402 hid_show(struct device *dev, struct device_attribute *attr, char *buf) in hid_show()
411 struct device_attribute *attr, char *buf) in uid_show()
420 struct device_attribute *attr, char *buf) in adr_show()
432 struct device_attribute *attr, char *buf) in path_show()
[all …]
/openbmc/linux/net/bridge/
H A Dbr_mrp_netlink.c31 static int br_mrp_instance_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_instance_parse()
76 struct nlattr *attr, in br_mrp_port_state_parse()
105 struct nlattr *attr, in br_mrp_port_role_parse()
134 static int br_mrp_ring_state_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_ring_state_parse()
168 static int br_mrp_ring_role_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_ring_role_parse()
205 static int br_mrp_start_test_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_start_test_parse()
248 static int br_mrp_in_state_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_in_state_parse()
284 static int br_mrp_in_role_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_in_role_parse()
325 struct nlattr *attr, in br_mrp_start_in_test_parse()
357 struct nlattr *attr, int cmd, struct netlink_ext_ack *extack) in br_mrp_parse()
H A Dbr_cfm_netlink.c90 static int br_mep_create_parse(struct net_bridge *br, struct nlattr *attr, in br_mep_create_parse()
130 static int br_mep_delete_parse(struct net_bridge *br, struct nlattr *attr, in br_mep_delete_parse()
153 static int br_mep_config_parse(struct net_bridge *br, struct nlattr *attr, in br_mep_config_parse()
195 static int br_cc_config_parse(struct net_bridge *br, struct nlattr *attr, in br_cc_config_parse()
236 static int br_cc_peer_mep_add_parse(struct net_bridge *br, struct nlattr *attr, in br_cc_peer_mep_add_parse()
263 static int br_cc_peer_mep_remove_parse(struct net_bridge *br, struct nlattr *attr, in br_cc_peer_mep_remove_parse()
290 static int br_cc_rdi_parse(struct net_bridge *br, struct nlattr *attr, in br_cc_rdi_parse()
317 static int br_cc_ccm_tx_parse(struct net_bridge *br, struct nlattr *attr, in br_cc_ccm_tx_parse()
380 struct nlattr *attr, int cmd, struct netlink_ext_ack *extack) in br_cfm_parse()
/openbmc/linux/drivers/regulator/
H A Dvirtual.c109 struct device_attribute *attr, char *buf) in show_min_uV()
115 static ssize_t set_min_uV(struct device *dev, struct device_attribute *attr, in set_min_uV()
135 struct device_attribute *attr, char *buf) in show_max_uV()
141 static ssize_t set_max_uV(struct device *dev, struct device_attribute *attr, in set_max_uV()
161 struct device_attribute *attr, char *buf) in show_min_uA()
167 static ssize_t set_min_uA(struct device *dev, struct device_attribute *attr, in set_min_uA()
187 struct device_attribute *attr, char *buf) in show_max_uA()
193 static ssize_t set_max_uA(struct device *dev, struct device_attribute *attr, in set_max_uA()
213 struct device_attribute *attr, char *buf) in show_mode()
231 static ssize_t set_mode(struct device *dev, struct device_attribute *attr, in set_mode()
/openbmc/linux/drivers/s390/net/
H A Dctcm_sysfs.c25 struct device_attribute *attr, char *buf) in ctcm_buffer_show()
35 struct device_attribute *attr, const char *buf, size_t count) in ctcm_buffer_write()
115 struct device_attribute *attr, char *buf) in stats_show()
126 static ssize_t stats_write(struct device *dev, struct device_attribute *attr, in stats_write()
139 struct device_attribute *attr, char *buf) in ctcm_proto_show()
149 struct device_attribute *attr, const char *buf, size_t count) in ctcm_proto_store()
179 struct device_attribute *attr, char *buf) in ctcm_type_show()
/openbmc/linux/drivers/parisc/
H A Dpdc_stable.c97 struct attribute attr; member
433 pdcspath_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) in pdcspath_attr_show()
453 pdcspath_attr_store(struct kobject *kobj, struct attribute *attr, in pdcspath_attr_store()
517 struct kobj_attribute *attr, in pdcs_size_read()
539 struct kobj_attribute *attr, in pdcs_auto_read()
566 struct kobj_attribute *attr, char *buf) in pdcs_autoboot_read()
578 struct kobj_attribute *attr, char *buf) in pdcs_autosearch_read()
592 struct kobj_attribute *attr, char *buf) in pdcs_timer_read()
619 struct kobj_attribute *attr, char *buf) in pdcs_osid_read()
641 struct kobj_attribute *attr, char *buf) in pdcs_osdep1_read()
[all …]
/openbmc/linux/arch/powerpc/kernel/
H A Dsysfs.c50 struct device_attribute *attr, in store_smt_snooze_delay()
60 struct device_attribute *attr, in show_smt_snooze_delay()
169 static void add_write_permission_dev_attr(struct device_attribute *attr) in add_write_permission_dev_attr()
183 struct device_attribute *attr, char *buf) in show_dscr_default()
198 struct device_attribute *attr, const char *buf, in store_dscr_default()
265 struct device_attribute *attr, char *buf) in show_pw20_state()
293 struct device_attribute *attr, in store_pw20_state()
311 struct device_attribute *attr, char *buf) in show_pw20_wait_time()
360 struct device_attribute *attr, in store_pw20_wait_time()
387 struct device_attribute *attr, char *buf) in show_altivec_idle()
[all …]
/openbmc/linux/arch/s390/kernel/
H A Dipl.c312 static ssize_t ipl_type_show(struct kobject *kobj, struct kobj_attribute *attr, in ipl_type_show()
321 struct kobj_attribute *attr, char *page) in ipl_secure_show()
330 struct kobj_attribute *attr, char *page) in ipl_has_secure_show()
339 struct kobj_attribute *attr, char *page) in ipl_vm_parm_show()
352 struct kobj_attribute *attr, char *page) in sys_ipl_device_show()
377 struct bin_attribute *attr, char *buf, in ipl_parameter_read()
388 struct bin_attribute *attr, char *buf, in ipl_scp_data_read()
398 struct bin_attribute *attr, char *buf, in ipl_nvme_scp_data_read()
408 struct bin_attribute *attr, char *buf, in ipl_eckd_scp_data_read()
544 struct kobj_attribute *attr, char *page) in ipl_ccw_loadparm_show()
[all …]
/openbmc/linux/drivers/char/tpm/
H A Dtpm-sysfs.c32 static ssize_t pubek_show(struct device *dev, struct device_attribute *attr, in pubek_show()
82 static ssize_t pcrs_show(struct device *dev, struct device_attribute *attr, in pcrs_show()
117 static ssize_t enabled_show(struct device *dev, struct device_attribute *attr, in enabled_show()
139 static ssize_t active_show(struct device *dev, struct device_attribute *attr, in active_show()
161 static ssize_t owned_show(struct device *dev, struct device_attribute *attr, in owned_show()
184 struct device_attribute *attr, char *buf) in temp_deactivated_show()
205 static ssize_t caps_show(struct device *dev, struct device_attribute *attr, in caps_show()
256 static ssize_t cancel_store(struct device *dev, struct device_attribute *attr, in cancel_store()
270 static ssize_t durations_show(struct device *dev, struct device_attribute *attr, in durations_show()
287 static ssize_t timeouts_show(struct device *dev, struct device_attribute *attr, in timeouts_show()
[all …]
/openbmc/linux/drivers/base/
H A Dcpu.c107 struct device_attribute *attr, in cpu_probe_store()
125 struct device_attribute *attr, in cpu_release_store()
151 struct device_attribute *attr, in crash_notes_show()
173 struct device_attribute *attr, in crash_notes_size_show()
210 struct device_attribute attr; member
215 struct device_attribute *attr, in show_cpus_attr()
237 struct device_attribute *attr, char *buf) in print_cpus_kernel_max()
247 struct device_attribute *attr, char *buf) in print_cpus_offline()
277 struct device_attribute *attr, char *buf) in print_cpus_isolated()
297 struct device_attribute *attr, char *buf) in print_cpus_nohz_full()
[all …]
H A Dphysical_location.c42 static ssize_t panel_show(struct device *dev, struct device_attribute *attr, in panel_show()
74 struct device_attribute *attr, char *buf) in vertical_position_show()
96 struct device_attribute *attr, char *buf) in horizontal_position_show()
117 static ssize_t dock_show(struct device *dev, struct device_attribute *attr, in dock_show()
125 static ssize_t lid_show(struct device *dev, struct device_attribute *attr, in lid_show()
/openbmc/linux/include/linux/
H A Dhw_breakpoint.h22 static inline void hw_breakpoint_init(struct perf_event_attr *attr) in hw_breakpoint_init()
36 static inline void ptrace_breakpoint_init(struct perf_event_attr *attr) in ptrace_breakpoint_init()
106 register_user_hw_breakpoint(struct perf_event_attr *attr, in register_user_hw_breakpoint()
112 struct perf_event_attr *attr) { return -ENOSYS; } in modify_user_hw_breakpoint()
114 modify_user_hw_breakpoint_check(struct perf_event *bp, struct perf_event_attr *attr, in modify_user_hw_breakpoint_check()
118 register_wide_hw_breakpoint_cpu(struct perf_event_attr *attr, in register_wide_hw_breakpoint_cpu()
123 register_wide_hw_breakpoint(struct perf_event_attr *attr, in register_wide_hw_breakpoint()
/openbmc/linux/drivers/net/wireless/marvell/libertas/
H A Dmesh.c160 struct device_attribute *attr, char *buf) in anycast_mask_show()
183 struct device_attribute *attr, in anycast_mask_store()
212 struct device_attribute *attr, char *buf) in prb_rsp_limit_show()
239 struct device_attribute *attr, in prb_rsp_limit_store()
272 struct device_attribute *attr, char *buf) in lbs_mesh_show()
286 struct device_attribute *attr, in lbs_mesh_store()
367 struct device_attribute *attr, char *buf) in bootflag_show()
387 static ssize_t bootflag_store(struct device *dev, struct device_attribute *attr, in bootflag_store()
419 struct device_attribute *attr, char *buf) in boottime_show()
440 struct device_attribute *attr, in boottime_store()
[all …]
/openbmc/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-sysfs.c70 struct device_attribute *attr, in show_name()
84 struct device_attribute *attr, in show_type()
105 struct device_attribute *attr, in show_min()
118 struct device_attribute *attr, in show_max()
131 struct device_attribute *attr, in show_def()
150 struct device_attribute *attr, in show_val_norm()
169 struct device_attribute *attr, in show_val_custom()
188 struct device_attribute *attr, in show_enum()
212 struct device_attribute *attr, in show_bits()
255 struct device_attribute *attr, in store_val_norm()
[all …]
/openbmc/linux/drivers/char/
H A Dtlclk.c280 struct device_attribute *attr, char *buf) in show_current_ref()
296 struct device_attribute *attr, char *buf) in show_telclock_version()
312 struct device_attribute *attr, char *buf) in show_alarms()
327 struct device_attribute *attr, const char *buf, size_t count) in store_received_ref_clk3a()
349 struct device_attribute *attr, const char *buf, size_t count) in store_received_ref_clk3b()
371 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clk3b_output()
392 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clk3a_output()
413 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clkb1_output()
435 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clka1_output()
456 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clkb0_output()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gt_sysfs_pm.c28 sysfs_gt_attribute_w_func(struct kobject *kobj, struct attribute *attr, in sysfs_gt_attribute_w_func()
53 sysfs_gt_attribute_r_func(struct kobject *kobj, struct attribute *attr, in sysfs_gt_attribute_r_func()
194 struct kobj_attribute *attr, in rc6_enable_show()
203 struct device_attribute *attr, in rc6_enable_dev_show()
445 struct kobj_attribute *attr, in punit_req_freq_mhz_show()
455 struct kobj_attribute *attr, in slpc_ignore_eff_freq_show()
465 struct kobj_attribute *attr, in slpc_ignore_eff_freq_store()
482 struct attribute attr; member
490 struct kobj_attribute *attr, in throttle_reason_bool_show()
573 struct kobj_attribute *attr, in freq_factor_scale_show()
[all …]
/openbmc/linux/drivers/hwmon/
H A Dlm87.c267 struct device_attribute *attr, char *buf) in in_input_show()
276 static ssize_t in_min_show(struct device *dev, struct device_attribute *attr, in in_min_show()
286 static ssize_t in_max_show(struct device *dev, struct device_attribute *attr, in in_max_show()
296 static ssize_t in_min_store(struct device *dev, struct device_attribute *attr, in in_min_store()
317 static ssize_t in_max_store(struct device *dev, struct device_attribute *attr, in in_max_store()
364 struct device_attribute *attr, char *buf) in temp_input_show()
373 struct device_attribute *attr, char *buf) in temp_low_show()
383 struct device_attribute *attr, char *buf) in temp_high_show()
393 struct device_attribute *attr, const char *buf, in temp_low_store()
414 struct device_attribute *attr, const char *buf, in temp_high_store()
[all …]
H A Dlm93.c1101 static ssize_t in_show(struct device *dev, struct device_attribute *attr, in in_show()
1127 static ssize_t in_min_show(struct device *dev, struct device_attribute *attr, in in_min_show()
1144 static ssize_t in_min_store(struct device *dev, struct device_attribute *attr, in in_min_store()
1192 static ssize_t in_max_show(struct device *dev, struct device_attribute *attr, in in_max_show()
1209 static ssize_t in_max_store(struct device *dev, struct device_attribute *attr, in in_max_store()
1257 static ssize_t temp_show(struct device *dev, struct device_attribute *attr, in temp_show()
1270 struct device_attribute *attr, char *buf) in temp_min_show()
1278 struct device_attribute *attr, const char *buf, in temp_min_store()
1303 struct device_attribute *attr, char *buf) in temp_max_show()
1311 struct device_attribute *attr, const char *buf, in temp_max_store()
[all …]
/openbmc/linux/drivers/dio/
H A Ddio-sysfs.c20 static ssize_t dio_show_id(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_id()
29 static ssize_t dio_show_ipl(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_ipl()
38 static ssize_t dio_show_secid(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_secid()
47 static ssize_t dio_show_name(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_name()
56 static ssize_t dio_show_resource(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_resource()
/openbmc/linux/drivers/macintosh/
H A Dmacio_sysfs.c9 compatible_show (struct device *dev, struct device_attribute *attr, char *buf) in compatible_show()
35 static ssize_t modalias_show (struct device *dev, struct device_attribute *attr, in modalias_show()
42 struct device_attribute *attr, char *buf) in devspec_show()
53 struct device_attribute *attr, char *buf) in name_show()
60 struct device_attribute *attr, char *buf) in type_show()

12345678910>>...105