Home
last modified time | relevance | path

Searched refs:gate_bit (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/clk/imx/
Dclk-pfdv2.c30 u8 gate_bit; member
59 val &= ~(1 << pfd->gate_bit); in clk_pfdv2_enable()
74 val |= (1 << pfd->gate_bit); in clk_pfdv2_disable()
146 if (readl_relaxed(pfd->reg) & (1 << pfd->gate_bit)) in clk_pfdv2_is_enabled()
209 pfd->gate_bit = (idx + 1) * 8 - 1; in imx_clk_hw_pfdv2()
210 pfd->vld_bit = pfd->gate_bit - 1; in imx_clk_hw_pfdv2()
/kernel/linux/linux-5.10/drivers/clk/ingenic/
Dtcu.c38 u8 gate_bit; member
70 regmap_write(tcu->map, TCU_REG_TSCR, BIT(info->gate_bit)); in ingenic_tcu_enable()
81 regmap_write(tcu->map, TCU_REG_TSSR, BIT(info->gate_bit)); in ingenic_tcu_disable()
92 return !(value & BIT(info->gate_bit)); in ingenic_tcu_is_enabled()
110 regmap_write(tcu->map, TCU_REG_TSCR, BIT(info->gate_bit)); in ingenic_tcu_enable_regs()
123 regmap_write(tcu->map, TCU_REG_TSSR, BIT(info->gate_bit)); in ingenic_tcu_disable_regs()
249 .gate_bit = _gate_bit, \
/kernel/linux/linux-5.10/drivers/clk/ti/
Dadpll.c581 int output_index, int gate_bit, in ti_adpll_init_clkout() argument
620 if (gate_bit) { in ti_adpll_init_clkout()
623 co->gate.bit_idx = gate_bit; in ti_adpll_init_clkout()
/kernel/linux/linux-5.10/drivers/clk/sirf/
Dclk-atlas7.c253 u8 gate_bit; member
1650 div->gate_bit, 0, div->lock); in atlas7_clk_init()