/kernel/linux/linux-5.10/drivers/usb/renesas_usbhs/ |
D | mod.c | 32 struct usbhs_irq_state *irq_state) in usbhsm_autonomy_irq_vbus() argument 170 int usbhs_status_get_device_state(struct usbhs_irq_state *irq_state) in usbhs_status_get_device_state() argument 172 return (int)irq_state->intsts0 & DVSQ_MASK; in usbhs_status_get_device_state() 175 int usbhs_status_get_ctrl_stage(struct usbhs_irq_state *irq_state) in usbhs_status_get_ctrl_stage() argument 188 return (int)irq_state->intsts0 & CTSQ_MASK; in usbhs_status_get_ctrl_stage() 245 struct usbhs_irq_state irq_state; in usbhs_interrupt() local 247 if (usbhs_status_get_each_irq(priv, &irq_state) < 0) in usbhs_interrupt() 261 usbhs_write(priv, INTSTS0, ~irq_state.intsts0 & INTSTS0_MAGIC); in usbhs_interrupt() 263 usbhs_write(priv, INTSTS1, ~irq_state.intsts1 & INTSTS1_MAGIC); in usbhs_interrupt() 270 if (irq_state.intsts0 & BRDY) in usbhs_interrupt() [all …]
|
D | mod.h | 42 struct usbhs_irq_state *irq_state); 46 struct usbhs_irq_state *irq_state); 50 struct usbhs_irq_state *irq_state); 55 struct usbhs_irq_state *irq_state); 64 struct usbhs_irq_state *irq_state); 68 struct usbhs_irq_state *irq_state); 72 struct usbhs_irq_state *irq_state); 76 struct usbhs_irq_state *irq_state); 95 struct usbhs_irq_state *irq_state); 121 int usbhs_status_get_device_state(struct usbhs_irq_state *irq_state); [all …]
|
D | fifo.c | 1315 struct usbhs_irq_state *irq_state) in usbhsf_irq_empty() argument 1321 if (!irq_state->bempsts) { in usbhsf_irq_empty() 1326 dev_dbg(dev, "irq empty [0x%04x]\n", irq_state->bempsts); in usbhsf_irq_empty() 1333 if (!(irq_state->bempsts & (1 << i))) in usbhsf_irq_empty() 1345 struct usbhs_irq_state *irq_state) in usbhsf_irq_ready() argument 1351 if (!irq_state->brdysts) { in usbhsf_irq_ready() 1356 dev_dbg(dev, "irq ready [0x%04x]\n", irq_state->brdysts); in usbhsf_irq_ready() 1363 if (!(irq_state->brdysts & (1 << i))) in usbhsf_irq_ready()
|
D | mod_gadget.c | 456 struct usbhs_irq_state *irq_state) in usbhsg_irq_dev_state() argument 460 int state = usbhs_status_get_device_state(irq_state); in usbhsg_irq_dev_state() 477 struct usbhs_irq_state *irq_state) in usbhsg_irq_ctrl_stage() argument 485 int stage = usbhs_status_get_ctrl_stage(irq_state); in usbhsg_irq_ctrl_stage()
|
D | mod_host.c | 1311 struct usbhs_irq_state *irq_state) in usbhsh_irq_attch() argument 1339 struct usbhs_irq_state *irq_state) in usbhsh_irq_dtch() argument 1371 struct usbhs_irq_state *irq_state) in usbhsh_irq_setup_ack() argument 1384 struct usbhs_irq_state *irq_state) in usbhsh_irq_setup_err() argument
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/s390x/ |
D | resets.c | 74 struct kvm_s390_irq_state irq_state; in assert_noirq() local 77 irq_state.len = sizeof(buf); in assert_noirq() 78 irq_state.buf = (unsigned long)buf; in assert_noirq() 79 irqs = _vcpu_ioctl(vm, VCPU_ID, KVM_S390_GET_IRQ_STATE, &irq_state); in assert_noirq() 190 struct kvm_s390_irq_state irq_state; in inject_irq() local 195 irq_state.len = sizeof(struct kvm_s390_irq); in inject_irq() 196 irq_state.buf = (unsigned long)buf; in inject_irq() 199 irqs = _vcpu_ioctl(vm, cpu_id, KVM_S390_SET_IRQ_STATE, &irq_state); in inject_irq()
|
/kernel/linux/linux-5.10/kernel/entry/ |
D | common.c | 411 irqentry_state_t irq_state; in irqentry_nmi_enter() local 413 irq_state.lockdep = lockdep_hardirqs_enabled(); in irqentry_nmi_enter() 425 return irq_state; in irqentry_nmi_enter() 428 void noinstr irqentry_nmi_exit(struct pt_regs *regs, irqentry_state_t irq_state) in irqentry_nmi_exit() argument 432 if (irq_state.lockdep) { in irqentry_nmi_exit() 440 if (irq_state.lockdep) in irqentry_nmi_exit()
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
D | book3s_xics.c | 83 state = &ics->irq_state[src]; in ics_deliver_irq() 131 struct ics_irq_state *state = &ics->irq_state[i]; in ics_check_resend() 180 state = &ics->irq_state[src]; in kvmppc_xics_set_xive() 210 state = &ics->irq_state[src]; in kvmppc_xics_get_xive() 236 state = &ics->irq_state[src]; in kvmppc_xics_int_on() 262 state = &ics->irq_state[src]; in kvmppc_xics_int_off() 408 state = &ics->irq_state[src]; in icp_deliver_irq() 799 state = &ics->irq_state[src]; in ics_eoi() 1001 struct ics_irq_state *irq = &ics->irq_state[i]; in xics_debug_show() 1056 ics->irq_state[i].number = (icsid << KVMPPC_XICS_ICS_SHIFT) | i; in kvmppc_xics_create_ics() [all …]
|
D | book3s_xive.c | 644 state = &sb->irq_state[idx]; in kvmppc_xive_set_xive() 728 state = &sb->irq_state[idx]; in kvmppc_xive_get_xive() 750 state = &sb->irq_state[idx]; in kvmppc_xive_int_on() 789 state = &sb->irq_state[idx]; in kvmppc_xive_int_off() 811 state = &sb->irq_state[idx]; in xive_restore_pending_irq() 917 state = &sb->irq_state[idx]; in kvmppc_xive_set_mapped() 1012 state = &sb->irq_state[idx]; in kvmppc_xive_clr_mapped() 1087 struct kvmppc_xive_irq_state *state = &sb->irq_state[j]; in kvmppc_xive_disable_vcpu_interrupts() 1388 state = &sb->irq_state[idx]; in xive_pre_save_set_queued() 1412 struct kvmppc_xive_irq_state *state = &sb->irq_state[irq]; in xive_pre_save_mask_irq() [all …]
|
D | book3s_hv_rm_xics.c | 44 struct ics_irq_state *state = &ics->irq_state[i]; in ics_rm_check_resend() 315 state = &ics->irq_state[src]; in icp_rm_deliver_irq() 698 state = &ics->irq_state[src]; in ics_rm_eoi() 877 state = &ics->irq_state[src]; in kvmppc_deliver_irq_passthru()
|
D | book3s_xive_native.c | 253 state = &sb->irq_state[src]; in xive_native_esb_fault() 361 state = &sb->irq_state[idx]; in kvmppc_xive_native_set_source() 478 state = &sb->irq_state[src]; in kvmppc_xive_native_set_source_config() 523 state = &sb->irq_state[src]; in kvmppc_xive_native_sync_source() 782 struct kvmppc_xive_irq_state *state = &sb->irq_state[i]; in kvmppc_xive_reset_sources() 859 struct kvmppc_xive_irq_state *state = &sb->irq_state[j]; in kvmppc_xive_native_sync_sources()
|
D | book3s_xics.h | 100 struct ics_irq_state irq_state[KVMPPC_XICS_IRQ_PER_ICS]; member
|
D | book3s_xive_template.c | 412 state = &sb->irq_state[src]; in GLUE() 544 state = &sb->irq_state[src]; in GLUE()
|
/kernel/linux/linux-5.10/drivers/gpio/ |
D | gpio-sifive.c | 38 unsigned long irq_state; member 49 trigger = (chip->irq_state & BIT(offset)) ? chip->trigger[offset] : 0; in sifive_gpio_set_ie() 97 assign_bit(offset, &chip->irq_state, 1); in sifive_gpio_irq_enable() 107 assign_bit(offset, &chip->irq_state, 0); in sifive_gpio_irq_disable() 221 chip->irq_state = 0; in sifive_gpio_probe()
|
/kernel/linux/linux-5.10/drivers/staging/pi433/ |
D | pi433_if.c | 78 u8 irq_state[NUM_DIO]; member 120 if (device->irq_state[DIO0] == DIO_PACKET_SENT) { in DIO0_irq_handler() 124 } else if (device->irq_state[DIO0] == DIO_RSSI_DIO0) { in DIO0_irq_handler() 127 } else if (device->irq_state[DIO0] == DIO_PAYLOAD_READY) { in DIO0_irq_handler() 140 if (device->irq_state[DIO1] == DIO_FIFO_NOT_EMPTY_DIO1) { in DIO1_irq_handler() 142 } else if (device->irq_state[DIO1] == DIO_FIFO_LEVEL) { in DIO1_irq_handler() 380 dev->irq_state[DIO0] = DIO_RSSI_DIO0; in pi433_start_rx() 390 dev->irq_state[DIO1] = DIO_FIFO_LEVEL; in pi433_start_rx() 457 dev->irq_state[DIO0] = DIO_PAYLOAD_READY; in pi433_receive() 684 device->irq_state[DIO1] = DIO_FIFO_LEVEL; in pi433_tx_thread() [all …]
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | nmi.c | 478 irqentry_state_t irq_state; in DEFINE_IDTENTRY_RAW() local 505 irq_state = irqentry_nmi_enter(regs); in DEFINE_IDTENTRY_RAW() 512 irqentry_nmi_exit(regs, irq_state); in DEFINE_IDTENTRY_RAW()
|
D | traps.c | 690 irqentry_state_t irq_state = irqentry_nmi_enter(regs); in DEFINE_IDTENTRY_RAW() local 696 irqentry_nmi_exit(regs, irq_state); in DEFINE_IDTENTRY_RAW() 890 irqentry_state_t irq_state = irqentry_nmi_enter(regs); in exc_debug_kernel() local 947 irqentry_nmi_exit(regs, irq_state); in exc_debug_kernel()
|
/kernel/linux/linux-5.10/drivers/memory/ |
D | emif.c | 61 unsigned long irq_state; member 74 static unsigned long irq_state; variable 915 spin_lock_irqsave(&emif_lock, irq_state); in handle_temp_alert() 963 spin_unlock_irqrestore(&emif_lock, irq_state); in handle_temp_alert() 1020 spin_lock_irqsave(&emif_lock, irq_state); in emif_threaded_isr() 1029 spin_unlock_irqrestore(&emif_lock, irq_state); in emif_threaded_isr() 1764 spin_lock_irqsave(&emif_lock, irq_state); in volt_notify_handling() 1770 spin_unlock_irqrestore(&emif_lock, irq_state); in volt_notify_handling() 1832 spin_lock_irqsave(&emif_lock, irq_state); in freq_pre_notify_handling() 1865 spin_unlock_irqrestore(&emif_lock, irq_state); in freq_post_notify_handling()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
D | s3cmci.c | 381 if (host->irq_state != enable) { in s3cmci_enable_irq() 382 host->irq_state = enable; in s3cmci_enable_irq() 403 if (transfer && host->irq_state) { in s3cmci_disable_irq() 404 host->irq_state = false; in s3cmci_disable_irq() 1261 if (!host->irq_state && !host->irq_disabled) { in s3cmci_enable_sdio_irq() 1262 host->irq_state = true; in s3cmci_enable_sdio_irq() 1269 if (!host->irq_enabled && host->irq_state) { in s3cmci_enable_sdio_irq() 1271 host->irq_state = false; in s3cmci_enable_sdio_irq() 1360 seq_printf(seq, "IRQ state = %d\n", host->irq_state); in s3cmci_state_show() 1592 host->irq_state = false; in s3cmci_probe()
|
D | s3cmci.h | 39 bool irq_state; member
|
/kernel/linux/linux-5.10/include/linux/ |
D | entry-common.h | 441 void noinstr irqentry_nmi_exit(struct pt_regs *regs, irqentry_state_t irq_state);
|
/kernel/linux/linux-5.10/drivers/pcmcia/ |
D | soc_common.c | 373 if (skt->irq_state != 1 && state->io_irq) { in soc_common_pcmcia_config_skt() 374 skt->irq_state = 1; in soc_common_pcmcia_config_skt() 377 } else if (skt->irq_state == 1 && state->io_irq == 0) { in soc_common_pcmcia_config_skt() 378 skt->irq_state = 0; in soc_common_pcmcia_config_skt()
|
D | soc_common.h | 79 unsigned int irq_state; member
|
/kernel/linux/linux-5.10/drivers/uio/ |
D | uio_hv_generic.c | 79 hv_uio_irqcontrol(struct uio_info *info, s32 irq_state) in hv_uio_irqcontrol() argument 84 dev->channel->inbound.ring_buffer->interrupt_mask = !irq_state; in hv_uio_irqcontrol()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
D | stm32_fmc2_nand.c | 256 u8 irq_state; member 413 nfc->irq_state = FMC2_IRQ_SEQ; in stm32_fmc2_nfc_enable_seq_irq() 423 nfc->irq_state = FMC2_IRQ_UNKNOWN; in stm32_fmc2_nfc_disable_seq_irq() 433 nfc->irq_state = FMC2_IRQ_BCH; in stm32_fmc2_nfc_enable_bch_irq() 448 nfc->irq_state = FMC2_IRQ_UNKNOWN; in stm32_fmc2_nfc_disable_bch_irq() 1160 if (nfc->irq_state == FMC2_IRQ_SEQ) in stm32_fmc2_nfc_irq() 1163 else if (nfc->irq_state == FMC2_IRQ_BCH) in stm32_fmc2_nfc_irq()
|