Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/drivers/irqchip/
Dirq-sunxi-nmi.c34 u32 pend; member
40 .pend = 0x04,
46 .pend = 0x04,
167 gc->chip_types[0].regs.ack = reg_offs->pend; in sunxi_sc_nmi_irq_init()
177 gc->chip_types[1].regs.ack = reg_offs->pend; in sunxi_sc_nmi_irq_init()
183 sunxi_sc_nmi_write(gc, reg_offs->pend, 0x1); in sunxi_sc_nmi_irq_init()
Dspear-shirq.c189 u32 pend; in shirq_handler() local
191 pend = readl(shirq->base + shirq->status_reg) & shirq->mask; in shirq_handler()
192 pend >>= shirq->offset; in shirq_handler()
194 while (pend) { in shirq_handler()
195 int irq = __ffs(pend); in shirq_handler()
197 pend &= ~(0x1 << irq); in shirq_handler()
Dirq-s3c24xx.c513 unsigned long pend; in s3c24xx_clear_intc() local
522 pend = __raw_readl(reg_source); in s3c24xx_clear_intc()
524 if (pend == 0 || pend == last) in s3c24xx_clear_intc()
527 __raw_writel(pend, intc->reg_pending); in s3c24xx_clear_intc()
529 __raw_writel(pend, intc->reg_intpnd); in s3c24xx_clear_intc()
531 pr_info("irq: clearing pending status %08x\n", (int)pend); in s3c24xx_clear_intc()
532 last = pend; in s3c24xx_clear_intc()
/linux-4.1.27/drivers/i2c/busses/
Di2c-xiic.c362 u32 pend, isr, ier; in xiic_process() local
372 pend = isr & ier; in xiic_process()
375 __func__, ier, isr, pend); in xiic_process()
383 if (!pend) in xiic_process()
387 if ((pend & XIIC_INTR_ARB_LOST_MASK) || in xiic_process()
388 ((pend & XIIC_INTR_TX_ERROR_MASK) && in xiic_process()
389 !(pend & XIIC_INTR_RX_FULL_MASK))) { in xiic_process()
407 } else if (pend & XIIC_INTR_RX_FULL_MASK) { in xiic_process()
443 } else if (pend & XIIC_INTR_BNB_MASK) { in xiic_process()
459 } else if (pend & (XIIC_INTR_TX_EMPTY_MASK | XIIC_INTR_TX_HALF_MASK)) { in xiic_process()
[all …]
/linux-4.1.27/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.1.27/lib/
Dvsprintf.c700 char *p = sym, *pend = sym + sizeof(sym); in resource_string() local
706 p = string(p, pend, "io ", str_spec); in resource_string()
709 p = string(p, pend, "mem ", str_spec); in resource_string()
712 p = string(p, pend, "irq ", str_spec); in resource_string()
715 p = string(p, pend, "dma ", str_spec); in resource_string()
718 p = string(p, pend, "bus ", str_spec); in resource_string()
721 p = string(p, pend, "??? ", str_spec); in resource_string()
726 p = string(p, pend, "size ", str_spec); in resource_string()
727 p = number(p, pend, resource_size(res), *specp); in resource_string()
729 p = number(p, pend, res->start, *specp); in resource_string()
[all …]
/linux-4.1.27/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.1.27/drivers/pinctrl/samsung/
Dpinctrl-s3c64xx.c609 unsigned int pend, mask; in s3c64xx_irq_demux_eint() local
613 pend = readl(drvdata->virt_base + EINT0PEND_REG); in s3c64xx_irq_demux_eint()
616 pend = pend & range & ~mask; in s3c64xx_irq_demux_eint()
617 pend &= range; in s3c64xx_irq_demux_eint()
619 while (pend) { in s3c64xx_irq_demux_eint()
622 irq = fls(pend) - 1; in s3c64xx_irq_demux_eint()
623 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.c442 static inline void exynos_irq_demux_eint(unsigned long pend, in exynos_irq_demux_eint() argument
447 while (pend) { in exynos_irq_demux_eint()
448 irq = fls(pend) - 1; in exynos_irq_demux_eint()
450 pend &= ~(1 << irq); in exynos_irq_demux_eint()
460 unsigned long pend; in exynos_irq_demux_eint16_31() local
468 pend = readl(d->virt_base + b->irq_chip->eint_pend in exynos_irq_demux_eint16_31()
472 exynos_irq_demux_eint(pend & ~mask, b->irq_domain); in exynos_irq_demux_eint16_31()
/linux-4.1.27/arch/mips/include/asm/octeon/
Dcvmx-pow-defs.h80 uint64_t pend:1; member
84 uint64_t pend:1;
109 uint64_t pend:1; member
113 uint64_t pend:1;
171 uint64_t pend:1; member
175 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 …]
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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/arch/arc/plat-arcfpga/include/plat/
Dsmp.h106 bool pend; member
/linux-4.1.27/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.1.27/drivers/staging/rtl8712/
Drtl8712_recv.h113 u8 *pend; member
Drecv_linux.c68 precvbuf->pend = NULL; in r8712_os_recvbuf_resource_alloc()
Dusb_ops_linux.c289 precvbuf->pend = skb_end_pointer(precvbuf->pskb); in r8712_usb_read_port()
295 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.1.27/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.1.27/arch/arm/mach-omap2/
Dsram243x.S248 adr r8, pend @ addr of preload end
281 beq pend @ jump over dpll relock
297 pend: label
Dsram242x.S248 adr r8, pend @ addr of preload end
281 beq pend @ jump over dpll relock
297 pend: label
/linux-4.1.27/drivers/staging/wlan-ng/
Dprism2fw.c666 u32 pend; in plugimage() local
675 pend = s3plug[i].addr + s3plug[i].len; in plugimage()
715 if (pstart >= cstart && pend <= cend) in plugimage()
/linux-4.1.27/drivers/pinctrl/
Dpinctrl-rockchip.c1401 u32 pend; in rockchip_irq_demux() local
1407 pend = readl_relaxed(bank->reg_base + GPIO_INT_STATUS); in rockchip_irq_demux()
1409 while (pend) { in rockchip_irq_demux()
1412 irq = __ffs(pend); in rockchip_irq_demux()
1413 pend &= ~BIT(irq); in rockchip_irq_demux()
/linux-4.1.27/drivers/net/fddi/skfp/h/
Dsmc.h341 u_long pend[SMT_MAX_TEST] ; /* TID of requests */ member
/linux-4.1.27/drivers/xen/
Dxen-scsiback.c2015 struct vscsibk_pend *pend = p; in scsiback_init_pend() local
2018 memset(pend, 0, sizeof(*pend)); in scsiback_init_pend()
2020 pend->grant_handles[i] = SCSIBACK_INVALID_HANDLE; in scsiback_init_pend()
/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dmcg.c1166 int pend = 0; in clear_pending_reqs() local
1177 pend = !clear; in clear_pending_reqs()
1189 if (!pend && (!list_empty(&group->func[vf].pending) || group->func[vf].num_pend_reqs)) { in clear_pending_reqs()
/linux-4.1.27/include/uapi/linux/
Dbtrfs.h212 __u64 pend; member
/linux-4.1.27/kernel/
Dkexec.c204 unsigned long pstart, pend; in sanity_check_segment_list() local
206 pend = pstart + image->segment[j].memsz; in sanity_check_segment_list()
208 if ((mend > pstart) && (mstart < pend)) in sanity_check_segment_list()
/linux-4.1.27/mm/
Dmmap.c381 unsigned long prev = 0, pend = 0; in browse_rb() local
391 if (vma->vm_start < pend) { in browse_rb()
393 vma->vm_start, pend); in browse_rb()
410 pend = vma->vm_end; in browse_rb()
/linux-4.1.27/drivers/tty/serial/
Dsamsung.c805 unsigned int pend = rd_regl(port, S3C64XX_UINTP); in s3c64xx_serial_handle_irq() local
808 if (pend & S3C64XX_UINTM_RXD_MSK) { in s3c64xx_serial_handle_irq()
812 if (pend & S3C64XX_UINTM_TXD_MSK) { in s3c64xx_serial_handle_irq()
/linux-4.1.27/fs/btrfs/
Dctree.h834 __le64 pend; member
3022 cpu->pend = le64_to_cpu(disk->pend); in btrfs_disk_balance_args_to_cpu()
3040 disk->pend = cpu_to_le64(cpu->pend); in btrfs_cpu_balance_args_to_disk()
Dvolumes.c3031 if (stripe_offset < bargs->pend && in chunk_drange_filter()
/linux-4.1.27/arch/sparc/mm/
Dinit_64.c1505 unsigned long pend, pgprot_t prot, in kernel_map_range() argument
1509 unsigned long vend = PAGE_OFFSET + pend; in kernel_map_range()
/linux-4.1.27/Documentation/filesystems/caching/
Dfscache.txt282 Ops pend=N Number of times async ops added to pending queues
/linux-4.1.27/drivers/staging/rtl8192u/
Dr8192U_core.c1496 int pend; in rtl8192_tx() local
1500 pend = atomic_read(&priv->tx_pending[tcb_desc->queue_index]); in rtl8192_tx()
1505 if (pend > MAX_TX_URB) { in rtl8192_tx()
/linux-4.1.27/scripts/
Danalyze_suspend.py481 pend = self.dmesg[phase]['end']
482 o = max(0, min(end, pend) - max(start, pstart))