Home
last modified time | relevance | path

Searched refs:pend (Results 1 - 25 of 136) sorted by relevance

123456

/kernel/linux/linux-5.10/arch/m68k/68000/
H 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...]
/kernel/linux/linux-6.6/arch/m68k/68000/
H 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...]
/kernel/linux/linux-5.10/net/smc/
H A Dsmc_cdc.c66 struct smc_cdc_tx_pend **pend) in smc_cdc_get_free_slot()
72 (struct smc_wr_tx_pend_priv **)pend); in smc_cdc_get_free_slot()
77 (struct smc_wr_tx_pend_priv *)(*pend)); in smc_cdc_get_free_slot()
84 struct smc_cdc_tx_pend *pend) in smc_cdc_add_pending_send()
95 pend->conn = conn; in smc_cdc_add_pending_send()
96 pend->cursor = conn->tx_curs_sent; in smc_cdc_add_pending_send()
97 pend->p_cursor = conn->local_tx_ctrl.prod; in smc_cdc_add_pending_send()
98 pend->ctrl_seq = conn->tx_cdc_seq; in smc_cdc_add_pending_send()
103 struct smc_cdc_tx_pend *pend) in smc_cdc_msg_send()
109 smc_cdc_add_pending_send(conn, pend); in smc_cdc_msg_send()
62 smc_cdc_get_free_slot(struct smc_connection *conn, struct smc_link *link, struct smc_wr_buf **wr_buf, struct smc_rdma_wr **wr_rdma_buf, struct smc_cdc_tx_pend **pend) smc_cdc_get_free_slot() argument
83 smc_cdc_add_pending_send(struct smc_connection *conn, struct smc_cdc_tx_pend *pend) smc_cdc_add_pending_send() argument
101 smc_cdc_msg_send(struct smc_connection *conn, struct smc_wr_buf *wr_buf, struct smc_cdc_tx_pend *pend) smc_cdc_msg_send() argument
132 smcr_cdc_msg_send_validation(struct smc_connection *conn, struct smc_cdc_tx_pend *pend, struct smc_wr_buf *wr_buf) smcr_cdc_msg_send_validation() argument
165 struct smc_cdc_tx_pend *pend; smcr_cdc_get_slot_and_msg_send() local
[all...]
H A Dsmc_llc.c335 static void smc_llc_tx_handler(struct smc_wr_tx_pend_priv *pend, in smc_llc_tx_handler() argument
346 * @pend: Out variable returning pointer to private pending WR tracking.
357 struct smc_wr_tx_pend_priv **pend) in smc_llc_add_pending_send()
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()
355 smc_llc_add_pending_send(struct smc_link *link, struct smc_wr_buf **wr_buf, struct smc_wr_tx_pend_priv **pend) smc_llc_add_pending_send() argument
463 struct smc_wr_tx_pend_priv *pend; smc_llc_send_delete_rkey() local
491 struct smc_wr_tx_pend_priv *pend; smc_llc_send_add_link() local
532 struct smc_wr_tx_pend_priv *pend; smc_llc_send_delete_link() local
566 struct smc_wr_tx_pend_priv *pend; smc_llc_send_test_link() local
590 struct smc_wr_tx_pend_priv *pend; smc_llc_send_message() local
612 struct smc_wr_tx_pend_priv *pend; smc_llc_send_message_wait() local
700 struct smc_wr_tx_pend_priv *pend; smc_llc_add_link_cont() local
[all...]
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/
H A Dirq.c235 static int handle_registration_node(struct hl_device *hdev, struct hl_user_pending_interrupt *pend, in handle_registration_node() argument
256 *pend->ts_reg_info.timestamp_kernel_addr = timestamp; in handle_registration_node()
259 pend->ts_reg_info.timestamp_kernel_addr, in handle_registration_node()
260 *(u64 *)pend->ts_reg_info.timestamp_kernel_addr); in handle_registration_node()
262 list_del(&pend->wait_list_node); in handle_registration_node()
265 pend->ts_reg_info.in_use = 0; in handle_registration_node()
270 free_node->buf = pend->ts_reg_info.buf; in handle_registration_node()
271 free_node->cq_cb = pend->ts_reg_info.cq_cb; in handle_registration_node()
279 struct hl_user_pending_interrupt *pend, *temp_pend; in handle_user_interrupt() local
299 list_for_each_entry_safe(pend, temp_pen in handle_user_interrupt()
[all...]
H A Dcommand_submission.c1081 struct hl_user_pending_interrupt *pend, *temp; in wake_pending_user_interrupt_threads() local
1084 list_for_each_entry_safe(pend, temp, &interrupt->wait_list_head, wait_list_node) { in wake_pending_user_interrupt_threads()
1085 if (pend->ts_reg_info.buf) { in wake_pending_user_interrupt_threads()
1086 list_del(&pend->wait_list_node); in wake_pending_user_interrupt_threads()
1087 hl_mmap_mem_buf_put(pend->ts_reg_info.buf); in wake_pending_user_interrupt_threads()
1088 hl_cb_put(pend->ts_reg_info.cq_cb); in wake_pending_user_interrupt_threads()
1090 pend->fence.error = -EIO; in wake_pending_user_interrupt_threads()
1091 complete_all(&pend->fence.completion); in wake_pending_user_interrupt_threads()
3204 struct hl_user_pending_interrupt **pend) in ts_buff_get_kernel_ts_record()
3274 *pend in ts_buff_get_kernel_ts_record()
3200 ts_buff_get_kernel_ts_record(struct hl_mmap_mem_buf *buf, struct hl_cb *cq_cb, u64 ts_offset, u64 cq_offset, u64 target_value, spinlock_t *wait_list_lock, struct hl_user_pending_interrupt **pend) ts_buff_get_kernel_ts_record() argument
3288 struct hl_user_pending_interrupt *pend; _hl_interrupt_wait_ioctl() local
3456 struct hl_user_pending_interrupt *pend; _hl_interrupt_wait_ioctl_user_addr() local
[all...]
/kernel/linux/linux-6.6/net/smc/
H A Dsmc_cdc.c76 struct smc_cdc_tx_pend **pend) in smc_cdc_get_free_slot()
82 (struct smc_wr_tx_pend_priv **)pend); in smc_cdc_get_free_slot()
87 (struct smc_wr_tx_pend_priv *)(*pend)); in smc_cdc_get_free_slot()
94 struct smc_cdc_tx_pend *pend) in smc_cdc_add_pending_send()
105 pend->conn = conn; in smc_cdc_add_pending_send()
106 pend->cursor = conn->tx_curs_sent; in smc_cdc_add_pending_send()
107 pend->p_cursor = conn->local_tx_ctrl.prod; in smc_cdc_add_pending_send()
108 pend->ctrl_seq = conn->tx_cdc_seq; in smc_cdc_add_pending_send()
113 struct smc_cdc_tx_pend *pend) in smc_cdc_msg_send()
119 smc_cdc_add_pending_send(conn, pend); in smc_cdc_msg_send()
72 smc_cdc_get_free_slot(struct smc_connection *conn, struct smc_link *link, struct smc_wr_buf **wr_buf, struct smc_rdma_wr **wr_rdma_buf, struct smc_cdc_tx_pend **pend) smc_cdc_get_free_slot() argument
93 smc_cdc_add_pending_send(struct smc_connection *conn, struct smc_cdc_tx_pend *pend) smc_cdc_add_pending_send() argument
111 smc_cdc_msg_send(struct smc_connection *conn, struct smc_wr_buf *wr_buf, struct smc_cdc_tx_pend *pend) smc_cdc_msg_send() argument
142 smcr_cdc_msg_send_validation(struct smc_connection *conn, struct smc_cdc_tx_pend *pend, struct smc_wr_buf *wr_buf) smcr_cdc_msg_send_validation() argument
175 struct smc_cdc_tx_pend *pend; smcr_cdc_get_slot_and_msg_send() local
[all...]
H A Dsmc_llc.c380 static void smc_llc_tx_handler(struct smc_wr_tx_pend_priv *pend, in smc_llc_tx_handler() argument
391 * @pend: Out variable returning pointer to private pending WR tracking.
402 struct smc_wr_tx_pend_priv **pend) in smc_llc_add_pending_send()
407 pend); in smc_llc_add_pending_send()
424 struct smc_wr_tx_pend_priv **pend) in smc_llc_add_pending_send_v2()
428 rc = smc_wr_tx_get_v2_slot(link, smc_llc_tx_handler, wr_buf, pend); in smc_llc_add_pending_send_v2()
451 struct smc_wr_tx_pend_priv *pend; in smc_llc_send_confirm_link() local
457 rc = smc_llc_add_pending_send(link, &wr_buf, &pend); in smc_llc_send_confirm_link()
480 rc = smc_wr_tx_send(link, pend); in smc_llc_send_confirm_link()
491 struct smc_wr_tx_pend_priv *pend; in smc_llc_send_confirm_rkey() local
400 smc_llc_add_pending_send(struct smc_link *link, struct smc_wr_buf **wr_buf, struct smc_wr_tx_pend_priv **pend) smc_llc_add_pending_send() argument
422 smc_llc_add_pending_send_v2(struct smc_link *link, struct smc_wr_v2_buf **wr_buf, struct smc_wr_tx_pend_priv **pend) smc_llc_add_pending_send_v2() argument
540 struct smc_wr_tx_pend_priv *pend; smc_llc_send_delete_rkey() local
649 struct smc_wr_tx_pend_priv *pend; smc_llc_send_add_link() local
709 struct smc_wr_tx_pend_priv *pend; smc_llc_send_delete_link() local
743 struct smc_wr_tx_pend_priv *pend; smc_llc_send_test_link() local
767 struct smc_wr_tx_pend_priv *pend; smc_llc_send_message() local
789 struct smc_wr_tx_pend_priv *pend; smc_llc_send_message_wait() local
839 struct smc_wr_tx_pend_priv *pend; smc_llc_add_link_cont() local
1126 struct smc_wr_tx_pend_priv *pend; smc_llc_send_request_add_link() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/82xx/
H 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/arch/mips/sgi-ip30/
H A 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-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/irqchip/
H A Dirq-sunxi-nmi.c53 u32 pend; member
59 .pend = SUN6I_NMI_PENDING,
65 .pend = SUN7I_NMI_PENDING,
71 .pend = SUN9I_NMI_PENDING,
190 gc->chip_types[0].regs.ack = reg_offs->pend; in sunxi_sc_nmi_irq_init()
200 gc->chip_types[1].regs.ack = reg_offs->pend; in sunxi_sc_nmi_irq_init()
209 sunxi_sc_nmi_write(gc, 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()
/kernel/linux/linux-6.6/drivers/net/can/c_can/
H A 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()
778 static u32 c_can_adjust_pending(u32 pend, u32 rx_mask) in c_can_adjust_pending() argument
782 if (pend == rx_mask) in c_can_adjust_pending()
783 return pend; in c_can_adjust_pending()
788 weight = hweight32(pend); in c_can_adjust_pending()
789 lasts = fls(pend); in c_can_adjust_pending()
817 c_can_read_objects(struct net_device *dev, struct c_can_priv *priv, u32 pend, int quota) c_can_read_objects() argument
859 u32 pend; c_can_get_pending() local
883 u32 pkts = 0, pend = 0, toread, n; c_can_do_rx_poll() local
[all...]
/kernel/linux/linux-5.10/drivers/irqchip/
H A 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()
H 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()
/kernel/linux/linux-5.10/drivers/net/can/c_can/
H A 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()
787 c_can_read_objects(struct net_device *dev, struct c_can_priv *priv, u32 pend, int quota) c_can_read_objects() argument
828 u32 pend = priv->read_reg(priv, C_CAN_NEWDAT1_REG); c_can_get_pending() local
849 u32 pkts = 0, pend = 0, toread, n; c_can_do_rx_poll() local
[all...]
/kernel/linux/linux-5.10/drivers/clocksource/
H A 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) in dmtimer_set_periodic()
[all...]
/kernel/linux/linux-6.6/drivers/clocksource/
H A 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) in dmtimer_set_periodic()
[all...]
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-xiic.c376 u32 pend, isr, ier; in xiic_process() local
390 pend = isr & ier; in xiic_process()
392 dev_dbg(i2c->adap.dev.parent, "%s: IER: 0x%x, ISR: 0x%x, pend: 0x%x\n", in xiic_process()
393 __func__, ier, isr, pend); in xiic_process()
400 if ((pend & XIIC_INTR_ARB_LOST_MASK) || in xiic_process()
401 ((pend & XIIC_INTR_TX_ERROR_MASK) && in xiic_process()
402 !(pend & XIIC_INTR_RX_FULL_MASK))) { in xiic_process()
428 if (pend & XIIC_INTR_RX_FULL_MASK) { in xiic_process()
464 if (pend & XIIC_INTR_BNB_MASK) { in xiic_process()
482 if (pend in xiic_process()
643 u32 pend, isr, ier; xiic_isr() local
[all...]
/kernel/linux/linux-5.10/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
283 uint64_t pend:1; global() member
[all...]

Completed in 22 milliseconds

123456