Searched refs:sr (Results 1 – 12 of 12) sorted by relevance
/lk-master/arch/or1k/include/arch/ |
A D | arch_ops.h | 15 uint32_t sr = mfspr(OR1K_SPR_SYS_SR_ADDR); in arch_enable_ints() local 17 sr |= OR1K_SPR_SYS_SR_IEE_MASK | OR1K_SPR_SYS_SR_TEE_MASK; in arch_enable_ints() 18 mtspr(OR1K_SPR_SYS_SR_ADDR, sr); in arch_enable_ints() 22 uint32_t sr = mfspr(OR1K_SPR_SYS_SR_ADDR); in arch_disable_ints() local 24 sr &= ~(OR1K_SPR_SYS_SR_IEE_MASK | OR1K_SPR_SYS_SR_TEE_MASK); in arch_disable_ints() 25 mtspr(OR1K_SPR_SYS_SR_ADDR, sr); in arch_disable_ints() 29 uint32_t sr = mfspr(OR1K_SPR_SYS_SR_ADDR); in arch_ints_disabled() local 31 return !(sr & (OR1K_SPR_SYS_SR_IEE_MASK | OR1K_SPR_SYS_SR_TEE_MASK)); in arch_ints_disabled()
|
A D | or1k.h | 81 uint32_t sr; member
|
/lk-master/arch/or1k/ |
A D | cache-ops.c | 53 uint32_t sr = mfspr(OR1K_SPR_SYS_SR_ADDR); in arch_disable_cache() local 56 sr &= ~OR1K_SPR_SYS_SR_ICE_MASK; in arch_disable_cache() 58 sr &= ~OR1K_SPR_SYS_SR_DCE_MASK; in arch_disable_cache() 60 mtspr(OR1K_SPR_SYS_SR_ADDR, sr); in arch_disable_cache() 64 uint32_t sr = mfspr(OR1K_SPR_SYS_SR_ADDR); in arch_enable_cache() local 67 sr |= OR1K_SPR_SYS_SR_ICE_MASK; in arch_enable_cache() 69 sr |= OR1K_SPR_SYS_SR_DCE_MASK; in arch_enable_cache() 71 mtspr(OR1K_SPR_SYS_SR_ADDR, sr); in arch_enable_cache()
|
A D | faults.c | 33 frame->pc, frame->sr); in dump_fault_frame()
|
/lk-master/platform/stm32f0xx/ |
A D | timer_capture.c | 230 if (sr & TIM_SR_UIF && val < stm32_timer_median_val(tc)) { in stm32_timer_calc_value() 240 if (sr & (TIM_SR_CC1IF << chan)) { in stm32_timer_capture_chan_irq() 242 return tc->chan[chan].cb(stm32_timer_calc_value(tc, sr, val)); in stm32_timer_capture_chan_irq() 256 uint32_t sr = tc->config->regs->SR; in stm32_timer_capture_irq() local 261 resched |= stm32_timer_capture_chan_irq(tc, sr, 0); in stm32_timer_capture_irq() 262 resched |= stm32_timer_capture_chan_irq(tc, sr, 1); in stm32_timer_capture_irq() 263 resched |= stm32_timer_capture_chan_irq(tc, sr, 2); in stm32_timer_capture_irq() 264 resched |= stm32_timer_capture_chan_irq(tc, sr, 3); in stm32_timer_capture_irq() 271 if (sr & TIM_SR_UIF) { in stm32_timer_capture_irq() 362 uint32_t sr = tc->config->regs->SR; in stm32_timer_capture_get_counter() local [all …]
|
A D | dma.c | 43 uint32_t sr = DMA1->ISR; in dma_irq() local 47 uint32_t ch_sr = (sr >> (i * 4)) & 0xf; in dma_irq() 55 DMA1->IFCR = sr; in dma_irq()
|
/lk-master/arch/m68k/include/arch/ |
A D | arch_ops.h | 26 uint16_t sr; in arch_ints_disabled() local 27 asm volatile("move %%sr, %0" : "=r"(sr) :: "memory"); in arch_ints_disabled() 30 return (sr & M68K_SR_IPM_MASK); in arch_ints_disabled()
|
/lk-master/external/platform/pico/rp2_common/hardware_spi/include/hardware/ |
A D | spi.h | 184 return (spi_get_hw(spi)->sr & SPI_SSPSR_TNF_BITS) >> SPI_SSPSR_TNF_LSB; in spi_is_writable() 197 return (spi_get_hw(spi)->sr & SPI_SSPSR_RNE_BITS) >> SPI_SSPSR_RNE_LSB; in spi_is_readable()
|
/lk-master/external/platform/pico/rp2040/hardware_structs/include/hardware/structs/ |
A D | spi.h | 17 io_rw_32 sr; member
|
A D | ssi.h | 25 io_rw_32 sr; member
|
/lk-master/external/platform/pico/rp2_common/hardware_spi/ |
A D | spi.c | 104 while (spi_get_hw(spi)->sr & SPI_SSPSR_BSY_BITS) in __not_in_flash_func() 170 while (spi_get_hw(spi)->sr & SPI_SSPSR_BSY_BITS) in __not_in_flash_func()
|
/lk-master/external/platform/pico/rp2_common/hardware_flash/ |
A D | flash.c | 146 uint32_t flags = ssi_hw->sr; in __no_inline_not_in_flash_func()
|
Completed in 29 milliseconds