Home
last modified time | relevance | path

Searched refs:irq_state (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.12.1/drivers/usb/renesas_usbhs/
Dmod.c32 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()
233 struct usbhs_irq_state irq_state; in usbhs_interrupt() local
235 if (usbhs_status_get_each_irq(priv, &irq_state) < 0) in usbhs_interrupt()
249 usbhs_write(priv, INTSTS0, ~irq_state.intsts0 & INTSTS0_MAGIC); in usbhs_interrupt()
251 usbhs_write(priv, INTSTS1, ~irq_state.intsts1 & INTSTS1_MAGIC); in usbhs_interrupt()
258 if (irq_state.intsts0 & BRDY) in usbhs_interrupt()
[all …]
Dmod.h42 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 …]
Dfifo.c1317 struct usbhs_irq_state *irq_state) in usbhsf_irq_empty() argument
1323 if (!irq_state->bempsts) { in usbhsf_irq_empty()
1328 dev_dbg(dev, "irq empty [0x%04x]\n", irq_state->bempsts); in usbhsf_irq_empty()
1335 if (!(irq_state->bempsts & (1 << i))) in usbhsf_irq_empty()
1347 struct usbhs_irq_state *irq_state) in usbhsf_irq_ready() argument
1353 if (!irq_state->brdysts) { in usbhsf_irq_ready()
1358 dev_dbg(dev, "irq ready [0x%04x]\n", irq_state->brdysts); in usbhsf_irq_ready()
1365 if (!(irq_state->brdysts & (1 << i))) in usbhsf_irq_ready()
Dmod_gadget.c456 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()
Dmod_host.c1311 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
/linux-6.12.1/tools/testing/selftests/kvm/s390x/
Dresets.c70 struct kvm_s390_irq_state irq_state; in assert_noirq() local
73 irq_state.len = sizeof(buf); in assert_noirq()
74 irq_state.buf = (unsigned long)buf; in assert_noirq()
75 irqs = __vcpu_ioctl(vcpu, KVM_S390_GET_IRQ_STATE, &irq_state); in assert_noirq()
192 struct kvm_s390_irq_state irq_state; in inject_irq() local
197 irq_state.len = sizeof(struct kvm_s390_irq); in inject_irq()
198 irq_state.buf = (unsigned long)buf; in inject_irq()
201 irqs = __vcpu_ioctl(vcpu, KVM_S390_SET_IRQ_STATE, &irq_state); in inject_irq()
/linux-6.12.1/kernel/entry/
Dcommon.c371 irqentry_state_t irq_state; in irqentry_nmi_enter() local
373 irq_state.lockdep = lockdep_hardirqs_enabled(); in irqentry_nmi_enter()
386 return irq_state; in irqentry_nmi_enter()
389 void noinstr irqentry_nmi_exit(struct pt_regs *regs, irqentry_state_t irq_state) in irqentry_nmi_exit() argument
393 if (irq_state.lockdep) { in irqentry_nmi_exit()
401 if (irq_state.lockdep) in irqentry_nmi_exit()
/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_xics.c83 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()
1047 ics->irq_state[i].number = (icsid << KVMPPC_XICS_ICS_SHIFT) | i; in kvmppc_xics_create_ics()
[all …]
Dbook3s_xive.c426 state = &sb->irq_state[src]; in xive_vm_scan_for_rerouted_irqs()
558 state = &sb->irq_state[src]; in xive_vm_h_eoi()
1299 state = &sb->irq_state[idx]; in kvmppc_xive_set_xive()
1383 state = &sb->irq_state[idx]; in kvmppc_xive_get_xive()
1405 state = &sb->irq_state[idx]; in kvmppc_xive_int_on()
1444 state = &sb->irq_state[idx]; in kvmppc_xive_int_off()
1466 state = &sb->irq_state[idx]; in xive_restore_pending_irq()
1573 state = &sb->irq_state[idx]; in kvmppc_xive_set_mapped()
1667 state = &sb->irq_state[idx]; in kvmppc_xive_clr_mapped()
1742 struct kvmppc_xive_irq_state *state = &sb->irq_state[j]; in kvmppc_xive_disable_vcpu_interrupts()
[all …]
Dbook3s_hv_rm_xics.c44 struct ics_irq_state *state = &ics->irq_state[i]; in ics_rm_check_resend()
308 state = &ics->irq_state[src]; in icp_rm_deliver_irq()
696 state = &ics->irq_state[src]; in ics_rm_eoi()
868 state = &ics->irq_state[src]; in kvmppc_deliver_irq_passthru()
Dbook3s_xive_native.c255 state = &sb->irq_state[src]; in xive_native_esb_fault()
363 state = &sb->irq_state[idx]; in kvmppc_xive_native_set_source()
480 state = &sb->irq_state[src]; in kvmppc_xive_native_set_source_config()
525 state = &sb->irq_state[src]; in kvmppc_xive_native_sync_source()
784 struct kvmppc_xive_irq_state *state = &sb->irq_state[i]; in kvmppc_xive_reset_sources()
861 struct kvmppc_xive_irq_state *state = &sb->irq_state[j]; in kvmppc_xive_native_sync_sources()
Dbook3s_xics.h100 struct ics_irq_state irq_state[KVMPPC_XICS_IRQ_PER_ICS]; member
Dbook3s_xive.h91 struct kvmppc_xive_irq_state irq_state[KVMPPC_XICS_IRQ_PER_ICS]; member
/linux-6.12.1/drivers/gpio/
Dgpio-sifive.c37 unsigned long irq_state; member
48 trigger = (chip->irq_state & BIT(offset)) ? chip->trigger[offset] : 0; in sifive_gpio_set_ie()
98 assign_bit(offset, &chip->irq_state, 1); in sifive_gpio_irq_enable()
109 assign_bit(offset, &chip->irq_state, 0); in sifive_gpio_irq_disable()
238 chip->irq_state = 0; in sifive_gpio_probe()
/linux-6.12.1/arch/x86/kernel/
Dnmi.c495 irqentry_state_t irq_state; in DEFINE_IDTENTRY_RAW() local
534 irq_state = irqentry_nmi_enter(regs); in DEFINE_IDTENTRY_RAW()
552 irqentry_nmi_exit(regs, irq_state); in DEFINE_IDTENTRY_RAW()
669 irqentry_state_t irq_state; in DEFINE_FREDENTRY_NMI() local
685 irq_state = irqentry_nmi_enter(regs); in DEFINE_FREDENTRY_NMI()
690 irqentry_nmi_exit(regs, irq_state); in DEFINE_FREDENTRY_NMI()
Dtraps.c808 irqentry_state_t irq_state = irqentry_nmi_enter(regs); in DEFINE_IDTENTRY_RAW() local
814 irqentry_nmi_exit(regs, irq_state); in DEFINE_IDTENTRY_RAW()
1007 irqentry_state_t irq_state = irqentry_nmi_enter(regs); in exc_debug_kernel() local
1062 irqentry_nmi_exit(regs, irq_state); in exc_debug_kernel()
/linux-6.12.1/arch/s390/kernel/
Dnmi.c308 irqentry_state_t irq_state; in s390_do_machine_check() local
313 irq_state = irqentry_nmi_enter(regs); in s390_do_machine_check()
434 irqentry_nmi_exit(regs, irq_state); in s390_do_machine_check()
/linux-6.12.1/drivers/uio/
Duio_hv_generic.c78 hv_uio_irqcontrol(struct uio_info *info, s32 irq_state) in hv_uio_irqcontrol() argument
83 dev->channel->inbound.ring_buffer->interrupt_mask = !irq_state; in hv_uio_irqcontrol()
86 if (!dev->channel->offermsg.monitor_allocated && irq_state) in hv_uio_irqcontrol()
/linux-6.12.1/include/pcmcia/
Dsoc_common.h71 unsigned int irq_state; member
/linux-6.12.1/arch/x86/entry/
Dentry_fred.c23 irqentry_state_t irq_state = irqentry_nmi_enter(regs); in fred_bad_type() local
51 irqentry_nmi_exit(regs, irq_state); in fred_bad_type()
/linux-6.12.1/drivers/pcmcia/
Dsoc_common.c372 if (skt->irq_state != 1 && state->io_irq) { in soc_common_pcmcia_config_skt()
373 skt->irq_state = 1; in soc_common_pcmcia_config_skt()
376 } else if (skt->irq_state == 1 && state->io_irq == 0) { in soc_common_pcmcia_config_skt()
377 skt->irq_state = 0; in soc_common_pcmcia_config_skt()
/linux-6.12.1/include/linux/
Dentry-common.h553 void noinstr irqentry_nmi_exit(struct pt_regs *regs, irqentry_state_t irq_state);
/linux-6.12.1/drivers/mtd/nand/raw/
Dstm32_fmc2_nand.c266 u8 irq_state; member
432 nfc->irq_state = FMC2_IRQ_SEQ; in stm32_fmc2_nfc_enable_seq_irq()
442 nfc->irq_state = FMC2_IRQ_UNKNOWN; in stm32_fmc2_nfc_disable_seq_irq()
452 nfc->irq_state = FMC2_IRQ_BCH; in stm32_fmc2_nfc_enable_bch_irq()
467 nfc->irq_state = FMC2_IRQ_UNKNOWN; in stm32_fmc2_nfc_disable_bch_irq()
1183 if (nfc->irq_state == FMC2_IRQ_SEQ) in stm32_fmc2_nfc_irq()
1186 else if (nfc->irq_state == FMC2_IRQ_BCH) in stm32_fmc2_nfc_irq()
/linux-6.12.1/drivers/memory/
Demif.c617 unsigned long irq_state; in emif_threaded_isr() local
632 spin_lock_irqsave(&emif_lock, irq_state); in emif_threaded_isr()
641 spin_unlock_irqrestore(&emif_lock, irq_state); in emif_threaded_isr()
/linux-6.12.1/arch/s390/kvm/
Dkvm-s390.c5663 struct kvm_s390_irq_state irq_state; in kvm_arch_vcpu_ioctl() local
5666 if (copy_from_user(&irq_state, argp, sizeof(irq_state))) in kvm_arch_vcpu_ioctl()
5668 if (irq_state.len > VCPU_IRQS_MAX_BUF || in kvm_arch_vcpu_ioctl()
5669 irq_state.len == 0 || in kvm_arch_vcpu_ioctl()
5670 irq_state.len % sizeof(struct kvm_s390_irq) > 0) { in kvm_arch_vcpu_ioctl()
5676 (void __user *) irq_state.buf, in kvm_arch_vcpu_ioctl()
5677 irq_state.len); in kvm_arch_vcpu_ioctl()
5681 struct kvm_s390_irq_state irq_state; in kvm_arch_vcpu_ioctl() local
5684 if (copy_from_user(&irq_state, argp, sizeof(irq_state))) in kvm_arch_vcpu_ioctl()
5686 if (irq_state.len == 0) { in kvm_arch_vcpu_ioctl()
[all …]

12