Home
last modified time | relevance | path

Searched refs:GET_BIT (Results 1 – 17 of 17) sorted by relevance

/trusted-firmware-m-3.4.0/platform/ext/target/arm/rss/common/native_drivers/
Dsyscounter_armv8-m_cntrl_drv.c55 #define GET_BIT(WORD, BIT_INDEX) (bool)(((WORD) & (1U << (BIT_INDEX)))) macro
223 return GET_BIT(p_cnt->cntcr, in syscounter_armv8_m_cntrl_is_counter_enabled()
248 return GET_BIT(p_cnt->cntcr, in syscounter_armv8_m_cntrl_is_halt_on_debug_enabled()
273 return GET_BIT(p_cnt->cntcr, in syscounter_armv8_m_cntrl_is_scale_enabled()
298 return GET_BIT(p_cnt->cntcr, in syscounter_armv8_m_cntrl_is_interrupt_enabled()
323 return GET_BIT(p_cnt->cntcr, in syscounter_armv8_m_cntrl_is_pslverr_enabled()
340 return GET_BIT(p_cnt->cntsr, in syscounter_armv8_m_cntrl_is_counter_halted_on_debug()
384 return GET_BIT(p_cnt->cntid, in syscounter_armv8_m_cntrl_is_counter_scaling_implemented()
393 return GET_BIT(p_cnt->cntid, in syscounter_armv8_m_cntrl_is_clock_switching_implemented()
416 GET_BIT(p_cnt->cntid, in syscounter_armv8_m_cntrl_get_override_cntscr()
Dsystimer_armv8-m_drv.c31 #define GET_BIT(WORD, BIT_INDEX) (bool)(((WORD) & (1u << (BIT_INDEX)))) macro
239 return GET_BIT(p_cnt->cntp_ctl, SYSCTIMER_ARMV8M_CNTP_CTL_EN_OFF); in systimer_armv8_m_is_timer_enabled()
266 return !GET_BIT(p_cnt->cntp_ctl, SYSCTIMER_ARMV8M_CNTP_CTL_IMASK_OFF); in systimer_armv8_m_is_interrupt_enabled()
274 return GET_BIT(p_cnt->cntp_ctl, SYSCTIMER_ARMV8M_CNTP_CTL_ISTATUS_OFF); in systimer_armv8_m_is_interrupt_asserted()
325 return GET_BIT(p_cnt->cntp_aival_ctl, in systimer_armv8_m_is_autoinc_enabled()
342 return GET_BIT(p_cnt->cntp_cfg, in systimer_armv8_m_is_autoinc_implemented()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/corstone310/common/native_drivers/
Dsyscounter_armv8-m_cntrl_drv.c56 #define GET_BIT(WORD, BIT_INDEX) (bool)(((WORD) & (1U << (BIT_INDEX)))) macro
171 return GET_BIT(p_cnt->cntcr, in syscounter_armv8_m_cntrl_is_counter_enabled()
196 return GET_BIT(p_cnt->cntcr, in syscounter_armv8_m_cntrl_is_halt_on_debug_enabled()
221 return GET_BIT(p_cnt->cntcr, in syscounter_armv8_m_cntrl_is_scale_enabled()
246 return GET_BIT(p_cnt->cntcr, in syscounter_armv8_m_cntrl_is_interrupt_enabled()
271 return GET_BIT(p_cnt->cntcr, in syscounter_armv8_m_cntrl_is_pslverr_enabled()
288 return GET_BIT(p_cnt->cntsr, in syscounter_armv8_m_cntrl_is_counter_halted_on_debug()
332 return GET_BIT(p_cnt->cntid, in syscounter_armv8_m_cntrl_is_counter_scaling_implemented()
341 return GET_BIT(p_cnt->cntid, in syscounter_armv8_m_cntrl_is_clock_switching_implemented()
364 GET_BIT(p_cnt->cntid, in syscounter_armv8_m_cntrl_get_override_cntscr()
Dsystimer_armv8-m_drv.c31 #define GET_BIT(WORD, BIT_INDEX) (bool)(((WORD) & (1u << (BIT_INDEX)))) macro
181 return GET_BIT(p_cnt->cntp_ctl, SYSCTIMER_ARMV8M_CNTP_CTL_EN_OFF); in systimer_armv8_m_is_timer_enabled()
208 return !GET_BIT(p_cnt->cntp_ctl, SYSCTIMER_ARMV8M_CNTP_CTL_IMASK_OFF); in systimer_armv8_m_is_interrupt_enabled()
216 return GET_BIT(p_cnt->cntp_ctl, SYSCTIMER_ARMV8M_CNTP_CTL_ISTATUS_OFF); in systimer_armv8_m_is_interrupt_asserted()
267 return GET_BIT(p_cnt->cntp_aival_ctl, in systimer_armv8_m_is_autoinc_enabled()
284 return GET_BIT(p_cnt->cntp_cfg, in systimer_armv8_m_is_autoinc_implemented()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an552/native_drivers/
Dsyscounter_armv8-m_cntrl_drv.c55 #define GET_BIT(WORD, BIT_INDEX) (bool)(((WORD) & (1U << (BIT_INDEX)))) macro
223 return GET_BIT(p_cnt->cntcr, in syscounter_armv8_m_cntrl_is_counter_enabled()
248 return GET_BIT(p_cnt->cntcr, in syscounter_armv8_m_cntrl_is_halt_on_debug_enabled()
273 return GET_BIT(p_cnt->cntcr, in syscounter_armv8_m_cntrl_is_scale_enabled()
298 return GET_BIT(p_cnt->cntcr, in syscounter_armv8_m_cntrl_is_interrupt_enabled()
323 return GET_BIT(p_cnt->cntcr, in syscounter_armv8_m_cntrl_is_pslverr_enabled()
340 return GET_BIT(p_cnt->cntsr, in syscounter_armv8_m_cntrl_is_counter_halted_on_debug()
384 return GET_BIT(p_cnt->cntid, in syscounter_armv8_m_cntrl_is_counter_scaling_implemented()
393 return GET_BIT(p_cnt->cntid, in syscounter_armv8_m_cntrl_is_clock_switching_implemented()
416 GET_BIT(p_cnt->cntid, in syscounter_armv8_m_cntrl_get_override_cntscr()
Dsystimer_armv8-m_drv.c31 #define GET_BIT(WORD, BIT_INDEX) (bool)(((WORD) & (1u << (BIT_INDEX)))) macro
239 return GET_BIT(p_cnt->cntp_ctl, SYSCTIMER_ARMV8M_CNTP_CTL_EN_OFF); in systimer_armv8_m_is_timer_enabled()
266 return !GET_BIT(p_cnt->cntp_ctl, SYSCTIMER_ARMV8M_CNTP_CTL_IMASK_OFF); in systimer_armv8_m_is_interrupt_enabled()
274 return GET_BIT(p_cnt->cntp_ctl, SYSCTIMER_ARMV8M_CNTP_CTL_ISTATUS_OFF); in systimer_armv8_m_is_interrupt_asserted()
325 return GET_BIT(p_cnt->cntp_aival_ctl, in systimer_armv8_m_is_autoinc_enabled()
342 return GET_BIT(p_cnt->cntp_cfg, in systimer_armv8_m_is_autoinc_implemented()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an547/native_drivers/
Dsyscounter_armv8-m_cntrl_drv.c55 #define GET_BIT(WORD, BIT_INDEX) (bool)(((WORD) & (1U << (BIT_INDEX)))) macro
223 return GET_BIT(p_cnt->cntcr, in syscounter_armv8_m_cntrl_is_counter_enabled()
248 return GET_BIT(p_cnt->cntcr, in syscounter_armv8_m_cntrl_is_halt_on_debug_enabled()
273 return GET_BIT(p_cnt->cntcr, in syscounter_armv8_m_cntrl_is_scale_enabled()
298 return GET_BIT(p_cnt->cntcr, in syscounter_armv8_m_cntrl_is_interrupt_enabled()
323 return GET_BIT(p_cnt->cntcr, in syscounter_armv8_m_cntrl_is_pslverr_enabled()
340 return GET_BIT(p_cnt->cntsr, in syscounter_armv8_m_cntrl_is_counter_halted_on_debug()
384 return GET_BIT(p_cnt->cntid, in syscounter_armv8_m_cntrl_is_counter_scaling_implemented()
393 return GET_BIT(p_cnt->cntid, in syscounter_armv8_m_cntrl_is_clock_switching_implemented()
416 GET_BIT(p_cnt->cntid, in syscounter_armv8_m_cntrl_get_override_cntscr()
Dsystimer_armv8-m_drv.c31 #define GET_BIT(WORD, BIT_INDEX) (bool)(((WORD) & (1u << (BIT_INDEX)))) macro
239 return GET_BIT(p_cnt->cntp_ctl, SYSCTIMER_ARMV8M_CNTP_CTL_EN_OFF); in systimer_armv8_m_is_timer_enabled()
266 return !GET_BIT(p_cnt->cntp_ctl, SYSCTIMER_ARMV8M_CNTP_CTL_IMASK_OFF); in systimer_armv8_m_is_interrupt_enabled()
274 return GET_BIT(p_cnt->cntp_ctl, SYSCTIMER_ARMV8M_CNTP_CTL_ISTATUS_OFF); in systimer_armv8_m_is_interrupt_asserted()
325 return GET_BIT(p_cnt->cntp_aival_ctl, in systimer_armv8_m_is_autoinc_enabled()
342 return GET_BIT(p_cnt->cntp_cfg, in systimer_armv8_m_is_autoinc_implemented()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/musca_s1/Native_Driver/
Dtimer_cmsdk_drv.c24 #define GET_BIT(WORD, BIT_INDEX) (bool)(((WORD) & (1U << (BIT_INDEX)))) macro
96 return GET_BIT(register_map->ctrl, in timer_cmsdk_is_external_input_enabled()
118 return GET_BIT(register_map->ctrl, in timer_cmsdk_is_clock_external()
140 return GET_BIT(register_map->ctrl, CTRL_REG_ENUM_ENABLE_INDEX); in timer_cmsdk_is_enabled()
161 return GET_BIT(register_map->ctrl, CTRL_REG_ENUM_IRQ_ENABLE_INDEX); in timer_cmsdk_is_interrupt_enabled()
168 return GET_BIT(register_map->intreg.intstatus, in timer_cmsdk_is_interrupt_active()
Dqspi_ip6514e_drv.c30 #define GET_BIT(WORD, BIT_INDEX) (bool)(((WORD) & (1U << (BIT_INDEX)))) macro
268 return GET_BIT(reg_map->qspi_cfg, QSPI_CFG_IDLE_POS); in qspi_ip6514e_is_idle()
276 return GET_BIT(reg_map->qspi_cfg, QSPI_CFG_ENABLE_POS); in qspi_ip6514e_is_enabled()
652 while (GET_BIT(reg_map->flash_cmd_ctrl, FLASH_CMD_CTRL_BUSY_POS)); in qspi_ip6514e_send_cmd()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/musca_b1/Native_Driver/
Dtimer_cmsdk_drv.c33 #define GET_BIT(WORD, BIT_INDEX) (bool)(((WORD) & (1U << (BIT_INDEX)))) macro
105 return GET_BIT(register_map->ctrl, in timer_cmsdk_is_external_input_enabled()
127 return GET_BIT(register_map->ctrl, in timer_cmsdk_is_clock_external()
149 return GET_BIT(register_map->ctrl, CTRL_REG_ENUM_ENABLE_INDEX); in timer_cmsdk_is_enabled()
170 return GET_BIT(register_map->ctrl, CTRL_REG_ENUM_IRQ_ENABLE_INDEX); in timer_cmsdk_is_interrupt_enabled()
177 return GET_BIT(register_map->intreg.intstatus, in timer_cmsdk_is_interrupt_active()
Dqspi_ip6514e_drv.c30 #define GET_BIT(WORD, BIT_INDEX) (bool)(((WORD) & (1U << (BIT_INDEX)))) macro
268 return GET_BIT(reg_map->qspi_cfg, QSPI_CFG_IDLE_POS); in qspi_ip6514e_is_idle()
276 return GET_BIT(reg_map->qspi_cfg, QSPI_CFG_ENABLE_POS); in qspi_ip6514e_is_enabled()
652 while (GET_BIT(reg_map->flash_cmd_ctrl, FLASH_CMD_CTRL_BUSY_POS)); in qspi_ip6514e_send_cmd()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps2/an519/native_drivers/timer_cmsdk/
Dtimer_cmsdk.c33 #define GET_BIT(WORD, BIT_INDEX) (bool)(((WORD) & (1U << (BIT_INDEX)))) macro
105 return GET_BIT(register_map->ctrl, in cmsdk_timer_is_external_input_enabled()
127 return GET_BIT(register_map->ctrl, in cmsdk_timer_is_clock_external()
149 return GET_BIT(register_map->ctrl, CTRL_REG_ENUM_ENABLE_INDEX); in cmsdk_timer_is_enabled()
170 return GET_BIT(register_map->ctrl, CTRL_REG_ENUM_IRQ_ENABLE_INDEX); in cmsdk_timer_is_interrupt_enabled()
177 return GET_BIT(register_map->intreg.intstatus, in cmsdk_timer_is_interrupt_active()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an524/native_drivers/
Dtimer_cmsdk_drv.c33 #define GET_BIT(WORD, BIT_INDEX) (bool)(((WORD) & (1U << (BIT_INDEX)))) macro
107 return GET_BIT(register_map->ctrl, in timer_cmsdk_is_external_input_enabled()
129 return GET_BIT(register_map->ctrl, in timer_cmsdk_is_clock_external()
151 return GET_BIT(register_map->ctrl, CTRL_REG_ENUM_ENABLE_INDEX); in timer_cmsdk_is_enabled()
172 return GET_BIT(register_map->ctrl, CTRL_REG_ENUM_IRQ_ENABLE_INDEX); in timer_cmsdk_is_interrupt_enabled()
179 return GET_BIT(register_map->intreg.intstatus, in timer_cmsdk_is_interrupt_active()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps2/an521/native_drivers/timer_cmsdk/
Dtimer_cmsdk.c33 #define GET_BIT(WORD, BIT_INDEX) (bool)(((WORD) & (1U << (BIT_INDEX)))) macro
105 return GET_BIT(register_map->ctrl, in cmsdk_timer_is_external_input_enabled()
127 return GET_BIT(register_map->ctrl, in cmsdk_timer_is_clock_external()
149 return GET_BIT(register_map->ctrl, CTRL_REG_ENUM_ENABLE_INDEX); in cmsdk_timer_is_enabled()
170 return GET_BIT(register_map->ctrl, CTRL_REG_ENUM_IRQ_ENABLE_INDEX); in cmsdk_timer_is_interrupt_enabled()
177 return GET_BIT(register_map->intreg.intstatus, in cmsdk_timer_is_interrupt_active()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/musca_s1/Libraries/
Dmt25ql_flash_lib.c29 #define GET_BIT(WORD, BIT_INDEX) (bool)(((WORD) & (1U << (BIT_INDEX)))) macro
294 while (!GET_BIT(flag_status_reg, FLAG_STATUS_REG_READY_POS)) { in wait_program_or_erase_complete()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/musca_b1/Libraries/
Dmt25ql_flash_lib.c29 #define GET_BIT(WORD, BIT_INDEX) (bool)(((WORD) & (1U << (BIT_INDEX)))) macro
294 while (!GET_BIT(flag_status_reg, FLAG_STATUS_REG_READY_POS)) { in wait_program_or_erase_complete()