Searched refs:DEFINE_SIMPLE_ATTRIBUTE (Results 1 – 25 of 32) sorted by relevance
12
| /Linux-v5.15/scripts/coccinelle/api/debugfs/ |
| D | debugfs_simple_attr.cocci | 2 /// Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE 5 //# Rationale: DEFINE_SIMPLE_ATTRIBUTE + debugfs_create_file() 19 declarer name DEFINE_SIMPLE_ATTRIBUTE; 24 DEFINE_SIMPLE_ATTRIBUTE@p(dsa_fops, dsa_get, dsa_set, dsa_fmt); 38 * DEFINE_SIMPLE_ATTRIBUTE(dsa_fops, dsa_get, dsa_set, dsa_fmt); 52 - DEFINE_SIMPLE_ATTRIBUTE(dsa_fops, dsa_get, dsa_set, dsa_fmt);
|
| /Linux-v5.15/arch/x86/kvm/ |
| D | debugfs.c | 20 DEFINE_SIMPLE_ATTRIBUTE(vcpu_timer_advance_ns_fops, vcpu_get_timer_advance_ns, NULL, "%llu\n"); 29 DEFINE_SIMPLE_ATTRIBUTE(vcpu_guest_mode_fops, vcpu_get_guest_mode, NULL, "%lld\n"); 38 DEFINE_SIMPLE_ATTRIBUTE(vcpu_tsc_offset_fops, vcpu_get_tsc_offset, NULL, "%lld\n"); 47 DEFINE_SIMPLE_ATTRIBUTE(vcpu_tsc_scaling_fops, vcpu_get_tsc_scaling_ratio, NULL, "%llu\n"); 55 DEFINE_SIMPLE_ATTRIBUTE(vcpu_tsc_scaling_frac_fops, vcpu_get_tsc_scaling_frac_bits, NULL, "%llu\n");
|
| /Linux-v5.15/arch/x86/kernel/cpu/mce/ |
| D | inject.c | 94 DEFINE_SIMPLE_ATTRIBUTE(status_fops, inj_status_get, inj_status_set, "%llx\n"); 95 DEFINE_SIMPLE_ATTRIBUTE(misc_fops, inj_misc_get, inj_misc_set, "%llx\n"); 96 DEFINE_SIMPLE_ATTRIBUTE(addr_fops, inj_addr_get, inj_addr_set, "%llx\n"); 97 DEFINE_SIMPLE_ATTRIBUTE(synd_fops, inj_synd_get, inj_synd_set, "%llx\n"); 98 DEFINE_SIMPLE_ATTRIBUTE(ipid_fops, inj_ipid_get, inj_ipid_set, "%llx\n"); 398 DEFINE_SIMPLE_ATTRIBUTE(extcpu_fops, inj_extcpu_get, inj_extcpu_set, "%llu\n"); 590 DEFINE_SIMPLE_ATTRIBUTE(bank_fops, inj_bank_get, inj_bank_set, "%llu\n");
|
| /Linux-v5.15/lib/ |
| D | fault-inject.c | 169 DEFINE_SIMPLE_ATTRIBUTE(fops_ul, debugfs_ul_get, debugfs_ul_set, "%llu\n"); 187 DEFINE_SIMPLE_ATTRIBUTE(fops_stacktrace_depth, debugfs_ul_get,
|
| D | notifier-error-inject.c | 18 DEFINE_SIMPLE_ATTRIBUTE(fops_errno, debugfs_errno_get, debugfs_errno_set,
|
| /Linux-v5.15/arch/powerpc/kernel/ |
| D | security.c | 786 DEFINE_SIMPLE_ATTRIBUTE(fops_rfi_flush, rfi_flush_get, rfi_flush_set, "%llu\n"); 812 DEFINE_SIMPLE_ATTRIBUTE(fops_entry_flush, entry_flush_get, entry_flush_set, "%llu\n"); 838 DEFINE_SIMPLE_ATTRIBUTE(fops_uaccess_flush, uaccess_flush_get, uaccess_flush_set, "%llu\n");
|
| /Linux-v5.15/drivers/gpu/drm/i915/gt/uc/ |
| D | intel_guc_log_debugfs.c | 52 DEFINE_SIMPLE_ATTRIBUTE(guc_log_level_fops,
|
| /Linux-v5.15/drivers/gpu/drm/msm/adreno/ |
| D | a5xx_debugfs.c | 141 DEFINE_SIMPLE_ATTRIBUTE(reset_fops, NULL, reset_set, "%llx\n");
|
| /Linux-v5.15/arch/arm/mach-omap2/ |
| D | pm-debug.c | 220 DEFINE_SIMPLE_ATTRIBUTE(pm_dbg_option_fops, option_get, option_set, "%llu\n");
|
| /Linux-v5.15/drivers/gpu/drm/i915/gvt/ |
| D | debugfs.c | 150 DEFINE_SIMPLE_ATTRIBUTE(vgpu_scan_nonprivbb_fops,
|
| /Linux-v5.15/drivers/gpu/drm/sti/ |
| D | sti_drv.c | 71 DEFINE_SIMPLE_ATTRIBUTE(sti_drm_fps_fops,
|
| /Linux-v5.15/arch/powerpc/platforms/powernv/ |
| D | memtrace.c | 326 DEFINE_SIMPLE_ATTRIBUTE(memtrace_init_fops, memtrace_enable_get,
|
| /Linux-v5.15/drivers/gpu/drm/msm/ |
| D | msm_debugfs.c | 131 DEFINE_SIMPLE_ATTRIBUTE(shrink_fops,
|
| /Linux-v5.15/drivers/gpu/drm/i915/ |
| D | i915_debugfs.c | 813 DEFINE_SIMPLE_ATTRIBUTE(i915_wedged_fops, 842 DEFINE_SIMPLE_ATTRIBUTE(i915_perf_noa_delay_fops, 940 DEFINE_SIMPLE_ATTRIBUTE(i915_drop_caches_fops,
|
| /Linux-v5.15/arch/x86/platform/intel/ |
| D | iosf_mbi.c | 482 DEFINE_SIMPLE_ATTRIBUTE(iosf_mcr_fops, mcr_get, mcr_set , "%llx\n");
|
| /Linux-v5.15/arch/powerpc/platforms/cell/ |
| D | axon_msi.c | 462 DEFINE_SIMPLE_ATTRIBUTE(fops_msic, msic_get, msic_set, "%llu\n");
|
| /Linux-v5.15/drivers/memory/tegra/ |
| D | tegra20-emc.c | 714 DEFINE_SIMPLE_ATTRIBUTE(tegra_emc_debug_min_rate_fops, 744 DEFINE_SIMPLE_ATTRIBUTE(tegra_emc_debug_max_rate_fops,
|
| D | tegra210-emc-core.c | 1665 DEFINE_SIMPLE_ATTRIBUTE(tegra210_emc_debug_min_rate_fops, 1695 DEFINE_SIMPLE_ATTRIBUTE(tegra210_emc_debug_max_rate_fops, 1726 DEFINE_SIMPLE_ATTRIBUTE(tegra210_emc_debug_temperature_fops,
|
| D | tegra30-emc.c | 1292 DEFINE_SIMPLE_ATTRIBUTE(tegra_emc_debug_min_rate_fops, 1322 DEFINE_SIMPLE_ATTRIBUTE(tegra_emc_debug_max_rate_fops,
|
| /Linux-v5.15/drivers/gpu/drm/panel/ |
| D | panel-sitronix-st7703.c | 505 DEFINE_SIMPLE_ATTRIBUTE(allpixelson_fops, NULL,
|
| /Linux-v5.15/arch/mips/math-emu/ |
| D | me-debugfs.c | 30 DEFINE_SIMPLE_ATTRIBUTE(fops_fpuemu_stat, fpuemu_stat_get, NULL, "%llu\n");
|
| /Linux-v5.15/fs/ceph/ |
| D | debugfs.c | 376 DEFINE_SIMPLE_ATTRIBUTE(congestion_kb_fops, congestion_kb_get,
|
| /Linux-v5.15/drivers/soc/ti/ |
| D | smartreflex.c | 815 DEFINE_SIMPLE_ATTRIBUTE(pm_sr_fops, omap_sr_autocomp_show,
|
| /Linux-v5.15/drivers/edac/ |
| D | i10nm_base.c | 506 DEFINE_SIMPLE_ATTRIBUTE(fops_u64_wo, NULL, debugfs_u64_set, "%llu\n");
|
| /Linux-v5.15/drivers/gpu/drm/i915/display/ |
| D | intel_display_debugfs.c | 115 DEFINE_SIMPLE_ATTRIBUTE(i915_fbc_false_color_fops, 499 DEFINE_SIMPLE_ATTRIBUTE(i915_edp_psr_debug_fops, 2064 DEFINE_SIMPLE_ATTRIBUTE(i915_drrs_ctl_fops, NULL, i915_drrs_ctl_set, "%llu\n");
|
12