Home
last modified time | relevance | path

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

/linux-4.4.14/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-4.4.14/arch/powerpc/platforms/82xx/
Dpq2ads-pci-pic.c84 u32 stat, mask, pend; in pq2ads_pci_irq_demux() local
91 pend = stat & ~mask; in pq2ads_pci_irq_demux()
93 if (!pend) in pq2ads_pci_irq_demux()
96 for (bit = 0; pend != 0; ++bit, pend <<= 1) { in pq2ads_pci_irq_demux()
97 if (pend & 0x80000000) { in pq2ads_pci_irq_demux()
/linux-4.4.14/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-4.4.14/arch/mips/rb532/
Dirq.c216 unsigned int ip, pend, group; in plat_irq_dispatch() local
229 pend = READ_PEND(addr); in plat_irq_dispatch()
230 pend &= ~READ_MASK(addr); /* only unmasked interrupts */ in plat_irq_dispatch()
231 pend = 39 + (fls(pend) - 32); in plat_irq_dispatch()
232 do_IRQ((group << 5) + pend); in plat_irq_dispatch()
/linux-4.4.14/drivers/net/can/c_can/
Dc_can.c683 u32 idx, obj, pkts = 0, bytes = 0, pend, clr; in c_can_do_tx() local
685 clr = pend = priv->read_reg(priv, C_CAN_INTPND2_REG); in c_can_do_tx()
687 while ((idx = ffs(pend))) { in c_can_do_tx()
689 pend &= ~(1 << idx); in c_can_do_tx()
715 static u32 c_can_adjust_pending(u32 pend) in c_can_adjust_pending() argument
719 if (pend == RECEIVE_OBJECT_BITS) in c_can_adjust_pending()
720 return pend; in c_can_adjust_pending()
726 weight = hweight32(pend); in c_can_adjust_pending()
727 lasts = fls(pend); in c_can_adjust_pending()
731 return pend; in c_can_adjust_pending()
[all …]
/linux-4.4.14/drivers/irqchip/
Dirq-sunxi-nmi.c37 u32 pend; member
43 .pend = 0x04,
49 .pend = 0x04,
169 gc->chip_types[0].regs.ack = reg_offs->pend; in sunxi_sc_nmi_irq_init()
179 gc->chip_types[1].regs.ack = reg_offs->pend; in sunxi_sc_nmi_irq_init()
185 sunxi_sc_nmi_write(gc, reg_offs->pend, 0x1); in sunxi_sc_nmi_irq_init()
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()
Dirq-s3c24xx.c502 unsigned long pend; in s3c24xx_clear_intc() local
511 pend = __raw_readl(reg_source); in s3c24xx_clear_intc()
513 if (pend == 0 || pend == last) in s3c24xx_clear_intc()
516 __raw_writel(pend, intc->reg_pending); in s3c24xx_clear_intc()
518 __raw_writel(pend, intc->reg_intpnd); in s3c24xx_clear_intc()
520 pr_info("irq: clearing pending status %08x\n", (int)pend); in s3c24xx_clear_intc()
521 last = pend; in s3c24xx_clear_intc()
/linux-4.4.14/drivers/i2c/busses/
Di2c-xiic.c364 u32 pend, isr, ier; in xiic_process() local
375 pend = isr & ier; in xiic_process()
378 __func__, ier, isr, pend); in xiic_process()
385 if ((pend & XIIC_INTR_ARB_LOST_MASK) || in xiic_process()
386 ((pend & XIIC_INTR_TX_ERROR_MASK) && in xiic_process()
387 !(pend & XIIC_INTR_RX_FULL_MASK))) { in xiic_process()
407 if (pend & XIIC_INTR_RX_FULL_MASK) { in xiic_process()
444 if (pend & XIIC_INTR_BNB_MASK) { in xiic_process()
460 if (pend & (XIIC_INTR_TX_EMPTY_MASK | XIIC_INTR_TX_HALF_MASK)) { in xiic_process()
463 clr |= (pend & in xiic_process()
[all …]
/linux-4.4.14/arch/arm/plat-omap/include/plat/
Ddmtimer.h111 void __iomem *pend; /* write pending */ member
283 while (readl_relaxed(timer->pend) & (reg >> WPSHIFT)) in __omap_dm_timer_read()
293 while (readl_relaxed(timer->pend) & (reg >> WPSHIFT)) in __omap_dm_timer_write()
310 timer->pend = timer->io_base + _OMAP_TIMER_WRITE_PEND_OFFSET; in __omap_dm_timer_init_regs()
317 timer->pend = timer->io_base + in __omap_dm_timer_init_regs()
/linux-4.4.14/lib/
Dvsprintf.c701 char *p = sym, *pend = sym + sizeof(sym); in resource_string() local
707 p = string(p, pend, "io ", str_spec); in resource_string()
710 p = string(p, pend, "mem ", str_spec); in resource_string()
713 p = string(p, pend, "irq ", str_spec); in resource_string()
716 p = string(p, pend, "dma ", str_spec); in resource_string()
719 p = string(p, pend, "bus ", str_spec); in resource_string()
722 p = string(p, pend, "??? ", str_spec); in resource_string()
727 p = string(p, pend, "size ", str_spec); in resource_string()
728 p = number(p, pend, resource_size(res), *specp); in resource_string()
730 p = number(p, pend, res->start, *specp); in resource_string()
[all …]
/linux-4.4.14/arch/arm/plat-samsung/
Dadc.c52 struct list_head pend; member
135 struct s3c_adc_client, pend); in s3c_adc_try()
136 list_del(&next->pend); in s3c_adc_try()
173 list_add_tail(&client->pend, &adc_pending); in s3c_adc_start()
272 tmp = list_entry(p, struct s3c_adc_client, pend); in s3c_adc_release()
274 list_del(&tmp->pend); in s3c_adc_release()
/linux-4.4.14/drivers/pinctrl/samsung/
Dpinctrl-s3c64xx.c606 unsigned int pend, mask; in s3c64xx_irq_demux_eint() local
610 pend = readl(drvdata->virt_base + EINT0PEND_REG); in s3c64xx_irq_demux_eint()
613 pend = pend & range & ~mask; in s3c64xx_irq_demux_eint()
614 pend &= range; in s3c64xx_irq_demux_eint()
616 while (pend) { in s3c64xx_irq_demux_eint()
619 irq = fls(pend) - 1; in s3c64xx_irq_demux_eint()
620 pend &= ~(1 << irq); in s3c64xx_irq_demux_eint()
Dpinctrl-s3c24xx.c366 unsigned int pend, mask; in s3c24xx_demux_eint() local
370 pend = readl(d->virt_base + EINTPEND_REG); in s3c24xx_demux_eint()
373 pend &= ~mask; in s3c24xx_demux_eint()
374 pend &= range; in s3c24xx_demux_eint()
376 while (pend) { in s3c24xx_demux_eint()
379 irq = __ffs(pend); in s3c24xx_demux_eint()
380 pend &= ~(1 << irq); in s3c24xx_demux_eint()
Dpinctrl-exynos.c441 static inline void exynos_irq_demux_eint(unsigned long pend, in exynos_irq_demux_eint() argument
446 while (pend) { in exynos_irq_demux_eint()
447 irq = fls(pend) - 1; in exynos_irq_demux_eint()
449 pend &= ~(1 << irq); in exynos_irq_demux_eint()
459 unsigned long pend; in exynos_irq_demux_eint16_31() local
467 pend = readl(d->virt_base + b->irq_chip->eint_pend in exynos_irq_demux_eint16_31()
471 exynos_irq_demux_eint(pend & ~mask, b->irq_domain); in exynos_irq_demux_eint16_31()
/linux-4.4.14/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;
177 uint64_t pend:1; member
181 uint64_t pend:1;
239 uint64_t pend:1; member
243 uint64_t pend:1;
264 uint64_t pend:1; member
268 uint64_t pend:1;
[all …]
Dcvmx-mio-defs.h2281 uint64_t pend:1; member
2289 uint64_t pend:1;
2300 uint64_t pend:1; member
2310 uint64_t pend:1;
/linux-4.4.14/drivers/net/fddi/skfp/
Dsmt.c189 smc->sm.pend[i] = 0 ; in smt_agent_init()
387 if (!smc->sm.pend[SMT_TID_NIF]) in smt_event()
388 smc->sm.pend[SMT_TID_NIF] = smt_get_tid(smc) ; in smt_event()
390 smc->sm.pend[SMT_TID_NIF], SMT_REQUEST,0) ; in smt_event()
631 smc->sm.pend[SMT_TID_NIF] = 0 ; in smt_received_pack()
641 if (sm->smt_tid == smc->sm.pend[SMT_TID_NIF]) { in smt_received_pack()
642 smc->sm.pend[SMT_TID_NIF] = 0 ; in smt_received_pack()
673 smc->sm.pend[SMT_TID_NIF_TEST]) { in smt_received_pack()
678 smc->sm.pend[SMT_TID_NIF],sm->smt_tid) ; in smt_received_pack()
710 if (sm->smt_tid == smc->sm.pend[SMT_TID_ECF]) { in smt_received_pack()
[all …]
/linux-4.4.14/arch/sparc/kernel/
Dpcic.c763 void pcic_nmi(unsigned int pend, struct pt_regs *regs) in pcic_nmi() argument
766 pend = swab32(pend); in pcic_nmi()
768 if (!pcic_speculative || (pend & PCI_SYS_INT_PENDING_PIO) == 0) { in pcic_nmi()
774 pend, (int)regs->pc, pcic_speculative); in pcic_nmi()
Dkernel.h179 void pcic_nmi(unsigned int pend, struct pt_regs *regs);
/linux-4.4.14/arch/ia64/kernel/
Dacpi.c495 struct node_memblk_s *p, *q, *pend; in acpi_numa_memory_affinity_init() local
511 pend = &node_memblk[num_node_memblks]; in acpi_numa_memory_affinity_init()
512 for (p = &node_memblk[0]; p < pend; p++) { in acpi_numa_memory_affinity_init()
516 if (p < pend) { in acpi_numa_memory_affinity_init()
517 for (q = pend - 1; q >= p; q--) in acpi_numa_memory_affinity_init()
/linux-4.4.14/arch/mips/cavium-octeon/executive/
Docteon-model.c45 read_cmd.s.pend = 1; in cvmx_fuse_read_byte()
48 && read_cmd.s.pend) in cvmx_fuse_read_byte()
/linux-4.4.14/drivers/video/fbdev/
Dtcx.c128 u32 __iomem *p, *pend; in __tcx_set_control_plane() local
136 for (pend = p + info->fix.smem_len; p < pend; p++) { in __tcx_set_control_plane()
/linux-4.4.14/drivers/isdn/hisax/
Disdnl3.c84 u_char *pend = p + size; in findie() local
94 while (p < pend) { in findie()
106 if ((pend - p) < 2) in findie()
108 if (*(p + 1) > (pend - (p + 2))) in findie()
Dst5481_usb.c588 struct usb_iso_packet_descriptor *pipd, *pend; in st5481_isoc_flatten() local
596 pend = &urb->iso_frame_desc[urb->number_of_packets], in st5481_isoc_flatten()
598 pipd < pend; in st5481_isoc_flatten()
Dnetjet.c402 u_int *pend = bcs->hw.tiger.rec + NETJET_DMA_RXSIZE - 1; in read_raw() local
422 if (p > pend) in read_raw()
/linux-4.4.14/drivers/staging/rtl8712/
Drtl8712_recv.h113 u8 *pend; member
Drecv_linux.c68 precvbuf->pend = NULL; in r8712_os_recvbuf_resource_alloc()
Dusb_ops_linux.c290 precvbuf->pend = skb_end_pointer(precvbuf->pskb); in r8712_usb_read_port()
296 precvbuf->pend = skb_end_pointer(precvbuf->pskb); in r8712_usb_read_port()
Drtl8712_recv.c131 precvbuf->pend = precvbuf->pdata + MAX_RECVBUF_SZ; in r8712_init_recvbuf()
/linux-4.4.14/drivers/mtd/
Dinftlcore.c825 char *p, *pend; in inftl_writeblock() local
831 pend = buffer + SECTORSIZE; in inftl_writeblock()
832 for (p = buffer; p < pend && !*p; p++) in inftl_writeblock()
835 if (p < pend) { in inftl_writeblock()
/linux-4.4.14/arch/arm/mach-omap2/
Dsram242x.S248 adr r8, pend @ addr of preload end
281 beq pend @ jump over dpll relock
297 pend: label
Dsram243x.S248 adr r8, pend @ addr of preload end
281 beq pend @ jump over dpll relock
297 pend: label
/linux-4.4.14/drivers/staging/wlan-ng/
Dprism2fw.c663 u32 pend; in plugimage() local
672 pend = s3plug[i].addr + s3plug[i].len; in plugimage()
715 if (pstart >= cstart && pend <= cend) in plugimage()
/linux-4.4.14/kernel/
Dkexec_core.c189 unsigned long pstart, pend; in sanity_check_segment_list() local
192 pend = pstart + image->segment[j].memsz; in sanity_check_segment_list()
194 if ((mend > pstart) && (mstart < pend)) in sanity_check_segment_list()
/linux-4.4.14/drivers/net/fddi/skfp/h/
Dsmc.h341 u_long pend[SMT_MAX_TEST] ; /* TID of requests */ member
/linux-4.4.14/drivers/pinctrl/
Dpinctrl-rockchip.c1472 u32 pend; in rockchip_irq_demux() local
1478 pend = readl_relaxed(bank->reg_base + GPIO_INT_STATUS); in rockchip_irq_demux()
1480 while (pend) { in rockchip_irq_demux()
1483 irq = __ffs(pend); in rockchip_irq_demux()
1484 pend &= ~BIT(irq); in rockchip_irq_demux()
/linux-4.4.14/drivers/xen/
Dxen-scsiback.c1859 struct vscsibk_pend *pend = p; in scsiback_init_pend() local
1862 memset(pend, 0, sizeof(*pend)); in scsiback_init_pend()
1864 pend->grant_handles[i] = SCSIBACK_INVALID_HANDLE; in scsiback_init_pend()
/linux-4.4.14/drivers/infiniband/hw/mlx4/
Dmcg.c1170 int pend = 0; in clear_pending_reqs() local
1181 pend = !clear; in clear_pending_reqs()
1193 if (!pend && (!list_empty(&group->func[vf].pending) || group->func[vf].num_pend_reqs)) { in clear_pending_reqs()
/linux-4.4.14/include/uapi/linux/
Dbtrfs.h218 __u64 pend; member
/linux-4.4.14/mm/
Dmmap.c382 unsigned long prev = 0, pend = 0; in browse_rb() local
392 if (vma->vm_start < pend) { in browse_rb()
394 vma->vm_start, pend); in browse_rb()
411 pend = vma->vm_end; in browse_rb()
/linux-4.4.14/drivers/tty/serial/
Dsamsung.c780 unsigned int pend = rd_regl(port, S3C64XX_UINTP); in s3c64xx_serial_handle_irq() local
783 if (pend & S3C64XX_UINTM_RXD_MSK) { in s3c64xx_serial_handle_irq()
787 if (pend & S3C64XX_UINTM_TXD_MSK) { in s3c64xx_serial_handle_irq()
/linux-4.4.14/fs/btrfs/
Dctree.h844 __le64 pend; member
3066 cpu->pend = le64_to_cpu(disk->pend); in btrfs_disk_balance_args_to_cpu()
3084 disk->pend = cpu_to_le64(cpu->pend); in btrfs_cpu_balance_args_to_disk()
Dvolumes.c3237 if (stripe_offset < bargs->pend && in chunk_drange_filter()
/linux-4.4.14/arch/sparc/mm/
Dinit_64.c1562 unsigned long pend, pgprot_t prot, in kernel_map_range() argument
1566 unsigned long vend = PAGE_OFFSET + pend; in kernel_map_range()
/linux-4.4.14/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c738 megasas_sync_pd_seq_num(struct megasas_instance *instance, bool pend) { in megasas_sync_pd_seq_num() argument
775 if (pend) { in megasas_sync_pd_seq_num()
Dmegaraid_sas.h2036 megasas_sync_pd_seq_num(struct megasas_instance *instance, bool pend);
/linux-4.4.14/Documentation/filesystems/caching/
Dfscache.txt282 Ops pend=N Number of times async ops added to pending queues
/linux-4.4.14/drivers/staging/rtl8192u/
Dr8192U_core.c1551 int pend; in rtl8192_tx() local
1556 pend = atomic_read(&priv->tx_pending[tcb_desc->queue_index]); in rtl8192_tx()
1561 if (pend > MAX_TX_URB) { in rtl8192_tx()
/linux-4.4.14/scripts/
Danalyze_suspend.py481 pend = self.dmesg[phase]['end']
482 o = max(0, min(end, pend) - max(start, pstart))