Searched refs:resampler (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/include/linux/
H A Dkvm_irqfd.h56 /* The resampler used by this irqfd (resampler-only) */
57 struct kvm_kernel_irqfd_resampler *resampler; member in struct:kvm_kernel_irqfd
58 /* Eventfd notified on resample (resampler-only) */
60 /* Entry in list of irqfds for a resampler (resampler-only) */
/linux-4.4.14/virt/kvm/
H A Deventfd.c54 if (!irqfd->resampler) { irqfd_inject()
65 * Since resampler irqfds share an IRQ source ID, we de-assert once
66 * then notify all of the resampler irqfds using this GSI. We can't
72 struct kvm_kernel_irqfd_resampler *resampler; irqfd_resampler_ack() local
77 resampler = container_of(kian, irqfd_resampler_ack()
79 kvm = resampler->kvm; irqfd_resampler_ack()
82 resampler->notifier.gsi, 0, false); irqfd_resampler_ack()
86 list_for_each_entry_rcu(irqfd, &resampler->list, resampler_link) irqfd_resampler_ack()
95 struct kvm_kernel_irqfd_resampler *resampler = irqfd->resampler; irqfd_resampler_shutdown() local
96 struct kvm *kvm = resampler->kvm; irqfd_resampler_shutdown()
103 if (list_empty(&resampler->list)) { irqfd_resampler_shutdown()
104 list_del(&resampler->link); irqfd_resampler_shutdown()
105 kvm_unregister_irq_ack_notifier(kvm, &resampler->notifier); irqfd_resampler_shutdown()
107 resampler->notifier.gsi, 0, false); irqfd_resampler_shutdown()
108 kfree(resampler); irqfd_resampler_shutdown()
136 if (irqfd->resampler) { irqfd_shutdown()
322 struct kvm_kernel_irqfd_resampler *resampler; kvm_irqfd_assign() local
335 list_for_each_entry(resampler, kvm_irqfd_assign()
337 if (resampler->notifier.gsi == irqfd->gsi) { kvm_irqfd_assign()
338 irqfd->resampler = resampler; kvm_irqfd_assign()
343 if (!irqfd->resampler) { kvm_irqfd_assign()
344 resampler = kzalloc(sizeof(*resampler), GFP_KERNEL); kvm_irqfd_assign()
345 if (!resampler) { kvm_irqfd_assign()
351 resampler->kvm = kvm; kvm_irqfd_assign()
352 INIT_LIST_HEAD(&resampler->list); kvm_irqfd_assign()
353 resampler->notifier.gsi = irqfd->gsi; kvm_irqfd_assign()
354 resampler->notifier.irq_acked = irqfd_resampler_ack; kvm_irqfd_assign()
355 INIT_LIST_HEAD(&resampler->link); kvm_irqfd_assign()
357 list_add(&resampler->link, &kvm->irqfds.resampler_list); kvm_irqfd_assign()
359 &resampler->notifier); kvm_irqfd_assign()
360 irqfd->resampler = resampler; kvm_irqfd_assign()
363 list_add_rcu(&irqfd->resampler_link, &irqfd->resampler->list); kvm_irqfd_assign()
425 if (irqfd->resampler) kvm_irqfd_assign()
/linux-4.4.14/sound/pci/
H A Dad1889.h16 #define AD_DS_RAMC 0x02 /* resampler/ADC channel mixer control */
21 #define AD_DS_RAMC_REEN 0x0400 /* resampler channel enable */
39 #define AD_DS_RES 0x0a /* resampler channel sample rate */
44 #define AD_DS_CCS_REO 0x0002 /* resampler channel overflow */
107 #define AD_DMA_DISR_RESI 0x000001 /* resampler channel interrupt */
126 #define AD_DMA_CHSS_RESS 0x000001 /* resampler channel stopped */
/linux-4.4.14/arch/x86/kvm/
H A Dx86.c7640 /* Reserve bit 1 of irq_sources_bitmap for irqfd-resampler */ kvm_arch_init_vm()

Completed in 163 milliseconds