Home
last modified time | relevance | path

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

123

/Linux-v4.19/arch/m68k/68000/
Dints.c82 unsigned long pend = ISR; in process_int() local
84 while (pend) { in process_int()
85 if (pend & 0x0000ffff) { in process_int()
86 if (pend & 0x000000ff) { in process_int()
87 if (pend & 0x0000000f) { in process_int()
95 if (pend & 0x00000f00) { in process_int()
104 if (pend & 0x00ff0000) { in process_int()
105 if (pend & 0x000f0000) { in process_int()
113 if (pend & 0x0f000000) { in process_int()
123 while (! (mask & pend)) { in process_int()
[all …]
/Linux-v4.19/net/smc/
Dsmc_llc.c143 static void smc_llc_tx_handler(struct smc_wr_tx_pend_priv *pend, in smc_llc_tx_handler() argument
165 struct smc_wr_tx_pend_priv **pend) in smc_llc_add_pending_send() argument
169 rc = smc_wr_tx_get_free_slot(link, smc_llc_tx_handler, wr_buf, pend); in smc_llc_add_pending_send()
190 struct smc_wr_tx_pend_priv *pend; in smc_llc_send_confirm_link() local
194 rc = smc_llc_add_pending_send(link, &wr_buf, &pend); in smc_llc_send_confirm_link()
212 rc = smc_wr_tx_send(link, pend); in smc_llc_send_confirm_link()
221 struct smc_wr_tx_pend_priv *pend; in smc_llc_send_confirm_rkey() local
225 rc = smc_llc_add_pending_send(link, &wr_buf, &pend); in smc_llc_send_confirm_rkey()
237 rc = smc_wr_tx_send(link, pend); in smc_llc_send_confirm_rkey()
264 struct smc_wr_tx_pend_priv *pend; in smc_llc_send_add_link() local
[all …]
Dsmc_cdc.c64 struct smc_cdc_tx_pend **pend) in smc_cdc_get_free_slot() argument
70 (struct smc_wr_tx_pend_priv **)pend); in smc_cdc_get_free_slot()
78 struct smc_cdc_tx_pend *pend) in smc_cdc_add_pending_send() argument
89 pend->conn = conn; in smc_cdc_add_pending_send()
90 pend->cursor = conn->tx_curs_sent; in smc_cdc_add_pending_send()
91 pend->p_cursor = conn->local_tx_ctrl.prod; in smc_cdc_add_pending_send()
92 pend->ctrl_seq = conn->tx_cdc_seq; in smc_cdc_add_pending_send()
97 struct smc_cdc_tx_pend *pend) in smc_cdc_msg_send() argument
104 smc_cdc_add_pending_send(conn, pend); in smc_cdc_msg_send()
110 rc = smc_wr_tx_send(link, (struct smc_wr_tx_pend_priv *)pend); in smc_cdc_msg_send()
[all …]
Dsmc_wr.c214 struct smc_wr_tx_pend *pend; in smc_wr_tx_put_slot() local
216 pend = container_of(wr_pend_priv, struct smc_wr_tx_pend, priv); in smc_wr_tx_put_slot()
217 if (pend->idx < link->wr_tx_cnt) { in smc_wr_tx_put_slot()
219 memset(&link->wr_tx_pends[pend->idx], 0, in smc_wr_tx_put_slot()
220 sizeof(link->wr_tx_pends[pend->idx])); in smc_wr_tx_put_slot()
221 memset(&link->wr_tx_bufs[pend->idx], 0, in smc_wr_tx_put_slot()
222 sizeof(link->wr_tx_bufs[pend->idx])); in smc_wr_tx_put_slot()
223 test_and_clear_bit(pend->idx, link->wr_tx_mask); in smc_wr_tx_put_slot()
235 struct smc_wr_tx_pend *pend; in smc_wr_tx_send() local
240 pend = container_of(priv, struct smc_wr_tx_pend, priv); in smc_wr_tx_send()
[all …]
/Linux-v4.19/arch/powerpc/platforms/82xx/
Dpq2ads-pci-pic.c84 u32 stat, mask, pend; in pq2ads_pci_irq_demux() local
91 pend = stat & ~mask; in pq2ads_pci_irq_demux()
93 if (!pend) in pq2ads_pci_irq_demux()
96 for (bit = 0; pend != 0; ++bit, pend <<= 1) { in pq2ads_pci_irq_demux()
97 if (pend & 0x80000000) { in pq2ads_pci_irq_demux()
/Linux-v4.19/arch/mips/sni/
Dpcimt.c235 u8 pend = *(volatile char *)PCIMT_CSITPEND; in pcimt_hwint1() local
238 if (pend & IT_EISA) { in pcimt_hwint1()
252 if (!(pend & IT_SCSI)) { in pcimt_hwint1()
265 u8 pend = *(volatile char *)PCIMT_CSITPEND; in pcimt_hwint3() local
268 pend &= (IT_INTA | IT_INTB | IT_INTC | IT_INTD); in pcimt_hwint3()
269 pend ^= (IT_INTA | IT_INTB | IT_INTC | IT_INTD); in pcimt_hwint3()
271 irq = PCIMT_IRQ_INT2 + ffs(pend) - 1; in pcimt_hwint3()
/Linux-v4.19/drivers/irqchip/
Dirq-sunxi-nmi.c60 u32 pend; member
66 .pend = SUN6I_R_INTC_PENDING,
72 .pend = SUN6I_NMI_PENDING,
78 .pend = SUN7I_NMI_PENDING,
84 .pend = SUN9I_NMI_PENDING,
204 gc->chip_types[0].regs.ack = reg_offs->pend; in sunxi_sc_nmi_irq_init()
214 gc->chip_types[1].regs.ack = reg_offs->pend; in sunxi_sc_nmi_irq_init()
223 sunxi_sc_nmi_write(gc, reg_offs->pend, SUNXI_NMI_IRQ_BIT); in sunxi_sc_nmi_irq_init()
Dspear-shirq.c188 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()
Dirq-s3c24xx.c502 unsigned long pend; in s3c24xx_clear_intc() local
511 pend = readl_relaxed(reg_source); in s3c24xx_clear_intc()
513 if (pend == 0 || pend == last) in s3c24xx_clear_intc()
516 writel_relaxed(pend, intc->reg_pending); in s3c24xx_clear_intc()
518 writel_relaxed(pend, intc->reg_intpnd); in s3c24xx_clear_intc()
520 pr_info("irq: clearing pending status %08x\n", (int)pend); in s3c24xx_clear_intc()
521 last = pend; in s3c24xx_clear_intc()
/Linux-v4.19/arch/mips/rb532/
Dirq.c215 unsigned int ip, pend, group; in plat_irq_dispatch() local
228 pend = READ_PEND(addr); in plat_irq_dispatch()
229 pend &= ~READ_MASK(addr); /* only unmasked interrupts */ in plat_irq_dispatch()
230 pend = 39 + (fls(pend) - 32); in plat_irq_dispatch()
231 do_IRQ((group << 5) + pend); in plat_irq_dispatch()
/Linux-v4.19/drivers/net/can/c_can/
Dc_can.c707 u32 idx, obj, pkts = 0, bytes = 0, pend, clr; in c_can_do_tx() local
709 clr = pend = priv->read_reg(priv, C_CAN_INTPND2_REG); in c_can_do_tx()
711 while ((idx = ffs(pend))) { in c_can_do_tx()
713 pend &= ~(1 << idx); in c_can_do_tx()
739 static u32 c_can_adjust_pending(u32 pend) in c_can_adjust_pending() argument
743 if (pend == RECEIVE_OBJECT_BITS) in c_can_adjust_pending()
744 return pend; in c_can_adjust_pending()
750 weight = hweight32(pend); in c_can_adjust_pending()
751 lasts = fls(pend); in c_can_adjust_pending()
755 return pend; in c_can_adjust_pending()
[all …]
/Linux-v4.19/drivers/i2c/busses/
Di2c-xiic.c363 u32 pend, isr, ier; in xiic_process() local
374 pend = isr & ier; in xiic_process()
377 __func__, ier, isr, pend); in xiic_process()
384 if ((pend & XIIC_INTR_ARB_LOST_MASK) || in xiic_process()
385 ((pend & XIIC_INTR_TX_ERROR_MASK) && in xiic_process()
386 !(pend & XIIC_INTR_RX_FULL_MASK))) { in xiic_process()
406 if (pend & XIIC_INTR_RX_FULL_MASK) { in xiic_process()
443 if (pend & XIIC_INTR_BNB_MASK) { in xiic_process()
459 if (pend & (XIIC_INTR_TX_EMPTY_MASK | XIIC_INTR_TX_HALF_MASK)) { in xiic_process()
462 clr |= (pend & in xiic_process()
[all …]
/Linux-v4.19/include/clocksource/
Dtimer-ti-dm.h105 void __iomem *pend; /* write pending */ member
259 while (readl_relaxed(timer->pend) & (reg >> WPSHIFT)) in __omap_dm_timer_read()
269 while (readl_relaxed(timer->pend) & (reg >> WPSHIFT)) in __omap_dm_timer_write()
286 timer->pend = timer->io_base + _OMAP_TIMER_WRITE_PEND_OFFSET; in __omap_dm_timer_init_regs()
293 timer->pend = timer->io_base + in __omap_dm_timer_init_regs()
/Linux-v4.19/arch/arm/plat-samsung/
Dadc.c48 struct list_head pend; member
131 struct s3c_adc_client, pend); in s3c_adc_try()
132 list_del(&next->pend); in s3c_adc_try()
169 list_add_tail(&client->pend, &adc_pending); in s3c_adc_start()
266 tmp = list_entry(p, struct s3c_adc_client, pend); in s3c_adc_release()
268 list_del(&tmp->pend); in s3c_adc_release()
/Linux-v4.19/drivers/pinctrl/samsung/
Dpinctrl-s3c64xx.c599 unsigned int pend, mask; in s3c64xx_irq_demux_eint() local
603 pend = readl(drvdata->virt_base + EINT0PEND_REG); in s3c64xx_irq_demux_eint()
606 pend = pend & range & ~mask; in s3c64xx_irq_demux_eint()
607 pend &= range; in s3c64xx_irq_demux_eint()
609 while (pend) { in s3c64xx_irq_demux_eint()
612 irq = fls(pend) - 1; in s3c64xx_irq_demux_eint()
613 pend &= ~(1 << irq); in s3c64xx_irq_demux_eint()
Dpinctrl-s3c24xx.c361 unsigned int pend, mask; in s3c24xx_demux_eint() local
365 pend = readl(d->virt_base + EINTPEND_REG); in s3c24xx_demux_eint()
368 pend &= ~mask; in s3c24xx_demux_eint()
369 pend &= range; in s3c24xx_demux_eint()
371 while (pend) { in s3c24xx_demux_eint()
374 irq = __ffs(pend); in s3c24xx_demux_eint()
375 pend &= ~(1 << irq); in s3c24xx_demux_eint()
Dpinctrl-exynos.c438 static inline void exynos_irq_demux_eint(unsigned long pend, in exynos_irq_demux_eint() argument
443 while (pend) { in exynos_irq_demux_eint()
444 irq = fls(pend) - 1; in exynos_irq_demux_eint()
446 pend &= ~(1 << irq); in exynos_irq_demux_eint()
455 unsigned long pend; in exynos_irq_demux_eint16_31() local
463 pend = readl(b->eint_base + b->irq_chip->eint_pend in exynos_irq_demux_eint16_31()
467 exynos_irq_demux_eint(pend & ~mask, b->irq_domain); in exynos_irq_demux_eint16_31()
/Linux-v4.19/lib/
Dvsprintf.c766 char *p = sym, *pend = sym + sizeof(sym); in resource_string() local
772 p = string(p, pend, "io ", str_spec); in resource_string()
775 p = string(p, pend, "mem ", str_spec); in resource_string()
778 p = string(p, pend, "irq ", str_spec); in resource_string()
781 p = string(p, pend, "dma ", str_spec); in resource_string()
784 p = string(p, pend, "bus ", str_spec); in resource_string()
787 p = string(p, pend, "??? ", str_spec); in resource_string()
792 p = string(p, pend, "size ", str_spec); in resource_string()
793 p = number(p, pend, resource_size(res), *specp); in resource_string()
795 p = number(p, pend, res->start, *specp); in resource_string()
[all …]
/Linux-v4.19/arch/mips/include/asm/octeon/
Dcvmx-pow-defs.h86 uint64_t pend:1; member
90 uint64_t pend:1;
115 uint64_t pend:1; member
119 uint64_t pend:1;
177 uint64_t pend:1; member
181 uint64_t pend:1;
239 uint64_t pend:1; member
243 uint64_t pend:1;
264 uint64_t pend:1; member
268 uint64_t pend:1;
[all …]
/Linux-v4.19/drivers/net/fddi/skfp/
Dsmt.c188 smc->sm.pend[i] = 0 ; in smt_agent_init()
386 if (!smc->sm.pend[SMT_TID_NIF]) in smt_event()
387 smc->sm.pend[SMT_TID_NIF] = smt_get_tid(smc) ; in smt_event()
389 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 …]
/Linux-v4.19/arch/x86/include/asm/
Dinit.h15 unsigned long pstart, unsigned long pend);
/Linux-v4.19/arch/x86/mm/
Dident_map.c90 unsigned long pstart, unsigned long pend) in kernel_ident_mapping_init() argument
93 unsigned long end = pend + info->offset; in kernel_ident_mapping_init()
/Linux-v4.19/arch/sparc/kernel/
Dpcic.c747 void pcic_nmi(unsigned int pend, struct pt_regs *regs) in pcic_nmi() argument
749 pend = swab32(pend); in pcic_nmi()
751 if (!pcic_speculative || (pend & PCI_SYS_INT_PENDING_PIO) == 0) { in pcic_nmi()
757 pend, (int)regs->pc, pcic_speculative); in pcic_nmi()
/Linux-v4.19/arch/ia64/kernel/
Dacpi.c495 struct node_memblk_s *p, *q, *pend; in acpi_numa_memory_affinity_init() local
516 pend = &node_memblk[num_node_memblks]; in acpi_numa_memory_affinity_init()
517 for (p = &node_memblk[0]; p < pend; p++) { in acpi_numa_memory_affinity_init()
521 if (p < pend) { in acpi_numa_memory_affinity_init()
522 for (q = pend - 1; q >= p; q--) in acpi_numa_memory_affinity_init()
/Linux-v4.19/arch/mips/include/asm/
Dmips-gic.h211 GIC_ACCESSOR_RO_INTR_BIT(0x480, pend)
231 GIC_VX_ACCESSOR_RO(32, 0x004, pend)

123