Home
last modified time | relevance | path

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

123

/linux/arch/m68k/68000/
A 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/net/smc/
A Dsmc_cdc.c64 struct smc_cdc_tx_pend **pend) in smc_cdc_get_free_slot() argument
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()
131 struct smc_cdc_tx_pend *pend, in smcr_cdc_msg_send_validation() argument
149 smc_cdc_add_pending_send(conn, pend); in smcr_cdc_msg_send_validation()
[all …]
A Dsmc_llc.c406 pend); in smc_llc_add_pending_send()
450 struct smc_wr_tx_pend_priv *pend; in smc_llc_send_confirm_link() local
474 rc = smc_wr_tx_send(link, pend); in smc_llc_send_confirm_link()
485 struct smc_wr_tx_pend_priv *pend; in smc_llc_send_confirm_rkey() local
531 struct smc_wr_tx_pend_priv *pend; in smc_llc_send_delete_rkey() local
547 rc = smc_wr_tx_send(link, pend); in smc_llc_send_delete_rkey()
636 struct smc_wr_tx_pend_priv *pend; in smc_llc_send_add_link() local
720 rc = smc_wr_tx_send(link, pend); in smc_llc_send_delete_link()
745 rc = smc_wr_tx_send(link, pend); in smc_llc_send_test_link()
764 rc = smc_wr_tx_send(link, pend); in smc_llc_send_message()
[all …]
A Dsmc_wr.c278 struct smc_wr_tx_pend *pend; in smc_wr_tx_put_slot() local
280 pend = container_of(wr_pend_priv, struct smc_wr_tx_pend, priv); in smc_wr_tx_put_slot()
281 if (pend->idx < link->wr_tx_cnt) { in smc_wr_tx_put_slot()
282 u32 idx = pend->idx; in smc_wr_tx_put_slot()
293 pend->idx == link->wr_tx_cnt) { in smc_wr_tx_put_slot()
310 struct smc_wr_tx_pend *pend; in smc_wr_tx_send() local
315 pend = container_of(priv, struct smc_wr_tx_pend, priv); in smc_wr_tx_send()
347 struct smc_wr_tx_pend *pend; in smc_wr_tx_send_wait() local
351 pend = container_of(priv, struct smc_wr_tx_pend, priv); in smc_wr_tx_send_wait()
352 pend->compl_requested = 1; in smc_wr_tx_send_wait()
[all …]
/linux/arch/powerpc/platforms/82xx/
A 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/arch/mips/sni/
A 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/drivers/net/can/c_can/
A Dc_can_main.c737 pend &= ~BIT(idx); in c_can_do_tx()
787 if (pend == rx_mask) in c_can_adjust_pending()
788 return pend; in c_can_adjust_pending()
794 lasts = fls(pend); in c_can_adjust_pending()
798 return pend; in c_can_adjust_pending()
864 u32 pend; in c_can_get_pending() local
871 return pend; in c_can_get_pending()
891 if (!pend) { in c_can_do_rx_poll()
893 if (!pend) in c_can_do_rx_poll()
901 toread = pend; in c_can_do_rx_poll()
[all …]
/linux/arch/mips/sgi-ip30/
A Dip30-irq.c101 u64 pend, mask; in ip30_normal_irq() local
104 pend = heart_read(&heart_regs->isr); in ip30_normal_irq()
108 pend &= mask; in ip30_normal_irq()
109 if (unlikely(!pend)) in ip30_normal_irq()
113 if (pend & BIT_ULL(HEART_L2_INT_RESCHED_CPU_0)) { in ip30_normal_irq()
117 } else if (pend & BIT_ULL(HEART_L2_INT_RESCHED_CPU_1)) { in ip30_normal_irq()
121 } else if (pend & BIT_ULL(HEART_L2_INT_CALL_CPU_0)) { in ip30_normal_irq()
125 } else if (pend & BIT_ULL(HEART_L2_INT_CALL_CPU_1)) { in ip30_normal_irq()
133 ret = generic_handle_domain_irq(domain, __ffs(pend)); in ip30_normal_irq()
/linux/arch/mips/rb532/
A 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/drivers/irqchip/
A Dirq-sunxi-nmi.c54 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()
A 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()
/linux/drivers/clocksource/
A Dtimer-ti-dm-systimer.c42 u8 pend; member
399 t->pend = _OMAP_TIMER_WRITE_PEND_OFFSET; in dmtimer_systimer_setup()
405 t->pend = regbase + _OMAP_TIMER_WRITE_PEND_OFFSET; in dmtimer_systimer_setup()
451 void __iomem *pend = t->base + t->pend; in dmtimer_set_next_event() local
453 while (readl_relaxed(pend) & WP_TCRR) in dmtimer_set_next_event()
457 while (readl_relaxed(pend) & WP_TCLR) in dmtimer_set_next_event()
489 void __iomem *pend = t->base + t->pend; in dmtimer_set_periodic() local
494 while (readl_relaxed(pend) & WP_TLDR) in dmtimer_set_periodic()
498 while (readl_relaxed(pend) & WP_TCRR) in dmtimer_set_periodic()
502 while (readl_relaxed(pend) & WP_TCLR) in dmtimer_set_periodic()
/linux/include/clocksource/
A 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()
/linux/arch/mips/include/asm/octeon/
A 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/drivers/i2c/busses/
A Di2c-xiic.c379 u32 pend, isr, ier; in xiic_process() local
393 pend = isr & ier; in xiic_process()
396 __func__, ier, isr, pend); in xiic_process()
403 if ((pend & XIIC_INTR_ARB_LOST_MASK) || in xiic_process()
404 ((pend & XIIC_INTR_TX_ERROR_MASK) && in xiic_process()
405 !(pend & XIIC_INTR_RX_FULL_MASK))) { in xiic_process()
429 if (pend & XIIC_INTR_RX_FULL_MASK) { in xiic_process()
465 if (pend & XIIC_INTR_BNB_MASK) { in xiic_process()
483 if (pend & (XIIC_INTR_TX_EMPTY_MASK | XIIC_INTR_TX_HALF_MASK)) { in xiic_process()
486 clr |= (pend & in xiic_process()
/linux/drivers/pinctrl/samsung/
A Dpinctrl-s3c64xx.c597 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()
A Dpinctrl-s3c24xx.c352 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()
A Dpinctrl-exynos.c485 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()
/linux/arch/arm/mach-s3c/
A 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/drivers/misc/habanalabs/common/
A Dirq.c143 struct hl_user_pending_interrupt *pend; in handle_user_cq() local
147 list_for_each_entry(pend, &user_cq->wait_list_head, wait_list_node) { in handle_user_cq()
148 pend->fence.timestamp = now; in handle_user_cq()
149 complete_all(&pend->fence.completion); in handle_user_cq()
/linux/drivers/net/fddi/skfp/
A 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()
702 if (sm->smt_tid == smc->sm.pend[SMT_TID_ECF]) { in smt_received_pack()
713 smc->sm.pend[SMT_TID_ECF], in smt_received_pack()
[all …]
/linux/lib/
A Dvsprintf.c1087 char *p = sym, *pend = sym + sizeof(sym); in resource_string() local
1096 p = string_nocheck(p, pend, "io ", str_spec); in resource_string()
1099 p = string_nocheck(p, pend, "mem ", str_spec); in resource_string()
1102 p = string_nocheck(p, pend, "irq ", str_spec); in resource_string()
1105 p = string_nocheck(p, pend, "dma ", str_spec); in resource_string()
1108 p = string_nocheck(p, pend, "bus ", str_spec); in resource_string()
1119 p = number(p, pend, res->start, *specp); in resource_string()
1122 p = number(p, pend, res->end, *specp); in resource_string()
1544 p = number(p, pend, ntohl(sa->sin6_flowinfo & in ip6_addr_string_sa()
1549 p = number(p, pend, sa->sin6_scope_id, spec); in ip6_addr_string_sa()
[all …]
/linux/arch/sparc/kernel/
A 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/arch/ia64/kernel/
A Dacpi.c404 struct node_memblk_s *p, *q, *pend; in acpi_numa_memory_affinity_init() local
425 pend = &node_memblk[num_node_memblks]; in acpi_numa_memory_affinity_init()
426 for (p = &node_memblk[0]; p < pend; p++) { in acpi_numa_memory_affinity_init()
430 if (p < pend) { in acpi_numa_memory_affinity_init()
431 for (q = pend - 1; q >= p; q--) in acpi_numa_memory_affinity_init()
/linux/arch/x86/mm/
A 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()

Completed in 73 milliseconds

123