Home
last modified time | relevance | path

Searched refs:reg_enable (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/tools/testing/selftests/user_events/
H A Dabi_test.c50 static int reg_enable(void *enable, int size, int bit) in reg_enable() function
113 ASSERT_EQ(0, reg_enable(&self->check, sizeof(int), 0)); in TEST_F()
133 ASSERT_EQ(0, reg_enable(&self->check, sizeof(int), 0)); in TEST_F()
134 ASSERT_EQ(0, reg_enable(&self->check, sizeof(int), 31)); in TEST_F()
135 ASSERT_NE(0, reg_enable(&self->check, sizeof(int), 32)); in TEST_F()
141 ASSERT_EQ(0, reg_enable(&self->check_long, sizeof(long), 63)); in TEST_F()
142 ASSERT_NE(0, reg_enable(&self->check_long, sizeof(long), 64)); in TEST_F()
147 ASSERT_NE(0, reg_enable(&self->check, 1, 0)); in TEST_F()
148 ASSERT_NE(0, reg_enable(&self->check, 2, 0)); in TEST_F()
149 ASSERT_NE(0, reg_enable(&self->check, 3, 0)); in TEST_F()
[all …]
/openbmc/linux/drivers/irqchip/
H A Dirq-bcm6345-l1.c90 static inline unsigned int reg_enable(struct bcm6345_l1_chip *intc, in reg_enable() function
131 pending &= __raw_readl(cpu->map_base + reg_enable(intc, idx)); in bcm6345_l1_irq_handle()
151 intc->cpus[cpu_idx]->map_base + reg_enable(intc, word)); in __bcm6345_l1_unmask()
163 intc->cpus[cpu_idx]->map_base + reg_enable(intc, word)); in __bcm6345_l1_mask()
260 __raw_writel(0, cpu->map_base + reg_enable(intc, i)); in bcm6345_l1_init_one()
H A Dirq-bcm2835.c70 static const int reg_enable[] __initconst = { 0x18, 0x10, 0x14 }; variable
152 intc.enable[b] = base + reg_enable[b]; in armctrl_of_init()
/openbmc/linux/drivers/cpufreq/
H A Dqcom-cpufreq-hw.c34 u32 reg_enable; member
400 .reg_enable = 0x0,
410 .reg_enable = 0x0,
542 if (!(readl_relaxed(data->base + qcom_cpufreq.soc_data->reg_enable) & 0x1)) { in qcom_cpufreq_hw_cpu_init()
/openbmc/linux/arch/arm64/kernel/
H A Dhw_breakpoint.c228 int i, max_slots, ctrl_reg, val_reg, reg_enable; in hw_breakpoint_control() local
238 reg_enable = !debug_info->bps_disabled; in hw_breakpoint_control()
245 reg_enable = !debug_info->wps_disabled; in hw_breakpoint_control()
268 reg_enable ? ctrl | 0x1 : ctrl & ~0x1); in hw_breakpoint_control()