Searched refs:gate_reg (Results 1 – 10 of 10) sorted by relevance
/openbmc/u-boot/drivers/clk/altera/ |
H A D | clk-arria10.c | 36 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 D | hibmc_drm_drv.c | 153 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 D | clk-mtk.h | 98 uint32_t gate_reg; member 119 .gate_reg = _reg, \ 170 .gate_reg = _gate_reg, \
|
H A D | clk-mtk.c | 260 gate->reg = base + mc->gate_reg; in mtk_clk_register_composite()
|
/openbmc/u-boot/drivers/clk/mediatek/ |
H A D | clk-mtk.h | 105 u32 gate_reg; member 119 .gate_reg = _reg, \
|
H A D | clk-mtk.c | 335 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 D | clk-k210.c | 32 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 D | clk-bm1880.c | 72 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 D | stratix10-clk.h | 66 unsigned long gate_reg; member
|
H A D | clk-gate-s10.c | 139 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()
|