/openbmc/linux/drivers/platform/x86/intel/ifs/ |
H A D | sysfs.c | 23 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/tools/perf/tests/ |
H A D | bp_account.c | 42 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/ptp/ |
H A D | ptp_sysfs.c | 14 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/drivers/video/fbdev/omap2/omapfb/ |
H A D | omapfb-sysfs.c | 28 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() 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() 491 struct device_attribute *attr, char *buf) in show_phys() 500 struct device_attribute *attr, char *buf) in show_virt() [all …]
|
/openbmc/linux/drivers/acpi/ |
H A D | device_sysfs.c | 36 struct attribute attr; member 62 struct attribute *attr, char *buf) in acpi_data_node_attr_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() 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() 442 struct device_attribute *attr, in description_show() 468 sun_show(struct device *dev, struct device_attribute *attr, in sun_show() [all …]
|
/openbmc/linux/net/bridge/ |
H A D | br_mrp_netlink.c | 31 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 D | br_cfm_netlink.c | 90 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 D | virtual.c | 109 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/mm/damon/ |
H A D | sysfs-schemes.c | 59 struct kobj_attribute *attr, char *buf) in nr_accesses_show() 140 struct kobj_attribute *attr, char *buf) in total_bytes_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() 306 struct kobj_attribute *attr, char *buf) in type_show() 335 struct kobj_attribute *attr, char *buf) in matching_show() 359 struct kobj_attribute *attr, char *buf) in memcg_path_show() 384 struct kobj_attribute *attr, char *buf) in addr_start_show() 403 struct kobj_attribute *attr, char *buf) in addr_end_show() [all …]
|
/openbmc/linux/drivers/s390/net/ |
H A D | ctcm_sysfs.c | 25 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/include/linux/ |
H A D | hw_breakpoint.h | 22 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/parisc/ |
H A D | pdc_stable.c | 97 struct attribute attr; member 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() 641 struct kobj_attribute *attr, char *buf) in pdcs_osdep1_read() 695 struct kobj_attribute *attr, char *buf) in pdcs_fastsize_read() 725 struct kobj_attribute *attr, char *buf) in pdcs_osdep2_read() 836 struct kobj_attribute *attr, in pdcs_autoboot_write() 854 struct kobj_attribute *attr, in pdcs_autosearch_write() 872 struct kobj_attribute *attr, in pdcs_osdep1_write() [all …]
|
/openbmc/linux/drivers/char/tpm/ |
H A D | tpm-sysfs.c | 32 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() 303 struct device_attribute *attr, char *buf) in tpm_version_major_show() 343 struct device_attribute attr; member [all …]
|
/openbmc/linux/drivers/base/ |
H A D | cpu.c | 107 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() 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() 306 struct device_attribute *attr, in crash_hotplug_show() [all …]
|
H A D | physical_location.c | 42 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/arch/powerpc/kernel/ |
H A D | sysfs.c | 50 struct device_attribute *attr, in store_smt_snooze_delay() 60 struct device_attribute *attr, in show_smt_snooze_delay() 183 struct device_attribute *attr, char *buf) in show_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() 415 struct device_attribute *attr, in store_altivec_idle() 433 struct device_attribute *attr, char *buf) in show_altivec_idle_wait_time() [all …]
|
/openbmc/linux/arch/s390/kernel/ |
H A D | ipl.c | 750 struct kobj_attribute *attr, in reipl_nss_vmparm_store() 780 struct bin_attribute *attr, in reipl_fcp_scpdata_read() 909 struct kobj_attribute *attr, in reipl_fcp_clear_store() 938 struct bin_attribute *attr, in reipl_nvme_scpdata_read() 1032 struct kobj_attribute *attr, in reipl_ccw_clear_store() 1081 struct bin_attribute *attr, in reipl_eckd_scpdata_write() 1168 struct kobj_attribute *attr, in reipl_nss_name_store() 1253 struct kobj_attribute *attr, in reipl_type_store() 2134 struct kobj_attribute *attr, in on_restart_store() 2170 struct kobj_attribute *attr, in on_halt_store() [all …]
|
/openbmc/linux/drivers/net/wireless/marvell/libertas/ |
H A D | mesh.c | 160 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() 440 struct device_attribute *attr, in boottime_store() 609 struct device_attribute *attr, in protocol_id_show() 631 struct device_attribute *attr, in protocol_id_store() 696 struct device_attribute *attr, in metric_id_store() [all …]
|
/openbmc/linux/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-sysfs.c | 70 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 D | tlclk.c | 280 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 D | intel_gt_sysfs_pm.c | 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() 586 struct kobj_attribute *attr, in media_freq_factor_show() 801 struct kobj_attribute *attr, in default_rps_up_threshold_pct_show() [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | lm87.c | 267 struct device_attribute *attr, char *buf) in in_input_show() 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() 445 struct device_attribute *attr, char *buf) in temp1_crit_show() 452 struct device_attribute *attr, char *buf) in temp2_crit_show() 463 struct device_attribute *attr, char *buf) in fan_input_show() 493 struct device_attribute *attr, const char *buf, in fan_min_store() 593 struct device_attribute *attr, char *buf) in cpu0_vid_show() 626 struct device_attribute *attr, char *buf) in aout_output_show() [all …]
|
/openbmc/linux/drivers/dio/ |
H A D | dio-sysfs.c | 20 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 D | macio_sysfs.c | 9 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()
|
/openbmc/linux/drivers/leds/trigger/ |
H A D | ledtrig-oneshot.c | 26 struct device_attribute *attr, const char *buf, size_t size) in led_shot() 39 struct device_attribute *attr, char *buf) in led_invert_show() 47 struct device_attribute *attr, const char *buf, size_t size) in led_invert_store() 69 struct device_attribute *attr, char *buf) in led_delay_on_show() 77 struct device_attribute *attr, const char *buf, size_t size) in led_delay_on_store() 93 struct device_attribute *attr, char *buf) in led_delay_off_show() 101 struct device_attribute *attr, const char *buf, size_t size) in led_delay_off_store()
|