| /drivers/accel/habanalabs/common/ |
| A D | irq.c | 281 pend->ts_reg_info.buf, in handle_registration_node() 282 pend, in handle_registration_node() 305 pend, pend->ts_reg_info.timestamp_kernel_addr, intr->interrupt_id); in handle_registration_node() 307 list_del(&pend->list_node); in handle_registration_node() 312 free_node->buf = pend->ts_reg_info.buf; in handle_registration_node() 324 pend->ts_reg_info.in_use = false; in handle_registration_node() 353 if ((pend->cq_kernel_addr && *(pend->cq_kernel_addr) >= pend->cq_target_value) || in handle_user_interrupt_ts_list() 354 !pend->cq_kernel_addr) { in handle_user_interrupt_ts_list() 384 if ((pend->cq_kernel_addr && *(pend->cq_kernel_addr) >= pend->cq_target_value) || in handle_user_interrupt_wait_list() 385 !pend->cq_kernel_addr) { in handle_user_interrupt_wait_list() [all …]
|
| A D | command_submission.c | 1104 pend->fence.error = -EIO; in wake_pending_user_interrupt_threads() 1111 list_del(&pend->list_node); in wake_pending_user_interrupt_threads() 3314 *pend = req_offset_record; in ts_get_and_handle_kernel_record() 3415 pend = kzalloc(sizeof(*pend), GFP_KERNEL); in _hl_interrupt_wait_ioctl() 3416 if (!pend) { in _hl_interrupt_wait_ioctl() 3458 pend->fence.error); in _hl_interrupt_wait_ioctl() 3494 kfree(pend); in _hl_interrupt_wait_ioctl() 3524 pend = kzalloc(sizeof(*pend), GFP_KERNEL); in _hl_interrupt_wait_ioctl_user_addr() 3525 if (!pend) { in _hl_interrupt_wait_ioctl_user_addr() 3589 pend->fence.error); in _hl_interrupt_wait_ioctl_user_addr() [all …]
|
| /drivers/net/can/c_can/ |
| A D | c_can_main.c | 735 pend &= ~BIT(idx); in c_can_do_tx() 782 if (pend == rx_mask) in c_can_adjust_pending() 783 return pend; in c_can_adjust_pending() 789 lasts = fls(pend); in c_can_adjust_pending() 793 return pend; in c_can_adjust_pending() 859 u32 pend; in c_can_get_pending() local 866 return pend; in c_can_get_pending() 886 if (!pend) { in c_can_do_rx_poll() 888 if (!pend) in c_can_do_rx_poll() 896 toread = pend; in c_can_do_rx_poll() [all …]
|
| /drivers/irqchip/ |
| A D | irq-sunxi-nmi.c | 54 u32 pend; member 62 .reg_offs.pend = SUN6I_NMI_PENDING, 68 .reg_offs.pend = SUN7I_NMI_PENDING, 74 .reg_offs.pend = SUN9I_NMI_PENDING, 80 .reg_offs.pend = SUN9I_NMI_PENDING, 194 gc->chip_types[0].regs.ack = data->reg_offs.pend; in sunxi_sc_nmi_irq_init() 203 gc->chip_types[1].regs.ack = data->reg_offs.pend; in sunxi_sc_nmi_irq_init() 212 sunxi_sc_nmi_write(gc, data->reg_offs.pend, SUNXI_NMI_IRQ_BIT); in sunxi_sc_nmi_irq_init()
|
| A D | spear-shirq.c | 190 u32 pend; in shirq_handler() local 192 pend = readl(shirq->base + shirq->status_reg) & shirq->mask; in shirq_handler() 193 pend >>= shirq->offset; in shirq_handler() 195 while (pend) { in shirq_handler() 196 int irq = __ffs(pend); in shirq_handler() 198 pend &= ~(0x1 << irq); in shirq_handler()
|
| A D | irq-riscv-imsic-state.h | 67 void __imsic_eix_update(unsigned long base_id, unsigned long num_id, bool pend, bool val);
|
| A D | irq-riscv-imsic-state.c | 67 static bool __imsic_eix_read_clear(unsigned long id, bool pend) in __imsic_eix_read_clear() argument 73 isel += pend ? IMSIC_EIP0 : IMSIC_EIE0; in __imsic_eix_read_clear() 89 void __imsic_eix_update(unsigned long base_id, unsigned long num_id, bool pend, bool val) in __imsic_eix_update() argument 97 isel += pend ? IMSIC_EIP0 : IMSIC_EIE0; in __imsic_eix_update()
|
| /drivers/clocksource/ |
| A D | timer-ti-dm-systimer.c | 42 u8 pend; member 398 t->pend = _OMAP_TIMER_WRITE_PEND_OFFSET; in dmtimer_systimer_setup() 404 t->pend = regbase + _OMAP_TIMER_WRITE_PEND_OFFSET; in dmtimer_systimer_setup() 450 void __iomem *pend = t->base + t->pend; in dmtimer_set_next_event() local 452 while (readl_relaxed(pend) & WP_TCRR) in dmtimer_set_next_event() 456 while (readl_relaxed(pend) & WP_TCLR) in dmtimer_set_next_event() 488 void __iomem *pend = t->base + t->pend; in dmtimer_set_periodic() local 493 while (readl_relaxed(pend) & WP_TLDR) in dmtimer_set_periodic() 497 while (readl_relaxed(pend) & WP_TCRR) in dmtimer_set_periodic() 501 while (readl_relaxed(pend) & WP_TCLR) in dmtimer_set_periodic()
|
| A D | timer-ti-dm.c | 128 void __iomem *pend; /* write pending */ member 175 while (readl_relaxed(timer->pend) & wp) in dmtimer_read() 200 while (readl_relaxed(timer->pend) & wp) in dmtimer_write() 217 timer->pend = timer->io_base + _OMAP_TIMER_WRITE_PEND_OFFSET; in __omap_dm_timer_init_regs() 224 timer->pend = timer->io_base + in __omap_dm_timer_init_regs()
|
| /drivers/i2c/busses/ |
| A D | i2c-xiic.c | 654 u32 pend, isr, ier; in xiic_error_check() local 658 pend = isr & ier; in xiic_error_check() 660 if ((pend & XIIC_INTR_ARB_LOST_MASK) || in xiic_error_check() 661 ((pend & XIIC_INTR_TX_ERROR_MASK) && in xiic_error_check() 731 u32 pend, isr, ier; in xiic_process() local 746 pend = isr & ier; in xiic_process() 749 __func__, ier, isr, pend); in xiic_process() 758 if ((pend & XIIC_INTR_ARB_LOST_MASK) || in xiic_process() 788 if (pend & XIIC_INTR_RX_FULL_MASK) { in xiic_process() 827 clr |= (pend & in xiic_process() [all …]
|
| /drivers/pinctrl/samsung/ |
| A D | pinctrl-s3c64xx.c | 610 unsigned int pend, mask; in s3c64xx_irq_demux_eint() local 614 pend = readl(drvdata->virt_base + EINT0PEND_REG); in s3c64xx_irq_demux_eint() 617 pend = pend & range & ~mask; in s3c64xx_irq_demux_eint() 618 pend &= range; in s3c64xx_irq_demux_eint() 620 while (pend) { in s3c64xx_irq_demux_eint() 624 irq = fls(pend) - 1; in s3c64xx_irq_demux_eint() 625 pend &= ~(1 << irq); in s3c64xx_irq_demux_eint()
|
| A D | pinctrl-exynos.c | 709 static inline void exynos_irq_demux_eint(unsigned int pend, in exynos_irq_demux_eint() argument 714 while (pend) { in exynos_irq_demux_eint() 715 irq = fls(pend) - 1; in exynos_irq_demux_eint() 717 pend &= ~(1 << irq); in exynos_irq_demux_eint() 726 unsigned int pend; in exynos_irq_demux_eint16_31() local 748 pend = readl(b->eint_base + b->irq_chip->eint_pend in exynos_irq_demux_eint16_31() 752 exynos_irq_demux_eint(pend & ~mask, b->irq_domain); in exynos_irq_demux_eint16_31()
|
| /drivers/net/fddi/skfp/ |
| A D | smt.c | 180 smc->sm.pend[i] = 0 ; in smt_agent_init() 378 if (!smc->sm.pend[SMT_TID_NIF]) in smt_event() 379 smc->sm.pend[SMT_TID_NIF] = smt_get_tid(smc) ; in smt_event() 381 smc->sm.pend[SMT_TID_NIF], SMT_REQUEST,0) ; in smt_event() 623 smc->sm.pend[SMT_TID_NIF] = 0 ; in smt_received_pack() 633 if (sm->smt_tid == smc->sm.pend[SMT_TID_NIF]) { in smt_received_pack() 634 smc->sm.pend[SMT_TID_NIF] = 0 ; in smt_received_pack() 665 smc->sm.pend[SMT_TID_NIF_TEST]) { in smt_received_pack() 702 if (sm->smt_tid == smc->sm.pend[SMT_TID_ECF]) { in smt_received_pack() 713 smc->sm.pend[SMT_TID_ECF], in smt_received_pack() [all …]
|
| /drivers/video/fbdev/ |
| A D | tcx.c | 123 u32 __iomem *p, *pend; in __tcx_set_control_plane() local 131 for (pend = p + info->fix.smem_len; p < pend; p++) { in __tcx_set_control_plane()
|
| /drivers/mtd/ |
| A D | inftlcore.c | 813 char *p, *pend; in inftl_writeblock() local 819 pend = buffer + SECTORSIZE; in inftl_writeblock() 820 for (p = buffer; p < pend && !*p; p++) in inftl_writeblock() 823 if (p < pend) { in inftl_writeblock()
|
| /drivers/media/platform/amphion/ |
| A D | vdec.c | 47 struct vpu_vb2_buffer *pend; member 314 vdec->slots[i].pend = vpu_buf; in vdec_attach_frame_store() 1164 vdec->slots[vpu_buf->fs_id].pend = vpu_buf; in vdec_response_frame() 1283 if (vdec->slots[id].pend) { in vdec_release_curr_frame_store() 1284 vpu_set_buffer_state(&vdec->slots[id].pend->m2m_buf.vb, VPU_BUF_STATE_IDLE); in vdec_release_curr_frame_store() 1285 vdec->slots[id].pend = NULL; in vdec_release_curr_frame_store() 1789 if (vdec->slots[i].pend) in vdec_get_slot_debug_info() 1791 vdec->slots[i].pend->m2m_buf.vb.vb2_buf.index); in vdec_get_slot_debug_info()
|
| /drivers/tty/serial/ |
| A D | samsung_tty.c | 947 u32 pend = rd_regl(port, S3C64XX_UINTP); in s3c64xx_serial_handle_irq() local 950 if (pend & S3C64XX_UINTM_RXD_MSK) { in s3c64xx_serial_handle_irq() 954 if (pend & S3C64XX_UINTM_TXD_MSK) { in s3c64xx_serial_handle_irq() 966 u32 pend = rd_regl(port, S3C2410_UTRSTAT); in apple_serial_handle_irq() local 969 if (pend & (APPLE_S5L_UTRSTAT_RXTHRESH | APPLE_S5L_UTRSTAT_RXTO | in apple_serial_handle_irq() 976 if (pend & APPLE_S5L_UTRSTAT_TXTHRESH) { in apple_serial_handle_irq()
|
| /drivers/nvdimm/ |
| A D | bus.c | 960 resource_size_t offset = 0, end_trunc = 0, start, end, pstart, pend; in nd_pmem_forget_poison_check() local 983 pend = nsio->res.end - end_trunc; in nd_pmem_forget_poison_check() 985 if ((pstart >= start) && (pend <= end)) in nd_pmem_forget_poison_check()
|
| /drivers/net/fddi/skfp/h/ |
| A D | smc.h | 337 u_long pend[SMT_MAX_TEST] ; /* TID of requests */ member
|
| /drivers/staging/rtl8723bs/include/ |
| A D | rtw_recv.h | 258 u8 *pend; member
|
| A D | rtw_xmit.h | 253 u8 *pend; member
|
| /drivers/infiniband/hw/mlx4/ |
| A D | mcg.c | 1177 int pend = 0; in clear_pending_reqs() local 1188 pend = !clear; in clear_pending_reqs() 1200 if (!pend && (!list_empty(&group->func[vf].pending) || group->func[vf].num_pend_reqs)) { in clear_pending_reqs()
|
| /drivers/soc/fsl/dpio/ |
| A D | qbman-portal.h | 156 u32 pend; member
|
| /drivers/staging/rtl8723bs/core/ |
| A D | rtw_xmit.c | 138 pxmitbuf->pend = pxmitbuf->pbuf + MAX_XMITBUF_SZ; in _rtw_init_xmit_priv() 218 pxmitbuf->pend = pxmitbuf->pbuf + MAX_XMIT_EXTBUF_SZ; in _rtw_init_xmit_priv() 248 pxmitbuf->pend = pxmitbuf->pbuf + MAX_CMDBUF_SZ; in _rtw_init_xmit_priv()
|
| /drivers/staging/rtl8723bs/hal/ |
| A D | sdio_ops.c | 835 recvbuf->pend = skb_end_pointer(recvbuf->pskb); in sd_recv_rxfifo()
|