/drivers/net/can/c_can/ |
D | c_can_main.c | 727 u32 idx, obj, pkts = 0, bytes = 0, pend; in c_can_do_tx() local 731 pend = priv->read_reg32(priv, C_CAN_INTPND3_REG); in c_can_do_tx() 733 pend = priv->read_reg(priv, C_CAN_INTPND2_REG); in c_can_do_tx() 735 while ((idx = ffs(pend))) { in c_can_do_tx() 737 pend &= ~BIT(idx); in c_can_do_tx() 782 static u32 c_can_adjust_pending(u32 pend, u32 rx_mask) in c_can_adjust_pending() argument 786 if (pend == rx_mask) in c_can_adjust_pending() 787 return pend; in c_can_adjust_pending() 792 weight = hweight32(pend); in c_can_adjust_pending() 793 lasts = fls(pend); in c_can_adjust_pending() [all …]
|
/drivers/irqchip/ |
D | irq-sunxi-nmi.c | 54 u32 pend; member 60 .pend = SUN6I_NMI_PENDING, 66 .pend = SUN7I_NMI_PENDING, 72 .pend = SUN9I_NMI_PENDING, 191 gc->chip_types[0].regs.ack = reg_offs->pend; in sunxi_sc_nmi_irq_init() 201 gc->chip_types[1].regs.ack = reg_offs->pend; in sunxi_sc_nmi_irq_init() 210 sunxi_sc_nmi_write(gc, reg_offs->pend, SUNXI_NMI_IRQ_BIT); in sunxi_sc_nmi_irq_init()
|
D | spear-shirq.c | 188 u32 pend; in shirq_handler() local 190 pend = readl(shirq->base + shirq->status_reg) & shirq->mask; in shirq_handler() 191 pend >>= shirq->offset; in shirq_handler() 193 while (pend) { in shirq_handler() 194 int irq = __ffs(pend); in shirq_handler() 196 pend &= ~(0x1 << irq); in shirq_handler()
|
/drivers/clocksource/ |
D | timer-ti-dm-systimer.c | 42 u8 pend; member 400 t->pend = _OMAP_TIMER_WRITE_PEND_OFFSET; in dmtimer_systimer_setup() 406 t->pend = regbase + _OMAP_TIMER_WRITE_PEND_OFFSET; in dmtimer_systimer_setup() 452 void __iomem *pend = t->base + t->pend; in dmtimer_set_next_event() local 454 while (readl_relaxed(pend) & WP_TCRR) in dmtimer_set_next_event() 458 while (readl_relaxed(pend) & WP_TCLR) in dmtimer_set_next_event() 490 void __iomem *pend = t->base + t->pend; in dmtimer_set_periodic() local 495 while (readl_relaxed(pend) & WP_TLDR) in dmtimer_set_periodic() 499 while (readl_relaxed(pend) & WP_TCRR) in dmtimer_set_periodic() 503 while (readl_relaxed(pend) & WP_TCLR) in dmtimer_set_periodic()
|
/drivers/i2c/busses/ |
D | i2c-xiic.c | 376 u32 pend, isr, ier; in xiic_process() local 390 pend = isr & ier; in xiic_process() 393 __func__, ier, isr, pend); in xiic_process() 400 if ((pend & XIIC_INTR_ARB_LOST_MASK) || in xiic_process() 401 ((pend & XIIC_INTR_TX_ERROR_MASK) && in xiic_process() 402 !(pend & XIIC_INTR_RX_FULL_MASK))) { in xiic_process() 428 if (pend & XIIC_INTR_RX_FULL_MASK) { in xiic_process() 464 if (pend & XIIC_INTR_BNB_MASK) { in xiic_process() 482 if (pend & (XIIC_INTR_TX_EMPTY_MASK | XIIC_INTR_TX_HALF_MASK)) { in xiic_process() 485 clr |= (pend & in xiic_process() [all …]
|
/drivers/pinctrl/samsung/ |
D | pinctrl-s3c64xx.c | 597 unsigned int pend, mask; in s3c64xx_irq_demux_eint() local 601 pend = readl(drvdata->virt_base + EINT0PEND_REG); in s3c64xx_irq_demux_eint() 604 pend = pend & range & ~mask; in s3c64xx_irq_demux_eint() 605 pend &= range; in s3c64xx_irq_demux_eint() 607 while (pend) { in s3c64xx_irq_demux_eint() 611 irq = fls(pend) - 1; in s3c64xx_irq_demux_eint() 612 pend &= ~(1 << irq); in s3c64xx_irq_demux_eint()
|
D | pinctrl-s3c24xx.c | 352 unsigned int pend, mask; in s3c24xx_demux_eint() local 356 pend = readl(d->virt_base + EINTPEND_REG); in s3c24xx_demux_eint() 359 pend &= ~mask; in s3c24xx_demux_eint() 360 pend &= range; in s3c24xx_demux_eint() 362 while (pend) { in s3c24xx_demux_eint() 366 irq = __ffs(pend); in s3c24xx_demux_eint() 367 pend &= ~(1 << irq); in s3c24xx_demux_eint()
|
D | pinctrl-exynos.c | 485 static inline void exynos_irq_demux_eint(unsigned int pend, in exynos_irq_demux_eint() argument 490 while (pend) { in exynos_irq_demux_eint() 491 irq = fls(pend) - 1; in exynos_irq_demux_eint() 493 pend &= ~(1 << irq); in exynos_irq_demux_eint() 502 unsigned int pend; in exynos_irq_demux_eint16_31() local 510 pend = readl(b->eint_base + b->irq_chip->eint_pend in exynos_irq_demux_eint16_31() 514 exynos_irq_demux_eint(pend & ~mask, b->irq_domain); in exynos_irq_demux_eint16_31()
|
/drivers/net/fddi/skfp/ |
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() 670 smc->sm.pend[SMT_TID_NIF], sm->smt_tid); in smt_received_pack() 702 if (sm->smt_tid == smc->sm.pend[SMT_TID_ECF]) { in smt_received_pack() [all …]
|
/drivers/misc/habanalabs/common/ |
D | irq.c | 143 struct hl_user_pending_interrupt *pend; in handle_user_cq() local 146 list_for_each_entry(pend, &user_cq->wait_list_head, wait_list_node) in handle_user_cq() 147 complete_all(&pend->fence.completion); in handle_user_cq()
|
D | command_submission.c | 932 struct hl_user_pending_interrupt *pend; in wake_pending_user_interrupt_threads() local 936 list_for_each_entry(pend, &interrupt->wait_list_head, wait_list_node) { in wake_pending_user_interrupt_threads() 937 pend->fence.error = -EIO; in wake_pending_user_interrupt_threads() 938 complete_all(&pend->fence.completion); in wake_pending_user_interrupt_threads() 2746 struct hl_user_pending_interrupt *pend; in _hl_interrupt_wait_ioctl() local 2760 pend = kmalloc(sizeof(*pend), GFP_KERNEL); in _hl_interrupt_wait_ioctl() 2761 if (!pend) { in _hl_interrupt_wait_ioctl() 2766 hl_fence_init(&pend->fence, ULONG_MAX); in _hl_interrupt_wait_ioctl() 2777 list_add_tail(&pend->wait_list_node, &interrupt->wait_list_head); in _hl_interrupt_wait_ioctl() 2799 completion_rc = wait_for_completion_interruptible_timeout(&pend->fence.completion, in _hl_interrupt_wait_ioctl() [all …]
|
/drivers/gpio/ |
D | gpio-rockchip.c | 334 u32 pend; in rockchip_irq_demux() local 340 pend = readl_relaxed(bank->reg_base + bank->gpio_regs->int_status); in rockchip_irq_demux() 342 while (pend) { in rockchip_irq_demux() 345 irq = __ffs(pend); in rockchip_irq_demux() 346 pend &= ~BIT(irq); in rockchip_irq_demux()
|
/drivers/video/fbdev/ |
D | tcx.c | 129 u32 __iomem *p, *pend; in __tcx_set_control_plane() local 137 for (pend = p + info->fix.smem_len; p < pend; p++) { in __tcx_set_control_plane()
|
/drivers/mtd/ |
D | inftlcore.c | 812 char *p, *pend; in inftl_writeblock() local 818 pend = buffer + SECTORSIZE; in inftl_writeblock() 819 for (p = buffer; p < pend && !*p; p++) in inftl_writeblock() 822 if (p < pend) { in inftl_writeblock()
|
/drivers/staging/rtl8712/ |
D | rtl8712_recv.h | 101 u8 *pend; member
|
D | recv_linux.c | 55 precvbuf->pend = NULL; in r8712_os_recvbuf_resource_alloc()
|
D | usb_ops_linux.c | 276 precvbuf->pend = skb_end_pointer(precvbuf->pskb); in r8712_usb_read_port() 282 precvbuf->pend = skb_end_pointer(precvbuf->pskb); in r8712_usb_read_port()
|
/drivers/staging/r8188eu/hal/ |
D | rtl8188eu_recv.c | 27 precvbuf->pend = precvbuf->pdata + MAX_RECVBUF_SZ; in rtl8188eu_init_recvbuf()
|
D | usb_ops_linux.c | 478 precvbuf->pend = skb_end_pointer(precvbuf->pskb); in usb_read_port() 484 precvbuf->pend = skb_end_pointer(precvbuf->pskb); in usb_read_port()
|
/drivers/staging/r8188eu/os_dep/ |
D | recv_linux.c | 53 precvbuf->pend = NULL; in rtw_os_recvbuf_resource_alloc()
|
/drivers/staging/wlan-ng/ |
D | prism2fw.c | 682 u32 pend; in plugimage() local 691 pend = s3plug[i].addr + s3plug[i].len; in plugimage() 731 if (pstart >= cstart && pend <= cend) in plugimage()
|
/drivers/tty/serial/ |
D | samsung_tty.c | 949 unsigned int pend = rd_regl(port, S3C64XX_UINTP); in s3c64xx_serial_handle_irq() local 952 if (pend & S3C64XX_UINTM_RXD_MSK) { in s3c64xx_serial_handle_irq() 956 if (pend & S3C64XX_UINTM_TXD_MSK) { in s3c64xx_serial_handle_irq() 968 unsigned int pend = rd_regl(port, S3C2410_UTRSTAT); in apple_serial_handle_irq() local 971 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/ |
D | bus.c | 953 resource_size_t offset = 0, end_trunc = 0, start, end, pstart, pend; in nd_pmem_forget_poison_check() local 976 pend = nsio->res.end - end_trunc; in nd_pmem_forget_poison_check() 978 if ((pstart >= start) && (pend <= end)) in nd_pmem_forget_poison_check()
|
/drivers/net/fddi/skfp/h/ |
D | smc.h | 337 u_long pend[SMT_MAX_TEST] ; /* TID of requests */ member
|
/drivers/crypto/cavium/zip/ |
D | zip_regs.h | 811 u64 pend : 64; member 813 u64 pend : 64;
|