Home
last modified time | relevance | path

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

123

/Linux-v4.19/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-v4.19/arch/x86/kvm/
Ddebugfs.c25 DEFINE_SIMPLE_ATTRIBUTE(vcpu_tsc_offset_fops, vcpu_get_tsc_offset, NULL, "%lld\n");
34 DEFINE_SIMPLE_ATTRIBUTE(vcpu_tsc_scaling_fops, vcpu_get_tsc_scaling_ratio, NULL, "%llu\n");
42 DEFINE_SIMPLE_ATTRIBUTE(vcpu_tsc_scaling_frac_fops, vcpu_get_tsc_scaling_frac_bits, NULL, "%llu\n");
/Linux-v4.19/mm/
Dcma_debug.c34 DEFINE_SIMPLE_ATTRIBUTE(cma_debugfs_fops, cma_debugfs_get, NULL, "%llu\n");
49 DEFINE_SIMPLE_ATTRIBUTE(cma_used_fops, cma_used_get, NULL, "%llu\n");
71 DEFINE_SIMPLE_ATTRIBUTE(cma_maxchunk_fops, cma_maxchunk_get, NULL, "%llu\n");
131 DEFINE_SIMPLE_ATTRIBUTE(cma_free_fops, NULL, cma_free_write, "%llu\n");
163 DEFINE_SIMPLE_ATTRIBUTE(cma_alloc_fops, NULL, cma_alloc_write, "%llu\n");
Dhwpoison-inject.c69 DEFINE_SIMPLE_ATTRIBUTE(hwpoison_fops, NULL, hwpoison_inject, "%lli\n");
70 DEFINE_SIMPLE_ATTRIBUTE(unpoison_fops, NULL, hwpoison_unpoison, "%lli\n");
/Linux-v4.19/net/bluetooth/
Dhci_debugfs.c224 DEFINE_SIMPLE_ATTRIBUTE(conn_info_min_age_fops, conn_info_min_age_get,
252 DEFINE_SIMPLE_ATTRIBUTE(conn_info_max_age_fops, conn_info_max_age_get,
404 DEFINE_SIMPLE_ATTRIBUTE(voice_setting_fops, voice_setting_get,
447 DEFINE_SIMPLE_ATTRIBUTE(auto_accept_delay_fops, auto_accept_delay_get,
475 DEFINE_SIMPLE_ATTRIBUTE(idle_timeout_fops, idle_timeout_get,
503 DEFINE_SIMPLE_ATTRIBUTE(sniff_min_interval_fops, sniff_min_interval_get,
531 DEFINE_SIMPLE_ATTRIBUTE(sniff_max_interval_fops, sniff_max_interval_get,
610 DEFINE_SIMPLE_ATTRIBUTE(rpa_timeout_fops, rpa_timeout_get,
773 DEFINE_SIMPLE_ATTRIBUTE(conn_min_interval_fops, conn_min_interval_get,
801 DEFINE_SIMPLE_ATTRIBUTE(conn_max_interval_fops, conn_max_interval_get,
[all …]
/Linux-v4.19/drivers/crypto/caam/
Dintern.h129 DEFINE_SIMPLE_ATTRIBUTE(caam_fops_u32_ro, caam_debugfs_u32_get, NULL, "%llu\n");
130 DEFINE_SIMPLE_ATTRIBUTE(caam_fops_u64_ro, caam_debugfs_u64_get, NULL, "%llu\n");
/Linux-v4.19/net/6lowpan/
Ddebugfs.c44 DEFINE_SIMPLE_ATTRIBUTE(lowpan_ctx_flag_active_fops,
69 DEFINE_SIMPLE_ATTRIBUTE(lowpan_ctx_flag_c_fops, lowpan_ctx_flag_c_get,
100 DEFINE_SIMPLE_ATTRIBUTE(lowpan_ctx_plen_fops, lowpan_ctx_plen_get,
259 DEFINE_SIMPLE_ATTRIBUTE(lowpan_short_addr_fops, lowpan_short_addr_get,
/Linux-v4.19/arch/mips/kernel/
Dspinlock_test.c38 DEFINE_SIMPLE_ATTRIBUTE(fops_ss, ss_get, NULL, "%llu\n");
117 DEFINE_SIMPLE_ATTRIBUTE(fops_multi, multi_get, NULL, "%llu\n");
/Linux-v4.19/arch/x86/kernel/cpu/mcheck/
Dmce-inject.c101 DEFINE_SIMPLE_ATTRIBUTE(status_fops, inj_status_get, inj_status_set, "%llx\n");
102 DEFINE_SIMPLE_ATTRIBUTE(misc_fops, inj_misc_get, inj_misc_set, "%llx\n");
103 DEFINE_SIMPLE_ATTRIBUTE(addr_fops, inj_addr_get, inj_addr_set, "%llx\n");
104 DEFINE_SIMPLE_ATTRIBUTE(synd_fops, inj_synd_get, inj_synd_set, "%llx\n");
401 DEFINE_SIMPLE_ATTRIBUTE(extcpu_fops, inj_extcpu_get, inj_extcpu_set, "%llu\n");
584 DEFINE_SIMPLE_ATTRIBUTE(bank_fops, inj_bank_get, inj_bank_set, "%llu\n");
/Linux-v4.19/arch/powerpc/kernel/
Dsecurity.c92 DEFINE_SIMPLE_ATTRIBUTE(fops_barrier_nospec,
341 DEFINE_SIMPLE_ATTRIBUTE(fops_stf_barrier, stf_barrier_get, stf_barrier_set, "%llu\n");
406 DEFINE_SIMPLE_ATTRIBUTE(fops_count_cache_flush, count_cache_flush_get,
/Linux-v4.19/drivers/net/wimax/i2400m/
Ddebugfs.c43 DEFINE_SIMPLE_ATTRIBUTE(fops_netdev_queue_stopped,
180 DEFINE_SIMPLE_ATTRIBUTE(fops_i2400m_suspend,
218 DEFINE_SIMPLE_ATTRIBUTE(fops_i2400m_reset,
/Linux-v4.19/arch/arm/mach-omap2/
Dpm-debug.c176 DEFINE_SIMPLE_ATTRIBUTE(pwrdm_suspend_fops, pwrdm_suspend_get,
226 DEFINE_SIMPLE_ATTRIBUTE(pm_dbg_option_fops, option_get, option_set, "%llu\n");
/Linux-v4.19/lib/
Dfault-inject.c172 DEFINE_SIMPLE_ATTRIBUTE(fops_ul, debugfs_ul_get, debugfs_ul_set, "%llu\n");
190 DEFINE_SIMPLE_ATTRIBUTE(fops_stacktrace_depth, debugfs_ul_get,
Dnotifier-error-inject.c17 DEFINE_SIMPLE_ATTRIBUTE(fops_errno, debugfs_errno_get, debugfs_errno_set,
/Linux-v4.19/drivers/gpu/drm/msm/adreno/
Da5xx_debugfs.c157 DEFINE_SIMPLE_ATTRIBUTE(reset_fops, NULL, reset_set, "%llx\n");
/Linux-v4.19/arch/mips/cavium-octeon/
Doct_ilm.c64 DEFINE_SIMPLE_ATTRIBUTE(reset_statistics_ops, NULL, reset_statistics, "%llu\n");
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/mt76x0/
Ddebugfs.c39 DEFINE_SIMPLE_ATTRIBUTE(fops_regval, mt76_reg_get, mt76_reg_set, "0x%08llx\n");
/Linux-v4.19/drivers/mmc/core/
Ddebugfs.c225 DEFINE_SIMPLE_ATTRIBUTE(mmc_clock_fops, mmc_clock_opt_get, mmc_clock_opt_set,
/Linux-v4.19/drivers/gpu/drm/i915/gvt/
Ddebugfs.c185 DEFINE_SIMPLE_ATTRIBUTE(vgpu_scan_nonprivbb_fops,
/Linux-v4.19/drivers/net/wireless/mediatek/mt7601u/
Ddebugfs.c38 DEFINE_SIMPLE_ATTRIBUTE(fops_regval, mt76_reg_get, mt76_reg_set, "0x%08llx\n");
/Linux-v4.19/arch/powerpc/platforms/powernv/
Dmemtrace.c299 DEFINE_SIMPLE_ATTRIBUTE(memtrace_init_fops, memtrace_enable_get,
/Linux-v4.19/drivers/gpu/drm/sti/
Dsti_drv.c72 DEFINE_SIMPLE_ATTRIBUTE(sti_drm_fps_fops,
/Linux-v4.19/drivers/acpi/apei/
Deinj.c657 DEFINE_SIMPLE_ATTRIBUTE(error_type_fops, error_type_get,
669 DEFINE_SIMPLE_ATTRIBUTE(error_inject_fops, NULL,
/Linux-v4.19/arch/x86/platform/intel/
Diosf_mbi.c293 DEFINE_SIMPLE_ATTRIBUTE(iosf_mcr_fops, mcr_get, mcr_set , "%llx\n");
/Linux-v4.19/kernel/
Dpanic.c610 DEFINE_SIMPLE_ATTRIBUTE(clear_warn_once_fops,

123