/trusted-firmware-m-3.4.0/platform/ext/target/arm/rss/common/native_drivers/ |
D | syscounter_armv8-m_cntrl_drv.c | 55 #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()
|
D | systimer_armv8-m_drv.c | 31 #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/ |
D | syscounter_armv8-m_cntrl_drv.c | 56 #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()
|
D | systimer_armv8-m_drv.c | 31 #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/ |
D | syscounter_armv8-m_cntrl_drv.c | 55 #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()
|
D | systimer_armv8-m_drv.c | 31 #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/ |
D | syscounter_armv8-m_cntrl_drv.c | 55 #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()
|
D | systimer_armv8-m_drv.c | 31 #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/ |
D | timer_cmsdk_drv.c | 24 #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()
|
D | qspi_ip6514e_drv.c | 30 #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/ |
D | timer_cmsdk_drv.c | 33 #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()
|
D | qspi_ip6514e_drv.c | 30 #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/ |
D | timer_cmsdk.c | 33 #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/ |
D | timer_cmsdk_drv.c | 33 #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/ |
D | timer_cmsdk.c | 33 #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/ |
D | mt25ql_flash_lib.c | 29 #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/ |
D | mt25ql_flash_lib.c | 29 #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()
|