/openbmc/qemu/tests/tcg/i386/ |
H A D | test-i386.h | 17 stringify(OP) size, s0, s1, res, iflags, flags & CC_MASK); 28 stringify(OP) size, s0, res, iflags, flags & CC_MASK); 32 void exec_opq(long s0, long s1, long iflags) in exec_opq() argument 36 flags = iflags; in exec_opq() 41 void exec_opl(long s0, long s1, long iflags) in exec_opl() argument 45 flags = iflags; in exec_opl() 49 void exec_opw(long s0, long s1, long iflags) in exec_opw() argument 53 flags = iflags; in exec_opw() 57 void exec_opb(long s0, long s1, long iflags) in exec_opb() argument 61 flags = iflags; in exec_opb() [all …]
|
H A D | test-i386-shift.h | 31 void exec_opq(long s2, long s0, long s1, long iflags) in exec_opq() argument 35 flags = iflags; in exec_opq() 41 stringify(OP) "q", s0, s1, res, iflags, flags & CC_MASK); in exec_opq() 45 void exec_opl(long s2, long s0, long s1, long iflags) in exec_opl() argument 49 flags = iflags; in exec_opl() 55 stringify(OP) "l", s0, s1, res, iflags, flags & CC_MASK); in exec_opl() 58 void exec_opw(long s2, long s0, long s1, long iflags) in exec_opw() argument 62 flags = iflags; in exec_opw() 68 stringify(OP) "w", s0, s1, res, iflags, flags & CC_MASK); in exec_opw() 82 void exec_opq(long s2, long s0, long s1, long iflags) in exec_opq() argument [all …]
|
/openbmc/qemu/target/microblaze/ |
H A D | helper.c | 112 assert((env->iflags & (D_FLAG | IMM_FLAG)) != (D_FLAG | IMM_FLAG)); in mb_cpu_do_interrupt() 114 assert((env->iflags & (D_FLAG | BIMM_FLAG)) != BIMM_FLAG); in mb_cpu_do_interrupt() 116 assert(!(env->iflags & (DRTI_FLAG | DRTE_FLAG | DRTB_FLAG))); in mb_cpu_do_interrupt() 128 env->pc, msr, env->iflags); in mb_cpu_do_interrupt() 133 if (env->iflags & D_FLAG) { in mb_cpu_do_interrupt() 148 env->pc, msr, env->ear, env->iflags); in mb_cpu_do_interrupt() 153 if (env->iflags & D_FLAG) { in mb_cpu_do_interrupt() 157 env->regs[17] = env->pc - (env->iflags & BIMM_FLAG ? 8 : 4); in mb_cpu_do_interrupt() 158 } else if (env->iflags & IMM_FLAG) { in mb_cpu_do_interrupt() 173 assert(!(env->iflags & (D_FLAG | IMM_FLAG))); in mb_cpu_do_interrupt() [all …]
|
H A D | translate.c | 699 uint32_t iflags = tcg_get_insn_start_param(dc->base.insn_start, 1); in record_unaligned_ess() local 701 iflags |= ESR_ESS_FLAG; in record_unaligned_ess() 702 iflags |= rd << 5; in record_unaligned_ess() 703 iflags |= store * ESR_S; in record_unaligned_ess() 704 iflags |= (size == MO_32) * ESR_W; in record_unaligned_ess() 706 tcg_set_insn_start_param(dc->base.insn_start, 1, iflags); in record_unaligned_ess() 1791 uint32_t iflags; in mb_cpu_dump_state() local 1801 iflags = env->iflags; in mb_cpu_dump_state() 1802 qemu_fprintf(f, "iflags: 0x%08x", iflags); in mb_cpu_dump_state() 1803 if (iflags & IMM_FLAG) { in mb_cpu_dump_state() [all …]
|
H A D | cpu.c | 87 cpu->env.iflags = 0; in mb_cpu_set_pc() 104 cpu->env.iflags = tb->flags & IFLAGS_TB_MASK; in mb_cpu_synchronize_from_tb() 114 cpu->env.iflags = data[1]; in mb_restore_state_to_opc()
|
H A D | cpu.h | 283 uint32_t iflags; member 419 *flags = (env->iflags & IFLAGS_TB_MASK) | (env->msr & MSR_TB_MASK); in cpu_get_tb_cpu_state()
|
/openbmc/linux/include/linux/ |
H A D | tty_port.h | 113 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 …]
|
/openbmc/linux/drivers/scsi/ |
H A D | sg.c | 919 unsigned long iflags; in sg_ioctl_common() local 997 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_ioctl_common() 1001 iflags); in sg_ioctl_common() 1005 read_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_ioctl_common() 1008 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_ioctl_common() 1014 read_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_ioctl_common() 1081 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_ioctl_common() 1083 read_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_ioctl_common() 1170 unsigned long iflags; in sg_poll() local 1179 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_poll() [all …]
|
/openbmc/linux/drivers/infiniband/hw/usnic/ |
H A D | usnic_uiom_interval_tree.c | 184 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()
|
/openbmc/linux/drivers/media/rc/ |
H A D | ite-cir.c | 230 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 …]
|
/openbmc/linux/drivers/dma/ |
H A D | mpc512x_dma.c | 608 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 …]
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_hbadisc.c | 157 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() 233 spin_lock_irqsave(&ndlp->lock, iflags); in lpfc_dev_loss_tmo_callbk() 249 spin_unlock_irqrestore(&ndlp->lock, iflags); in lpfc_dev_loss_tmo_callbk() 257 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_dev_loss_tmo_callbk() 261 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_dev_loss_tmo_callbk() [all …]
|
H A D | lpfc_sli.c | 1024 unsigned long iflags; in lpfc_handle_rrq_active() local 1027 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_handle_rrq_active() 1037 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_handle_rrq_active() 1071 unsigned long iflags; in lpfc_get_active_rrq() local 1075 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_get_active_rrq() 1080 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_get_active_rrq() 1084 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_get_active_rrq() 1103 unsigned long iflags; in lpfc_cleanup_vports_rrqs() local 1112 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_cleanup_vports_rrqs() 1121 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_cleanup_vports_rrqs() [all …]
|
H A D | lpfc_mem.c | 383 unsigned long iflags; in lpfc_mbuf_alloc() local 388 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_mbuf_alloc() 394 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_mbuf_alloc() 443 unsigned long iflags; in lpfc_mbuf_free() local 445 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_mbuf_free() 447 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_mbuf_free()
|
H A D | lpfc_nvmet.c | 1019 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() 2006 unsigned long iflags; in lpfc_nvmet_wqfull_flush() local 2018 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush() 2026 iflags); in lpfc_nvmet_wqfull_flush() 2037 spin_unlock_irqrestore(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush() 2040 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush() 2045 spin_unlock_irqrestore(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush() 2056 unsigned long iflags; in lpfc_nvmet_wqfull_process() local [all …]
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | pch_udc.c | 597 unsigned long iflags; in pch_udc_vbus_session() local 599 spin_lock_irqsave(&dev->lock, iflags); in pch_udc_vbus_session() 605 spin_unlock_irqrestore(&dev->lock, iflags); in pch_udc_vbus_session() 607 spin_lock_irqsave(&dev->lock, iflags); in pch_udc_vbus_session() 612 spin_unlock_irqrestore(&dev->lock, iflags); in pch_udc_vbus_session() 1171 unsigned long iflags; in pch_udc_pcd_pullup() local 1178 spin_lock_irqsave(&dev->lock, iflags); in pch_udc_pcd_pullup() 1183 spin_unlock_irqrestore(&dev->lock, iflags); in pch_udc_pcd_pullup() 1185 spin_lock_irqsave(&dev->lock, iflags); in pch_udc_pcd_pullup() 1189 spin_unlock_irqrestore(&dev->lock, iflags); in pch_udc_pcd_pullup() [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | atmel-mci.c | 1050 u32 iflags; in atmci_prepare_data() local 1059 iflags = ATMCI_DATA_ERROR_FLAGS; in atmci_prepare_data() 1074 iflags |= ATMCI_RXRDY; in atmci_prepare_data() 1076 iflags |= ATMCI_TXRDY; in atmci_prepare_data() 1078 return iflags; in atmci_prepare_data() 1090 u32 iflags, tmp; in atmci_prepare_data_pdc() local 1097 iflags = ATMCI_DATA_ERROR_FLAGS; in atmci_prepare_data_pdc() 1103 iflags |= ATMCI_ENDRX | ATMCI_RXBUFF; in atmci_prepare_data_pdc() 1105 iflags |= ATMCI_ENDTX | ATMCI_TXBUFE | ATMCI_BLKE; in atmci_prepare_data_pdc() 1130 return iflags; in atmci_prepare_data_pdc() [all …]
|
H A D | sunxi-mmc.c | 629 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()
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | kvm_host.h | 508 u8 iflags; member 680 #define PENDING_EXCEPTION __vcpu_single_flag(iflags, BIT(0)) 685 #define INCREMENT_PC __vcpu_single_flag(iflags, BIT(1)) 687 #define EXCEPT_MASK __vcpu_single_flag(iflags, GENMASK(3, 1)) 692 #define __vcpu_except_flags(_f) iflags, (_f << __EXCEPT_SHIFT), __EXCEPT_MASK_VAL 714 #define DEBUG_DIRTY __vcpu_single_flag(iflags, BIT(4)) 716 #define DEBUG_STATE_SAVE_SPE __vcpu_single_flag(iflags, BIT(5)) 718 #define DEBUG_STATE_SAVE_TRBE __vcpu_single_flag(iflags, BIT(6)) 720 #define VCPU_HYP_CONTEXT __vcpu_single_flag(iflags, BIT(7))
|
/openbmc/linux/arch/mips/kernel/ |
H A D | elf.c | 171 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()
|
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | hyp-main.c | 41 hyp_vcpu->vcpu.arch.iflags = host_vcpu->arch.iflags; in flush_hyp_vcpu() 66 host_vcpu->arch.iflags = hyp_vcpu->vcpu.arch.iflags; in sync_hyp_vcpu()
|
/openbmc/linux/drivers/fpga/ |
H A D | altera-cvp.c | 323 u32 iflags, val; in altera_cvp_write_init() local 326 iflags = info ? info->flags : 0; in altera_cvp_write_init() 328 if (iflags & FPGA_MGR_PARTIAL_RECONFIG) { in altera_cvp_write_init() 334 if (iflags & FPGA_MGR_COMPRESSED_BITSTREAM) in altera_cvp_write_init() 336 else if (iflags & FPGA_MGR_ENCRYPTED_BITSTREAM) in altera_cvp_write_init()
|
/openbmc/qemu/linux-user/microblaze/ |
H A D | cpu_loop.c | 71 if (env->iflags & D_FLAG) { in cpu_loop() 76 env->iflags &= ~(IMM_FLAG | D_FLAG); in cpu_loop()
|
/openbmc/linux/fs/overlayfs/ |
H A D | util.c | 828 u32 iflags = inode->i_flags & OVL_PROT_I_FLAGS_MASK; in ovl_check_protattr() local 845 iflags |= S_APPEND; in ovl_check_protattr() 847 iflags |= S_IMMUTABLE; in ovl_check_protattr() 856 inode_set_flags(inode, iflags, OVL_PROT_I_FLAGS_MASK); in ovl_check_protattr() 866 u32 iflags = 0; in ovl_set_protattr() local 872 iflags |= S_APPEND; in ovl_set_protattr() 876 iflags |= S_IMMUTABLE; in ovl_set_protattr() 895 inode_set_flags(inode, iflags, OVL_PROT_I_FLAGS_MASK); in ovl_set_protattr()
|
/openbmc/linux/drivers/crypto/ |
H A D | geode-aes.c | 74 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()
|