Home
last modified time | relevance | path

Searched refs:pend (Results 1 – 20 of 20) sorted by relevance

/drivers/i2c/busses/
Di2c-xiic.c331 u32 pend, isr, ier; in xiic_process() local
341 pend = isr & ier; in xiic_process()
345 __func__, ier, isr, pend, xiic_getreg8(i2c, XIIC_SR_REG_OFFSET), in xiic_process()
351 if (!pend) in xiic_process()
355 if ((pend & XIIC_INTR_ARB_LOST_MASK) || in xiic_process()
356 ((pend & XIIC_INTR_TX_ERROR_MASK) && in xiic_process()
357 !(pend & XIIC_INTR_RX_FULL_MASK))) { in xiic_process()
375 } else if (pend & XIIC_INTR_RX_FULL_MASK) { in xiic_process()
411 } else if (pend & XIIC_INTR_BNB_MASK) { in xiic_process()
427 } else if (pend & (XIIC_INTR_TX_EMPTY_MASK | XIIC_INTR_TX_HALF_MASK)) { in xiic_process()
[all …]
/drivers/pinctrl/
Dpinctrl-s3c64xx.c609 unsigned int pend, mask; in s3c64xx_irq_demux_eint() local
613 pend = readl(drvdata->virt_base + EINT0PEND_REG); in s3c64xx_irq_demux_eint()
616 pend = pend & range & ~mask; in s3c64xx_irq_demux_eint()
617 pend &= range; in s3c64xx_irq_demux_eint()
619 while (pend) { in s3c64xx_irq_demux_eint()
622 irq = fls(pend) - 1; in s3c64xx_irq_demux_eint()
623 pend &= ~(1 << irq); in s3c64xx_irq_demux_eint()
Dpinctrl-exynos.c289 unsigned long pend = d->ctrl->weint_pend + b->eint_offset; in exynos_wkup_irq_ack() local
291 writel(1 << irqd->hwirq, d->virt_base + pend); in exynos_wkup_irq_ack()
407 static inline void exynos_irq_demux_eint(unsigned long pend, in exynos_irq_demux_eint() argument
412 while (pend) { in exynos_irq_demux_eint()
413 irq = fls(pend) - 1; in exynos_irq_demux_eint()
415 pend &= ~(1 << irq); in exynos_irq_demux_eint()
426 unsigned long pend; in exynos_irq_demux_eint16_31() local
434 pend = readl(d->virt_base + ctrl->weint_pend + b->eint_offset); in exynos_irq_demux_eint16_31()
436 exynos_irq_demux_eint(pend & ~mask, b->irq_domain); in exynos_irq_demux_eint16_31()
/drivers/net/fddi/skfp/
Dsmt.c189 smc->sm.pend[i] = 0 ; in smt_agent_init()
387 if (!smc->sm.pend[SMT_TID_NIF]) in smt_event()
388 smc->sm.pend[SMT_TID_NIF] = smt_get_tid(smc) ; in smt_event()
390 smc->sm.pend[SMT_TID_NIF], SMT_REQUEST,0) ; in smt_event()
631 smc->sm.pend[SMT_TID_NIF] = 0 ; in smt_received_pack()
641 if (sm->smt_tid == smc->sm.pend[SMT_TID_NIF]) { in smt_received_pack()
642 smc->sm.pend[SMT_TID_NIF] = 0 ; in smt_received_pack()
673 smc->sm.pend[SMT_TID_NIF_TEST]) { in smt_received_pack()
678 smc->sm.pend[SMT_TID_NIF],sm->smt_tid) ; in smt_received_pack()
710 if (sm->smt_tid == smc->sm.pend[SMT_TID_ECF]) { in smt_received_pack()
[all …]
/drivers/irqchip/
Dirq-s3c24xx.c515 unsigned long pend; in s3c24xx_clear_intc() local
524 pend = __raw_readl(reg_source); in s3c24xx_clear_intc()
526 if (pend == 0 || pend == last) in s3c24xx_clear_intc()
529 __raw_writel(pend, intc->reg_pending); in s3c24xx_clear_intc()
531 __raw_writel(pend, intc->reg_intpnd); in s3c24xx_clear_intc()
533 pr_info("irq: clearing pending status %08x\n", (int)pend); in s3c24xx_clear_intc()
534 last = pend; in s3c24xx_clear_intc()
/drivers/isdn/hisax/
Disdnl3.c84 u_char *pend = p + size; in findie() local
94 while (p < pend) { in findie()
106 if ((pend - p) < 2) in findie()
108 if (*(p + 1) > (pend - (p + 2))) in findie()
Dst5481_usb.c588 struct usb_iso_packet_descriptor *pipd, *pend; in st5481_isoc_flatten() local
596 pend = &urb->iso_frame_desc[urb->number_of_packets], in st5481_isoc_flatten()
598 pipd < pend; in st5481_isoc_flatten()
Dnetjet.c402 u_int *pend = bcs->hw.tiger.rec + NETJET_DMA_RXSIZE - 1; in read_raw() local
422 if (p > pend) in read_raw()
/drivers/video/
Dtcx.c128 u32 __iomem *p, *pend; in __tcx_set_control_plane() local
136 for (pend = p + info->fix.smem_len; p < pend; p++) { in __tcx_set_control_plane()
/drivers/mtd/
Dinftlcore.c825 char *p, *pend; in inftl_writeblock() local
831 pend = buffer + SECTORSIZE; in inftl_writeblock()
832 for (p = buffer; p < pend && !*p; p++) in inftl_writeblock()
835 if (p < pend) { in inftl_writeblock()
/drivers/staging/rtl8712/
Drtl8712_recv.h113 u8 *pend; member
Drecv_linux.c68 precvbuf->pend = NULL; in r8712_os_recvbuf_resource_alloc()
Dusb_ops_linux.c289 precvbuf->pend = skb_end_pointer(precvbuf->pskb); in r8712_usb_read_port()
295 precvbuf->pend = skb_end_pointer(precvbuf->pskb); in r8712_usb_read_port()
Drtl871x_recv.c667 u8 *phead, *pdata, *ptail, *pend; in r8712_recv_entry() local
683 pend = precvframe->u.hdr.rx_end; in r8712_recv_entry()
Drtl8712_recv.c136 precvbuf->pend = precvbuf->pdata + MAX_RECVBUF_SZ; in r8712_init_recvbuf()
/drivers/staging/wlan-ng/
Dprism2fw.c667 u32 pend; in plugimage() local
676 pend = s3plug[i].addr + s3plug[i].len; in plugimage()
719 if (pstart >= cstart && pend <= cend) in plugimage()
/drivers/net/fddi/skfp/h/
Dsmc.h341 u_long pend[SMT_MAX_TEST] ; /* TID of requests */ member
/drivers/tty/serial/
Dsamsung.c363 unsigned int pend = rd_regl(port, S3C64XX_UINTP); in s3c64xx_serial_handle_irq() local
366 if (pend & S3C64XX_UINTM_RXD_MSK) { in s3c64xx_serial_handle_irq()
370 if (pend & S3C64XX_UINTM_TXD_MSK) { in s3c64xx_serial_handle_irq()
/drivers/infiniband/hw/mlx4/
Dmcg.c1164 int pend = 0; in clear_pending_reqs() local
1175 pend = !clear; in clear_pending_reqs()
1187 if (!pend && (!list_empty(&group->func[vf].pending) || group->func[vf].num_pend_reqs)) { in clear_pending_reqs()
/drivers/staging/rtl8192u/
Dr8192U_core.c1941 int pend; in rtl8192_tx() local
1948 pend = atomic_read(&priv->tx_pending[tcb_desc->queue_index]); in rtl8192_tx()
1953 if( pend > MAX_TX_URB){ in rtl8192_tx()