Home
last modified time | relevance | path

Searched refs:DEFINE_SIMPLE_ATTRIBUTE (Results 1 – 25 of 32) sorted by relevance

12

/Linux-v5.15/scripts/coccinelle/api/debugfs/
Ddebugfs_simple_attr.cocci2 /// 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/
Ddebugfs.c20 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/
Dinject.c94 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/
Dfault-inject.c169 DEFINE_SIMPLE_ATTRIBUTE(fops_ul, debugfs_ul_get, debugfs_ul_set, "%llu\n");
187 DEFINE_SIMPLE_ATTRIBUTE(fops_stacktrace_depth, debugfs_ul_get,
Dnotifier-error-inject.c18 DEFINE_SIMPLE_ATTRIBUTE(fops_errno, debugfs_errno_get, debugfs_errno_set,
/Linux-v5.15/arch/powerpc/kernel/
Dsecurity.c786 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/
Dintel_guc_log_debugfs.c52 DEFINE_SIMPLE_ATTRIBUTE(guc_log_level_fops,
/Linux-v5.15/drivers/gpu/drm/msm/adreno/
Da5xx_debugfs.c141 DEFINE_SIMPLE_ATTRIBUTE(reset_fops, NULL, reset_set, "%llx\n");
/Linux-v5.15/arch/arm/mach-omap2/
Dpm-debug.c220 DEFINE_SIMPLE_ATTRIBUTE(pm_dbg_option_fops, option_get, option_set, "%llu\n");
/Linux-v5.15/drivers/gpu/drm/i915/gvt/
Ddebugfs.c150 DEFINE_SIMPLE_ATTRIBUTE(vgpu_scan_nonprivbb_fops,
/Linux-v5.15/drivers/gpu/drm/sti/
Dsti_drv.c71 DEFINE_SIMPLE_ATTRIBUTE(sti_drm_fps_fops,
/Linux-v5.15/arch/powerpc/platforms/powernv/
Dmemtrace.c326 DEFINE_SIMPLE_ATTRIBUTE(memtrace_init_fops, memtrace_enable_get,
/Linux-v5.15/drivers/gpu/drm/msm/
Dmsm_debugfs.c131 DEFINE_SIMPLE_ATTRIBUTE(shrink_fops,
/Linux-v5.15/drivers/gpu/drm/i915/
Di915_debugfs.c813 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/
Diosf_mbi.c482 DEFINE_SIMPLE_ATTRIBUTE(iosf_mcr_fops, mcr_get, mcr_set , "%llx\n");
/Linux-v5.15/arch/powerpc/platforms/cell/
Daxon_msi.c462 DEFINE_SIMPLE_ATTRIBUTE(fops_msic, msic_get, msic_set, "%llu\n");
/Linux-v5.15/drivers/memory/tegra/
Dtegra20-emc.c714 DEFINE_SIMPLE_ATTRIBUTE(tegra_emc_debug_min_rate_fops,
744 DEFINE_SIMPLE_ATTRIBUTE(tegra_emc_debug_max_rate_fops,
Dtegra210-emc-core.c1665 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,
Dtegra30-emc.c1292 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/
Dpanel-sitronix-st7703.c505 DEFINE_SIMPLE_ATTRIBUTE(allpixelson_fops, NULL,
/Linux-v5.15/arch/mips/math-emu/
Dme-debugfs.c30 DEFINE_SIMPLE_ATTRIBUTE(fops_fpuemu_stat, fpuemu_stat_get, NULL, "%llu\n");
/Linux-v5.15/fs/ceph/
Ddebugfs.c376 DEFINE_SIMPLE_ATTRIBUTE(congestion_kb_fops, congestion_kb_get,
/Linux-v5.15/drivers/soc/ti/
Dsmartreflex.c815 DEFINE_SIMPLE_ATTRIBUTE(pm_sr_fops, omap_sr_autocomp_show,
/Linux-v5.15/drivers/edac/
Di10nm_base.c506 DEFINE_SIMPLE_ATTRIBUTE(fops_u64_wo, NULL, debugfs_u64_set, "%llu\n");
/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_display_debugfs.c115 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