Home
last modified time | relevance | path

Searched refs:irq_status (Results 1 – 25 of 60) sorted by relevance

123

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/include/
Dhi_atomic.h104 hi_u32 irq_status; in hi_atomic_add_return() local
106 irq_status = LOS_IntLock(); in hi_atomic_add_return()
108 (hi_void)LOS_IntRestore(irq_status); in hi_atomic_add_return()
135 hi_u32 irq_status; in hi_atomic_sub_return() local
137 irq_status = LOS_IntLock(); in hi_atomic_sub_return()
139 (hi_void)LOS_IntRestore(irq_status); in hi_atomic_sub_return()
165 hi_u32 irq_status; in hi_atomic_bit_set() local
166 irq_status = LOS_IntLock(); in hi_atomic_bit_set()
170 (hi_void)LOS_IntRestore(irq_status); in hi_atomic_bit_set()
194 hi_u32 irq_status; in hi_atomic_bit_clear() local
[all …]
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
Dhi_atomic.h92 hi_u32 irq_status; in hi_atomic_add_return() local
94 irq_status = LOS_IntLock(); in hi_atomic_add_return()
96 (hi_void)LOS_IntRestore(irq_status); in hi_atomic_add_return()
119 hi_u32 irq_status; in hi_atomic_sub_return() local
121 irq_status = LOS_IntLock(); in hi_atomic_sub_return()
123 (hi_void)LOS_IntRestore(irq_status); in hi_atomic_sub_return()
145 hi_u32 irq_status; in hi_atomic_bit_set() local
146 irq_status = LOS_IntLock(); in hi_atomic_bit_set()
150 (hi_void)LOS_IntRestore(irq_status); in hi_atomic_bit_set()
170 hi_u32 irq_status; in hi_atomic_bit_clear() local
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/v4l2_dev/src/platform/
Dsystem_interrupts.c38 uint32_t irq_status; member
64 } irq_status; typedef
70 static irq_status interrupt_request_status = ISP_IRQ_STATUS_DEINIT;
77 uint32_t irq_status; in isp_do_tasklet() local
91 irq_status = queue_cmd->irq_status; in isp_do_tasklet()
95 LOG( LOG_INFO, "debug value on tasklet: 0x%x\n", irq_status ); in isp_do_tasklet()
103 uint32_t irq_status; in system_interrupt_handler() local
105 irq_status = temp_irq++; in system_interrupt_handler()
106 LOG( LOG_INFO, "debug value: 0x%x\n", irq_status ); in system_interrupt_handler()
116 queue_cmd->irq_status = irq_status; in system_interrupt_handler()
/device/soc/esp/esp32/components/esp_hw_support/include/soc/
Dspinlock.h69 uint32_t irq_status; in spinlock_acquire() local
74 irq_status = XTOS_SET_INTLEVEL(XCHAL_EXCM_LEVEL); in spinlock_acquire()
113 XTOS_RESTORE_INTLEVEL(irq_status); in spinlock_acquire()
125 XTOS_RESTORE_INTLEVEL(irq_status); in spinlock_acquire()
140 uint32_t irq_status; in spinlock_release() local
144 irq_status = XTOS_SET_INTLEVEL(XCHAL_EXCM_LEVEL); in spinlock_release()
156 XTOS_RESTORE_INTLEVEL(irq_status); in spinlock_release()
/device/board/isoftstone/yangfan/kernel/src/driv/soc/
Drockchip_decompress.c108 u32 irq_status; in rk_decom_start() local
130 irq_status = readl(g_decom->regs + DECOM_ISR); in rk_decom_start()
132 if (irq_status) in rk_decom_start()
133 writel(irq_status, g_decom->regs + DECOM_ISR); in rk_decom_start()
173 u32 irq_status; in rk_decom_irq_handler() local
176 irq_status = readl(rk_dec->regs + DECOM_ISR); in rk_decom_irq_handler()
178 writel(irq_status, rk_dec->regs + DECOM_ISR); in rk_decom_irq_handler()
179 if (irq_status & DECOM_STOP) { in rk_decom_irq_handler()
188 irq_status, decom_status); in rk_decom_irq_handler()
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/
Dhal_gpadc.c439 #define GPADC_IRQ_HDLR_PARAM uint16_t irq_status
452 irq_status &= hal_gpadc_get_cur_masked_irq(); in hal_gpadc_irq_handler()
454 unsigned short irq_status; in hal_gpadc_irq_handler() local
456 gpadc_reg_read(GPADC_REG_INT_MSKED_STS, &irq_status); in hal_gpadc_irq_handler()
457 irq_status &= hal_gpadc_get_cur_masked_irq(); in hal_gpadc_irq_handler()
458 gpadc_reg_write(GPADC_REG_INT_CLR, irq_status); in hal_gpadc_irq_handler()
461 if (irq_status & CHAN_DATA_INTR_MSKED((1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1<<6))) { in hal_gpadc_irq_handler()
463 if (irq_status & CHAN_DATA_INTR_MSKED(1<<ch)) { in hal_gpadc_irq_handler()
528 …if (irq_status & (CHAN_DATA_INTR_MSKED(1<<7)|KEY_RELEASE_INTR_MSKED|KEY_PRESS_INTR_MSKED|KEY_ERR0_… in hal_gpadc_irq_handler()
533 if (irq_status & KEY_RELEASE_INTR_MSKED) { in hal_gpadc_irq_handler()
[all …]
Dhal_key.c246 static void hal_adckey_irqhandler(enum HAL_ADCKEY_IRQ_STATUS_T irq_status, HAL_GPADC_MV_T val) in hal_adckey_irqhandler() argument
256 if (irq_status & (HAL_ADCKEY_ERR0 | HAL_ADCKEY_ERR1)) { in hal_adckey_irqhandler()
257 HAL_KEY_TRACE(1,"irq,adckey err 0x%04X", irq_status); in hal_adckey_irqhandler()
262 if (irq_status & HAL_ADCKEY_PRESSED) { in hal_adckey_irqhandler()
270 if (irq_status & HAL_ADCKEY_RELEASED) { in hal_adckey_irqhandler()
275 if(irq_status & HAL_ADCKEY_ADC_VALID) { in hal_adckey_irqhandler()
427 #define PWRKEY_IRQ_HDLR_PARAM uint16_t irq_status
436 state = pmu_pwrkey_irq_value_to_state(irq_status); in hal_pwrkey_irqhandler()
/device/board/isoftstone/yangfan/kernel/src/driv/video/rockchip/mpp/
Dmpp_rkvdec2_link.c117 dev->irq_status = readl(reg_base + RKVDEC_LINK_IRQ_BASE); in rkvdec_link_status_update()
186 mpp_err("reg 0 %08x - irq status\n", dev->irq_status); in rkvdec_link_reg_dump()
516 u32 irq_status = 0; in rkvdec_link_isr_recv_task() local
542 irq_status = mpp_read_relaxed(mpp, RKVDEC_REG_INT_EN); in rkvdec_link_isr_recv_task()
544 irq_status, link_dec->stuff_err, in rkvdec_link_isr_recv_task()
569 irq_status = regs[info->tb_reg_int]; in rkvdec_link_isr_recv_task()
573 task->irq_status = irq_status; in rkvdec_link_isr_recv_task()
684 u32 irq_status = 0; in rkvdec2_link_irq() local
691 irq_status = readl(link_dec->reg_base + RKVDEC_LINK_IRQ_BASE); in rkvdec2_link_irq()
693 if (irq_status & RKVDEC_LINK_BIT_IRQ_RAW) { in rkvdec2_link_irq()
[all …]
Dmpp_jpgdec.c84 u32 irq_status; member
298 task->reg[JPGDEC_REG_INT_EN_INDEX] = task->irq_status; in jpgdec_finish()
308 if (!(task->irq_status & JPGDEC_SOFT_RSET_READY) && in jpgdec_finish()
466 mpp->irq_status = mpp_read(mpp, JPGDEC_REG_INT_EN_BASE); in jpgdec_irq()
467 if (!(mpp->irq_status & JPGDEC_IRQ_RAW)) in jpgdec_irq()
488 task->irq_status = mpp->irq_status; in jpgdec_isr()
490 task->irq_status); in jpgdec_isr()
495 if (error_mask & task->irq_status) in jpgdec_isr()
Dmpp_vdpu2.c92 u32 irq_status; member
388 task->reg[VDPU2_REG_DEC_INT_INDEX] = task->irq_status; in vdpu_finish()
547 mpp->irq_status = mpp_read(mpp, VDPU2_REG_DEC_INT); in vdpu_irq()
548 if (!(mpp->irq_status & VDPU2_DEC_INT_RAW)) in vdpu_irq()
572 task->irq_status = mpp->irq_status; in vdpu_isr()
574 task->irq_status); in vdpu_isr()
582 if (err_mask & task->irq_status) in vdpu_isr()
Dmpp_vdpu1.c108 u32 irq_status; member
436 task->reg[VDPU1_REG_DEC_INT_EN_INDEX] = task->irq_status; in vdpu_finish()
621 mpp->irq_status = mpp_read(mpp, VDPU1_REG_DEC_INT_EN); in vdpu_irq()
622 if (!(mpp->irq_status & VDPU1_DEC_INT_RAW)) in vdpu_irq()
646 task->irq_status = mpp->irq_status; in vdpu_isr()
648 task->irq_status); in vdpu_isr()
656 if (err_mask & task->irq_status) in vdpu_isr()
Dmpp_vepu1.c78 u32 irq_status; member
299 mpp->irq_status = mpp_read(mpp, VEPU1_REG_INT); in vepu_irq()
300 if (!(mpp->irq_status & VEPU1_INT_RAW)) in vepu_irq()
322 task->irq_status = mpp->irq_status; in vepu_isr()
324 task->irq_status); in vepu_isr()
330 if (err_mask & task->irq_status) in vepu_isr()
357 task->reg[VEPU1_REG_INT_INDEX] = task->irq_status; in vepu_finish()
Dmpp_vepu2.c89 u32 irq_status; member
362 mpp->irq_status = mpp_read(mpp, VEPU2_REG_INT); in vepu_irq()
363 if (!(mpp->irq_status & VEPU2_INT_RAW)) in vepu_irq()
387 task->irq_status = mpp->irq_status; in vepu_isr()
389 task->irq_status); in vepu_isr()
395 if (err_mask & task->irq_status) in vepu_isr()
429 task->reg[VEPU2_REG_INT_INDEX] = task->irq_status; in vepu_finish()
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/
Dmpp_rkvdec2_link.c125 dev->irq_status = readl(reg_base + RKVDEC_LINK_IRQ_BASE); in rkvdec_link_status_update()
189 mpp_err("reg 0 %08x - irq status\n", dev->irq_status); in rkvdec_link_reg_dump()
516 u32 irq_status = 0; in rkvdec_link_isr_recv_task() local
537 irq_status = mpp_read_relaxed(mpp, RKVDEC_REG_INT_EN); in rkvdec_link_isr_recv_task()
538 …dev_info(link_dec->dev, "found stuff task error irq %08x %u/%u\n", irq_status, link_dec->stuff_err, in rkvdec_link_isr_recv_task()
562 irq_status = regs[info->tb_reg_int]; in rkvdec_link_isr_recv_task()
565 task->irq_status = irq_status; in rkvdec_link_isr_recv_task()
672 u32 irq_status = 0; in rkvdec2_link_irq() local
677 irq_status = readl(link_dec->reg_base + RKVDEC_LINK_IRQ_BASE); in rkvdec2_link_irq()
678 if (irq_status & RKVDEC_LINK_BIT_IRQ_RAW) { in rkvdec2_link_irq()
[all …]
Dmpp_jpgdec.c82 u32 irq_status; member
292 task->reg[JPGDEC_REG_INT_EN_INDEX] = task->irq_status; in jpgdec_finish()
302 if (!(task->irq_status & JPGDEC_SOFT_RSET_READY) && !atomic_read(&mpp->reset_request)) { in jpgdec_finish()
455 mpp->irq_status = mpp_read(mpp, JPGDEC_REG_INT_EN_BASE); in jpgdec_irq()
456 if (!(mpp->irq_status & JPGDEC_IRQ_RAW)) { in jpgdec_irq()
477 task->irq_status = mpp->irq_status; in jpgdec_isr()
478 mpp_debug(DEBUG_IRQ_STATUS, "irq_status: %08x\n", task->irq_status); in jpgdec_isr()
480 if (error_mask & task->irq_status) { in jpgdec_isr()
Dmpp_vdpu2.c91 u32 irq_status; member
377 task->reg[VDPU2_REG_DEC_INT_INDEX] = task->irq_status; in vdpu_finish()
537 mpp->irq_status = mpp_read(mpp, VDPU2_REG_DEC_INT); in vdpu_irq()
538 if (!(mpp->irq_status & VDPU2_DEC_INT_RAW)) { in vdpu_irq()
562 task->irq_status = mpp->irq_status; in vdpu_isr()
563 mpp_debug(DEBUG_IRQ_STATUS, "irq_status: %08x\n", task->irq_status); in vdpu_isr()
566 if (err_mask & task->irq_status) { in vdpu_isr()
Dmpp_vdpu1.c106 u32 irq_status; member
425 task->reg[VDPU1_REG_DEC_INT_EN_INDEX] = task->irq_status; in vdpu_finish()
605 mpp->irq_status = mpp_read(mpp, VDPU1_REG_DEC_INT_EN); in vdpu_irq()
606 if (!(mpp->irq_status & VDPU1_DEC_INT_RAW)) { in vdpu_irq()
630 task->irq_status = mpp->irq_status; in vdpu_isr()
631 mpp_debug(DEBUG_IRQ_STATUS, "irq_status: %08x\n", task->irq_status); in vdpu_isr()
634 if (err_mask & task->irq_status) { in vdpu_isr()
Dmpp_vepu1.c76 u32 irq_status; member
285 mpp->irq_status = mpp_read(mpp, VEPU1_REG_INT); in vepu_irq()
286 if (!(mpp->irq_status & VEPU1_INT_RAW)) { in vepu_irq()
308 task->irq_status = mpp->irq_status; in vepu_isr()
309 mpp_debug(DEBUG_IRQ_STATUS, "irq_status: %08x\n", task->irq_status); in vepu_isr()
311 if (err_mask & task->irq_status) { in vepu_isr()
336 task->reg[VEPU1_REG_INT_INDEX] = task->irq_status; in vepu_finish()
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/
Dmpp_rkvdec2_link.c119 dev->irq_status = readl(reg_base + RKVDEC_LINK_IRQ_BASE); in rkvdec_link_status_update()
188 mpp_err("reg 0 %08x - irq status\n", dev->irq_status); in rkvdec_link_reg_dump()
520 u32 irq_status = 0; in rkvdec_link_isr_recv_task() local
546 irq_status = mpp_read_relaxed(mpp, RKVDEC_REG_INT_EN); in rkvdec_link_isr_recv_task()
548 irq_status, link_dec->stuff_err, in rkvdec_link_isr_recv_task()
573 irq_status = regs[info->tb_reg_int]; in rkvdec_link_isr_recv_task()
577 task->irq_status = irq_status; in rkvdec_link_isr_recv_task()
688 u32 irq_status = 0; in rkvdec2_link_irq() local
695 irq_status = readl(link_dec->reg_base + RKVDEC_LINK_IRQ_BASE); in rkvdec2_link_irq()
697 if (irq_status & RKVDEC_LINK_BIT_IRQ_RAW) { in rkvdec2_link_irq()
[all …]
Dmpp_jpgdec.c84 u32 irq_status; member
298 task->reg[JPGDEC_REG_INT_EN_INDEX] = task->irq_status; in jpgdec_finish()
308 if (!(task->irq_status & JPGDEC_SOFT_RSET_READY) && in jpgdec_finish()
466 mpp->irq_status = mpp_read(mpp, JPGDEC_REG_INT_EN_BASE); in jpgdec_irq()
467 if (!(mpp->irq_status & JPGDEC_IRQ_RAW)) in jpgdec_irq()
488 task->irq_status = mpp->irq_status; in jpgdec_isr()
490 task->irq_status); in jpgdec_isr()
495 if (error_mask & task->irq_status) in jpgdec_isr()
Dmpp_vdpu2.c93 u32 irq_status; member
389 task->reg[VDPU2_REG_DEC_INT_INDEX] = task->irq_status; in vdpu_finish()
554 mpp->irq_status = mpp_read(mpp, VDPU2_REG_DEC_INT); in vdpu_irq()
555 if (!(mpp->irq_status & VDPU2_DEC_INT_RAW)) in vdpu_irq()
579 task->irq_status = mpp->irq_status; in vdpu_isr()
581 task->irq_status); in vdpu_isr()
589 if (err_mask & task->irq_status) in vdpu_isr()
Dmpp_vdpu1.c108 u32 irq_status; member
436 task->reg[VDPU1_REG_DEC_INT_EN_INDEX] = task->irq_status; in vdpu_finish()
621 mpp->irq_status = mpp_read(mpp, VDPU1_REG_DEC_INT_EN); in vdpu_irq()
622 if (!(mpp->irq_status & VDPU1_DEC_INT_RAW)) in vdpu_irq()
646 task->irq_status = mpp->irq_status; in vdpu_isr()
648 task->irq_status); in vdpu_isr()
656 if (err_mask & task->irq_status) in vdpu_isr()
Dmpp_vepu1.c78 u32 irq_status; member
299 mpp->irq_status = mpp_read(mpp, VEPU1_REG_INT); in vepu_irq()
300 if (!(mpp->irq_status & VEPU1_INT_RAW)) in vepu_irq()
322 task->irq_status = mpp->irq_status; in vepu_isr()
324 task->irq_status); in vepu_isr()
330 if (err_mask & task->irq_status) in vepu_isr()
357 task->reg[VEPU1_REG_INT_INDEX] = task->irq_status; in vepu_finish()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/icu/
Dinterrupt_base.c308 uint32_t irq_status; in rf_ps_wakeup_isr_idle_int_cb() local
310 irq_status = icu_get_irq_int_status(); in rf_ps_wakeup_isr_idle_int_cb()
312 if (irq_status & 1 << IRQ_I2S_PCM) { in rf_ps_wakeup_isr_idle_int_cb()
313 irq_status &= 1 << IRQ_I2S_PCM; in rf_ps_wakeup_isr_idle_int_cb()
315 icu_clear_irq_int_status(irq_status); in rf_ps_wakeup_isr_idle_int_cb()
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/best2003/
Dhal_psc_best2003.c334 volatile uint32_t * const irq_status[] = { in hal_psc_mcu_gpio_irq_get_status() local
339 if (cnt > ARRAY_SIZE(irq_status)) { in hal_psc_mcu_gpio_irq_get_status()
340 cnt = ARRAY_SIZE(irq_status); in hal_psc_mcu_gpio_irq_get_status()
344 status[i] = *irq_status[i]; in hal_psc_mcu_gpio_irq_get_status()

123