Home
last modified time | relevance | path

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

12

/linux/arch/m68k/68000/
H A Dints.c85 unsigned long pend = ISR; in process_int() local
87 while (pend) { in process_int()
88 if (pend & 0x0000ffff) { in process_int()
89 if (pend & 0x000000ff) { in process_int()
90 if (pend & 0x0000000f) { in process_int()
98 if (pend & 0x00000f00) { in process_int()
107 if (pend & 0x00ff0000) { in process_int()
108 if (pend & 0x000f0000) { in process_int()
116 if (pend & 0x0f000000) { in process_int()
126 while (! (mask & pend)) { in process_int()
[all …]
/linux/drivers/accel/habanalabs/common/
H A Dirq.c255 static int handle_registration_node(struct hl_device *hdev, struct hl_user_pending_interrupt *pend, in handle_registration_node() argument
281 pend->ts_reg_info.buf, in handle_registration_node()
282 pend, in handle_registration_node()
302 *pend->ts_reg_info.timestamp_kernel_addr = timestamp; in handle_registration_node()
305 pend, pend->ts_reg_info.timestamp_kernel_addr, intr->interrupt_id); in handle_registration_node()
307 list_del(&pend->list_node); in handle_registration_node()
312 free_node->buf = pend->ts_reg_info.buf; in handle_registration_node()
313 free_node->cq_cb = pend->ts_reg_info.cq_cb; in handle_registration_node()
324 pend->ts_reg_info.in_use = false; in handle_registration_node()
332 struct hl_user_pending_interrupt *pend, *temp_pend; in handle_user_interrupt_ts_list() local
[all …]
/linux/net/smc/
H A Dsmc_cdc.c77 struct smc_cdc_tx_pend **pend) in smc_cdc_get_free_slot() argument
83 (struct smc_wr_tx_pend_priv **)pend); in smc_cdc_get_free_slot()
88 (struct smc_wr_tx_pend_priv *)(*pend)); in smc_cdc_get_free_slot()
95 struct smc_cdc_tx_pend *pend) in smc_cdc_add_pending_send() argument
106 pend->conn = conn; in smc_cdc_add_pending_send()
107 pend->cursor = conn->tx_curs_sent; in smc_cdc_add_pending_send()
108 pend->p_cursor = conn->local_tx_ctrl.prod; in smc_cdc_add_pending_send()
109 pend->ctrl_seq = conn->tx_cdc_seq; in smc_cdc_add_pending_send()
114 struct smc_cdc_tx_pend *pend) in smc_cdc_msg_send() argument
120 smc_cdc_add_pending_send(conn, pend); in smc_cdc_msg_send()
[all …]
H A Dsmc_cdc.h293 struct smc_cdc_tx_pend **pend);
296 struct smc_cdc_tx_pend *pend);
300 struct smc_cdc_tx_pend *pend,
/linux/arch/mips/sni/
H 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/irqchip/
H A Dirq-sunxi-nmi.c54 u32 pend; member
62 .reg_offs.pend = SUN6I_NMI_PENDING,
68 .reg_offs.pend = SUN7I_NMI_PENDING,
74 .reg_offs.pend = SUN9I_NMI_PENDING,
80 .reg_offs.pend = SUN9I_NMI_PENDING,
194 gc->chip_types[0].regs.ack = data->reg_offs.pend; in sunxi_sc_nmi_irq_init()
203 gc->chip_types[1].regs.ack = data->reg_offs.pend; in sunxi_sc_nmi_irq_init()
212 sunxi_sc_nmi_write(gc, data->reg_offs.pend, SUNXI_NMI_IRQ_BIT); in sunxi_sc_nmi_irq_init()
H A Dspear-shirq.c190 u32 pend; in shirq_handler() local
192 pend = readl(shirq->base + shirq->status_reg) & shirq->mask; in shirq_handler()
193 pend >>= shirq->offset; in shirq_handler()
195 while (pend) { in shirq_handler()
196 int irq = __ffs(pend); in shirq_handler()
198 pend &= ~(0x1 << irq); in shirq_handler()
/linux/arch/mips/sgi-ip30/
H 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/
H 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/arch/arm64/kvm/vgic/
H A Dvgic-v3-nested.c25 bool pend; member
146 bool pend = false; in vgic_compute_mi_state() local
155 pend |= (lr & ICH_LR_PENDING_BIT); in vgic_compute_mi_state()
160 mi_state->pend = pend; in vgic_compute_mi_state()
202 if ((hcr & ICH_HCR_EL2_NPIE) && !mi_state.pend) in vgic_v3_get_misr()
/linux/arch/mips/include/asm/octeon/
H 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/
H A Di2c-xiic.c654 u32 pend, isr, ier; in xiic_error_check() local
658 pend = isr & ier; in xiic_error_check()
660 if ((pend & XIIC_INTR_ARB_LOST_MASK) || in xiic_error_check()
661 ((pend & XIIC_INTR_TX_ERROR_MASK) && in xiic_error_check()
662 !(pend & XIIC_INTR_RX_FULL_MASK))) { in xiic_error_check()
731 u32 pend, isr, ier; in xiic_process() local
746 pend = isr & ier; in xiic_process()
749 __func__, ier, isr, pend); in xiic_process()
758 if ((pend & XIIC_INTR_ARB_LOST_MASK) || in xiic_process()
759 ((pend & XIIC_INTR_TX_ERROR_MASK) && in xiic_process()
[all …]
/linux/drivers/pinctrl/samsung/
H A Dpinctrl-s3c64xx.c610 unsigned int pend, mask; in s3c64xx_irq_demux_eint() local
614 pend = readl(drvdata->virt_base + EINT0PEND_REG); in s3c64xx_irq_demux_eint()
617 pend = pend & range & ~mask; in s3c64xx_irq_demux_eint()
618 pend &= range; in s3c64xx_irq_demux_eint()
620 while (pend) { in s3c64xx_irq_demux_eint()
624 irq = fls(pend) - 1; in s3c64xx_irq_demux_eint()
625 pend &= ~(1 << irq); in s3c64xx_irq_demux_eint()
H A Dpinctrl-exynos.c709 static inline void exynos_irq_demux_eint(unsigned int pend, in exynos_irq_demux_eint() argument
714 while (pend) { in exynos_irq_demux_eint()
715 irq = fls(pend) - 1; in exynos_irq_demux_eint()
717 pend &= ~(1 << irq); in exynos_irq_demux_eint()
726 unsigned int pend; in exynos_irq_demux_eint16_31() local
748 pend = readl(b->eint_base + b->irq_chip->eint_pend in exynos_irq_demux_eint16_31()
752 exynos_irq_demux_eint(pend & ~mask, b->irq_domain); in exynos_irq_demux_eint16_31()
/linux/lib/
H A Dvsprintf.c1108 char *p = sym, *pend = sym + sizeof(sym); in resource_string() local
1117 p = string_nocheck(p, pend, "io ", str_spec); in resource_string()
1120 p = string_nocheck(p, pend, "mem ", str_spec); in resource_string()
1123 p = string_nocheck(p, pend, "irq ", str_spec); in resource_string()
1126 p = string_nocheck(p, pend, "dma ", str_spec); in resource_string()
1129 p = string_nocheck(p, pend, "bus ", str_spec); in resource_string()
1132 p = string_nocheck(p, pend, "??? ", str_spec); in resource_string()
1137 p = string_nocheck(p, pend, "size ", str_spec); in resource_string()
1138 p = number(p, pend, resource_size(res), *specp); in resource_string()
1140 p = hex_range(p, pend, res->start, res->end, *specp); in resource_string()
[all …]
/linux/drivers/net/fddi/skfp/
H 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()
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 …]
/linux/arch/sparc/kernel/
H A Dpcic.c720 void pcic_nmi(unsigned int pend, struct pt_regs *regs) in pcic_nmi() argument
722 pend = swab32(pend); in pcic_nmi()
724 if (!pcic_speculative || (pend & PCI_SYS_INT_PENDING_PIO) == 0) { in pcic_nmi()
730 pend, (int)regs->pc, pcic_speculative); in pcic_nmi()
/linux/arch/powerpc/platforms/powernv/
H A Docxl.c532 int pend; in pnv_ocxl_tlb_invalidate() local
579 pend = val >> 63; in pnv_ocxl_tlb_invalidate()
581 while (pend) { in pnv_ocxl_tlb_invalidate()
589 pend = val >> 63; in pnv_ocxl_tlb_invalidate()
/linux/arch/x86/include/asm/
H A Dinit.h16 unsigned long pstart, unsigned long pend);
/linux/drivers/video/fbdev/
H A Dtcx.c123 u32 __iomem *p, *pend; in __tcx_set_control_plane() local
131 for (pend = p + info->fix.smem_len; p < pend; p++) { in __tcx_set_control_plane()
/linux/arch/mips/cavium-octeon/executive/
H A Docteon-model.c46 read_cmd.s.pend = 1; in cvmx_fuse_read_byte()
49 && read_cmd.s.pend) in cvmx_fuse_read_byte()
/linux/arch/mips/include/asm/
H A Dmips-gic.h225 GIC_ACCESSOR_RO_INTR_BIT(0x480, pend)
245 GIC_VX_ACCESSOR_RO(32, 0x004, pend)
/linux/drivers/mtd/
H A Dinftlcore.c813 char *p, *pend; in inftl_writeblock() local
819 pend = buffer + SECTORSIZE; in inftl_writeblock()
820 for (p = buffer; p < pend && !*p; p++) in inftl_writeblock()
823 if (p < pend) { in inftl_writeblock()
/linux/drivers/clocksource/
H A Dtimer-ti-dm.c129 void __iomem *pend; /* write pending */ member
176 while (readl_relaxed(timer->pend) & wp) in dmtimer_read()
201 while (readl_relaxed(timer->pend) & wp) in dmtimer_write()
218 timer->pend = timer->io_base + _OMAP_TIMER_WRITE_PEND_OFFSET; in __omap_dm_timer_init_regs()
225 timer->pend = timer->io_base + in __omap_dm_timer_init_regs()
/linux/arch/riscv/kvm/
H A Daia_imsic.c314 bool pend; in imsic_mrif_rmw() local
330 pend = true; in imsic_mrif_rmw()
333 pend = false; in imsic_mrif_rmw()
344 ei = (pend) ? &eix->eip[0] : &eix->eie[0]; in imsic_mrif_rmw()
346 ei = (pend) ? &eix->eip[num & 0x1] : &eix->eie[num & 0x1]; in imsic_mrif_rmw()

12