Home
last modified time | relevance | path

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

/linux-4.4.14/fs/debugfs/
Dfile.c71 DEFINE_SIMPLE_ATTRIBUTE(fops_u8, debugfs_u8_get, debugfs_u8_set, "%llu\n");
72 DEFINE_SIMPLE_ATTRIBUTE(fops_u8_ro, debugfs_u8_get, NULL, "%llu\n");
73 DEFINE_SIMPLE_ATTRIBUTE(fops_u8_wo, NULL, debugfs_u8_set, "%llu\n");
117 DEFINE_SIMPLE_ATTRIBUTE(fops_u16, debugfs_u16_get, debugfs_u16_set, "%llu\n");
118 DEFINE_SIMPLE_ATTRIBUTE(fops_u16_ro, debugfs_u16_get, NULL, "%llu\n");
119 DEFINE_SIMPLE_ATTRIBUTE(fops_u16_wo, NULL, debugfs_u16_set, "%llu\n");
163 DEFINE_SIMPLE_ATTRIBUTE(fops_u32, debugfs_u32_get, debugfs_u32_set, "%llu\n");
164 DEFINE_SIMPLE_ATTRIBUTE(fops_u32_ro, debugfs_u32_get, NULL, "%llu\n");
165 DEFINE_SIMPLE_ATTRIBUTE(fops_u32_wo, NULL, debugfs_u32_set, "%llu\n");
210 DEFINE_SIMPLE_ATTRIBUTE(fops_u64, debugfs_u64_get, debugfs_u64_set, "%llu\n");
[all …]
/linux-4.4.14/mm/
Dcma_debug.c33 DEFINE_SIMPLE_ATTRIBUTE(cma_debugfs_fops, cma_debugfs_get, NULL, "%llu\n");
48 DEFINE_SIMPLE_ATTRIBUTE(cma_used_fops, cma_used_get, NULL, "%llu\n");
70 DEFINE_SIMPLE_ATTRIBUTE(cma_maxchunk_fops, cma_maxchunk_get, NULL, "%llu\n");
130 DEFINE_SIMPLE_ATTRIBUTE(cma_free_fops, NULL, cma_free_write, "%llu\n");
162 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");
Dmemory.c2897 DEFINE_SIMPLE_ATTRIBUTE(fault_around_bytes_fops,
/linux-4.4.14/arch/avr32/kernel/
Docd.c103 DEFINE_SIMPLE_ATTRIBUTE(fops_DC, ocd_DC_get, ocd_DC_set, "0x%08llx\n");
110 DEFINE_SIMPLE_ATTRIBUTE(fops_DS, ocd_DS_get, NULL, "0x%08llx\n");
117 DEFINE_SIMPLE_ATTRIBUTE(fops_count, ocd_count_get, NULL, "%lld\n");
/linux-4.4.14/net/bluetooth/
Dhci_debugfs.c285 DEFINE_SIMPLE_ATTRIBUTE(conn_info_min_age_fops, conn_info_min_age_get,
313 DEFINE_SIMPLE_ATTRIBUTE(conn_info_max_age_fops, conn_info_max_age_get,
484 DEFINE_SIMPLE_ATTRIBUTE(voice_setting_fops, voice_setting_get,
527 DEFINE_SIMPLE_ATTRIBUTE(auto_accept_delay_fops, auto_accept_delay_get,
555 DEFINE_SIMPLE_ATTRIBUTE(idle_timeout_fops, idle_timeout_get,
583 DEFINE_SIMPLE_ATTRIBUTE(sniff_min_interval_fops, sniff_min_interval_get,
611 DEFINE_SIMPLE_ATTRIBUTE(sniff_max_interval_fops, sniff_max_interval_get,
700 DEFINE_SIMPLE_ATTRIBUTE(rpa_timeout_fops, rpa_timeout_get,
903 DEFINE_SIMPLE_ATTRIBUTE(conn_min_interval_fops, conn_min_interval_get,
931 DEFINE_SIMPLE_ATTRIBUTE(conn_max_interval_fops, conn_max_interval_get,
[all …]
D6lowpan.c1224 DEFINE_SIMPLE_ATTRIBUTE(lowpan_enable_fops, lowpan_enable_get,
/linux-4.4.14/arch/x86/ras/
Dmce_amd_inj.c84 DEFINE_SIMPLE_ATTRIBUTE(status_fops, inj_status_get, inj_status_set, "%llx\n");
85 DEFINE_SIMPLE_ATTRIBUTE(misc_fops, inj_misc_get, inj_misc_set, "%llx\n");
86 DEFINE_SIMPLE_ATTRIBUTE(addr_fops, inj_addr_get, inj_addr_set, "%llx\n");
187 DEFINE_SIMPLE_ATTRIBUTE(extcpu_fops, inj_extcpu_get, inj_extcpu_set, "%llu\n");
340 DEFINE_SIMPLE_ATTRIBUTE(bank_fops, inj_bank_get, inj_bank_set, "%llu\n");
/linux-4.4.14/arch/mips/kernel/
Dspinlock_test.c37 DEFINE_SIMPLE_ATTRIBUTE(fops_ss, ss_get, NULL, "%llu\n");
116 DEFINE_SIMPLE_ATTRIBUTE(fops_multi, multi_get, NULL, "%llu\n");
/linux-4.4.14/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-4.4.14/arch/arm/mach-omap2/
Dpm-debug.c200 DEFINE_SIMPLE_ATTRIBUTE(pwrdm_suspend_fops, pwrdm_suspend_get,
254 DEFINE_SIMPLE_ATTRIBUTE(pm_dbg_option_fops, option_get, option_set, "%llu\n");
/linux-4.4.14/lib/
Dfault-inject.c160 DEFINE_SIMPLE_ATTRIBUTE(fops_ul, debugfs_ul_get, debugfs_ul_set, "%llu\n");
178 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-4.4.14/arch/mips/math-emu/
Dme-debugfs.c29 DEFINE_SIMPLE_ATTRIBUTE(fops_fpuemu_stat, fpuemu_stat_get, NULL, "%llu\n");
/linux-4.4.14/drivers/mmc/core/
Ddebugfs.c233 DEFINE_SIMPLE_ATTRIBUTE(mmc_clock_fops, mmc_clock_opt_get, mmc_clock_opt_set,
297 DEFINE_SIMPLE_ATTRIBUTE(mmc_dbg_card_status_fops, mmc_dbg_card_status_get,
/linux-4.4.14/drivers/misc/cxl/
Ddebugfs.c46 DEFINE_SIMPLE_ATTRIBUTE(fops_io_x64, debugfs_io_u64_get, debugfs_io_u64_set, "0x%016llx\n");
/linux-4.4.14/drivers/iio/gyro/
Dadis16136.c127 DEFINE_SIMPLE_ATTRIBUTE(adis16136_product_id_fops,
145 DEFINE_SIMPLE_ATTRIBUTE(adis16136_flash_count_fops,
/linux-4.4.14/arch/mips/cavium-octeon/
Doct_ilm.c64 DEFINE_SIMPLE_ATTRIBUTE(reset_statistics_ops, NULL, reset_statistics, "%llu\n");
/linux-4.4.14/drivers/iio/imu/
Dadis16480.c197 DEFINE_SIMPLE_ATTRIBUTE(adis16480_serial_number_fops,
215 DEFINE_SIMPLE_ATTRIBUTE(adis16480_product_id_fops,
233 DEFINE_SIMPLE_ATTRIBUTE(adis16480_flash_count_fops,
Dadis16400_core.c88 DEFINE_SIMPLE_ATTRIBUTE(adis16400_product_id_fops,
105 DEFINE_SIMPLE_ATTRIBUTE(adis16400_flash_count_fops,
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
Ddebugfs.c38 DEFINE_SIMPLE_ATTRIBUTE(fops_regval, mt76_reg_get, mt76_reg_set, "0x%08llx\n");
/linux-4.4.14/arch/x86/platform/intel/
Diosf_mbi.c229 DEFINE_SIMPLE_ATTRIBUTE(iosf_mcr_fops, mcr_get, mcr_set , "%llx\n");
/linux-4.4.14/drivers/acpi/apei/
Deinj.c653 DEFINE_SIMPLE_ATTRIBUTE(error_type_fops, error_type_get,
665 DEFINE_SIMPLE_ATTRIBUTE(error_inject_fops, NULL,
/linux-4.4.14/arch/powerpc/platforms/powernv/
Deeh-powernv.c200 DEFINE_SIMPLE_ATTRIBUTE(pnv_eeh_outb_dbgfs_ops, pnv_eeh_outb_dbgfs_get,
202 DEFINE_SIMPLE_ATTRIBUTE(pnv_eeh_inbA_dbgfs_ops, pnv_eeh_inbA_dbgfs_get,
204 DEFINE_SIMPLE_ATTRIBUTE(pnv_eeh_inbB_dbgfs_ops, pnv_eeh_inbB_dbgfs_get,
/linux-4.4.14/drivers/clk/tegra/
Dclk-dfll.c1119 DEFINE_SIMPLE_ATTRIBUTE(enable_fops, attr_enable_get, attr_enable_set,
1136 DEFINE_SIMPLE_ATTRIBUTE(lock_fops, attr_lock_get, attr_lock_set,
1154 DEFINE_SIMPLE_ATTRIBUTE(rate_fops, attr_rate_get, attr_rate_set, "%llu\n");
/linux-4.4.14/fs/ceph/
Ddebugfs.c221 DEFINE_SIMPLE_ATTRIBUTE(congestion_kb_fops, congestion_kb_get,
/linux-4.4.14/arch/blackfin/kernel/
Ddebug-mmrs.c75 DEFINE_SIMPLE_ATTRIBUTE(fops_debug_cclk, debug_cclk_get, NULL, "0x%08llx\n");
82 DEFINE_SIMPLE_ATTRIBUTE(fops_debug_sclk, debug_sclk_get, NULL, "0x%08llx\n");
100 DEFINE_SIMPLE_ATTRIBUTE(fops_sysreg_##sr, sysreg_##sr##_get, sysreg_##sr##_set, "0x%08llx\n")
465 DEFINE_SIMPLE_ATTRIBUTE(fops_sport, sport_get, sport_set, "0x%08llx\n");
467 DEFINE_SIMPLE_ATTRIBUTE(fops_sport_wo, NULL, sport_set, "0x%08llx\n");
/linux-4.4.14/fs/ocfs2/
Dblockcheck.c240 DEFINE_SIMPLE_ATTRIBUTE(blockcheck_fops, blockcheck_u64_get, NULL, "%llu\n");
/linux-4.4.14/arch/powerpc/platforms/cell/
Daxon_msi.c466 DEFINE_SIMPLE_ATTRIBUTE(fops_msic, msic_get, msic_set, "%llu\n");
/linux-4.4.14/arch/powerpc/kernel/
Deeh.c1771 DEFINE_SIMPLE_ATTRIBUTE(eeh_enable_dbgfs_ops, eeh_enable_dbgfs_get,
1773 DEFINE_SIMPLE_ATTRIBUTE(eeh_freeze_dbgfs_ops, eeh_freeze_dbgfs_get,
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_debugfs.c1120 DEFINE_SIMPLE_ATTRIBUTE(i915_next_seqno_fops,
1691 DEFINE_SIMPLE_ATTRIBUTE(i915_fbc_fc_fops,
4600 DEFINE_SIMPLE_ATTRIBUTE(i915_wedged_fops,
4634 DEFINE_SIMPLE_ATTRIBUTE(i915_ring_stop_fops,
4665 DEFINE_SIMPLE_ATTRIBUTE(i915_ring_missed_irq_fops,
4700 DEFINE_SIMPLE_ATTRIBUTE(i915_ring_test_irq_fops,
4756 DEFINE_SIMPLE_ATTRIBUTE(i915_drop_caches_fops,
4823 DEFINE_SIMPLE_ATTRIBUTE(i915_max_freq_fops,
4890 DEFINE_SIMPLE_ATTRIBUTE(i915_min_freq_fops,
4946 DEFINE_SIMPLE_ATTRIBUTE(i915_cache_sharing_fops,
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
Ddebugfs.c279 DEFINE_SIMPLE_ATTRIBUTE(fops_iomem_x32, wil_debugfs_iomem_x32_get,
303 DEFINE_SIMPLE_ATTRIBUTE(wil_fops_ulong, wil_debugfs_ulong_get,
/linux-4.4.14/drivers/power/avs/
Dsmartreflex.c839 DEFINE_SIMPLE_ATTRIBUTE(pm_sr_fops, omap_sr_autocomp_show,
/linux-4.4.14/drivers/memory/tegra/
Dtegra124-emc.c1027 DEFINE_SIMPLE_ATTRIBUTE(emc_debug_rate_fops, emc_debug_rate_get,
/linux-4.4.14/drivers/input/touchscreen/
Dedt-ft5x06.c633 DEFINE_SIMPLE_ATTRIBUTE(debugfs_mode_fops, edt_ft5x06_debugfs_mode_get,
/linux-4.4.14/drivers/net/wireless/
Dmac80211_hwsim.c725 DEFINE_SIMPLE_ATTRIBUTE(hwsim_fops_ps, hwsim_fops_ps_read, hwsim_fops_ps_write,
737 DEFINE_SIMPLE_ATTRIBUTE(hwsim_simulate_radar, NULL,
754 DEFINE_SIMPLE_ATTRIBUTE(hwsim_fops_group,
/linux-4.4.14/drivers/cpufreq/
Dintel_pstate.c331 DEFINE_SIMPLE_ATTRIBUTE(fops_pid_param, pid_param_get, pid_param_set, "%llu\n");
/linux-4.4.14/drivers/hwmon/
Dasus_atk0110.c688 DEFINE_SIMPLE_ATTRIBUTE(atk_debugfs_gitm,
/linux-4.4.14/virt/kvm/
Dkvm_main.c3420 DEFINE_SIMPLE_ATTRIBUTE(vm_stat_fops, vm_stat_get, NULL, "%llu\n");
3439 DEFINE_SIMPLE_ATTRIBUTE(vcpu_stat_fops, vcpu_stat_get, NULL, "%llu\n");
/linux-4.4.14/drivers/staging/android/ion/
Dion.c1503 DEFINE_SIMPLE_ATTRIBUTE(debug_shrink_fops, debug_shrink_get,
/linux-4.4.14/arch/x86/kernel/cpu/mcheck/
Dmce.c2575 DEFINE_SIMPLE_ATTRIBUTE(fake_panic_fops, fake_panic_get,
/linux-4.4.14/drivers/hsi/controllers/
Domap_ssi_port.c172 DEFINE_SIMPLE_ATTRIBUTE(ssi_sst_div_fops, ssi_div_get, ssi_div_set, "%llu\n");
/linux-4.4.14/include/linux/
Dfs.h2930 #define DEFINE_SIMPLE_ATTRIBUTE(__fops, __get, __set, __fmt) \ macro