Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 25 of 81) sorted by relevance

1234

/xen/xen/arch/arm/
A Dirq.c92 desc->irq = irq; in init_irq_data()
109 desc->irq = irq; in init_local_irq_data()
160 if ( desc != NULL ) in irq_set_affinity()
161 desc->handler->set_affinity(desc, cpu_mask); in irq_set_affinity()
218 desc->handler->ack(desc); in do_IRQ()
234 desc->handler->end(desc); in do_IRQ()
266 desc->handler->end(desc); in do_IRQ()
305 desc->handler->shutdown(desc); in release_irq()
339 desc->action = new; in __setup_irq()
384 desc->handler->startup(desc); in setup_irq()
[all …]
A Ddevice.c31 const struct device_desc *desc; in device_init() local
38 for ( desc = _sdevice; desc != _edevice; desc++ ) in device_init()
40 if ( desc->class != class ) in device_init()
45 ASSERT(desc->init != NULL); in device_init()
59 for ( desc = _asdevice; desc != _aedevice; desc++ ) in acpi_device_init()
61 if ( ( desc->class != class ) || ( desc->class_type != class_type ) ) in acpi_device_init()
64 ASSERT(desc->init != NULL); in acpi_device_init()
66 return desc->init(data); in acpi_device_init()
74 const struct device_desc *desc; in device_get_class() local
78 for ( desc = _sdevice; desc != _edevice; desc++ ) in device_get_class()
[all …]
A Dgic.c106 ASSERT(spin_is_locked(&desc->lock)); in gic_set_irq_type()
109 gic_hw_ops->set_irq_type(desc, type); in gic_set_irq_type()
125 ASSERT(spin_is_locked(&desc->lock)); in gic_route_irq_to_xen()
129 gic_set_irq_type(desc, desc->arch.type); in gic_route_irq_to_xen()
141 ASSERT(spin_is_locked(&desc->lock)); in gic_route_irq_to_guest()
160 set_bit(_IRQ_GUEST, &desc->status); in gic_route_irq_to_guest()
163 gic_set_irq_type(desc, desc->arch.type); in gic_route_irq_to_guest()
186 desc->handler->shutdown(desc); in gic_remove_irq_from_guest()
198 desc->handler = &no_irq_type; in gic_remove_irq_from_guest()
349 gic_hw_ops->eoi_irq(desc); in do_sgi()
[all …]
A Dcpuerrata.c88 const char *desc) in install_bp_hardening_vec() argument
104 smp_processor_id(), desc); in install_bp_hardening_vec()
223 smp_processor_id(), desc); in install_bp_hardening_vecs()
394 .desc = "ARM erratum 766422",
410 .desc = "ARM erratum 819472",
418 .desc = "ARM erratum 832075",
427 .desc = "ARM erratum 834220",
481 .desc = "ARM erratum 1165522",
487 .desc = "ARM erratum 1165522",
492 .desc = "ARM erratum 1319537",
[all …]
A Dgic-vgic.c42 p->desc ? p->desc->irq : INVALID_IRQ, state); in gic_set_lr()
198 if ( p->desc == NULL ) in gic_update_one_lr()
224 if ( p->desc != NULL ) in gic_update_one_lr()
225 clear_bit(_IRQ_INPROGRESS, &p->desc->status); in gic_update_one_lr()
430 return p->desc; in vgic_get_hw_irq_desc()
434 struct irq_desc *desc, bool connect) in vgic_connect_hw_irq() argument
447 ASSERT(!connect || desc); in vgic_connect_hw_irq()
455 if ( !p->desc && in vgic_connect_hw_irq()
457 p->desc = desc; in vgic_connect_hw_irq()
463 if ( desc && p->desc != desc ) in vgic_connect_hw_irq()
[all …]
/xen/xen/arch/x86/
A Dirq.c341 desc->handler->shutdown(desc); in destroy_irq()
728 desc->handler->disable(desc); in move_native_irq()
730 desc->handler->enable(desc); in move_native_irq()
934 desc->handler->enable(desc); in irq_ratelimit_timer_fn()
996 desc->handler->shutdown(desc); in release_irq()
1027 desc->handler->startup(desc); in setup_irq()
1159 desc->handler->end(desc, 0); in irq_guest_eoi_timer_fn()
1620 desc->handler->startup(desc); in pirq_guest_bind()
1732 desc->handler->disable(desc); in __pirq_guest_unbind()
1755 desc->handler->shutdown(desc); in __pirq_guest_unbind()
[all …]
A Di8259.c45 _mask_and_ack_8259A_irq(desc->irq); in mask_and_ack_8259A_irq()
50 enable_8259A_irq(desc); in startup_8259A_irq()
57 enable_8259A_irq(desc); in end_8259A_irq()
111 void disable_8259A_irq(struct irq_desc *desc) in disable_8259A_irq() argument
113 _disable_8259A_irq(desc->irq); in disable_8259A_irq()
116 void enable_8259A_irq(struct irq_desc *desc) in enable_8259A_irq() argument
118 unsigned int mask = ~(1 << desc->irq); in enable_8259A_irq()
123 per_cpu(vector_irq, 0)[LEGACY_VECTOR(desc->irq)] = desc->irq; in enable_8259A_irq()
124 if (desc->irq & 8) in enable_8259A_irq()
350 desc->handler = &i8259A_irq_type; in init_IRQ()
[all …]
A Dio_apic.c84 struct irq_desc *desc; in share_vector_maps() local
88 desc = irq_to_desc(irq); in share_vector_maps()
498 __eoi_IO_APIC_irq(desc); in eoi_IO_APIC_irq()
561 irq = desc->irq; in set_ioapic_affinity_irq()
691 set_ioapic_affinity_irq(desc, desc->arch.cpu_mask); in setup_ioapic_dest()
1559 move_native_irq(desc); in ack_edge_ioapic_irq()
1668 i = desc->arch.vector; in mask_and_ack_level_ioapic_irq()
2265 desc->handler->startup(desc); in io_apic_set_pci_routing()
2323 struct irq_desc *desc; in ioapic_guest_write() local
2380 if ( desc->action ) in ioapic_guest_write()
[all …]
A Dmsi.c438 msi_set_mask_bit(desc, desc->msi_desc->msi_attrib.host_masked, mask); in guest_mask_msi_irq()
443 if ( unlikely(!msi_set_mask_bit(desc, 0, !!(desc->status & IRQ_GUEST))) ) in startup_msi_irq()
456 irq_complete_move(desc); in ack_nonmaskable_msi_irq()
457 move_native_irq(desc); in ack_nonmaskable_msi_irq()
546 desc->handler = handler; in __setup_msi_irq()
547 msi_compose_msg(desc->arch.vector, desc->arch.cpu_mask, &msg); in __setup_msi_irq()
664 *desc = entry; in msi_capability_init()
809 if ( desc ) in msix_capability_init()
931 *desc = entry; in msix_capability_init()
949 if ( desc ) in msix_capability_init()
[all …]
A Dhpet.c283 hpet_msi_unmask(desc); in hpet_msi_startup()
291 irq_complete_move(desc); in hpet_msi_ack()
292 move_native_irq(desc); in hpet_msi_ack()
330 msi_compose_msg(desc->arch.vector, desc->arch.cpu_mask, &msg); in __hpet_setup_msi_irq()
353 desc->handler = &hpet_msi_type; in hpet_setup_msi_irq()
356 ret = __hpet_setup_msi_irq(desc); in hpet_setup_msi_irq()
364 desc->msi_desc = &ch->msi; in hpet_setup_msi_irq()
475 spin_lock(&desc->lock); in set_channel_irq_affinity()
476 hpet_msi_mask(desc); in set_channel_irq_affinity()
478 hpet_msi_unmask(desc); in set_channel_irq_affinity()
[all …]
/xen/xen/common/
A Dirq.c4 int init_one_irq_desc(struct irq_desc *desc) in init_one_irq_desc() argument
8 if (irq_desc_initialized(desc)) in init_one_irq_desc()
11 if ( !alloc_cpumask_var(&desc->affinity) ) in init_one_irq_desc()
14 desc->status = IRQ_DISABLED; in init_one_irq_desc()
15 desc->handler = &no_irq_type; in init_one_irq_desc()
16 spin_lock_init(&desc->lock); in init_one_irq_desc()
17 cpumask_setall(desc->affinity); in init_one_irq_desc()
18 INIT_LIST_HEAD(&desc->rl_link); in init_one_irq_desc()
20 err = arch_init_one_irq_desc(desc); in init_one_irq_desc()
23 free_cpumask_var(desc->affinity); in init_one_irq_desc()
[all …]
A Dkeyhandler.c43 #define KEYHANDLER(k, f, desc, diag) \ argument
44 [k] = { { (f) }, desc, 0, diag }
46 #define IRQ_KEYHANDLER(k, f, desc, diag) \ argument
47 [k] = { { (keyhandler_fn_t *)(f) }, desc, 1, diag }
102 const char *desc, bool_t diagnostic) in register_keyhandler() argument
108 key_table[key].desc = desc; in register_keyhandler()
114 const char *desc, bool_t diagnostic) in register_irq_keyhandler() argument
120 key_table[key].desc = desc; in register_irq_keyhandler()
133 isprint(i) ? i : ' ', i, key_table[i].desc); in show_handlers()
449 printk("[%c: %s]\n", k, h->desc); in run_all_nonirq_keyhandlers()
[all …]
/xen/xen/arch/x86/pv/
A Demulate.c32 seg_desc_t desc; in pv_emul_read_descriptor() local
42 desc.b = desc.a = 0; in pv_emul_read_descriptor()
43 else if ( __get_user(desc, gdt_ldt_desc_ptr(sel)) ) in pv_emul_read_descriptor()
46 desc.b &= ~_SEGMENT_L; in pv_emul_read_descriptor()
48 *ar = desc.b & 0x00f0ff00; in pv_emul_read_descriptor()
49 if ( !(desc.b & _SEGMENT_L) ) in pv_emul_read_descriptor()
51 *base = ((desc.a >> 16) + ((desc.b & 0xff) << 16) + in pv_emul_read_descriptor()
52 (desc.b & 0xff000000)); in pv_emul_read_descriptor()
53 *limit = (desc.a & 0xffff) | (desc.b & 0x000f0000); in pv_emul_read_descriptor()
54 if ( desc.b & _SEGMENT_G ) in pv_emul_read_descriptor()
/xen/tools/misc/
A Dmktarball22 desc="$2"
30 git_archive_into $xen_root $tdir/xen-$desc
41 scripts/archive-source.sh $tdir/xen-$desc/tools/qemu-xen.tar
42 cd $tdir/xen-$desc/tools
48 git_archive_into $xen_root/tools/qemu-xen-traditional-dir-remote $tdir/xen-$desc/tools/qemu-xen-tra…
50 git_archive_into $xen_root/extras/mini-os-remote $tdir/xen-$desc/extras/mini-os
52 GZIP=-9v tar cz -f $xen_root/dist/xen-$desc.tar.gz -C $tdir xen-$desc
54 echo "Source tarball in $xen_root/dist/xen-$desc.tar.gz"
/xen/xen/arch/arm/tee/
A Dtee.c74 const struct tee_mediator_desc *desc; in tee_init() local
76 for ( desc = _steemediator; desc != _eteemediator; desc++ ) in tee_init()
78 if ( desc->ops->probe() ) in tee_init()
80 printk(XENLOG_INFO "Using TEE mediator for %s\n", desc->name); in tee_init()
81 cur_mediator = desc; in tee_init()
/xen/xen/arch/x86/hvm/
A Dsave.c140 const struct hvm_save_descriptor *desc; in hvm_save_one() local
173 for ( off = 0; off <= (ctxt.cur - sizeof(*desc)); off += desc->length ) in hvm_save_one()
175 desc = (void *)(ctxt.data + off); in hvm_save_one()
177 off += sizeof(*desc); in hvm_save_one()
178 if ( ctxt.cur < desc->length || in hvm_save_one()
185 *bufsz = desc->length; in hvm_save_one()
191 *bufsz = desc->length; in hvm_save_one()
291 struct hvm_save_descriptor *desc; in hvm_load() local
323 if ( desc->typecode == 0 ) in hvm_load()
337 hvm_sr_handlers[desc->typecode].name, desc->instance); in hvm_load()
[all …]
/xen/xen/arch/arm/efi/
A Defi-dom0.c102 desc->Type = type; in fill_efi_memory_descriptor()
103 desc->PhysicalStart = start; in fill_efi_memory_descriptor()
105 desc->NumberOfPages = EFI_SIZE_TO_PAGES(size); in fill_efi_memory_descriptor()
106 desc->Attribute = EFI_MEMORY_WB; in fill_efi_memory_descriptor()
113 EFI_MEMORY_DESCRIPTOR *desc; in acpi_create_efi_mmap_table() local
119 desc = (EFI_MEMORY_DESCRIPTOR *)base_ptr; in acpi_create_efi_mmap_table()
121 for ( i = 0; i < mem->nr_banks; i++, desc++ ) in acpi_create_efi_mmap_table()
122 fill_efi_memory_descriptor(desc, EfiConventionalMemory, in acpi_create_efi_mmap_table()
125 for ( i = 0; i < bootinfo.acpi.nr_banks; i++, desc++ ) in acpi_create_efi_mmap_table()
126 fill_efi_memory_descriptor(desc, EfiACPIReclaimMemory, in acpi_create_efi_mmap_table()
[all …]
/xen/xen/arch/arm/vgic/
A Dvgic-mmio.c78 irq_desc_t *desc; in vgic_mmio_write_senable() local
101 desc = NULL; in vgic_mmio_write_senable()
105 if ( desc ) in vgic_mmio_write_senable()
123 irq_desc_t *desc; in vgic_mmio_write_cenable() local
148 desc = NULL; in vgic_mmio_write_cenable()
152 if ( desc ) in vgic_mmio_write_cenable()
187 irq_desc_t *desc; in vgic_mmio_write_spending() local
200 desc = NULL; in vgic_mmio_write_spending()
210 if ( desc ) in vgic_mmio_write_spending()
235 irq_desc_t *desc; in vgic_mmio_write_cpending() local
[all …]
A Dvgic-v2.c74 struct irq_desc *desc = NULL; in vgic_v2_fold_lr_state() local
107 desc = irq_to_desc(irq->hwintid); in vgic_v2_fold_lr_state()
108 spin_lock(&desc->lock); in vgic_v2_fold_lr_state()
121 clear_bit(_IRQ_INPROGRESS, &desc->status); in vgic_v2_fold_lr_state()
156 irq->line_level = gic_read_pending_state(desc); in vgic_v2_fold_lr_state()
159 gic_set_active_state(desc, false); in vgic_v2_fold_lr_state()
163 if ( desc ) in vgic_v2_fold_lr_state()
164 spin_unlock(&desc->lock); in vgic_v2_fold_lr_state()
A Dvgic.c832 struct irq_desc *desc = NULL; in vgic_get_hw_irq_desc() local
843 desc = irq_to_desc(irq->hwintid); in vgic_get_hw_irq_desc()
849 return desc; in vgic_get_hw_irq_desc()
883 irq->hwintid = desc->irq; in vgic_connect_hw_irq()
890 if ( desc && irq->hwintid != desc->irq ) in vgic_connect_hw_irq()
917 spin_lock_irqsave(&desc->lock, flags); in vgic_sync_hardware_irq()
924 ASSERT(irq->hw && desc->irq == irq->hwintid); in vgic_sync_hardware_irq()
933 test_bit(_IRQ_DISABLED, &desc->status) ) in vgic_sync_hardware_irq()
938 desc->handler->enable(desc); in vgic_sync_hardware_irq()
941 desc->handler->disable(desc); in vgic_sync_hardware_irq()
[all …]
/xen/tools/debugger/kdd/
A Dkdd-xen.c149 for (desc = g->hvm_buf; in kdd_count_cpus()
150 (void *) desc >= g->hvm_buf && (void *) desc < g->hvm_buf + g->hvm_sz; in kdd_count_cpus()
151 desc = ((void *)desc) + (sizeof *desc) + desc->length) { in kdd_count_cpus()
170 for (desc = g->hvm_buf; in get_cpu()
171 (void *) desc >= g->hvm_buf && (void *) desc < g->hvm_buf + g->hvm_sz; in get_cpu()
172 desc = ((void *)desc) + (sizeof *desc) + desc->length) { in get_cpu()
173 if (desc->typecode == HVM_SAVE_CODE(CPU) && desc->instance == cpuid) { in get_cpu()
174 cpu = ((void *)desc) + (sizeof *desc); in get_cpu()
195 (void *) desc >= g->hvm_buf && (void *) desc < g->hvm_buf + g->hvm_sz; in get_lapic()
196 desc = ((void *)desc) + (sizeof *desc) + desc->length) { in get_lapic()
[all …]
/xen/xen/include/asm-x86/
A Dinvpcid.h18 } desc = { .pcid = pcid, .addr = addr }; in invpcid() local
24 : [desc] "m" (desc), [type] "r" (type) in invpcid()
28 : "a" (type), "c" (&desc) in invpcid()
A Dldt.h9 seg_desc_t *desc; in load_LDT() local
16 desc = (!is_pv_32bit_vcpu(v) ? this_cpu(gdt) : this_cpu(compat_gdt)) in load_LDT()
18 _set_tssldt_desc(desc, LDT_VIRT_START(v), ents*8-1, SYS_DESC_ldt); in load_LDT()
/xen/xen/drivers/passthrough/amd/
A Diommu_init.c428 irq_complete_move(desc); in iommu_msi_mask()
438 iommu_msi_unmask(desc); in iommu_msi_startup()
444 iommu_msi_unmask(desc); in iommu_msi_end()
462 iommu_msi_unmask(desc); in iommu_maskable_msi_startup()
463 unmask_msi_irq(desc); in iommu_maskable_msi_startup()
469 mask_msi_irq(desc); in iommu_maskable_msi_shutdown()
470 iommu_msi_mask(desc); in iommu_maskable_msi_shutdown()
894 spin_lock(&desc->lock); in enable_iommu()
1490 struct irq_desc *desc; in amd_iommu_init_late() local
1500 spin_lock(&desc->lock); in amd_iommu_init_late()
[all …]
/xen/xen/common/efi/
A Dboot.c415 const CHAR16 *end = wmemchr(desc, 0, in get_argv()
420 *offset = elo_min + (end - desc) * sizeof(*desc); in get_argv()
1104 desc->VirtualStart = desc->PhysicalStart; in efi_exit_boot()
1510 desc->PhysicalStart, desc->PhysicalStart + len - 1, in efi_init_memory()
1511 desc->Type, desc->Attribute); in efi_init_memory()
1532 smfn = PFN_DOWN(desc->PhysicalStart); in efi_init_memory()
1535 if ( desc->Attribute & EFI_MEMORY_WB ) in efi_init_memory()
1558 if ( desc->Attribute & EFI_MEMORY_XP ) in efi_init_memory()
1569 desc->VirtualStart = in efi_init_memory()
1583 desc->VirtualStart = desc->PhysicalStart; in efi_init_memory()
[all …]

Completed in 1309 milliseconds

1234