Home
last modified time | relevance | path

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

123

/linux-5.19.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 …]
/linux-5.19.10/drivers/misc/habanalabs/common/
Dirq.c178 static int handle_registration_node(struct hl_device *hdev, struct hl_user_pending_interrupt *pend, in handle_registration_node() argument
199 *pend->ts_reg_info.timestamp_kernel_addr = timestamp; in handle_registration_node()
202 pend->ts_reg_info.timestamp_kernel_addr, in handle_registration_node()
203 *(u64 *)pend->ts_reg_info.timestamp_kernel_addr); in handle_registration_node()
205 list_del(&pend->wait_list_node); in handle_registration_node()
208 pend->ts_reg_info.in_use = 0; in handle_registration_node()
213 free_node->buf = pend->ts_reg_info.buf; in handle_registration_node()
214 free_node->cq_cb = pend->ts_reg_info.cq_cb; in handle_registration_node()
223 struct hl_user_pending_interrupt *pend, *temp_pend; in handle_user_cq() local
244 list_for_each_entry_safe(pend, temp_pend, &user_cq->wait_list_head, wait_list_node) { in handle_user_cq()
[all …]
Dcommand_submission.c954 struct hl_user_pending_interrupt *pend, *temp; in wake_pending_user_interrupt_threads() local
958 list_for_each_entry_safe(pend, temp, &interrupt->wait_list_head, wait_list_node) { in wake_pending_user_interrupt_threads()
959 if (pend->ts_reg_info.buf) { in wake_pending_user_interrupt_threads()
960 list_del(&pend->wait_list_node); in wake_pending_user_interrupt_threads()
961 hl_mmap_mem_buf_put(pend->ts_reg_info.buf); in wake_pending_user_interrupt_threads()
962 hl_cb_put(pend->ts_reg_info.cq_cb); in wake_pending_user_interrupt_threads()
964 pend->fence.error = -EIO; in wake_pending_user_interrupt_threads()
965 complete_all(&pend->fence.completion); in wake_pending_user_interrupt_threads()
2870 struct hl_user_pending_interrupt **pend) in ts_buff_get_kernel_ts_record() argument
2937 *pend = requested_offset_record; in ts_buff_get_kernel_ts_record()
[all …]
/linux-5.19.10/net/smc/
Dsmc_cdc.c74 struct smc_cdc_tx_pend **pend) in smc_cdc_get_free_slot() argument
80 (struct smc_wr_tx_pend_priv **)pend); in smc_cdc_get_free_slot()
85 (struct smc_wr_tx_pend_priv *)(*pend)); in smc_cdc_get_free_slot()
92 struct smc_cdc_tx_pend *pend) in smc_cdc_add_pending_send() argument
103 pend->conn = conn; in smc_cdc_add_pending_send()
104 pend->cursor = conn->tx_curs_sent; in smc_cdc_add_pending_send()
105 pend->p_cursor = conn->local_tx_ctrl.prod; in smc_cdc_add_pending_send()
106 pend->ctrl_seq = conn->tx_cdc_seq; in smc_cdc_add_pending_send()
111 struct smc_cdc_tx_pend *pend) in smc_cdc_msg_send() argument
117 smc_cdc_add_pending_send(conn, pend); in smc_cdc_msg_send()
[all …]
Dsmc_llc.c381 static void smc_llc_tx_handler(struct smc_wr_tx_pend_priv *pend, in smc_llc_tx_handler() argument
403 struct smc_wr_tx_pend_priv **pend) in smc_llc_add_pending_send() argument
408 pend); in smc_llc_add_pending_send()
425 struct smc_wr_tx_pend_priv **pend) in smc_llc_add_pending_send_v2() argument
429 rc = smc_wr_tx_get_v2_slot(link, smc_llc_tx_handler, wr_buf, pend); in smc_llc_add_pending_send_v2()
452 struct smc_wr_tx_pend_priv *pend; in smc_llc_send_confirm_link() local
458 rc = smc_llc_add_pending_send(link, &wr_buf, &pend); in smc_llc_send_confirm_link()
476 rc = smc_wr_tx_send(link, pend); in smc_llc_send_confirm_link()
487 struct smc_wr_tx_pend_priv *pend; in smc_llc_send_confirm_rkey() local
494 rc = smc_llc_add_pending_send(send_link, &wr_buf, &pend); in smc_llc_send_confirm_rkey()
[all …]
Dsmc_wr.c274 struct smc_wr_tx_pend *pend; in smc_wr_tx_put_slot() local
276 pend = container_of(wr_pend_priv, struct smc_wr_tx_pend, priv); in smc_wr_tx_put_slot()
277 if (pend->idx < link->wr_tx_cnt) { in smc_wr_tx_put_slot()
278 u32 idx = pend->idx; in smc_wr_tx_put_slot()
289 pend->idx == link->wr_tx_cnt) { in smc_wr_tx_put_slot()
306 struct smc_wr_tx_pend *pend; in smc_wr_tx_send() local
311 pend = container_of(priv, struct smc_wr_tx_pend, priv); in smc_wr_tx_send()
312 rc = ib_post_send(link->roce_qp, &link->wr_tx_ibs[pend->idx], NULL); in smc_wr_tx_send()
343 struct smc_wr_tx_pend *pend; in smc_wr_tx_send_wait() local
347 pend = container_of(priv, struct smc_wr_tx_pend, priv); in smc_wr_tx_send_wait()
[all …]
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.10/arch/mips/sgi-ip30/
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-5.19.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()
/linux-5.19.10/drivers/net/can/c_can/
Dc_can_main.c725 u32 idx, obj, pkts = 0, bytes = 0, pend; in c_can_do_tx() local
729 pend = priv->read_reg32(priv, C_CAN_INTPND3_REG); in c_can_do_tx()
731 pend = priv->read_reg(priv, C_CAN_INTPND2_REG); in c_can_do_tx()
733 while ((idx = ffs(pend))) { in c_can_do_tx()
735 pend &= ~BIT(idx); in c_can_do_tx()
779 static u32 c_can_adjust_pending(u32 pend, u32 rx_mask) in c_can_adjust_pending() argument
783 if (pend == rx_mask) in c_can_adjust_pending()
784 return pend; in c_can_adjust_pending()
789 weight = hweight32(pend); in c_can_adjust_pending()
790 lasts = fls(pend); in c_can_adjust_pending()
[all …]
/linux-5.19.10/drivers/irqchip/
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()
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-5.19.10/drivers/clocksource/
Dtimer-ti-dm-systimer.c42 u8 pend; member
398 t->pend = _OMAP_TIMER_WRITE_PEND_OFFSET; in dmtimer_systimer_setup()
404 t->pend = regbase + _OMAP_TIMER_WRITE_PEND_OFFSET; in dmtimer_systimer_setup()
450 void __iomem *pend = t->base + t->pend; in dmtimer_set_next_event() local
452 while (readl_relaxed(pend) & WP_TCRR) in dmtimer_set_next_event()
456 while (readl_relaxed(pend) & WP_TCLR) in dmtimer_set_next_event()
488 void __iomem *pend = t->base + t->pend; in dmtimer_set_periodic() local
493 while (readl_relaxed(pend) & WP_TLDR) in dmtimer_set_periodic()
497 while (readl_relaxed(pend) & WP_TCRR) in dmtimer_set_periodic()
501 while (readl_relaxed(pend) & WP_TCLR) in dmtimer_set_periodic()
/linux-5.19.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()
/linux-5.19.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 …]
/linux-5.19.10/drivers/i2c/busses/
Di2c-xiic.c382 u32 pend, isr, ier; in xiic_process() local
397 pend = isr & ier; in xiic_process()
400 __func__, ier, isr, pend); in xiic_process()
407 if ((pend & XIIC_INTR_ARB_LOST_MASK) || in xiic_process()
408 ((pend & XIIC_INTR_TX_ERROR_MASK) && in xiic_process()
409 !(pend & XIIC_INTR_RX_FULL_MASK))) { in xiic_process()
435 if (pend & XIIC_INTR_RX_FULL_MASK) { in xiic_process()
471 if (pend & (XIIC_INTR_TX_EMPTY_MASK | XIIC_INTR_TX_HALF_MASK)) { in xiic_process()
474 clr |= (pend & in xiic_process()
508 if (pend & XIIC_INTR_BNB_MASK) { in xiic_process()
/linux-5.19.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()
/linux-5.19.10/drivers/pinctrl/samsung/
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()
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()
Dpinctrl-exynos.c490 static inline void exynos_irq_demux_eint(unsigned int pend, in exynos_irq_demux_eint() argument
495 while (pend) { in exynos_irq_demux_eint()
496 irq = fls(pend) - 1; in exynos_irq_demux_eint()
498 pend &= ~(1 << irq); in exynos_irq_demux_eint()
507 unsigned int pend; in exynos_irq_demux_eint16_31() local
515 pend = readl(b->eint_base + b->irq_chip->eint_pend in exynos_irq_demux_eint16_31()
519 exynos_irq_demux_eint(pend & ~mask, b->irq_domain); in exynos_irq_demux_eint16_31()
/linux-5.19.10/lib/
Dvsprintf.c1083 char *p = sym, *pend = sym + sizeof(sym); in resource_string() local
1092 p = string_nocheck(p, pend, "io ", str_spec); in resource_string()
1095 p = string_nocheck(p, pend, "mem ", str_spec); in resource_string()
1098 p = string_nocheck(p, pend, "irq ", str_spec); in resource_string()
1101 p = string_nocheck(p, pend, "dma ", str_spec); in resource_string()
1104 p = string_nocheck(p, pend, "bus ", str_spec); in resource_string()
1107 p = string_nocheck(p, pend, "??? ", str_spec); in resource_string()
1112 p = string_nocheck(p, pend, "size ", str_spec); in resource_string()
1113 p = number(p, pend, resource_size(res), *specp); in resource_string()
1115 p = number(p, pend, res->start, *specp); in resource_string()
[all …]
/linux-5.19.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 …]
/linux-5.19.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()
/linux-5.19.10/arch/x86/include/asm/
Dinit.h15 unsigned long pstart, unsigned long pend);

123