Lines Matching refs:fbl
12 #include <fbl/auto_call.h>
13 #include <fbl/auto_lock.h>
35 auto cleanup = fbl::MakeAutoCall([&]() { io_buffer_release(&hiu_mmio_); });
37 fbl::AllocChecker ac;
38 hiu_regs_ = fbl::make_unique_checked<hwreg::RegisterIo>(&ac, reinterpret_cast<volatile void*>(
57 auto cleanup = fbl::MakeAutoCall([&]() { io_buffer_release(&msr_mmio_); });
59 fbl::AllocChecker ac;
60 msr_regs_ = fbl::make_unique_checked<hwreg::RegisterIo>(&ac, reinterpret_cast<volatile void*>(
102 auto cleanup = fbl::MakeAutoCall([&]() {
114 clk_gates = (meson_clk_gate_t*)calloc(fbl::count_of(axg_clk_gates), sizeof(meson_clk_gate_t));
118 memcpy(clk_gates, axg_clk_gates, sizeof(meson_clk_gate_t) * fbl::count_of(axg_clk_gates));
120 gates_.reset(clk_gates, fbl::count_of(axg_clk_gates));
125 clk_gates = (meson_clk_gate_t*)calloc(fbl::count_of(gxl_clk_gates), sizeof(meson_clk_gate_t));
129 memcpy(clk_gates, gxl_clk_gates, sizeof(meson_clk_gate_t) * fbl::count_of(axg_clk_gates));
131 gates_.reset(clk_gates, fbl::count_of(gxl_clk_gates));
137 clk_table_.reset(g12a_clk_table, fbl::count_of(g12a_clk_table));
138 clk_gates = (meson_clk_gate_t*)calloc(fbl::count_of(g12a_clk_gates), sizeof(meson_clk_gate_t));
142 memcpy(clk_gates, g12a_clk_gates, sizeof(meson_clk_gate_t) * fbl::count_of(g12a_clk_gates));
144 gates_.reset(clk_gates, fbl::count_of(g12a_clk_gates));
177 auto clock_device = fbl::make_unique<amlogic_clock::AmlClock>(parent);
201 fbl::AutoLock al(&lock_);