Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/net/smc/
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()
75 (struct smc_wr_tx_pend_priv *)(*pend)); in smc_cdc_get_free_slot()
82 struct smc_cdc_tx_pend *pend) in smc_cdc_add_pending_send() argument
93 pend->conn = conn; in smc_cdc_add_pending_send()
94 pend->cursor = conn->tx_curs_sent; in smc_cdc_add_pending_send()
95 pend->p_cursor = conn->local_tx_ctrl.prod; in smc_cdc_add_pending_send()
96 pend->ctrl_seq = conn->tx_cdc_seq; in smc_cdc_add_pending_send()
101 struct smc_cdc_tx_pend *pend) in smc_cdc_msg_send() argument
107 smc_cdc_add_pending_send(conn, pend); in smc_cdc_msg_send()
[all …]
Dsmc_llc.c335 static void smc_llc_tx_handler(struct smc_wr_tx_pend_priv *pend, in smc_llc_tx_handler() argument
357 struct smc_wr_tx_pend_priv **pend) in smc_llc_add_pending_send() argument
362 pend); in smc_llc_add_pending_send()
382 struct smc_wr_tx_pend_priv *pend; in smc_llc_send_confirm_link() local
388 rc = smc_llc_add_pending_send(link, &wr_buf, &pend); in smc_llc_send_confirm_link()
406 rc = smc_wr_tx_send(link, pend); in smc_llc_send_confirm_link()
417 struct smc_wr_tx_pend_priv *pend; in smc_llc_send_confirm_rkey() local
424 rc = smc_llc_add_pending_send(send_link, &wr_buf, &pend); in smc_llc_send_confirm_rkey()
452 rc = smc_wr_tx_send(send_link, pend); in smc_llc_send_confirm_rkey()
463 struct smc_wr_tx_pend_priv *pend; in smc_llc_send_delete_rkey() local
[all …]
Dsmc_wr.c232 struct smc_wr_tx_pend *pend; in smc_wr_tx_put_slot() local
234 pend = container_of(wr_pend_priv, struct smc_wr_tx_pend, priv); in smc_wr_tx_put_slot()
235 if (pend->idx < link->wr_tx_cnt) { in smc_wr_tx_put_slot()
236 u32 idx = pend->idx; in smc_wr_tx_put_slot()
256 struct smc_wr_tx_pend *pend; in smc_wr_tx_send() local
261 pend = container_of(priv, struct smc_wr_tx_pend, priv); in smc_wr_tx_send()
262 rc = ib_post_send(link->roce_qp, &link->wr_tx_ibs[pend->idx], NULL); in smc_wr_tx_send()
277 struct smc_wr_tx_pend *pend; in smc_wr_tx_send_wait() local
281 pend = container_of(priv, struct smc_wr_tx_pend, priv); in smc_wr_tx_send_wait()
282 pend->compl_requested = 1; in smc_wr_tx_send_wait()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/mips/sgi-ip30/
Dip30-irq.c100 u64 pend, mask; in ip30_normal_irq() local
103 pend = heart_read(&heart_regs->isr); in ip30_normal_irq()
107 pend &= mask; in ip30_normal_irq()
108 if (unlikely(!pend)) in ip30_normal_irq()
112 if (pend & BIT_ULL(HEART_L2_INT_RESCHED_CPU_0)) { in ip30_normal_irq()
116 } else if (pend & BIT_ULL(HEART_L2_INT_RESCHED_CPU_1)) { in ip30_normal_irq()
120 } else if (pend & BIT_ULL(HEART_L2_INT_CALL_CPU_0)) { in ip30_normal_irq()
124 } else if (pend & BIT_ULL(HEART_L2_INT_CALL_CPU_1)) { in ip30_normal_irq()
132 irq = irq_linear_revmap(domain, __ffs(pend)); in ip30_normal_irq()
/kernel/linux/linux-5.10/drivers/net/can/c_can/
Dc_can.c715 u32 idx, obj, pkts = 0, bytes = 0, pend, clr; in c_can_do_tx() local
717 clr = pend = priv->read_reg(priv, C_CAN_INTPND2_REG); in c_can_do_tx()
719 while ((idx = ffs(pend))) { in c_can_do_tx()
721 pend &= ~(1 << idx); in c_can_do_tx()
747 static u32 c_can_adjust_pending(u32 pend) in c_can_adjust_pending() argument
751 if (pend == RECEIVE_OBJECT_BITS) in c_can_adjust_pending()
752 return pend; in c_can_adjust_pending()
758 weight = hweight32(pend); in c_can_adjust_pending()
759 lasts = fls(pend); in c_can_adjust_pending()
763 return pend; in c_can_adjust_pending()
[all …]
/kernel/linux/linux-5.10/drivers/clocksource/
Dtimer-ti-dm-systimer.c42 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()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-xiic.c376 u32 pend, isr, ier; in xiic_process() local
387 pend = isr & ier; in xiic_process()
390 __func__, ier, isr, pend); in xiic_process()
397 if ((pend & XIIC_INTR_ARB_LOST_MASK) || in xiic_process()
398 ((pend & XIIC_INTR_TX_ERROR_MASK) && in xiic_process()
399 !(pend & XIIC_INTR_RX_FULL_MASK))) { in xiic_process()
419 if (pend & XIIC_INTR_RX_FULL_MASK) { in xiic_process()
456 if (pend & XIIC_INTR_BNB_MASK) { in xiic_process()
472 if (pend & (XIIC_INTR_TX_EMPTY_MASK | XIIC_INTR_TX_HALF_MASK)) { in xiic_process()
475 clr |= (pend & in xiic_process()
[all …]
/kernel/linux/linux-5.10/include/clocksource/
Dtimer-ti-dm.h106 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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
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()
/kernel/linux/linux-5.10/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.c486 static inline void exynos_irq_demux_eint(unsigned int pend, in exynos_irq_demux_eint() argument
491 while (pend) { in exynos_irq_demux_eint()
492 irq = fls(pend) - 1; in exynos_irq_demux_eint()
494 pend &= ~(1 << irq); in exynos_irq_demux_eint()
503 unsigned int pend; in exynos_irq_demux_eint16_31() local
511 pend = readl(b->eint_base + b->irq_chip->eint_pend in exynos_irq_demux_eint16_31()
515 exynos_irq_demux_eint(pend & ~mask, b->irq_domain); in exynos_irq_demux_eint16_31()
/kernel/linux/linux-5.10/lib/
Dvsprintf.c1084 char *p = sym, *pend = sym + sizeof(sym); in resource_string() local
1093 p = string_nocheck(p, pend, "io ", str_spec); in resource_string()
1096 p = string_nocheck(p, pend, "mem ", str_spec); in resource_string()
1099 p = string_nocheck(p, pend, "irq ", str_spec); in resource_string()
1102 p = string_nocheck(p, pend, "dma ", str_spec); in resource_string()
1105 p = string_nocheck(p, pend, "bus ", str_spec); in resource_string()
1108 p = string_nocheck(p, pend, "??? ", str_spec); in resource_string()
1113 p = string_nocheck(p, pend, "size ", str_spec); in resource_string()
1114 p = number(p, pend, resource_size(res), *specp); in resource_string()
1116 p = number(p, pend, res->start, *specp); in resource_string()
[all …]
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/
Dsmt.c180 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 …]
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dinit.h15 unsigned long pstart, unsigned long pend);
/kernel/linux/linux-5.10/arch/x86/mm/
Dident_map.c98 unsigned long pstart, unsigned long pend) in kernel_ident_mapping_init() argument
101 unsigned long end = pend + info->offset; in kernel_ident_mapping_init()
/kernel/uniproton/doc/design/
Dsem.md27 …中运行的线程有硬中断和任务。对于信号量的P/V操作,在带有容忍时间的P操作过程中,如果P不到信号量,即会使自身阻塞于该信号量。硬中断不允许出现挂起和阻塞的状态,因此硬中断线程中不允许pend信号量。
/kernel/linux/linux-5.10/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()

123