Home
last modified time | relevance | path

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

/linux-5.19.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()
218 pfd->gate_bit = (idx + 1) * 8 - 1; in imx_clk_hw_pfdv2()
219 pfd->vld_bit = pfd->gate_bit - 1; in imx_clk_hw_pfdv2()
/linux-5.19.10/drivers/clk/ingenic/
Dtcu.c39 u8 gate_bit; member
71 regmap_write(tcu->map, TCU_REG_TSCR, BIT(info->gate_bit)); in ingenic_tcu_enable()
82 regmap_write(tcu->map, TCU_REG_TSSR, BIT(info->gate_bit)); in ingenic_tcu_disable()
93 return !(value & BIT(info->gate_bit)); in ingenic_tcu_is_enabled()
111 regmap_write(tcu->map, TCU_REG_TSCR, BIT(info->gate_bit)); in ingenic_tcu_enable_regs()
124 regmap_write(tcu->map, TCU_REG_TSSR, BIT(info->gate_bit)); in ingenic_tcu_disable_regs()
250 .gate_bit = _gate_bit, \
/linux-5.19.10/drivers/clk/
Dclk-k210.c34 u8 gate_bit; member
52 .gate_bit = (_bit)
686 reg |= BIT(cfg->gate_bit); in k210_clk_enable()
706 reg &= ~BIT(cfg->gate_bit); in k210_clk_disable()
/linux-5.19.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()