Home
last modified time | relevance | path

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

12

/linux-6.12.1/include/linux/
Dtty_port.h113 unsigned long iflags; member
174 return test_bit(TTY_PORT_CTS_FLOW, &port->iflags); in tty_port_cts_enabled()
179 assign_bit(TTY_PORT_CTS_FLOW, &port->iflags, val); in tty_port_set_cts_flow()
184 return test_bit(TTY_PORT_ACTIVE, &port->iflags); in tty_port_active()
189 assign_bit(TTY_PORT_ACTIVE, &port->iflags, val); in tty_port_set_active()
194 return test_bit(TTY_PORT_CHECK_CD, &port->iflags); in tty_port_check_carrier()
199 assign_bit(TTY_PORT_CHECK_CD, &port->iflags, val); in tty_port_set_check_carrier()
204 return test_bit(TTY_PORT_SUSPENDED, &port->iflags); in tty_port_suspended()
209 assign_bit(TTY_PORT_SUSPENDED, &port->iflags, val); in tty_port_set_suspended()
214 return test_bit(TTY_PORT_INITIALIZED, &port->iflags); in tty_port_initialized()
[all …]
/linux-6.12.1/drivers/scsi/
Dsg.c926 unsigned long iflags; in sg_ioctl_common() local
1004 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_ioctl_common()
1008 iflags); in sg_ioctl_common()
1012 read_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_ioctl_common()
1015 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_ioctl_common()
1021 read_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_ioctl_common()
1088 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_ioctl_common()
1090 read_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_ioctl_common()
1177 unsigned long iflags; in sg_poll() local
1186 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_poll()
[all …]
/linux-6.12.1/drivers/infiniband/hw/usnic/
Dusnic_uiom_interval_tree.c184 int iref_cnt, iflags; in usnic_uiom_insert_interval() local
201 iflags = interval->flags; in usnic_uiom_insert_interval()
205 iflags, err, err_out, &to_add); in usnic_uiom_insert_interval()
216 iflags | flags, err, err_out, in usnic_uiom_insert_interval()
219 iflags, err, err_out, &to_add); in usnic_uiom_insert_interval()
222 iflags | flags, err, err_out, in usnic_uiom_insert_interval()
/linux-6.12.1/drivers/media/rc/
Dite-cir.c230 int iflags; in ite_cir_isr() local
236 iflags = dev->params->get_irq_causes(dev); in ite_cir_isr()
239 if (iflags & ITE_IRQ_RX_FIFO_OVERRUN) { in ite_cir_isr()
245 if (iflags & (ITE_IRQ_RX_FIFO | ITE_IRQ_RX_FIFO_OVERRUN)) { in ite_cir_isr()
267 } else if (iflags & ITE_IRQ_TX_FIFO) { in ite_cir_isr()
495 u8 iflags; in it87_get_irq_causes() local
499 iflags = inb(dev->cir_addr + IT87_IIR) & IT87_II; in it87_get_irq_causes()
501 switch (iflags) { in it87_get_irq_causes()
690 u8 iflags; in it8708_get_irq_causes() local
694 iflags = inb(dev->cir_addr + IT8708_C0IIR); in it8708_get_irq_causes()
[all …]
/linux-6.12.1/drivers/scsi/lpfc/
Dlpfc_hbadisc.c157 unsigned long iflags; in lpfc_dev_loss_tmo_callbk() local
180 spin_lock_irqsave(&ndlp->lock, iflags); in lpfc_dev_loss_tmo_callbk()
195 spin_unlock_irqrestore(&ndlp->lock, iflags); in lpfc_dev_loss_tmo_callbk()
197 spin_lock_irqsave(&ndlp->lock, iflags); in lpfc_dev_loss_tmo_callbk()
206 spin_unlock_irqrestore(&ndlp->lock, iflags); in lpfc_dev_loss_tmo_callbk()
211 spin_unlock_irqrestore(&ndlp->lock, iflags); in lpfc_dev_loss_tmo_callbk()
238 spin_lock_irqsave(&ndlp->lock, iflags); in lpfc_dev_loss_tmo_callbk()
254 spin_unlock_irqrestore(&ndlp->lock, iflags); in lpfc_dev_loss_tmo_callbk()
262 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_dev_loss_tmo_callbk()
266 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_dev_loss_tmo_callbk()
[all …]
Dlpfc_sli.c1024 unsigned long iflags; in lpfc_handle_rrq_active() local
1029 spin_lock_irqsave(&phba->rrq_list_lock, iflags); in lpfc_handle_rrq_active()
1037 spin_unlock_irqrestore(&phba->rrq_list_lock, iflags); in lpfc_handle_rrq_active()
1071 unsigned long iflags; in lpfc_get_active_rrq() local
1075 spin_lock_irqsave(&phba->rrq_list_lock, iflags); in lpfc_get_active_rrq()
1080 spin_unlock_irqrestore(&phba->rrq_list_lock, iflags); in lpfc_get_active_rrq()
1084 spin_unlock_irqrestore(&phba->rrq_list_lock, iflags); in lpfc_get_active_rrq()
1103 unsigned long iflags; in lpfc_cleanup_vports_rrqs() local
1112 spin_lock_irqsave(&phba->rrq_list_lock, iflags); in lpfc_cleanup_vports_rrqs()
1121 spin_unlock_irqrestore(&phba->rrq_list_lock, iflags); in lpfc_cleanup_vports_rrqs()
[all …]
Dlpfc_mem.c390 unsigned long iflags; in lpfc_mbuf_alloc() local
395 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_mbuf_alloc()
401 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_mbuf_alloc()
450 unsigned long iflags; in lpfc_mbuf_free() local
452 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_mbuf_free()
454 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_mbuf_free()
Dlpfc_nvmet.c1019 unsigned long iflags; in lpfc_nvmet_xmt_fcp_op() local
1105 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_xmt_fcp_op()
1108 spin_unlock_irqrestore(&pring->ring_lock, iflags); in lpfc_nvmet_xmt_fcp_op()
2019 unsigned long iflags; in lpfc_nvmet_wqfull_flush() local
2031 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush()
2039 iflags); in lpfc_nvmet_wqfull_flush()
2050 spin_unlock_irqrestore(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush()
2053 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush()
2058 spin_unlock_irqrestore(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush()
2069 unsigned long iflags; in lpfc_nvmet_wqfull_process() local
[all …]
/linux-6.12.1/drivers/dma/
Dmpc512x_dma.c608 unsigned long iflags; in mpc_dma_prep_memcpy() local
611 spin_lock_irqsave(&mchan->lock, iflags); in mpc_dma_prep_memcpy()
617 spin_unlock_irqrestore(&mchan->lock, iflags); in mpc_dma_prep_memcpy()
667 spin_lock_irqsave(&mchan->lock, iflags); in mpc_dma_prep_memcpy()
669 spin_unlock_irqrestore(&mchan->lock, iflags); in mpc_dma_prep_memcpy()
694 unsigned long iflags; in mpc_dma_prep_slave_sg() local
707 spin_lock_irqsave(&mchan->lock, iflags); in mpc_dma_prep_slave_sg()
712 spin_unlock_irqrestore(&mchan->lock, iflags); in mpc_dma_prep_slave_sg()
728 spin_unlock_irqrestore(&mchan->lock, iflags); in mpc_dma_prep_slave_sg()
794 spin_lock_irqsave(&mchan->lock, iflags); in mpc_dma_prep_slave_sg()
[all …]
/linux-6.12.1/drivers/usb/gadget/udc/
Dpch_udc.c596 unsigned long iflags; in pch_udc_vbus_session() local
598 spin_lock_irqsave(&dev->lock, iflags); in pch_udc_vbus_session()
604 spin_unlock_irqrestore(&dev->lock, iflags); in pch_udc_vbus_session()
606 spin_lock_irqsave(&dev->lock, iflags); in pch_udc_vbus_session()
611 spin_unlock_irqrestore(&dev->lock, iflags); in pch_udc_vbus_session()
1170 unsigned long iflags; in pch_udc_pcd_pullup() local
1177 spin_lock_irqsave(&dev->lock, iflags); in pch_udc_pcd_pullup()
1182 spin_unlock_irqrestore(&dev->lock, iflags); in pch_udc_pcd_pullup()
1184 spin_lock_irqsave(&dev->lock, iflags); in pch_udc_pcd_pullup()
1188 spin_unlock_irqrestore(&dev->lock, iflags); in pch_udc_pcd_pullup()
[all …]
Dsnps_udc_core.c324 unsigned long iflags; in udc_ep_enable() local
342 spin_lock_irqsave(&dev->lock, iflags); in udc_ep_enable()
442 spin_unlock_irqrestore(&dev->lock, iflags); in udc_ep_enable()
492 unsigned long iflags; in udc_ep_disable() local
503 spin_lock_irqsave(&ep->dev->lock, iflags); in udc_ep_disable()
507 spin_unlock_irqrestore(&ep->dev->lock, iflags); in udc_ep_disable()
1052 unsigned long iflags; in udc_queue() local
1087 spin_lock_irqsave(&dev->lock, iflags); in udc_queue()
1230 spin_unlock_irqrestore(&dev->lock, iflags); in udc_queue()
1255 unsigned long iflags; in udc_dequeue() local
[all …]
/linux-6.12.1/drivers/mmc/host/
Datmel-mci.c1031 u32 iflags; in atmci_prepare_data() local
1040 iflags = ATMCI_DATA_ERROR_FLAGS; in atmci_prepare_data()
1055 iflags |= ATMCI_RXRDY; in atmci_prepare_data()
1057 iflags |= ATMCI_TXRDY; in atmci_prepare_data()
1059 return iflags; in atmci_prepare_data()
1072 u32 iflags, tmp; in atmci_prepare_data_pdc() local
1079 iflags = ATMCI_DATA_ERROR_FLAGS; in atmci_prepare_data_pdc()
1085 iflags |= ATMCI_ENDRX | ATMCI_RXBUFF; in atmci_prepare_data_pdc()
1087 iflags |= ATMCI_ENDTX | ATMCI_TXBUFE | ATMCI_BLKE; in atmci_prepare_data_pdc()
1111 return iflags; in atmci_prepare_data_pdc()
[all …]
Dsunxi-mmc.c629 unsigned long iflags; in sunxi_mmc_handle_manual_stop() local
631 spin_lock_irqsave(&host->lock, iflags); in sunxi_mmc_handle_manual_stop()
633 spin_unlock_irqrestore(&host->lock, iflags); in sunxi_mmc_handle_manual_stop()
652 spin_lock_irqsave(&host->lock, iflags); in sunxi_mmc_handle_manual_stop()
654 spin_unlock_irqrestore(&host->lock, iflags); in sunxi_mmc_handle_manual_stop()
1014 unsigned long iflags; in sunxi_mmc_request() local
1075 spin_lock_irqsave(&host->lock, iflags); in sunxi_mmc_request()
1078 spin_unlock_irqrestore(&host->lock, iflags); in sunxi_mmc_request()
1102 spin_unlock_irqrestore(&host->lock, iflags); in sunxi_mmc_request()
/linux-6.12.1/arch/mips/kernel/
Delf.c171 u32 iflags; in arch_check_elf() local
174 iflags = ielf32 ? iehdr->e32.e_flags : iehdr->e64.e_flags; in arch_check_elf()
176 if ((flags ^ iflags) & EF_MIPS_NAN2008) in arch_check_elf()
/linux-6.12.1/arch/arm64/kvm/hyp/nvhe/
Dhyp-main.c111 hyp_vcpu->vcpu.arch.iflags = host_vcpu->arch.iflags; in flush_hyp_vcpu()
135 host_vcpu->arch.iflags = hyp_vcpu->vcpu.arch.iflags; in sync_hyp_vcpu()
/linux-6.12.1/drivers/fpga/
Daltera-cvp.c322 u32 iflags, val; in altera_cvp_write_init() local
325 iflags = info ? info->flags : 0; in altera_cvp_write_init()
327 if (iflags & FPGA_MGR_PARTIAL_RECONFIG) { in altera_cvp_write_init()
333 if (iflags & FPGA_MGR_COMPRESSED_BITSTREAM) in altera_cvp_write_init()
335 else if (iflags & FPGA_MGR_ENCRYPTED_BITSTREAM) in altera_cvp_write_init()
/linux-6.12.1/arch/arm64/include/asm/
Dkvm_host.h711 u8 iflags; member
867 #define PENDING_EXCEPTION __vcpu_single_flag(iflags, BIT(0))
872 #define INCREMENT_PC __vcpu_single_flag(iflags, BIT(1))
874 #define EXCEPT_MASK __vcpu_single_flag(iflags, GENMASK(3, 1))
879 #define __vcpu_except_flags(_f) iflags, (_f << __EXCEPT_SHIFT), __EXCEPT_MASK_VAL
901 #define DEBUG_DIRTY __vcpu_single_flag(iflags, BIT(4))
903 #define DEBUG_STATE_SAVE_SPE __vcpu_single_flag(iflags, BIT(5))
905 #define DEBUG_STATE_SAVE_TRBE __vcpu_single_flag(iflags, BIT(6))
/linux-6.12.1/fs/overlayfs/
Dutil.c918 u32 iflags = inode->i_flags & OVL_PROT_I_FLAGS_MASK; in ovl_check_protattr() local
935 iflags |= S_APPEND; in ovl_check_protattr()
937 iflags |= S_IMMUTABLE; in ovl_check_protattr()
946 inode_set_flags(inode, iflags, OVL_PROT_I_FLAGS_MASK); in ovl_check_protattr()
956 u32 iflags = 0; in ovl_set_protattr() local
962 iflags |= S_APPEND; in ovl_set_protattr()
966 iflags |= S_IMMUTABLE; in ovl_set_protattr()
985 inode_set_flags(inode, iflags, OVL_PROT_I_FLAGS_MASK); in ovl_set_protattr()
/linux-6.12.1/fs/xfs/
Dxfs_bmap_util.c262 int iflags = bmv->bmv_iflags; in xfs_getbmap() local
275 if (iflags & BMV_IF_COWFORK) in xfs_getbmap()
278 if ((iflags & BMV_IF_ATTRFORK) && (iflags & BMV_IF_COWFORK)) in xfs_getbmap()
287 if (iflags & BMV_IF_ATTRFORK) in xfs_getbmap()
289 else if (iflags & BMV_IF_COWFORK) in xfs_getbmap()
317 if (!(iflags & BMV_IF_DELALLOC) && in xfs_getbmap()
376 if (iflags & BMV_IF_DELALLOC) in xfs_getbmap()
/linux-6.12.1/drivers/crypto/
Dgeode-aes.c74 unsigned long iflags; in geode_aes_crypt() local
89 spin_lock_irqsave(&lock, iflags); in geode_aes_crypt()
105 spin_unlock_irqrestore(&lock, iflags); in geode_aes_crypt()
/linux-6.12.1/drivers/tty/serial/
Dmeson_uart.c338 unsigned int cflags, iflags, baud; in meson_uart_set_termios() local
345 iflags = termios->c_iflag; in meson_uart_set_termios()
396 if (iflags & INPCK) in meson_uart_set_termios()
401 if (iflags & IGNPAR) in meson_uart_set_termios()
/linux-6.12.1/drivers/dma/sf-pdma/
Dsf-pdma.c90 unsigned long iflags; in sf_pdma_prep_dma_memcpy() local
105 spin_lock_irqsave(&chan->vchan.lock, iflags); in sf_pdma_prep_dma_memcpy()
107 spin_unlock_irqrestore(&chan->vchan.lock, iflags); in sf_pdma_prep_dma_memcpy()
/linux-6.12.1/fs/f2fs/
Dfile.c1967 static int f2fs_setflags_common(struct inode *inode, u32 iflags, u32 mask) in f2fs_setflags_common() argument
1973 iflags &= mask; in f2fs_setflags_common()
1979 if ((iflags ^ masked_flags) & F2FS_CASEFOLD_FL) { in f2fs_setflags_common()
1986 if (iflags & (F2FS_COMPR_FL | F2FS_NOCOMP_FL)) { in f2fs_setflags_common()
1989 if ((iflags & F2FS_COMPR_FL) && (iflags & F2FS_NOCOMP_FL)) in f2fs_setflags_common()
1993 if ((iflags ^ masked_flags) & F2FS_COMPR_FL) { in f2fs_setflags_common()
2018 fi->i_flags = iflags | (fi->i_flags & ~mask); in f2fs_setflags_common()
2092 static inline u32 f2fs_iflags_to_fsflags(u32 iflags) in f2fs_iflags_to_fsflags() argument
2098 if (iflags & f2fs_fsflags_map[i].iflag) in f2fs_iflags_to_fsflags()
2107 u32 iflags = 0; in f2fs_fsflags_to_iflags() local
[all …]
/linux-6.12.1/virt/kvm/
Deventfd.c226 unsigned long iflags; in irqfd_wakeup() local
228 spin_lock_irqsave(&kvm->irqfds.lock, iflags); in irqfd_wakeup()
242 spin_unlock_irqrestore(&kvm->irqfds.lock, iflags); in irqfd_wakeup()
/linux-6.12.1/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c76 static int __from_ib_access_flags(int iflags) in __from_ib_access_flags() argument
80 if (iflags & IB_ACCESS_LOCAL_WRITE) in __from_ib_access_flags()
82 if (iflags & IB_ACCESS_REMOTE_READ) in __from_ib_access_flags()
84 if (iflags & IB_ACCESS_REMOTE_WRITE) in __from_ib_access_flags()
86 if (iflags & IB_ACCESS_REMOTE_ATOMIC) in __from_ib_access_flags()
88 if (iflags & IB_ACCESS_MW_BIND) in __from_ib_access_flags()
90 if (iflags & IB_ZERO_BASED) in __from_ib_access_flags()
92 if (iflags & IB_ACCESS_ON_DEMAND) in __from_ib_access_flags()
99 enum ib_access_flags iflags = 0; in __to_ib_access_flags() local
102 iflags |= IB_ACCESS_LOCAL_WRITE; in __to_ib_access_flags()
[all …]

12