Home
last modified time | relevance | path

Searched refs:clk_gate (Results 1 – 6 of 6) sorted by relevance

/bsp/rockchip/common/drivers/
A Ddrv_clock.c76 rt_err_t clk_enable(struct clk_gate *gate) in clk_enable()
107 rt_err_t clk_disable(struct clk_gate *gate) in clk_disable()
145 int clk_is_enabled(struct clk_gate *gate) in clk_is_enabled()
162 struct clk_gate *clk_gate; in get_clk_gate_from_id() local
168 if (clk_gate->gate_id == gate_id) in get_clk_gate_from_id()
174 clk_gate = rt_calloc(1, sizeof(struct clk_gate)); in get_clk_gate_from_id()
175 clk_gate->gate_id = gate_id; in get_clk_gate_from_id()
176 clk_gate->enable_count = 0; in get_clk_gate_from_id()
180 clk_gate->ref_count++; in get_clk_gate_from_id()
183 return clk_gate; in get_clk_gate_from_id()
[all …]
A Ddrv_clock.h32 struct clk_gate struct
92 struct clk_gate *get_clk_gate_from_id(int gate_id);
93 void put_clk_gate(struct clk_gate *gate);
94 rt_err_t clk_enable(struct clk_gate *gate);
95 rt_err_t clk_disable(struct clk_gate *gate);
96 int clk_is_enabled(struct clk_gate *gate);
/bsp/allwinner/libraries/sunxi-hal/hal/source/disp2/disp/de/lowlevel_v2x/
A Dde_wb_type.h52 unsigned int clk_gate:1; member
A Dde_rtmx_type.h560 unsigned int clk_gate:1; member
A Dde_rtmx.c638 de200_rtmx[sel].lbc_ovl[chno]->lbc_ctl.bits.clk_gate = 1; in de_rtmx_set_lay_cfg()
/bsp/allwinner/libraries/sunxi-hal/hal/source/ccmu/sunxi-ng/
A Dccu.h427 struct clk_gate struct
435 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw) argument

Completed in 21 milliseconds