Home
last modified time | relevance | path

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

12

/Linux-v5.4/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.4/arch/x86/kvm/
Ddebugfs.c18 DEFINE_SIMPLE_ATTRIBUTE(vcpu_timer_advance_ns_fops, vcpu_get_timer_advance_ns, NULL, "%llu\n");
27 DEFINE_SIMPLE_ATTRIBUTE(vcpu_tsc_offset_fops, vcpu_get_tsc_offset, NULL, "%lld\n");
36 DEFINE_SIMPLE_ATTRIBUTE(vcpu_tsc_scaling_fops, vcpu_get_tsc_scaling_ratio, NULL, "%llu\n");
44 DEFINE_SIMPLE_ATTRIBUTE(vcpu_tsc_scaling_frac_fops, vcpu_get_tsc_scaling_frac_bits, NULL, "%llu\n");
/Linux-v5.4/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,
461 DEFINE_SIMPLE_ATTRIBUTE(min_encrypt_key_size_fops,
476 DEFINE_SIMPLE_ATTRIBUTE(auto_accept_delay_fops, auto_accept_delay_get,
504 DEFINE_SIMPLE_ATTRIBUTE(idle_timeout_fops, idle_timeout_get,
532 DEFINE_SIMPLE_ATTRIBUTE(sniff_min_interval_fops, sniff_min_interval_get,
560 DEFINE_SIMPLE_ATTRIBUTE(sniff_max_interval_fops, sniff_max_interval_get,
641 DEFINE_SIMPLE_ATTRIBUTE(rpa_timeout_fops, rpa_timeout_get,
804 DEFINE_SIMPLE_ATTRIBUTE(conn_min_interval_fops, conn_min_interval_get,
[all …]
/Linux-v5.4/mm/
Dcma_debug.c32 DEFINE_SIMPLE_ATTRIBUTE(cma_debugfs_fops, cma_debugfs_get, NULL, "%llu\n");
47 DEFINE_SIMPLE_ATTRIBUTE(cma_used_fops, cma_used_get, NULL, "%llu\n");
69 DEFINE_SIMPLE_ATTRIBUTE(cma_maxchunk_fops, cma_maxchunk_get, NULL, "%llu\n");
129 DEFINE_SIMPLE_ATTRIBUTE(cma_free_fops, NULL, cma_free_write, "%llu\n");
161 DEFINE_SIMPLE_ATTRIBUTE(cma_alloc_fops, NULL, cma_alloc_write, "%llu\n");
Dhwpoison-inject.c70 DEFINE_SIMPLE_ATTRIBUTE(hwpoison_fops, NULL, hwpoison_inject, "%lli\n");
71 DEFINE_SIMPLE_ATTRIBUTE(unpoison_fops, NULL, hwpoison_unpoison, "%lli\n");
/Linux-v5.4/arch/x86/kernel/cpu/mce/
Dinject.c92 DEFINE_SIMPLE_ATTRIBUTE(status_fops, inj_status_get, inj_status_set, "%llx\n");
93 DEFINE_SIMPLE_ATTRIBUTE(misc_fops, inj_misc_get, inj_misc_set, "%llx\n");
94 DEFINE_SIMPLE_ATTRIBUTE(addr_fops, inj_addr_get, inj_addr_set, "%llx\n");
95 DEFINE_SIMPLE_ATTRIBUTE(synd_fops, inj_synd_get, inj_synd_set, "%llx\n");
395 DEFINE_SIMPLE_ATTRIBUTE(extcpu_fops, inj_extcpu_get, inj_extcpu_set, "%llu\n");
587 DEFINE_SIMPLE_ATTRIBUTE(bank_fops, inj_bank_get, inj_bank_set, "%llu\n");
/Linux-v5.4/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-v5.4/drivers/net/wimax/i2400m/
Ddebugfs.c29 DEFINE_SIMPLE_ATTRIBUTE(fops_netdev_queue_stopped,
157 DEFINE_SIMPLE_ATTRIBUTE(fops_i2400m_suspend,
186 DEFINE_SIMPLE_ATTRIBUTE(fops_i2400m_reset,
/Linux-v5.4/drivers/crypto/caam/
Dintern.h214 DEFINE_SIMPLE_ATTRIBUTE(caam_fops_u32_ro, caam_debugfs_u32_get, NULL, "%llu\n");
215 DEFINE_SIMPLE_ATTRIBUTE(caam_fops_u64_ro, caam_debugfs_u64_get, NULL, "%llu\n");
/Linux-v5.4/arch/powerpc/kernel/
Dsecurity.c97 DEFINE_SIMPLE_ATTRIBUTE(fops_barrier_nospec,
370 DEFINE_SIMPLE_ATTRIBUTE(fops_stf_barrier, stf_barrier_get, stf_barrier_set, "%llu\n");
445 DEFINE_SIMPLE_ATTRIBUTE(fops_count_cache_flush, count_cache_flush_get,
/Linux-v5.4/arch/arm/mach-omap2/
Dpm-debug.c173 DEFINE_SIMPLE_ATTRIBUTE(pwrdm_suspend_fops, pwrdm_suspend_get,
222 DEFINE_SIMPLE_ATTRIBUTE(pm_dbg_option_fops, option_get, option_set, "%llu\n");
/Linux-v5.4/lib/
Dfault-inject.c167 DEFINE_SIMPLE_ATTRIBUTE(fops_ul, debugfs_ul_get, debugfs_ul_set, "%llu\n");
185 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.4/drivers/iio/imu/
Dadis16460.c90 DEFINE_SIMPLE_ATTRIBUTE(adis16460_serial_number_fops,
108 DEFINE_SIMPLE_ATTRIBUTE(adis16460_product_id_fops,
126 DEFINE_SIMPLE_ATTRIBUTE(adis16460_flash_count_fops,
/Linux-v5.4/arch/mips/cavium-octeon/
Doct_ilm.c65 DEFINE_SIMPLE_ATTRIBUTE(reset_statistics_ops, NULL, reset_statistics, "%llu\n");
/Linux-v5.4/drivers/gpu/drm/msm/adreno/
Da5xx_debugfs.c148 DEFINE_SIMPLE_ATTRIBUTE(reset_fops, NULL, reset_set, "%llx\n");
/Linux-v5.4/drivers/mmc/core/
Ddebugfs.c222 DEFINE_SIMPLE_ATTRIBUTE(mmc_clock_fops, mmc_clock_opt_get, mmc_clock_opt_set,
/Linux-v5.4/drivers/gpu/drm/i915/gvt/
Ddebugfs.c185 DEFINE_SIMPLE_ATTRIBUTE(vgpu_scan_nonprivbb_fops,
/Linux-v5.4/drivers/net/wireless/mediatek/mt7601u/
Ddebugfs.c30 DEFINE_SIMPLE_ATTRIBUTE(fops_regval, mt76_reg_get, mt76_reg_set, "0x%08llx\n");
/Linux-v5.4/arch/powerpc/platforms/powernv/
Dmemtrace.c310 DEFINE_SIMPLE_ATTRIBUTE(memtrace_init_fops, memtrace_enable_get,
/Linux-v5.4/drivers/gpu/drm/sti/
Dsti_drv.c72 DEFINE_SIMPLE_ATTRIBUTE(sti_drm_fps_fops,
/Linux-v5.4/fs/ceph/
Ddebugfs.c233 DEFINE_SIMPLE_ATTRIBUTE(congestion_kb_fops, congestion_kb_get,
/Linux-v5.4/drivers/edac/
Di10nm_base.c210 DEFINE_SIMPLE_ATTRIBUTE(fops_u64_wo, NULL, debugfs_u64_set, "%llu\n");
/Linux-v5.4/drivers/gpu/drm/panel/
Dpanel-rocktech-jh057n00900.c281 DEFINE_SIMPLE_ATTRIBUTE(allpixelson_fops, NULL,
/Linux-v5.4/arch/x86/platform/intel/
Diosf_mbi.c482 DEFINE_SIMPLE_ATTRIBUTE(iosf_mcr_fops, mcr_get, mcr_set , "%llx\n");

12