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

/fuchsia/zircon/kernel/tests/
H A Dsync_ipi_tests.cpp45 event_t* gate = (event_t*)arg; local
46 event_wait(gate);
58 event_t gate = EVENT_INITIAL_VALUE(gate, false, 0); local
62 threads[i] = thread_create("sync_ipi_deadlock", deadlock_test_thread, &gate, DEFAULT_PRIORITY);
70 event_signal(&gate, true);
78 event_destroy(&gate);
/fuchsia/zircon/system/dev/clk/hisi-lib/
H A Dhisi-clk.c93 const hisi_clk_gate_t* const gate = &hisi_clk->gates[idx]; local
95 const uint32_t flags = gate->flags;
102 hisi_gate_clk_toggle_locked(base + gate->reg, gate->bit, enable);
106 hisi_sep_clk_toggle_locked(base + gate->reg, gate->bit, enable);
/fuchsia/zircon/system/dev/clk/amlogic-clk/
H A Daml-clk.cpp200 const meson_clk_gate_t* gate = &gates_[clk]; local
202 uint32_t value = hiu_regs_->Read<uint32_t>(gate->reg);
205 value |= (1 << gate->bit);
207 value &= ~(1 << gate->bit);
210 hiu_regs_->Write(gate->reg, value);
236 // Set the measurement gate to 64uS.

Completed in 18 milliseconds