Home
last modified time | relevance | path

Searched full:gate (Results 1 – 25 of 964) sorted by relevance

12345678910>>...39

/kernel/linux/linux-5.10/drivers/clk/tegra/
Dclk-periph-gate.c18 /* Macros to assist peripheral gate clock */
19 #define read_enb(gate) \ argument
20 readl_relaxed(gate->clk_base + (gate->regs->enb_reg))
21 #define write_enb_set(val, gate) \ argument
22 writel_relaxed(val, gate->clk_base + (gate->regs->enb_set_reg))
23 #define write_enb_clr(val, gate) \ argument
24 writel_relaxed(val, gate->clk_base + (gate->regs->enb_clr_reg))
26 #define read_rst(gate) \ argument
27 readl_relaxed(gate->clk_base + (gate->regs->rst_reg))
28 #define write_rst_clr(val, gate) \ argument
[all …]
/kernel/linux/linux-5.10/drivers/clk/mmp/
Dclk-gate.c2 * mmp gate clock operation source file
29 struct mmp_clk_gate *gate = to_clk_mmp_gate(hw); in mmp_clk_gate_enable() local
34 if (gate->lock) in mmp_clk_gate_enable()
35 spin_lock_irqsave(gate->lock, flags); in mmp_clk_gate_enable()
37 tmp = readl(gate->reg); in mmp_clk_gate_enable()
38 tmp &= ~gate->mask; in mmp_clk_gate_enable()
39 tmp |= gate->val_enable; in mmp_clk_gate_enable()
40 writel(tmp, gate->reg); in mmp_clk_gate_enable()
42 if (gate->lock) in mmp_clk_gate_enable()
43 spin_unlock_irqrestore(gate->lock, flags); in mmp_clk_gate_enable()
[all …]
/kernel/linux/linux-5.10/drivers/clk/imx/
Dclk-gate2.c19 * DOC: basic gateable clock which can gate and ungate its output
42 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_enable() local
47 spin_lock_irqsave(gate->lock, flags); in clk_gate2_enable()
49 if (gate->share_count && (*gate->share_count)++ > 0) in clk_gate2_enable()
52 if (gate->flags & IMX_CLK_GATE2_SINGLE_BIT) { in clk_gate2_enable()
55 reg = readl(gate->reg); in clk_gate2_enable()
56 reg &= ~(3 << gate->bit_idx); in clk_gate2_enable()
57 reg |= gate->cgr_val << gate->bit_idx; in clk_gate2_enable()
58 writel(reg, gate->reg); in clk_gate2_enable()
62 spin_unlock_irqrestore(gate->lock, flags); in clk_gate2_enable()
[all …]
Dclk-gate-exclusive.c13 * struct clk_gate_exclusive - i.MX specific gate clock which is mutually
14 * exclusive with other gate clocks
16 * @gate: the parent class
17 * @exclusive_mask: mask of gate bits which are mutually exclusive to this
18 * gate clock
20 * The imx exclusive gate clock is a subclass of basic clk_gate
21 * with an addtional mask to indicate which other gate bits in the same
22 * register is mutually exclusive to this gate clock.
25 struct clk_gate gate; member
31 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_exclusive_enable() local
[all …]
/kernel/linux/linux-5.10/drivers/clk/samsung/
Dclk-exynos5433.c558 GATE(CLK_ACLK_G3D_400, "aclk_g3d_400", "div_aclk_g3d_400",
560 GATE(CLK_ACLK_IMEM_SSSX_266, "aclk_imem_sssx_266",
563 GATE(CLK_ACLK_BUS0_400, "aclk_bus0_400", "div_aclk_bus0_400",
566 GATE(CLK_ACLK_BUS1_400, "aclk_bus1_400", "div_aclk_bus1_400",
569 GATE(CLK_ACLK_IMEM_200, "aclk_imem_200", "div_aclk_imem_200",
572 GATE(CLK_ACLK_IMEM_266, "aclk_imem_266", "div_aclk_imem_266",
575 GATE(CLK_ACLK_PERIC_66, "aclk_peric_66", "div_aclk_peric_66_b",
578 GATE(CLK_ACLK_PERIS_66, "aclk_peris_66", "div_aclk_peris_66_b",
581 GATE(CLK_ACLK_MSCL_400, "aclk_mscl_400", "div_aclk_mscl_400",
584 GATE(CLK_ACLK_FSYS_200, "aclk_fsys_200", "div_aclk_fsys_200",
[all …]
Dclk-exynos3250.c439 GATE(CLK_ASYNC_G3D, "async_g3d", "div_aclk_100", GATE_IP_LEFTBUS, 6,
441 GATE(CLK_ASYNC_MFCL, "async_mfcl", "div_aclk_100", GATE_IP_LEFTBUS, 4,
443 GATE(CLK_PPMULEFT, "ppmuleft", "div_aclk_100", GATE_IP_LEFTBUS, 1,
445 GATE(CLK_GPIO_LEFT, "gpio_left", "div_aclk_100", GATE_IP_LEFTBUS, 0,
449 GATE(CLK_ASYNC_ISPMX, "async_ispmx", "div_aclk_100",
451 GATE(CLK_ASYNC_FSYSD, "async_fsysd", "div_aclk_100",
453 GATE(CLK_ASYNC_LCD0X, "async_lcd0x", "div_aclk_100",
455 GATE(CLK_ASYNC_CAMX, "async_camx", "div_aclk_100", GATE_IP_RIGHTBUS, 2,
457 GATE(CLK_PPMURIGHT, "ppmuright", "div_aclk_100", GATE_IP_RIGHTBUS, 1,
459 GATE(CLK_GPIO_RIGHT, "gpio_right", "div_aclk_100", GATE_IP_RIGHTBUS, 0,
[all …]
Dclk-exynos5250.c444 GATE(CLK_MDMA0, "mdma0", "div_aclk266", GATE_IP_ACP, 1, 0, 0),
445 GATE(CLK_SSS, "sss", "div_aclk266", GATE_IP_ACP, 2, 0, 0),
446 GATE(CLK_G2D, "g2d", "div_aclk200", GATE_IP_ACP, 3, 0, 0),
447 GATE(CLK_SMMU_MDMA0, "smmu_mdma0", "div_aclk266", GATE_IP_ACP, 5, 0, 0),
452 GATE(CLK_SCLK_CAM_BAYER, "sclk_cam_bayer", "div_cam_bayer",
454 GATE(CLK_SCLK_CAM0, "sclk_cam0", "div_cam0",
456 GATE(CLK_SCLK_CAM1, "sclk_cam1", "div_cam1",
458 GATE(CLK_SCLK_GSCL_WA, "sclk_gscl_wa", "div_gscl_wa",
460 GATE(CLK_SCLK_GSCL_WB, "sclk_gscl_wb", "div_gscl_wb",
463 GATE(CLK_SCLK_FIMD1, "sclk_fimd1", "div_fimd1",
[all …]
Dclk-exynos7.c144 GATE(ACLK_CCORE_133, "aclk_ccore_133", "dout_aclk_ccore_133",
147 GATE(ACLK_MSCL_532, "aclk_mscl_532", "dout_aclk_mscl_532",
150 GATE(ACLK_PERIS_66, "aclk_peris_66", "dout_aclk_peris_66",
153 GATE(SCLK_AUD_PLL, "sclk_aud_pll", "dout_sclk_aud_pll",
155 GATE(SCLK_MFC_PLL_B, "sclk_mfc_pll_b", "dout_sclk_mfc_pll",
157 GATE(SCLK_MFC_PLL_A, "sclk_mfc_pll_a", "dout_sclk_mfc_pll",
159 GATE(SCLK_BUS1_PLL_B, "sclk_bus1_pll_b", "dout_sclk_bus1_pll",
161 GATE(SCLK_BUS1_PLL_A, "sclk_bus1_pll_a", "dout_sclk_bus1_pll",
163 GATE(SCLK_BUS0_PLL_B, "sclk_bus0_pll_b", "dout_sclk_bus0_pll",
165 GATE(SCLK_BUS0_PLL_A, "sclk_bus0_pll_a", "dout_sclk_bus0_pll",
[all …]
Dclk-s5pv210.c547 GATE(CLK_ROTATOR, "rotator", "dout_hclkd", CLK_GATE_IP0, 29, 0, 0),
548 GATE(CLK_FIMC2, "fimc2", "dout_hclkd", CLK_GATE_IP0, 26, 0, 0),
549 GATE(CLK_FIMC1, "fimc1", "dout_hclkd", CLK_GATE_IP0, 25, 0, 0),
550 GATE(CLK_FIMC0, "fimc0", "dout_hclkd", CLK_GATE_IP0, 24, 0, 0),
551 GATE(CLK_PDMA0, "pdma0", "dout_hclkp", CLK_GATE_IP0, 3, 0, 0),
552 GATE(CLK_MDMA, "mdma", "dout_hclkd", CLK_GATE_IP0, 2, 0, 0),
554 GATE(CLK_SROMC, "sromc", "dout_hclkp", CLK_GATE_IP1, 26, 0, 0),
555 GATE(CLK_NANDXL, "nandxl", "dout_hclkp", CLK_GATE_IP1, 24, 0, 0),
556 GATE(CLK_USB_OTG, "usb_otg", "dout_hclkp", CLK_GATE_IP1, 16, 0, 0),
557 GATE(CLK_TVENC, "tvenc", "dout_hclkd", CLK_GATE_IP1, 10, 0, 0),
[all …]
Dclk-exynos5260.c114 GATE(AUD_SCLK_I2S, "sclk_aud_i2s", "dout_sclk_aud_i2s",
116 GATE(AUD_SCLK_PCM, "sclk_aud_pcm", "dout_sclk_aud_pcm",
118 GATE(AUD_SCLK_AUD_UART, "sclk_aud_uart", "dout_sclk_aud_uart",
121 GATE(AUD_CLK_SRAMC, "clk_sramc", "dout_aclk_aud_131", EN_IP_AUD,
123 GATE(AUD_CLK_DMAC, "clk_dmac", "dout_aclk_aud_131",
125 GATE(AUD_CLK_I2S, "clk_i2s", "dout_aclk_aud_131", EN_IP_AUD, 2, 0, 0),
126 GATE(AUD_CLK_PCM, "clk_pcm", "dout_aclk_aud_131", EN_IP_AUD, 3, 0, 0),
127 GATE(AUD_CLK_AUD_UART, "clk_aud_uart", "dout_aclk_aud_131",
284 GATE(DISP_MOUT_HDMI_PHY_PIXEL_USER, "sclk_hdmi_link_i_pixel",
287 GATE(DISP_SCLK_PIXEL, "sclk_hdmi_phy_pixel_clki",
[all …]
/kernel/linux/linux-5.10/drivers/clk/
Dclk-gate.c17 * DOC: basic gatable clock which can gate and ungate it's ouput
26 static inline u32 clk_gate_readl(struct clk_gate *gate) in clk_gate_readl() argument
28 if (gate->flags & CLK_GATE_BIG_ENDIAN) in clk_gate_readl()
29 return ioread32be(gate->reg); in clk_gate_readl()
31 return readl(gate->reg); in clk_gate_readl()
34 static inline void clk_gate_writel(struct clk_gate *gate, u32 val) in clk_gate_writel() argument
36 if (gate->flags & CLK_GATE_BIG_ENDIAN) in clk_gate_writel()
37 iowrite32be(val, gate->reg); in clk_gate_writel()
39 writel(val, gate->reg); in clk_gate_writel()
57 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_endisable() local
[all …]
Dclk-npcm7xx.c439 {NPCM7XX_CLKEN1, 31, "smb1-gate", NPCM7XX_CLK_S_APB2, 0},
440 {NPCM7XX_CLKEN1, 30, "smb0-gate", NPCM7XX_CLK_S_APB2, 0},
441 {NPCM7XX_CLKEN1, 29, "smb7-gate", NPCM7XX_CLK_S_APB2, 0},
442 {NPCM7XX_CLKEN1, 28, "smb6-gate", NPCM7XX_CLK_S_APB2, 0},
443 {NPCM7XX_CLKEN1, 27, "adc-gate", NPCM7XX_CLK_S_APB1, 0},
444 {NPCM7XX_CLKEN1, 26, "wdt-gate", NPCM7XX_CLK_S_TIMER, 0},
445 {NPCM7XX_CLKEN1, 25, "usbdev3-gate", NPCM7XX_CLK_S_AHB, 0},
446 {NPCM7XX_CLKEN1, 24, "usbdev6-gate", NPCM7XX_CLK_S_AHB, 0},
447 {NPCM7XX_CLKEN1, 23, "usbdev5-gate", NPCM7XX_CLK_S_AHB, 0},
448 {NPCM7XX_CLKEN1, 22, "usbdev4-gate", NPCM7XX_CLK_S_AHB, 0},
[all …]
Dclk-ast2600.c65 [ASPEED_CLK_GATE_MCLK] = { 0, -1, "mclk-gate", "mpll", CLK_IS_CRITICAL }, /* SDRAM */
66 [ASPEED_CLK_GATE_ECLK] = { 1, 6, "eclk-gate", "eclk", 0 }, /* Video Engine */
67 [ASPEED_CLK_GATE_GCLK] = { 2, 7, "gclk-gate", NULL, 0 }, /* 2D engine */
69 [ASPEED_CLK_GATE_VCLK] = { 3, -1, "vclk-gate", NULL, 0 }, /* Video Capture */
70 [ASPEED_CLK_GATE_BCLK] = { 4, 8, "bclk-gate", "bclk", 0 }, /* PCIe/PCI */
72 [ASPEED_CLK_GATE_DCLK] = { 5, -1, "dclk-gate", NULL, CLK_IS_CRITICAL }, /* DAC */
73 [ASPEED_CLK_GATE_REF0CLK] = { 6, -1, "ref0clk-gate", "clkin", CLK_IS_CRITICAL },
74 [ASPEED_CLK_GATE_USBPORT2CLK] = { 7, 3, "usb-port2-gate", NULL, 0 }, /* USB2.0 Host port 2 */
76 …[ASPEED_CLK_GATE_USBUHCICLK] = { 9, 15, "usb-uhci-gate", NULL, 0 }, /* USB1.1 (requires port 2 e…
78 [ASPEED_CLK_GATE_D1CLK] = { 10, 13, "d1clk-gate", "d1clk", 0 }, /* GFX CRT */
[all …]
/kernel/linux/linux-5.10/arch/ia64/kernel/
DMakefile.gate2 # The gate DSO image is built using a special linker script.
4 targets += gate.so gate.lds gate.o gate-dummy.o
6 obj-y += gate-syms.o
10 quiet_cmd_gate = GATE $@
13 GATECFLAGS_gate.so = -shared -s -Wl,-soname=linux-gate.so.1 \
15 $(obj)/gate.so: $(obj)/gate.lds $(obj)/gate.o FORCE
16 $(call if_changed,gate)
19 $(obj)/gate-dummy.o: $(obj)/gate.lds $(obj)/gate.o FORCE
20 $(call if_changed,gate)
23 $(obj)/gate-syms.o: $(obj)/gate-dummy.o FORCE
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ti/
Dgate.txt1 Binding for Texas Instruments gate clock.
6 quite much similar to the basic gate-clock [2], however,
13 [2] Documentation/devicetree/bindings/clock/gpio-gate-clock.txt
18 "ti,gate-clock" - basic gate clock
19 "ti,wait-gate-clock" - gate clock which waits until clock is active before
21 "ti,dss-gate-clock" - gate clock with DSS specific hardware handling
22 "ti,am35xx-gate-clock" - gate clock with AM35xx specific hardware handling
23 "ti,clkdm-gate-clock" - clockdomain gate clock, which derives its functional
26 "ti,hsdiv-gate-clock" - gate clock with OMAP36xx specific hardware handling,
28 "ti,composite-gate-clock" - composite gate clock, to be part of composite
[all …]
/kernel/linux/linux-5.10/drivers/clk/rockchip/
Dclk-rk3368.c282 GATE(0, "apllb_core", "apllb", CLK_IGNORE_UNUSED,
284 GATE(0, "gpllb_core", "gpll", CLK_IGNORE_UNUSED,
287 GATE(0, "aplll_core", "aplll", CLK_IGNORE_UNUSED,
289 GATE(0, "gplll_core", "gpll", CLK_IGNORE_UNUSED,
306 GATE(0, "apllb_cs", "apllb", CLK_IGNORE_UNUSED,
308 GATE(0, "aplll_cs", "aplll", CLK_IGNORE_UNUSED,
310 GATE(0, "gpll_cs", "gpll", CLK_IGNORE_UNUSED,
321 GATE(SCLK_PVTM_CORE, "sclk_pvtm_core", "xin24m", 0, RK3368_CLKGATE_CON(7), 10, GFLAGS),
323 GATE(0, "dpll_ddr", "dpll", CLK_IGNORE_UNUSED,
325 GATE(0, "gpll_ddr", "gpll", 0,
[all …]
Dclk-rk3399.c404 GATE(SCLK_USB2PHY0_REF, "clk_usb2phy0_ref", "xin24m", CLK_IGNORE_UNUSED,
406 GATE(SCLK_USB2PHY1_REF, "clk_usb2phy1_ref", "xin24m", CLK_IGNORE_UNUSED,
409 GATE(0, "clk_usbphy0_480m_src", "clk_usbphy0_480m", 0,
411 GATE(0, "clk_usbphy1_480m_src", "clk_usbphy1_480m", 0,
426 GATE(ACLK_USB3_NOC, "aclk_usb3_noc", "aclk_usb3", CLK_IGNORE_UNUSED,
428 GATE(ACLK_USB3OTG0, "aclk_usb3otg0", "aclk_usb3", 0,
430 GATE(ACLK_USB3OTG1, "aclk_usb3otg1", "aclk_usb3", 0,
432 GATE(ACLK_USB3_RKSOC_AXI_PERF, "aclk_usb3_rksoc_axi_perf", "aclk_usb3", 0,
434 GATE(ACLK_USB3_GRF, "aclk_usb3_grf", "aclk_usb3", 0,
437 GATE(SCLK_USB3OTG0_REF, "clk_usb3otg0_ref", "xin24m", 0,
[all …]
Dclk-rk3228.c219 GATE(0, "apll_ddr", "apll", CLK_IGNORE_UNUSED,
221 GATE(0, "dpll_ddr", "dpll", CLK_IGNORE_UNUSED,
223 GATE(0, "gpll_ddr", "gpll", CLK_IGNORE_UNUSED,
228 GATE(0, "ddrc", "ddrphy_pre", CLK_IGNORE_UNUSED,
234 GATE(0, "dpll_core", "dpll", CLK_IGNORE_UNUSED,
236 GATE(0, "apll_core", "apll", CLK_IGNORE_UNUSED,
238 GATE(0, "gpll_core", "gpll", CLK_IGNORE_UNUSED,
256 GATE(0, "hdmiphy_aclk_cpu", "hdmiphy", CLK_IGNORE_UNUSED,
258 GATE(0, "gpll_aclk_cpu", "gpll", CLK_IGNORE_UNUSED,
260 GATE(0, "cpll_aclk_cpu", "cpll", CLK_IGNORE_UNUSED,
[all …]
Dclk-rv1108.c200 GATE(0, "dpll_core", "dpll", CLK_IGNORE_UNUSED,
202 GATE(0, "apll_core", "apll", CLK_IGNORE_UNUSED,
204 GATE(0, "gpll_core", "gpll", CLK_IGNORE_UNUSED,
212 GATE(ACLK_CORE, "aclk_core", "aclkenm_core", CLK_IGNORE_UNUSED,
214 GATE(0, "pclk_dbg", "pclken_dbg", CLK_IGNORE_UNUSED,
226 GATE(ACLK_RKVENC, "aclk_rkvenc", "aclk_rkvenc_pre", 0,
228 GATE(HCLK_RKVENC, "hclk_rkvenc", "hclk_rkvenc_pre", 0,
230 GATE(0, "aclk_rkvenc_niu", "aclk_rkvenc_pre", CLK_IGNORE_UNUSED,
232 GATE(0, "hclk_rkvenc_niu", "hclk_rkvenc_pre", CLK_IGNORE_UNUSED,
251 GATE(ACLK_RKVDEC, "aclk_rkvdec", "aclk_rkvdec_pre", 0,
[all …]
Dclk-rk3328.c285 GATE(0, "apll_core", "apll", CLK_IGNORE_UNUSED,
287 GATE(0, "gpll_core", "gpll", CLK_IGNORE_UNUSED,
289 GATE(0, "dpll_core", "dpll", CLK_IGNORE_UNUSED,
291 GATE(0, "npll_core", "npll", CLK_IGNORE_UNUSED,
299 GATE(0, "aclk_core_niu", "aclk_core", 0,
301 GATE(0, "aclk_gic400", "aclk_core", CLK_IGNORE_UNUSED,
304 GATE(0, "clk_jtag", "jtag_clkin", CLK_IGNORE_UNUSED,
311 GATE(ACLK_GPU, "aclk_gpu", "aclk_gpu_pre", CLK_SET_RATE_PARENT,
313 GATE(0, "aclk_gpu_niu", "aclk_gpu_pre", 0,
320 GATE(0, "clk_ddrmsch", "clk_ddr", CLK_IGNORE_UNUSED,
[all …]
Dclk-rk3288.c286 GATE(0, "apll_core", "apll", CLK_IGNORE_UNUSED,
288 GATE(0, "gpll_core", "gpll", CLK_IGNORE_UNUSED,
318 GATE(0, "pclk_dbg", "pclk_dbg_pre", 0,
320 GATE(0, "cs_dbg", "pclk_dbg_pre", CLK_IGNORE_UNUSED,
322 GATE(0, "pclk_core_niu", "pclk_dbg_pre", 0,
325 GATE(0, "dpll_ddr", "dpll", CLK_IGNORE_UNUSED,
327 GATE(0, "gpll_ddr", "gpll", 0,
333 GATE(0, "gpll_aclk_cpu", "gpll", CLK_IGNORE_UNUSED,
335 GATE(0, "cpll_aclk_cpu", "cpll", CLK_IGNORE_UNUSED,
341 GATE(ACLK_CPU, "aclk_cpu", "aclk_cpu_pre", CLK_IGNORE_UNUSED,
[all …]
Dclk-px30.c277 GATE(0, "apll_core", "apll", CLK_IGNORE_UNUSED,
279 GATE(0, "gpll_core", "gpll", CLK_IGNORE_UNUSED,
287 GATE(0, "aclk_core_niu", "aclk_core", CLK_IGNORE_UNUSED,
289 GATE(0, "aclk_core_prf", "aclk_core", CLK_IGNORE_UNUSED,
291 GATE(0, "pclk_dbg_niu", "pclk_dbg", CLK_IGNORE_UNUSED,
293 GATE(0, "pclk_core_dbg", "pclk_dbg", CLK_IGNORE_UNUSED,
295 GATE(0, "pclk_core_grf", "pclk_dbg", CLK_IGNORE_UNUSED,
298 GATE(0, "clk_jtag", "jtag_clkin", CLK_IGNORE_UNUSED,
300 GATE(SCLK_PVTM, "clk_pvtm", "xin24m", 0,
319 GATE(0, "aclk_gpu_niu", "aclk_gpu", CLK_IGNORE_UNUSED,
[all …]
Dclk-rk3128.c208 GATE(0, "dpll_ddr", "dpll", CLK_IGNORE_UNUSED,
210 GATE(0, "gpll_div2_ddr", "gpll_div2", CLK_IGNORE_UNUSED,
218 GATE(0, "apll_core", "apll", CLK_IGNORE_UNUSED,
220 GATE(0, "gpll_div2_core", "gpll_div2", CLK_IGNORE_UNUSED,
237 GATE(ACLK_CPU, "aclk_cpu", "aclk_cpu_src", 0,
277 GATE(0, "gpll_peri", "gpll", CLK_IGNORE_UNUSED,
279 GATE(0, "cpll_peri", "cpll", CLK_IGNORE_UNUSED,
281 GATE(0, "gpll_div2_peri", "gpll_div2", CLK_IGNORE_UNUSED,
283 GATE(0, "gpll_div3_peri", "gpll_div3", CLK_IGNORE_UNUSED,
293 GATE(ACLK_PERI, "aclk_peri", "aclk_peri_src", 0,
[all …]
/kernel/linux/linux-5.10/drivers/staging/sm750fb/
Dddk750_power.c75 void sm750_set_current_gate(unsigned int gate) in sm750_set_current_gate() argument
78 poke32(MODE1_GATE, gate); in sm750_set_current_gate()
80 poke32(MODE0_GATE, gate); in sm750_set_current_gate()
88 u32 gate; in sm750_enable_2d_engine() local
90 gate = peek32(CURRENT_GATE); in sm750_enable_2d_engine()
92 gate |= (CURRENT_GATE_DE | CURRENT_GATE_CSC); in sm750_enable_2d_engine()
94 gate &= ~(CURRENT_GATE_DE | CURRENT_GATE_CSC); in sm750_enable_2d_engine()
96 sm750_set_current_gate(gate); in sm750_enable_2d_engine()
101 u32 gate; in sm750_enable_dma() local
103 /* Enable DMA Gate */ in sm750_enable_dma()
[all …]
/kernel/linux/linux-5.10/drivers/clk/pistachio/
Dclk-pistachio.c19 GATE(CLK_MIPS, "mips", "mips_div", 0x104, 0),
20 GATE(CLK_AUDIO_IN, "audio_in", "audio_clk_in_gate", 0x104, 1),
21 GATE(CLK_AUDIO, "audio", "audio_div", 0x104, 2),
22 GATE(CLK_I2S, "i2s", "i2s_div", 0x104, 3),
23 GATE(CLK_SPDIF, "spdif", "spdif_div", 0x104, 4),
24 GATE(CLK_AUDIO_DAC, "audio_dac", "audio_dac_div", 0x104, 5),
25 GATE(CLK_RPU_V, "rpu_v", "rpu_v_div", 0x104, 6),
26 GATE(CLK_RPU_L, "rpu_l", "rpu_l_div", 0x104, 7),
27 GATE(CLK_RPU_SLEEP, "rpu_sleep", "rpu_sleep_div", 0x104, 8),
28 GATE(CLK_WIFI_PLL_GATE, "wifi_pll_gate", "wifi_pll_mux", 0x104, 9),
[all …]

12345678910>>...39