Home
last modified time | relevance | path

Searched refs:iflags (Results 1 – 25 of 28) sorted by relevance

12

/linux-2.6.39/arch/arm/mach-u300/
Dclock.c120 unsigned long iflags; in syscon_block_reset_enable() local
125 spin_lock_irqsave(&syscon_resetreg_lock, iflags); in syscon_block_reset_enable()
129 spin_unlock_irqrestore(&syscon_resetreg_lock, iflags); in syscon_block_reset_enable()
136 unsigned long iflags; in syscon_block_reset_disable() local
141 spin_lock_irqsave(&syscon_resetreg_lock, iflags); in syscon_block_reset_disable()
145 spin_unlock_irqrestore(&syscon_resetreg_lock, iflags); in syscon_block_reset_disable()
183 unsigned long iflags; in syscon_clk_disable() local
189 spin_lock_irqsave(&syscon_clkreg_lock, iflags); in syscon_clk_disable()
191 spin_unlock_irqrestore(&syscon_clkreg_lock, iflags); in syscon_clk_disable()
196 unsigned long iflags; in syscon_clk_enable() local
[all …]
/linux-2.6.39/arch/arm/kernel/
Dirq.c100 void set_irq_flags(unsigned int irq, unsigned int iflags) in set_irq_flags() argument
109 if (iflags & IRQF_VALID) in set_irq_flags()
111 if (iflags & IRQF_PROBE) in set_irq_flags()
113 if (!(iflags & IRQF_NOAUTOEN)) in set_irq_flags()
/linux-2.6.39/drivers/scsi/
Dsg.c781 unsigned long iflags; in sg_ioctl() local
892 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_ioctl()
896 iflags); in sg_ioctl()
901 read_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_ioctl()
905 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_ioctl()
910 read_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_ioctl()
972 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_ioctl()
1000 read_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_ioctl()
1135 unsigned long iflags; in sg_poll() local
1141 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_poll()
[all …]
Dscsi_debug.c1803 unsigned long iflags; in resp_read() local
1839 read_lock_irqsave(&atomic_rw, iflags); in resp_read()
1841 read_unlock_irqrestore(&atomic_rw, iflags); in resp_read()
2060 unsigned long iflags; in resp_write() local
2077 write_lock_irqsave(&atomic_rw, iflags); in resp_write()
2081 write_unlock_irqrestore(&atomic_rw, iflags); in resp_write()
2096 unsigned long iflags; in resp_write_same() local
2110 write_lock_irqsave(&atomic_rw, iflags); in resp_write_same()
2123 write_unlock_irqrestore(&atomic_rw, iflags); in resp_write_same()
2139 write_unlock_irqrestore(&atomic_rw, iflags); in resp_write_same()
[all …]
Dtmscsim.c2540 unsigned long iflags; in dc390_remove_one() local
2546 spin_lock_irqsave(scsi_host->host_lock, iflags); in dc390_remove_one()
2552 spin_unlock_irqrestore(scsi_host->host_lock, iflags); in dc390_remove_one()
/linux-2.6.39/arch/mips/fw/arc/
Dtree.c88 static char *iflags[] = { variable
98 iflags[p->iflags], p->vers, p->rev); in dump_component()
/linux-2.6.39/drivers/media/rc/
Dite-cir.c284 int iflags; in ite_cir_isr() local
292 iflags = dev->params.get_irq_causes(dev); in ite_cir_isr()
295 if (iflags & (ITE_IRQ_RX_FIFO | ITE_IRQ_RX_FIFO_OVERRUN)) { in ite_cir_isr()
320 } else if (iflags & ITE_IRQ_TX_FIFO) { in ite_cir_isr()
562 u8 iflags; in it87_get_irq_causes() local
568 iflags = inb(dev->cir_addr + IT87_IIR) & IT87_II; in it87_get_irq_causes()
570 switch (iflags) { in it87_get_irq_causes()
779 u8 iflags; in it8708_get_irq_causes() local
785 iflags = inb(dev->cir_addr + IT8708_C0IIR); in it8708_get_irq_causes()
787 if (iflags & IT85_TLDLI) in it8708_get_irq_causes()
[all …]
/linux-2.6.39/drivers/scsi/lpfc/
Dlpfc_mem.c319 unsigned long iflags; in lpfc_mbuf_alloc() local
324 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_mbuf_alloc()
330 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_mbuf_alloc()
379 unsigned long iflags; in lpfc_mbuf_free() local
381 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_mbuf_free()
383 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_mbuf_free()
Dlpfc_sli.c652 unsigned long iflags; in lpfc_handle_rrq_active() local
655 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_handle_rrq_active()
665 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_handle_rrq_active()
698 unsigned long iflags; in lpfc_get_active_rrq() local
702 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_get_active_rrq()
707 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_get_active_rrq()
711 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_get_active_rrq()
730 unsigned long iflags; in lpfc_cleanup_vports_rrqs() local
739 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_cleanup_vports_rrqs()
743 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_cleanup_vports_rrqs()
[all …]
Dlpfc_els.c7383 unsigned long iflags; in lpfc_fabric_block_timeout() local
7386 spin_lock_irqsave(&phba->pport->work_port_lock, iflags); in lpfc_fabric_block_timeout()
7390 spin_unlock_irqrestore(&phba->pport->work_port_lock, iflags); in lpfc_fabric_block_timeout()
7411 unsigned long iflags; in lpfc_resume_fabric_iocbs() local
7417 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_resume_fabric_iocbs()
7426 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_resume_fabric_iocbs()
7581 unsigned long iflags; in lpfc_issue_fabric_iocb() local
7588 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_issue_fabric_iocb()
7595 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_issue_fabric_iocb()
7614 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_issue_fabric_iocb()
[all …]
Dlpfc_hbadisc.c3966 unsigned long iflags; in lpfc_can_disctmo() local
3974 spin_lock_irqsave(shost->host_lock, iflags); in lpfc_can_disctmo()
3976 spin_unlock_irqrestore(shost->host_lock, iflags); in lpfc_can_disctmo()
3978 spin_lock_irqsave(&vport->work_port_lock, iflags); in lpfc_can_disctmo()
3980 spin_unlock_irqrestore(&vport->work_port_lock, iflags); in lpfc_can_disctmo()
4438 unsigned long iflags; in lpfc_findnode_did() local
4440 spin_lock_irqsave(shost->host_lock, iflags); in lpfc_findnode_did()
4442 spin_unlock_irqrestore(shost->host_lock, iflags); in lpfc_findnode_did()
Dlpfc_init.c6624 unsigned long iflags; in lpfc_sli4_cq_event_alloc() local
6626 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_sli4_cq_event_alloc()
6628 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_sli4_cq_event_alloc()
6659 unsigned long iflags; in lpfc_sli4_cq_event_release() local
6660 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_sli4_cq_event_release()
6662 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_sli4_cq_event_release()
6677 unsigned long iflags; in lpfc_sli4_cq_event_release_all() local
6680 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_sli4_cq_event_release_all()
6690 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_sli4_cq_event_release_all()
/linux-2.6.39/drivers/mmc/host/
Datmel-mci.c742 u32 iflags; in atmci_prepare_data() local
750 iflags = ATMCI_DATA_ERROR_FLAGS; in atmci_prepare_data()
768 iflags |= MCI_RXRDY; in atmci_prepare_data()
770 iflags |= MCI_TXRDY; in atmci_prepare_data()
773 return iflags; in atmci_prepare_data()
782 u32 iflags; in atmci_start_request() local
803 iflags = mci_readl(host, IMR); in atmci_start_request()
804 if (iflags & ~(MCI_SDIOIRQA | MCI_SDIOIRQB)) in atmci_start_request()
806 iflags); in atmci_start_request()
814 iflags = 0; in atmci_start_request()
[all …]
Ds3cmci.c554 unsigned long iflags; in s3cmci_irq() local
569 spin_lock_irqsave(&host->complete_lock, iflags); in s3cmci_irq()
744 spin_unlock_irqrestore(&host->complete_lock, iflags); in s3cmci_irq()
769 unsigned long iflags; in s3cmci_dma_done_callback() local
781 spin_lock_irqsave(&host->complete_lock, iflags); in s3cmci_dma_done_callback()
809 spin_unlock_irqrestore(&host->complete_lock, iflags); in s3cmci_dma_done_callback()
/linux-2.6.39/drivers/tty/serial/
Dmpsc.c1167 unsigned long iflags; in mpsc_tx_intr() local
1169 spin_lock_irqsave(&pi->tx_lock, iflags); in mpsc_tx_intr()
1207 spin_unlock_irqrestore(&pi->tx_lock, iflags); in mpsc_tx_intr()
1219 ulong iflags; in mpsc_sdma_intr() local
1224 spin_lock_irqsave(&pi->port.lock, iflags); in mpsc_sdma_intr()
1230 spin_unlock_irqrestore(&pi->port.lock, iflags); in mpsc_sdma_intr()
1246 ulong iflags; in mpsc_tx_empty() local
1249 spin_lock_irqsave(&pi->port.lock, iflags); in mpsc_tx_empty()
1251 spin_unlock_irqrestore(&pi->port.lock, iflags); in mpsc_tx_empty()
1290 unsigned long iflags; in mpsc_start_tx() local
[all …]
/linux-2.6.39/include/linux/
Dcomstats.h64 unsigned long iflags; member
/linux-2.6.39/drivers/usb/gadget/
Dpch_udc.c1450 unsigned long iflags; in pch_udc_pcd_ep_enable() local
1460 spin_lock_irqsave(&dev->lock, iflags); in pch_udc_pcd_ep_enable()
1466 spin_unlock_irqrestore(&dev->lock, iflags); in pch_udc_pcd_ep_enable()
1483 unsigned long iflags; in pch_udc_pcd_ep_disable() local
1493 spin_lock_irqsave(&ep->dev->lock, iflags); in pch_udc_pcd_ep_disable()
1500 spin_unlock_irqrestore(&ep->dev->lock, iflags); in pch_udc_pcd_ep_disable()
1598 unsigned long iflags; in pch_udc_pcd_queue() local
1611 spin_lock_irqsave(&dev->lock, iflags); in pch_udc_pcd_queue()
1679 spin_unlock_irqrestore(&dev->lock, iflags); in pch_udc_pcd_queue()
1736 unsigned long iflags; in pch_udc_pcd_set_halt() local
[all …]
Damd5536udc.c327 unsigned long iflags; in udc_ep_enable() local
345 spin_lock_irqsave(&dev->lock, iflags); in udc_ep_enable()
445 spin_unlock_irqrestore(&dev->lock, iflags); in udc_ep_enable()
495 unsigned long iflags; in udc_ep_disable() local
506 spin_lock_irqsave(&ep->dev->lock, iflags); in udc_ep_disable()
510 spin_unlock_irqrestore(&ep->dev->lock, iflags); in udc_ep_disable()
1082 unsigned long iflags; in udc_queue() local
1126 spin_lock_irqsave(&dev->lock, iflags); in udc_queue()
1269 spin_unlock_irqrestore(&dev->lock, iflags); in udc_queue()
1293 unsigned long iflags; in udc_dequeue() local
[all …]
/linux-2.6.39/drivers/dma/
Dmpc512x_dma.c587 unsigned long iflags; in mpc_dma_prep_memcpy() local
590 spin_lock_irqsave(&mchan->lock, iflags); in mpc_dma_prep_memcpy()
596 spin_unlock_irqrestore(&mchan->lock, iflags); in mpc_dma_prep_memcpy()
645 spin_lock_irqsave(&mchan->lock, iflags); in mpc_dma_prep_memcpy()
647 spin_unlock_irqrestore(&mchan->lock, iflags); in mpc_dma_prep_memcpy()
/linux-2.6.39/sound/oss/
Dvwsnd.c1947 unsigned long iflags; in pcm_output() local
1950 spin_lock_irqsave(&wport->lock, iflags); in pcm_output()
1955 spin_unlock_irqrestore(&wport->lock, iflags); in pcm_output()
1960 spin_unlock_irqrestore(&wport->lock, iflags); in pcm_output()
1996 spin_unlock_irqrestore(&wport->lock, iflags); in pcm_output()
2025 spin_lock_irqsave(&wport->lock, iflags); in pcm_output()
2041 spin_unlock_irqrestore(&wport->lock, iflags); in pcm_output()
2071 unsigned long iflags; in pcm_input() local
2075 spin_lock_irqsave(&rport->lock, iflags); in pcm_input()
2080 spin_unlock_irqrestore(&rport->lock, iflags); in pcm_input()
[all …]
/linux-2.6.39/fs/btrfs/
Dioctl.c70 unsigned int iflags = 0; in btrfs_flags_to_ioctl() local
73 iflags |= FS_SYNC_FL; in btrfs_flags_to_ioctl()
75 iflags |= FS_IMMUTABLE_FL; in btrfs_flags_to_ioctl()
77 iflags |= FS_APPEND_FL; in btrfs_flags_to_ioctl()
79 iflags |= FS_NODUMP_FL; in btrfs_flags_to_ioctl()
81 iflags |= FS_NOATIME_FL; in btrfs_flags_to_ioctl()
83 iflags |= FS_DIRSYNC_FL; in btrfs_flags_to_ioctl()
85 iflags |= FS_NOCOW_FL; in btrfs_flags_to_ioctl()
88 iflags |= FS_COMPR_FL; in btrfs_flags_to_ioctl()
90 iflags |= FS_NOCOMP_FL; in btrfs_flags_to_ioctl()
[all …]
/linux-2.6.39/drivers/crypto/
Dgeode-aes.c73 unsigned long iflags; in geode_aes_crypt() local
91 spin_lock_irqsave(&lock, iflags); in geode_aes_crypt()
109 spin_unlock_irqrestore(&lock, iflags); in geode_aes_crypt()
/linux-2.6.39/fs/gfs2/
Dglock.c1548 static const char *hflags2str(char *buf, unsigned flags, unsigned long iflags) in hflags2str() argument
1567 if (test_bit(HIF_HOLDER, &iflags)) in hflags2str()
1569 if (test_bit(HIF_WAIT, &iflags)) in hflags2str()
1571 if (test_bit(HIF_FIRST, &iflags)) in hflags2str()
/linux-2.6.39/arch/mips/include/asm/
Dsgiarcs.h82 enum linux_identifier iflags; /* node flags */ member
/linux-2.6.39/fs/xfs/
Dxfs_bmap.c5439 int iflags; /* interface flags */ in xfs_getbmap() local
5444 iflags = bmv->bmv_iflags; in xfs_getbmap()
5445 whichfork = iflags & BMV_IF_ATTRFORK ? XFS_ATTR_FORK : XFS_DATA_FORK; in xfs_getbmap()
5503 if (whichfork == XFS_DATA_FORK && !(iflags & BMV_IF_DELALLOC)) { in xfs_getbmap()
5528 if (!(iflags & BMV_IF_PREALLOC)) in xfs_getbmap()
5543 (whichfork == XFS_ATTR_FORK || !(iflags & BMV_IF_DELALLOC))) { in xfs_getbmap()
5572 ASSERT(((iflags & BMV_IF_DELALLOC) != 0) || in xfs_getbmap()
5597 if ((iflags & BMV_IF_NO_HOLES) && in xfs_getbmap()

12