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

123

/linux-master/arch/x86/include/asm/
H A Dinit.h17 unsigned long pstart, unsigned long pend);
/linux-master/arch/m68k/68000/
H A Dints.c85 unsigned long pend = ISR; local
87 while (pend) {
88 if (pend & 0x0000ffff) {
89 if (pend & 0x000000ff) {
90 if (pend & 0x0000000f) {
98 if (pend & 0x00000f00) {
107 if (pend & 0x00ff0000) {
108 if (pend & 0x000f0000) {
116 if (pend & 0x0f000000) {
126 while (! (mask & pend)) {
[all...]
/linux-master/drivers/accel/habanalabs/common/
H A Dirq.c255 static int handle_registration_node(struct hl_device *hdev, struct hl_user_pending_interrupt *pend, argument
281 pend->ts_reg_info.buf,
282 pend,
302 *pend->ts_reg_info.timestamp_kernel_addr = timestamp;
305 pend, pend->ts_reg_info.timestamp_kernel_addr, intr->interrupt_id);
307 list_del(&pend->list_node);
312 free_node->buf = pend->ts_reg_info.buf;
313 free_node->cq_cb = pend->ts_reg_info.cq_cb;
324 pend
332 struct hl_user_pending_interrupt *pend, *temp_pend; local
379 struct hl_user_pending_interrupt *pend, *temp_pend; local
[all...]
H A Dcommand_submission.c1099 struct hl_user_pending_interrupt *pend, *temp; local
1103 list_for_each_entry_safe(pend, temp, &interrupt->wait_list_head, list_node) {
1104 pend->fence.error = -EIO;
1105 complete_all(&pend->fence.completion);
1110 list_for_each_entry_safe(pend, temp, &interrupt->ts_list_head, list_node) {
1111 list_del(&pend->list_node);
1112 hl_mmap_mem_buf_put(pend->ts_reg_info.buf);
1113 hl_cb_put(pend->ts_reg_info.cq_cb);
3273 struct hl_user_pending_interrupt **pend)
3320 *pend
3271 ts_get_and_handle_kernel_record(struct hl_device *hdev, struct hl_ctx *ctx, struct wait_interrupt_data *data, unsigned long *flags, struct hl_user_pending_interrupt **pend) argument
3329 struct hl_user_pending_interrupt *pend; local
3406 struct hl_user_pending_interrupt *pend; local
3527 struct hl_user_pending_interrupt *pend; local
[all...]
/linux-master/arch/mips/rb532/
H A Dirq.c215 unsigned int ip, pend, group; local
228 pend = READ_PEND(addr);
229 pend &= ~READ_MASK(addr); /* only unmasked interrupts */
230 pend = 39 + (fls(pend) - 32);
231 do_IRQ((group << 5) + pend);
/linux-master/net/smc/
H A Dsmc_cdc.c76 struct smc_cdc_tx_pend **pend)
82 (struct smc_wr_tx_pend_priv **)pend);
87 (struct smc_wr_tx_pend_priv *)(*pend));
94 struct smc_cdc_tx_pend *pend)
105 pend->conn = conn;
106 pend->cursor = conn->tx_curs_sent;
107 pend->p_cursor = conn->local_tx_ctrl.prod;
108 pend->ctrl_seq = conn->tx_cdc_seq;
113 struct smc_cdc_tx_pend *pend)
119 smc_cdc_add_pending_send(conn, pend);
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) argument
93 smc_cdc_add_pending_send(struct smc_connection *conn, struct smc_cdc_tx_pend *pend) argument
111 smc_cdc_msg_send(struct smc_connection *conn, struct smc_wr_buf *wr_buf, struct smc_cdc_tx_pend *pend) argument
142 smcr_cdc_msg_send_validation(struct smc_connection *conn, struct smc_cdc_tx_pend *pend, struct smc_wr_buf *wr_buf) argument
175 struct smc_cdc_tx_pend *pend; local
[all...]
H A Dsmc_llc.c380 static void smc_llc_tx_handler(struct smc_wr_tx_pend_priv *pend, argument
391 * @pend: Out variable returning pointer to private pending WR tracking.
402 struct smc_wr_tx_pend_priv **pend)
407 pend);
424 struct smc_wr_tx_pend_priv **pend)
428 rc = smc_wr_tx_get_v2_slot(link, smc_llc_tx_handler, wr_buf, pend);
451 struct smc_wr_tx_pend_priv *pend; local
457 rc = smc_llc_add_pending_send(link, &wr_buf, &pend);
480 rc = smc_wr_tx_send(link, pend);
491 struct smc_wr_tx_pend_priv *pend; local
400 smc_llc_add_pending_send(struct smc_link *link, struct smc_wr_buf **wr_buf, struct smc_wr_tx_pend_priv **pend) 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) argument
540 struct smc_wr_tx_pend_priv *pend; local
649 struct smc_wr_tx_pend_priv *pend; local
709 struct smc_wr_tx_pend_priv *pend; local
743 struct smc_wr_tx_pend_priv *pend; local
767 struct smc_wr_tx_pend_priv *pend; local
789 struct smc_wr_tx_pend_priv *pend; local
839 struct smc_wr_tx_pend_priv *pend; local
1126 struct smc_wr_tx_pend_priv *pend; local
[all...]
H A Dsmc_wr.c274 struct smc_wr_tx_pend *pend; local
276 pend = container_of(wr_pend_priv, struct smc_wr_tx_pend, priv);
277 if (pend->idx < link->wr_tx_cnt) {
278 u32 idx = pend->idx;
289 pend->idx == link->wr_tx_cnt) {
306 struct smc_wr_tx_pend *pend; local
311 pend = container_of(priv, struct smc_wr_tx_pend, priv);
312 rc = ib_post_send(link->roce_qp, &link->wr_tx_ibs[pend->idx], NULL);
343 struct smc_wr_tx_pend *pend; local
347 pend
[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-master/arch/mips/sni/
H A Dpcimt.c235 u8 pend = *(volatile char *)PCIMT_CSITPEND; local
238 if (pend & IT_EISA) {
252 if (!(pend & IT_SCSI)) {
265 u8 pend = *(volatile char *)PCIMT_CSITPEND; local
268 pend &= (IT_INTA | IT_INTB | IT_INTC | IT_INTD);
269 pend ^= (IT_INTA | IT_INTB | IT_INTC | IT_INTD);
271 irq = PCIMT_IRQ_INT2 + ffs(pend) - 1;
/linux-master/drivers/irqchip/
H A Dirq-sunxi-nmi.c53 u32 pend; member in struct:sunxi_sc_nmi_reg_offs
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;
200 gc->chip_types[1].regs.ack = reg_offs->pend;
209 sunxi_sc_nmi_write(gc, reg_offs->pend, SUNXI_NMI_IRQ_BIT);
H A Dspear-shirq.c190 u32 pend; local
192 pend = readl(shirq->base + shirq->status_reg) & shirq->mask;
193 pend >>= shirq->offset;
195 while (pend) {
196 int irq = __ffs(pend);
198 pend &= ~(0x1 << irq);
/linux-master/arch/mips/sgi-ip30/
H A Dip30-irq.c101 u64 pend, mask; local
104 pend = heart_read(&heart_regs->isr);
108 pend &= mask;
109 if (unlikely(!pend))
113 if (pend & BIT_ULL(HEART_L2_INT_RESCHED_CPU_0)) {
117 } else if (pend & BIT_ULL(HEART_L2_INT_RESCHED_CPU_1)) {
121 } else if (pend & BIT_ULL(HEART_L2_INT_CALL_CPU_0)) {
125 } else if (pend & BIT_ULL(HEART_L2_INT_CALL_CPU_1)) {
133 ret = generic_handle_domain_irq(domain, __ffs(pend));
/linux-master/drivers/net/can/c_can/
H A Dc_can_main.c725 u32 idx, obj, pkts = 0, bytes = 0, pend; local
729 pend = priv->read_reg32(priv, C_CAN_INTPND3_REG);
731 pend = priv->read_reg(priv, C_CAN_INTPND2_REG);
733 while ((idx = ffs(pend))) {
735 pend &= ~BIT(idx);
778 static u32 c_can_adjust_pending(u32 pend, u32 rx_mask) argument
782 if (pend == rx_mask)
783 return pend;
788 weight = hweight32(pend);
789 lasts = fls(pend);
817 c_can_read_objects(struct net_device *dev, struct c_can_priv *priv, u32 pend, int quota) argument
859 u32 pend; local
883 u32 pkts = 0, pend = 0, toread, n; local
[all...]
/linux-master/drivers/clocksource/
H A Dtimer-ti-dm-systimer.c42 u8 pend; member in struct:dmtimer_systimer
398 t->pend = _OMAP_TIMER_WRITE_PEND_OFFSET;
404 t->pend = regbase + _OMAP_TIMER_WRITE_PEND_OFFSET;
450 void __iomem *pend = t->base + t->pend; local
452 while (readl_relaxed(pend) & WP_TCRR)
456 while (readl_relaxed(pend) & WP_TCLR)
488 void __iomem *pend = t->base + t->pend; local
493 while (readl_relaxed(pend)
[all...]
/linux-master/drivers/pinctrl/samsung/
H A Dpinctrl-s3c64xx.c597 unsigned int pend, mask; local
601 pend = readl(drvdata->virt_base + EINT0PEND_REG);
604 pend = pend & range & ~mask;
605 pend &= range;
607 while (pend) {
611 irq = fls(pend) - 1;
612 pend &= ~(1 << irq);
/linux-master/arch/x86/mm/
H A Dident_map.c98 unsigned long pstart, unsigned long pend)
101 unsigned long end = pend + info->offset;
97 kernel_ident_mapping_init(struct x86_mapping_info *info, pgd_t *pgd_page, unsigned long pstart, unsigned long pend) argument
/linux-master/drivers/staging/rtl8712/
H A Drtl8712_recv.h101 u8 *pend; member in struct:recv_buf
/linux-master/arch/mips/include/asm/octeon/
H A Dcvmx-pow-defs.h86 uint64_t pend:1; member in struct:cvmx_pow_bist_stat::cvmx_pow_bist_stat_cn30xx
90 uint64_t pend:1;
115 uint64_t pend:1; member in struct:cvmx_pow_bist_stat::cvmx_pow_bist_stat_cn31xx
119 uint64_t pend:1;
175 uint64_t pend:1; member in struct:cvmx_pow_bist_stat::cvmx_pow_bist_stat_cn52xx
179 uint64_t pend:1;
233 uint64_t pend:1; member in struct:cvmx_pow_bist_stat::cvmx_pow_bist_stat_cn61xx
237 uint64_t pend:1;
258 uint64_t pend:1; member in struct:cvmx_pow_bist_stat::cvmx_pow_bist_stat_cn63xx
262 uint64_t pend
283 uint64_t pend:1; member in struct:cvmx_pow_bist_stat::cvmx_pow_bist_stat_cn66xx
[all...]
/linux-master/drivers/net/fddi/skfp/
H A Dsmt.c180 smc->sm.pend[i] = 0 ;
378 if (!smc->sm.pend[SMT_TID_NIF])
379 smc->sm.pend[SMT_TID_NIF] = smt_get_tid(smc) ;
381 smc->sm.pend[SMT_TID_NIF], SMT_REQUEST,0) ;
623 smc->sm.pend[SMT_TID_NIF] = 0 ;
633 if (sm->smt_tid == smc->sm.pend[SMT_TID_NIF]) {
634 smc->sm.pend[SMT_TID_NIF] = 0 ;
665 smc->sm.pend[SMT_TID_NIF_TEST]) {
670 smc->sm.pend[SMT_TID_NIF], sm->smt_tid);
702 if (sm->smt_tid == smc->sm.pend[SMT_TID_EC
[all...]
/linux-master/drivers/i2c/busses/
H A Di2c-xiic.c670 u32 pend, isr, ier; local
685 pend = isr & ier;
687 dev_dbg(i2c->adap.dev.parent, "%s: IER: 0x%x, ISR: 0x%x, pend: 0x%x\n",
688 __func__, ier, isr, pend);
697 if ((pend & XIIC_INTR_ARB_LOST_MASK) ||
698 ((pend & XIIC_INTR_TX_ERROR_MASK) &&
699 !(pend & XIIC_INTR_RX_FULL_MASK))) {
727 if (pend & XIIC_INTR_RX_FULL_MASK) {
763 if (pend & (XIIC_INTR_TX_EMPTY_MASK | XIIC_INTR_TX_HALF_MASK)) {
766 clr |= (pend
[all...]
/linux-master/arch/powerpc/platforms/powernv/
H A Docxl.c538 int pend; local
585 pend = val >> 63;
587 while (pend) {
595 pend = val >> 63;
/linux-master/lib/
H A Dvsprintf.c1086 char *p = sym, *pend = sym + sizeof(sym); local
1095 p = string_nocheck(p, pend, "io ", str_spec);
1098 p = string_nocheck(p, pend, "mem ", str_spec);
1101 p = string_nocheck(p, pend, "irq ", str_spec);
1104 p = string_nocheck(p, pend, "dma ", str_spec);
1107 p = string_nocheck(p, pend, "bus ", str_spec);
1110 p = string_nocheck(p, pend, "??? ", str_spec);
1115 p = string_nocheck(p, pend, "size ", str_spec);
1116 p = number(p, pend, resource_size(res), *specp);
1118 p = number(p, pend, re
1491 char *p = ip6_addr, *pend = ip6_addr + sizeof(ip6_addr); local
1551 char *pend = ip4_addr + sizeof(ip4_addr); local
[all...]
/linux-master/arch/mips/cavium-octeon/executive/
H A Docteon-model.c45 read_cmd.s.pend = 1;
48 && read_cmd.s.pend)
/linux-master/arch/mips/include/asm/
H A Dmips-gic.h207 GIC_ACCESSOR_RO_INTR_BIT(0x480, pend)
227 GIC_VX_ACCESSOR_RO(32, 0x004, pend)

Completed in 373 milliseconds

123