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 | 164 mmio_setbits_32(priv->base + cfg->offset, BIT(cfg->bit_idx)); in clk_gate_enable() 174 mmio_clrbits_32(priv->base + cfg->offset, BIT(cfg->bit_idx)); in clk_gate_disable() 182 return ((mmio_read_32(priv->base + cfg->offset) & BIT(cfg->bit_idx)) != 0U); in clk_gate_is_enabled() 197 mmio_write_32(addr + RCC_MP_ENCLRR_OFFSET, BIT(gate->bit_idx)); in _clk_stm32_gate_disable() 199 mmio_clrbits_32(addr, BIT(gate->bit_idx)); in _clk_stm32_gate_disable() 209 mmio_write_32(addr, BIT(gate->bit_idx)); in _clk_stm32_gate_enable() 212 mmio_setbits_32(addr, BIT(gate->bit_idx)); in _clk_stm32_gate_enable() 806 uint32_t mask_rdy = BIT(gate->bit_idx); in _clk_stm32_gate_wait_ready() 811 mask_test = BIT(gate->bit_idx); in _clk_stm32_gate_wait_ready() 839 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 276 .bit_idx = (_bit_idx),\
|
| H A D | clk-stm32mp13.c | 603 .bit_idx = (_bit_idx),\
|
| H A D | clk-stm32mp2.c | 477 .bit_idx = (_bit_idx),\
|