Searched refs:bit_idx (Results 1 – 4 of 4) sorted by relevance
| /rk3399_ARM-atf/drivers/st/clk/ |
| H A D | clk-stm32-core.c | 74 mmio_setbits_32(priv->base + cfg->offset, BIT(cfg->bit_idx)); in clk_gate_enable() 89 mmio_clrbits_32(priv->base + cfg->offset, BIT(cfg->bit_idx)); in clk_gate_disable() 100 return ((mmio_read_32(priv->base + cfg->offset) & BIT(cfg->bit_idx)) != 0U); in clk_gate_is_enabled() 115 mmio_write_32(addr + RCC_MP_ENCLRR_OFFSET, BIT(gate->bit_idx)); in _clk_stm32_gate_disable() 117 mmio_clrbits_32(addr, BIT(gate->bit_idx)); in _clk_stm32_gate_disable() 127 mmio_write_32(addr, BIT(gate->bit_idx)); in _clk_stm32_gate_enable() 130 mmio_setbits_32(addr, BIT(gate->bit_idx)); in _clk_stm32_gate_enable() 727 uint32_t mask_rdy = BIT(gate->bit_idx); in _clk_stm32_gate_wait_ready() 732 mask_test = BIT(gate->bit_idx); in _clk_stm32_gate_wait_ready() 760 mmio_write_32(addr, BIT(gate->bit_idx)); in clk_stm32_gate_enable() [all …]
|
| H A D | clk-stm32-core.h | 19 uint8_t bit_idx; member 113 uint8_t bit_idx; member 268 .bit_idx = (_bit_idx),\
|
| H A D | clk-stm32mp2.c | 477 .bit_idx = (_bit_idx),\
|
| H A D | clk-stm32mp13.c | 603 .bit_idx = (_bit_idx),\
|