Home
last modified time | relevance | path

Searched refs:gate_reg (Results 1 – 10 of 10) sorted by relevance

/openbmc/u-boot/drivers/clk/altera/
H A Dclk-arria10.c36 u16 gate_reg; member
87 if (!enable && plat->gate_reg) in socfpga_a10_clk_endisable()
88 clrbits_le32(plat->regs + plat->gate_reg, BIT(plat->gate_bit)); in socfpga_a10_clk_endisable()
101 if (enable && plat->gate_reg) in socfpga_a10_clk_endisable()
102 setbits_le32(plat->regs + plat->gate_reg, BIT(plat->gate_bit)); in socfpga_a10_clk_endisable()
340 plat->gate_reg = gatereg[0]; in socfpga_a10_ofdata_to_platdata()
/openbmc/linux/drivers/gpu/drm/hisilicon/hibmc/
H A Dhibmc_drm_drv.c153 u32 gate_reg; in hibmc_set_current_gate() local
163 gate_reg = HIBMC_MODE0_GATE; in hibmc_set_current_gate()
167 gate_reg = HIBMC_MODE1_GATE; in hibmc_set_current_gate()
171 gate_reg = HIBMC_MODE0_GATE; in hibmc_set_current_gate()
174 writel(gate, mmio + gate_reg); in hibmc_set_current_gate()
/openbmc/linux/drivers/clk/mediatek/
H A Dclk-mtk.h98 uint32_t gate_reg; member
119 .gate_reg = _reg, \
170 .gate_reg = _gate_reg, \
H A Dclk-mtk.c260 gate->reg = base + mc->gate_reg; in mtk_clk_register_composite()
/openbmc/u-boot/drivers/clk/mediatek/
H A Dclk-mtk.h105 u32 gate_reg; member
119 .gate_reg = _reg, \
H A Dclk-mtk.c335 val = readl(priv->base + mux->gate_reg); in mtk_topckgen_enable()
337 writel(val, priv->base + mux->gate_reg); in mtk_topckgen_enable()
363 val = readl(priv->base + mux->gate_reg); in mtk_topckgen_disable()
365 writel(val, priv->base + mux->gate_reg); in mtk_topckgen_disable()
/openbmc/linux/drivers/clk/
H A Dclk-k210.c32 u8 gate_reg; member
50 .gate_reg = (_reg), \
682 if (!cfg->gate_reg) in k210_clk_enable()
686 reg = readl(ksc->regs + cfg->gate_reg); in k210_clk_enable()
688 writel(reg, ksc->regs + cfg->gate_reg); in k210_clk_enable()
702 if (!cfg->gate_reg) in k210_clk_disable()
706 reg = readl(ksc->regs + cfg->gate_reg); in k210_clk_disable()
708 writel(reg, ksc->regs + cfg->gate_reg); in k210_clk_disable()
H A Dclk-bm1880.c72 u32 gate_reg; member
114 u32 gate_reg; member
149 .gate_reg = _gate_reg, \
166 .gate_reg = _gate_reg, \
733 sys_base + clks[i].gate_reg, in bm1880_clk_register_gate()
795 gate->reg = sys_base + clks->gate_reg; in bm1880_clk_register_composite()
/openbmc/linux/drivers/clk/socfpga/
H A Dstratix10-clk.h66 unsigned long gate_reg; member
H A Dclk-gate-s10.c139 socfpga_clk->hw.reg = regbase + clks->gate_reg; in s10_register_gate()
197 socfpga_clk->hw.reg = regbase + clks->gate_reg; in agilex_register_gate()