Home
last modified time | relevance | path

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

12

/Linux-v6.1/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-v6.1/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-v6.1/arch/x86/kernel/cpu/mce/
Dinject.c95 DEFINE_SIMPLE_ATTRIBUTE(status_fops, inj_status_get, inj_status_set, "%llx\n");
96 DEFINE_SIMPLE_ATTRIBUTE(misc_fops, inj_misc_get, inj_misc_set, "%llx\n");
97 DEFINE_SIMPLE_ATTRIBUTE(addr_fops, inj_addr_get, inj_addr_set, "%llx\n");
98 DEFINE_SIMPLE_ATTRIBUTE(synd_fops, inj_synd_get, inj_synd_set, "%llx\n");
113 DEFINE_SIMPLE_ATTRIBUTE(ipid_fops, inj_ipid_get, inj_ipid_set, "%llx\n");
415 DEFINE_SIMPLE_ATTRIBUTE(extcpu_fops, inj_extcpu_get, inj_extcpu_set, "%llu\n");
636 DEFINE_SIMPLE_ATTRIBUTE(bank_fops, inj_bank_get, inj_bank_set, "%llu\n");
/Linux-v6.1/lib/
Dfault-inject.c175 DEFINE_SIMPLE_ATTRIBUTE(fops_ul, debugfs_ul_get, debugfs_ul_set, "%llu\n");
193 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-v6.1/drivers/gpu/drm/i915/pxp/
Dintel_pxp_debugfs.c61 DEFINE_SIMPLE_ATTRIBUTE(pxp_terminate_fops, pxp_terminate_get, pxp_terminate_set, "%llx\n");
/Linux-v6.1/arch/powerpc/kernel/
Dsecurity.c802 DEFINE_SIMPLE_ATTRIBUTE(fops_rfi_flush, rfi_flush_get, rfi_flush_set, "%llu\n");
828 DEFINE_SIMPLE_ATTRIBUTE(fops_entry_flush, entry_flush_get, entry_flush_set, "%llu\n");
854 DEFINE_SIMPLE_ATTRIBUTE(fops_uaccess_flush, uaccess_flush_get, uaccess_flush_set, "%llu\n");
/Linux-v6.1/drivers/gpu/drm/i915/gt/
Dintel_gt_debugfs.c60 DEFINE_SIMPLE_ATTRIBUTE(reset_fops, __intel_gt_debugfs_reset_show,
/Linux-v6.1/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_log_debugfs.c104 DEFINE_SIMPLE_ATTRIBUTE(guc_log_level_fops,
/Linux-v6.1/drivers/gpu/drm/i915/
Di915_debugfs.c590 DEFINE_SIMPLE_ATTRIBUTE(i915_wedged_fops,
619 DEFINE_SIMPLE_ATTRIBUTE(i915_perf_noa_delay_fops,
720 DEFINE_SIMPLE_ATTRIBUTE(i915_drop_caches_fops,
/Linux-v6.1/drivers/gpu/drm/i915/gvt/
Ddebugfs.c150 DEFINE_SIMPLE_ATTRIBUTE(vgpu_scan_nonprivbb_fops,
/Linux-v6.1/arch/arm/mach-omap2/
Dpm-debug.c220 DEFINE_SIMPLE_ATTRIBUTE(pm_dbg_option_fops, option_get, option_set, "%llu\n");
/Linux-v6.1/drivers/gpu/drm/sti/
Dsti_drv.c70 DEFINE_SIMPLE_ATTRIBUTE(sti_drm_fps_fops,
/Linux-v6.1/arch/powerpc/platforms/powernv/
Dmemtrace.c326 DEFINE_SIMPLE_ATTRIBUTE(memtrace_init_fops, memtrace_enable_get,
/Linux-v6.1/arch/x86/platform/intel/
Diosf_mbi.c482 DEFINE_SIMPLE_ATTRIBUTE(iosf_mcr_fops, mcr_get, mcr_set , "%llx\n");
/Linux-v6.1/arch/powerpc/platforms/cell/
Daxon_msi.c457 DEFINE_SIMPLE_ATTRIBUTE(fops_msic, msic_get, msic_set, "%llu\n");
/Linux-v6.1/drivers/gpu/drm/panel/
Dpanel-sitronix-st7703.c513 DEFINE_SIMPLE_ATTRIBUTE(allpixelson_fops, NULL,
/Linux-v6.1/arch/mips/math-emu/
Dme-debugfs.c30 DEFINE_SIMPLE_ATTRIBUTE(fops_fpuemu_stat, fpuemu_stat_get, NULL, "%llu\n");
/Linux-v6.1/drivers/memory/tegra/
Dtegra20-emc.c885 DEFINE_SIMPLE_ATTRIBUTE(tegra_emc_debug_min_rate_fops,
915 DEFINE_SIMPLE_ATTRIBUTE(tegra_emc_debug_max_rate_fops,
/Linux-v6.1/drivers/soc/ti/
Dwkup_m3_ipc.c198 DEFINE_SIMPLE_ATTRIBUTE(wkup_m3_ipc_option_fops, option_get, option_set,
Dsmartreflex.c815 DEFINE_SIMPLE_ATTRIBUTE(pm_sr_fops, omap_sr_autocomp_show,
/Linux-v6.1/fs/ceph/
Ddebugfs.c389 DEFINE_SIMPLE_ATTRIBUTE(congestion_kb_fops, congestion_kb_get,
/Linux-v6.1/drivers/edac/
Dskx_base.c614 DEFINE_SIMPLE_ATTRIBUTE(fops_u64_wo, NULL, debugfs_u64_set, "%llu\n");
Di10nm_base.c723 DEFINE_SIMPLE_ATTRIBUTE(fops_u64_wo, NULL, debugfs_u64_set, "%llu\n");
/Linux-v6.1/virt/kvm/
Dkvm_main.c3869 DEFINE_SIMPLE_ATTRIBUTE(vcpu_get_pid_fops, vcpu_get_pid, NULL, "%llu\n");
5607 DEFINE_SIMPLE_ATTRIBUTE(vm_stat_fops, vm_stat_get, vm_stat_clear, "%llu\n");
5608 DEFINE_SIMPLE_ATTRIBUTE(vm_stat_readonly_fops, vm_stat_get, NULL, "%llu\n");
5643 DEFINE_SIMPLE_ATTRIBUTE(vcpu_stat_fops, vcpu_stat_get, vcpu_stat_clear,
5645 DEFINE_SIMPLE_ATTRIBUTE(vcpu_stat_readonly_fops, vcpu_stat_get, NULL, "%llu\n");

12