Home
last modified time | relevance | path

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

123

/Linux-v5.4/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-v5.4/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
170 pend); in smc_llc_add_pending_send()
191 struct smc_wr_tx_pend_priv *pend; in smc_llc_send_confirm_link() local
195 rc = smc_llc_add_pending_send(link, &wr_buf, &pend); in smc_llc_send_confirm_link()
213 rc = smc_wr_tx_send(link, pend); in smc_llc_send_confirm_link()
222 struct smc_wr_tx_pend_priv *pend; in smc_llc_send_confirm_rkey() local
226 rc = smc_llc_add_pending_send(link, &wr_buf, &pend); in smc_llc_send_confirm_rkey()
238 rc = smc_wr_tx_send(link, pend); in smc_llc_send_confirm_rkey()
247 struct smc_wr_tx_pend_priv *pend; in smc_llc_send_delete_rkey() local
[all …]
Dsmc_cdc.c58 struct smc_cdc_tx_pend **pend) in smc_cdc_get_free_slot() argument
65 (struct smc_wr_tx_pend_priv **)pend); in smc_cdc_get_free_slot()
73 struct smc_cdc_tx_pend *pend) in smc_cdc_add_pending_send() argument
84 pend->conn = conn; in smc_cdc_add_pending_send()
85 pend->cursor = conn->tx_curs_sent; in smc_cdc_add_pending_send()
86 pend->p_cursor = conn->local_tx_ctrl.prod; in smc_cdc_add_pending_send()
87 pend->ctrl_seq = conn->tx_cdc_seq; in smc_cdc_add_pending_send()
92 struct smc_cdc_tx_pend *pend) in smc_cdc_msg_send() argument
100 smc_cdc_add_pending_send(conn, pend); in smc_cdc_msg_send()
105 rc = smc_wr_tx_send(link, (struct smc_wr_tx_pend_priv *)pend); in smc_cdc_msg_send()
[all …]
Dsmc_wr.c218 struct smc_wr_tx_pend *pend; in smc_wr_tx_put_slot() local
220 pend = container_of(wr_pend_priv, struct smc_wr_tx_pend, priv); in smc_wr_tx_put_slot()
221 if (pend->idx < link->wr_tx_cnt) { in smc_wr_tx_put_slot()
222 u32 idx = pend->idx; in smc_wr_tx_put_slot()
241 struct smc_wr_tx_pend *pend; in smc_wr_tx_send() local
246 pend = container_of(priv, struct smc_wr_tx_pend, priv); in smc_wr_tx_send()
247 rc = ib_post_send(link->roce_qp, &link->wr_tx_ibs[pend->idx], NULL); in smc_wr_tx_send()
/Linux-v5.4/arch/powerpc/platforms/82xx/
Dpq2ads-pci-pic.c81 u32 stat, mask, pend; in pq2ads_pci_irq_demux() local
88 pend = stat & ~mask; in pq2ads_pci_irq_demux()
90 if (!pend) in pq2ads_pci_irq_demux()
93 for (bit = 0; pend != 0; ++bit, pend <<= 1) { in pq2ads_pci_irq_demux()
94 if (pend & 0x80000000) { in pq2ads_pci_irq_demux()
/Linux-v5.4/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-v5.4/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.c493 unsigned long pend; in s3c24xx_clear_intc() local
502 pend = readl_relaxed(reg_source); in s3c24xx_clear_intc()
504 if (pend == 0 || pend == last) in s3c24xx_clear_intc()
507 writel_relaxed(pend, intc->reg_pending); in s3c24xx_clear_intc()
509 writel_relaxed(pend, intc->reg_intpnd); in s3c24xx_clear_intc()
511 pr_info("irq: clearing pending status %08x\n", (int)pend); in s3c24xx_clear_intc()
512 last = pend; in s3c24xx_clear_intc()
/Linux-v5.4/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-v5.4/drivers/net/can/c_can/
Dc_can.c736 u32 idx, obj, pkts = 0, bytes = 0, pend, clr; in c_can_do_tx() local
738 clr = pend = priv->read_reg(priv, C_CAN_INTPND2_REG); in c_can_do_tx()
740 while ((idx = ffs(pend))) { in c_can_do_tx()
742 pend &= ~(1 << idx); in c_can_do_tx()
768 static u32 c_can_adjust_pending(u32 pend) in c_can_adjust_pending() argument
772 if (pend == RECEIVE_OBJECT_BITS) in c_can_adjust_pending()
773 return pend; in c_can_adjust_pending()
779 weight = hweight32(pend); in c_can_adjust_pending()
780 lasts = fls(pend); in c_can_adjust_pending()
784 return pend; in c_can_adjust_pending()
[all …]
/Linux-v5.4/drivers/i2c/busses/
Di2c-xiic.c354 u32 pend, isr, ier; in xiic_process() local
365 pend = isr & ier; in xiic_process()
368 __func__, ier, isr, pend); in xiic_process()
375 if ((pend & XIIC_INTR_ARB_LOST_MASK) || in xiic_process()
376 ((pend & XIIC_INTR_TX_ERROR_MASK) && in xiic_process()
377 !(pend & XIIC_INTR_RX_FULL_MASK))) { in xiic_process()
397 if (pend & XIIC_INTR_RX_FULL_MASK) { in xiic_process()
434 if (pend & XIIC_INTR_BNB_MASK) { in xiic_process()
450 if (pend & (XIIC_INTR_TX_EMPTY_MASK | XIIC_INTR_TX_HALF_MASK)) { in xiic_process()
453 clr |= (pend & in xiic_process()
[all …]
/Linux-v5.4/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-v5.4/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;
175 uint64_t pend:1; member
179 uint64_t pend:1;
233 uint64_t pend:1; member
237 uint64_t pend:1;
258 uint64_t pend:1; member
262 uint64_t pend:1;
[all …]
/Linux-v5.4/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-v5.4/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.c430 static inline void exynos_irq_demux_eint(unsigned long pend, in exynos_irq_demux_eint() argument
435 while (pend) { in exynos_irq_demux_eint()
436 irq = fls(pend) - 1; in exynos_irq_demux_eint()
438 pend &= ~(1 << irq); in exynos_irq_demux_eint()
447 unsigned long pend; in exynos_irq_demux_eint16_31() local
455 pend = readl(b->eint_base + b->irq_chip->eint_pend in exynos_irq_demux_eint16_31()
459 exynos_irq_demux_eint(pend & ~mask, b->irq_domain); in exynos_irq_demux_eint16_31()
/Linux-v5.4/lib/
Dvsprintf.c1006 char *p = sym, *pend = sym + sizeof(sym); in resource_string() local
1015 p = string_nocheck(p, pend, "io ", str_spec); in resource_string()
1018 p = string_nocheck(p, pend, "mem ", str_spec); in resource_string()
1021 p = string_nocheck(p, pend, "irq ", str_spec); in resource_string()
1024 p = string_nocheck(p, pend, "dma ", str_spec); in resource_string()
1027 p = string_nocheck(p, pend, "bus ", str_spec); in resource_string()
1030 p = string_nocheck(p, pend, "??? ", str_spec); in resource_string()
1035 p = string_nocheck(p, pend, "size ", str_spec); in resource_string()
1036 p = number(p, pend, resource_size(res), *specp); in resource_string()
1038 p = number(p, pend, res->start, *specp); in resource_string()
[all …]
/Linux-v5.4/drivers/net/fddi/skfp/
Dsmt.c184 smc->sm.pend[i] = 0 ; in smt_agent_init()
382 if (!smc->sm.pend[SMT_TID_NIF]) in smt_event()
383 smc->sm.pend[SMT_TID_NIF] = smt_get_tid(smc) ; in smt_event()
385 smc->sm.pend[SMT_TID_NIF], SMT_REQUEST,0) ; in smt_event()
627 smc->sm.pend[SMT_TID_NIF] = 0 ; in smt_received_pack()
637 if (sm->smt_tid == smc->sm.pend[SMT_TID_NIF]) { in smt_received_pack()
638 smc->sm.pend[SMT_TID_NIF] = 0 ; in smt_received_pack()
669 smc->sm.pend[SMT_TID_NIF_TEST]) { in smt_received_pack()
674 smc->sm.pend[SMT_TID_NIF], sm->smt_tid); in smt_received_pack()
706 if (sm->smt_tid == smc->sm.pend[SMT_TID_ECF]) { in smt_received_pack()
[all …]
/Linux-v5.4/arch/x86/include/asm/
Dinit.h15 unsigned long pstart, unsigned long pend);
/Linux-v5.4/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-v5.4/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-v5.4/arch/ia64/kernel/
Dacpi.c406 struct node_memblk_s *p, *q, *pend; in acpi_numa_memory_affinity_init() local
427 pend = &node_memblk[num_node_memblks]; in acpi_numa_memory_affinity_init()
428 for (p = &node_memblk[0]; p < pend; p++) { in acpi_numa_memory_affinity_init()
432 if (p < pend) { in acpi_numa_memory_affinity_init()
433 for (q = pend - 1; q >= p; q--) in acpi_numa_memory_affinity_init()
/Linux-v5.4/arch/mips/include/asm/
Dmips-gic.h207 GIC_ACCESSOR_RO_INTR_BIT(0x480, pend)
227 GIC_VX_ACCESSOR_RO(32, 0x004, pend)

123