Home
last modified time | relevance | path

Searched refs:gate (Results 1 - 9 of 9) sorted by relevance

/device/soc/rockchip/common/vendor/drivers/clk/
H A Dclk-dclk-divider.c101 struct clk_gate *gate = NULL; in rockchip_clk_register_dclk_branch() local
120 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in rockchip_clk_register_dclk_branch()
121 if (!gate) { in rockchip_clk_register_dclk_branch()
125 gate->flags = gate_flags; in rockchip_clk_register_dclk_branch()
126 gate->reg = base + gate_offset; in rockchip_clk_register_dclk_branch()
127 gate->bit_idx = gate_shift; in rockchip_clk_register_dclk_branch()
128 gate->lock = lock; in rockchip_clk_register_dclk_branch()
152 div ? &div->hw : NULL, div_ops, gate ? &gate in rockchip_clk_register_dclk_branch()
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/clk/rockchip/
H A Dclk-dclk-divider.c108 struct clk_gate *gate = NULL; in rockchip_clk_register_dclk_branch() local
128 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in rockchip_clk_register_dclk_branch()
129 if (!gate) in rockchip_clk_register_dclk_branch()
132 gate->flags = gate_flags; in rockchip_clk_register_dclk_branch()
133 gate->reg = base + gate_offset; in rockchip_clk_register_dclk_branch()
134 gate->bit_idx = gate_shift; in rockchip_clk_register_dclk_branch()
135 gate->lock = lock; in rockchip_clk_register_dclk_branch()
159 gate ? &gate in rockchip_clk_register_dclk_branch()
[all...]
H A Dclk-link.c28 struct clk_gate *gate; member
49 struct clk_gate *gate; in register_clocks() local
53 gate = devm_kzalloc(dev, sizeof(struct clk_gate), GFP_KERNEL); in register_clocks()
54 if (!gate) in register_clocks()
64 gate->reg = priv->base; in register_clocks()
65 gate->bit_idx = priv->shift; in register_clocks()
66 gate->flags = GFLAGS; in register_clocks()
67 gate->lock = &priv->lock; in register_clocks()
68 gate->hw.init = &init; in register_clocks()
70 clk = devm_clk_register(dev, &gate in register_clocks()
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/clk/rockchip/
H A Dclk-half-divider.c156 struct clk_gate *gate = NULL; in rockchip_clk_register_halfdiv() local
175 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in rockchip_clk_register_halfdiv()
176 if (!gate) { in rockchip_clk_register_halfdiv()
180 gate->flags = gate_flags; in rockchip_clk_register_halfdiv()
181 gate->reg = base + gate_offset; in rockchip_clk_register_halfdiv()
182 gate->bit_idx = gate_shift; in rockchip_clk_register_halfdiv()
183 gate->lock = lock; in rockchip_clk_register_halfdiv()
206 div ? &div->hw : NULL, div_ops, gate ? &gate in rockchip_clk_register_halfdiv()
[all...]
H A Dclk.c46 struct clk_gate *gate = NULL; in rockchip_clk_register_branch() local
67 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in rockchip_clk_register_branch()
68 if (!gate) { in rockchip_clk_register_branch()
73 gate->flags = gate_flags; in rockchip_clk_register_branch()
74 gate->reg = base + gate_offset; in rockchip_clk_register_branch()
75 gate->bit_idx = gate_shift; in rockchip_clk_register_branch()
76 gate->lock = lock; in rockchip_clk_register_branch()
101 div ? &div->hw : NULL, div_ops, gate ? &gate in rockchip_clk_register_branch()
119 struct clk_gate gate; global() member
230 struct clk_gate *gate = NULL; rockchip_clk_register_frac_branch() local
333 struct clk_gate *gate = NULL; rockchip_clk_register_factor_branch() local
[all...]
/device/soc/rockchip/rk2206/hardware/include/driver/
H A Dcru.h46 * @brief Clock enable by gate ID.
48 * @param gateID Indicates the clock gate ID.
55 * @brief Clock disable by gate ID.
57 * @param gateID Indicates the clock gate ID.
66 * @param gate Indicates the clock gate.
70 unsigned int ClkEnable(CLK_GATE *gate);
75 * @param gate Indicates the clock gate.
79 unsigned int ClkDisable(CLK_GATE *gate);
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop.h113 * vop2 submem power gate,
494 struct vop_reg gate; member
564 struct vop_reg gate; member
H A Drockchip_vop_reg.c159 .gate = VOP_REG(RK3288_WIN2_CTRL0, 0x1, 0),
391 .gate = VOP_REG(RK3368_WIN2_CTRL0, 0x1, 0),
1377 .gate = VOP_REG(RK3368_WIN2_CTRL0, 0x1, 0),
H A Drockchip_drm_vop.c525 VOP_WIN_SET(vop, win, gate, 0); in vop_win_disable()
1947 VOP_WIN_SET(vop, win, gate, 1); in vop_plane_atomic_update()

Completed in 15 milliseconds