Home
last modified time | relevance | path

Searched refs:gate (Results 1 – 3 of 3) sorted by relevance

/system/dev/clk/hisi-lib/
A Dhisi-clk.c94 const hisi_clk_gate_t* const gate = &hisi_clk->gates[idx]; in hisi_clk_toggle() local
96 const uint32_t flags = gate->flags; in hisi_clk_toggle()
103 hisi_gate_clk_toggle_locked(base + gate->reg, gate->bit, enable); in hisi_clk_toggle()
107 hisi_sep_clk_toggle_locked(base + gate->reg, gate->bit, enable); in hisi_clk_toggle()
/system/dev/clk/mtk-clk/
A Dmtk-clk.cpp152 const MtkClkGate& gate = kMtkClkGates[index]; in ClkEnable() local
153 mmio_.Write32(1 << gate.bit, gate.regs.clr); in ClkEnable()
162 const MtkClkGate& gate = kMtkClkGates[index]; in ClkDisable() local
163 mmio_.Write32(1 << gate.bit, gate.regs.set); in ClkDisable()
/system/dev/clk/amlogic-clk/
A Daml-clk.cpp194 const meson_clk_gate_t* gate = &gates_[clk]; in ClkToggle() local
198 hiu_mmio_->SetBits32(1 << gate->bit, gate->reg); in ClkToggle()
200 hiu_mmio_->ClearBits32(1 << gate->bit, gate->reg); in ClkToggle()

Completed in 6 milliseconds