Home
last modified time | relevance | path

Searched refs:enabled (Results 1 – 25 of 275) sorted by relevance

1234567891011

/arch/powerpc/kernel/
Dsecure_boot.c25 bool enabled = false; in is_ppc_secureboot_enabled() local
29 enabled = of_property_read_bool(node, "os-secureboot-enforcing"); in is_ppc_secureboot_enabled()
32 if (enabled) in is_ppc_secureboot_enabled()
36 enabled = (secureboot > 1); in is_ppc_secureboot_enabled()
39 pr_info("Secure boot mode %s\n", enabled ? "enabled" : "disabled"); in is_ppc_secureboot_enabled()
41 return enabled; in is_ppc_secureboot_enabled()
47 bool enabled = false; in is_ppc_trustedboot_enabled() local
51 enabled = of_property_read_bool(node, "trusted-enabled"); in is_ppc_trustedboot_enabled()
54 if (enabled) in is_ppc_trustedboot_enabled()
58 enabled = (trustedboot > 0); in is_ppc_trustedboot_enabled()
[all …]
/arch/mips/oprofile/
Dop_model_loongson2.c63 if (cfg[0].enabled) { in loongson2_reg_setup()
68 if (cfg[1].enabled) { in loongson2_reg_setup()
73 if (cfg[0].enabled || cfg[1].enabled) { in loongson2_reg_setup()
83 reg.cnt1_enabled = cfg[0].enabled; in loongson2_reg_setup()
84 reg.cnt2_enabled = cfg[1].enabled; in loongson2_reg_setup()
110 int enabled; in loongson2_perfcount_handler() local
113 enabled = read_c0_perfctrl() & LOONGSON2_PERFCTRL_ENABLE; in loongson2_perfcount_handler()
114 if (!enabled) in loongson2_perfcount_handler()
116 enabled = reg.cnt1_enabled | reg.cnt2_enabled; in loongson2_perfcount_handler()
117 if (!enabled) in loongson2_perfcount_handler()
Dop_model_loongson3.c71 if (ctr[0].enabled) { in loongson3_reg_setup()
81 if (ctr[1].enabled) { in loongson3_reg_setup()
91 if (ctr[0].enabled) in loongson3_reg_setup()
93 if (ctr[1].enabled) in loongson3_reg_setup()
98 reg.ctr1_enable = ctr[0].enabled; in loongson3_reg_setup()
99 reg.ctr2_enable = ctr[1].enabled; in loongson3_reg_setup()
/arch/mips/mm/
Dsc-debugfs.c16 bool enabled = bc_prefetch_is_enabled(); in sc_prefetch_read() local
19 buf[0] = enabled ? 'Y' : 'N'; in sc_prefetch_read()
30 bool enabled; in sc_prefetch_write() local
33 err = kstrtobool_from_user(user_buf, count, &enabled); in sc_prefetch_write()
37 if (enabled) in sc_prefetch_write()
/arch/alpha/oprofile/
Dop_model_ev4.c39 ctl |= (ctr[0].enabled ? ctr[0].event << 8 : 14 << 8); in ev4_reg_setup()
40 ctl |= (ctr[1].enabled ? (ctr[1].event - 16) << 32 : 7ul << 32); in ev4_reg_setup()
54 ctl |= (ctr[0].enabled && hilo) << 3; in ev4_reg_setup()
62 ctl |= (ctr[1].enabled && hilo); in ev4_reg_setup()
98 if (!ctr[which].enabled) in ev4_handle_interrupt()
Dop_model_ev6.c29 if (ctr[0].enabled && ctr[0].event) in ev6_reg_setup()
31 if (ctr[1].enabled) in ev6_reg_setup()
48 if (!ctr[i].enabled) in ev6_reg_setup()
/arch/m68k/coldfire/
Dclk.c33 clk->enabled = 1; in __clk_init_enabled()
39 clk->enabled = 0; in __clk_init_disabled()
94 if ((clk->enabled++ == 0) && clk->clk_ops) in clk_enable()
110 if ((--clk->enabled == 0) && clk->clk_ops) in clk_disable()
118 if (clk->enabled != 0) in clk_put()
/arch/um/os-Linux/
Dsignal.c71 int enabled; in sig_handler() local
73 enabled = signals_enabled; in sig_handler()
74 if (!enabled && (sig == SIGIO)) { in sig_handler()
83 set_signals_trace(enabled); in sig_handler()
99 int enabled; in timer_alarm_handler() local
101 enabled = signals_enabled; in timer_alarm_handler()
115 set_signals_trace(enabled); in timer_alarm_handler()
/arch/sparc/include/asm/
Dadi_64.h21 bool enabled; member
31 return adi_state.enabled; in adi_capable()
/arch/arm/include/debug/
Dsamsung.S54 tst \rd, #S3C2410_UFCON_FIFOMODE @ fifo enabled?
56 @ FIFO enabled...
78 tst \rd, #S3C2410_UFCON_FIFOMODE @ fifo enabled?
80 @ FIFO enabled...
/arch/powerpc/platforms/4xx/
Dcpm.c49 unsigned int enabled; member
115 if (idle_mode[mode].enabled) in cpm_idle_config()
119 idle_mode[i].enabled = 0; in cpm_idle_config()
121 idle_mode[mode].enabled = 1; in cpm_idle_config()
131 if (idle_mode[i].enabled) in cpm_idle_show()
182 if (idle_mode[CPM_IDLE_DOZE].enabled) in cpm_idle()
/arch/m68k/ifpsp060/
Dfskeleton.S70 | This is the exit point for the 060FPSP when an enabled overflow exception
72 | for enabled overflow conditions. The exception stack frame is an overflow
89 | This is the exit point for the 060FPSP when an enabled underflow exception
91 | for enabled underflow conditions. The exception stack frame is an underflow
107 | This is the exit point for the 060FPSP when an enabled operand error exception
109 | for enabled operand error exceptions. The exception stack frame is an operand error
126 | This is the exit point for the 060FPSP when an enabled signalling NaN exception
128 | for enabled signalling NaN exceptions. The exception stack frame is a signalling NaN
145 | This is the exit point for the 060FPSP when an enabled divide-by-zero exception
147 | for enabled divide-by-zero exceptions. The exception stack frame is a divide-by-zero
[all …]
/arch/arm64/boot/dts/rockchip/
Drk3399pro.dtsi10 /* Default to enabled since AP talk to NPU part over pcie */
15 /* Default to enabled since AP talk to NPU part over pcie */
/arch/arm/include/asm/
Dhw_breakpoint.h18 enabled : 1;
31 (ctrl.privilege << 1) | ctrl.enabled; in encode_ctrl_reg()
37 ctrl->enabled = reg & 0x1; in decode_ctrl_reg()
/arch/mips/include/asm/mach-ralink/
Dpinmux.h35 int enabled; member
40 int enabled; member
/arch/arm64/include/asm/
Dhw_breakpoint.h18 enabled : 1; member
36 ctrl.enabled; in encode_ctrl_reg()
47 ctrl->enabled = reg & 0x1; in decode_ctrl_reg()
/arch/arm64/kernel/
Dpointer_auth.c68 unsigned long enabled) in ptrauth_set_enabled_keys() argument
78 if ((keys & ~PR_PAC_ENABLED_KEYS_MASK) || (enabled & ~keys)) in ptrauth_set_enabled_keys()
84 sctlr |= arg_to_enxx_mask(enabled); in ptrauth_set_enabled_keys()
/arch/um/drivers/
Dchan_kern.c157 if (chan->enabled) in enable_chan()
164 chan->enabled = 1; in enable_chan()
197 if (chan->input && chan->enabled) in free_irqs()
199 if (chan->output && chan->enabled) in free_irqs()
201 chan->enabled = 0; in free_irqs()
217 if (chan->input && chan->enabled) in close_one_chan()
219 if (chan->output && chan->enabled) in close_one_chan()
221 chan->enabled = 0; in close_one_chan()
246 if (chan && chan->enabled) in deactivate_chan()
481 .enabled = 0, in parse_chan()
/arch/s390/boot/
Dipl_parm.c234 bool enabled; in parse_boot_command_line() local
265 rc = kstrtobool(val, &enabled); in parse_boot_command_line()
266 if (!rc && !enabled) in parse_boot_command_line()
278 rc = kstrtobool(val, &enabled); in parse_boot_command_line()
279 if (!rc && enabled) in parse_boot_command_line()
/arch/s390/kernel/
Dnospec-branch.c9 bool enabled; in nobp_setup_early() local
12 rc = kstrtobool(str, &enabled); in nobp_setup_early()
15 if (enabled && test_facility(82)) { in nobp_setup_early()
/arch/x86/kernel/
Dkgdb.c180 unsigned enabled; member
198 if (!breakinfo[breakno].enabled) in kgdb_correct_hw_break()
281 if (breakinfo[i].addr == addr && breakinfo[i].enabled) in kgdb_remove_hw_break()
290 breakinfo[i].enabled = 0; in kgdb_remove_hw_break()
302 if (!breakinfo[i].enabled) in kgdb_remove_all_hw_break()
316 breakinfo[i].enabled = 0; in kgdb_remove_all_hw_break()
326 if (!breakinfo[i].enabled) in kgdb_set_hw_break()
368 breakinfo[i].enabled = 1; in kgdb_set_hw_break()
390 if (!breakinfo[i].enabled) in kgdb_disable_hw_debug()
633 if (breakinfo[i].enabled) in kgdb_hw_overflow_handler()
/arch/arm/boot/dts/
Daks-cdu.dts32 linux,rs485-enabled-at-boot-time;
38 linux,rs485-enabled-at-boot-time;
44 linux,rs485-enabled-at-boot-time;
/arch/m68k/fpsp040/
Dkernel_ex.S56 | else dz trap enabled
69 btstb #dz_bit,FPCR_ENABLE(%a6) |test FPCR for dz exc enabled
74 btstb #dz_bit,FPCR_ENABLE(%a6) |test FPCR for dz exc enabled
92 | dz enabled
110 | else (operr trap enabled)
118 btstb #operr_bit,FPCR_ENABLE(%a6) |test FPCR for operr enabled
343 btstb #snan_bit,FPCR_ENABLE(%a6) |check if trap enabled
/arch/arm/mach-omap2/
Dvp.c56 vp->enabled = false; in omap_vp_init()
215 if (vp->enabled) in omap_vp_enable()
231 vp->enabled = true; in omap_vp_enable()
260 if (!vp->enabled) { in omap_vp_disable()
280 vp->enabled = false; in omap_vp_disable()
/arch/mips/kernel/
Dspram.c122 unsigned int enabled; in probe_spram() local
160 enabled = tag0 & SPRAM_TAG0_ENABLE; in probe_spram()
190 type, i, pa, size, enabled ? ",enabled" : ""); in probe_spram()

1234567891011