/linux/tools/testing/selftests/kvm/lib/aarch64/ |
H A D | gic.c | 62 void gic_irq_enable(unsigned int intid) in gic_irq_enable() 68 void gic_irq_disable(unsigned int intid) in gic_irq_disable() 77 unsigned int intid; in gic_get_and_ack_irq() local 87 void gic_set_eoi(unsigned int intid) in gic_set_eoi() 93 void gic_set_dir(unsigned int intid) in gic_set_dir() 111 void gic_set_priority(unsigned int intid, unsigned int prio) in gic_set_priority() 117 void gic_irq_set_active(unsigned int intid) in gic_irq_set_active() 123 void gic_irq_clear_active(unsigned int intid) in gic_irq_clear_active() 129 bool gic_irq_get_active(unsigned int intid) in gic_irq_get_active() 135 void gic_irq_set_pending(unsigned int intid) in gic_irq_set_pending() [all …]
|
H A D | gic_v3.c | 77 static enum gicv3_intid_range get_intid_range(unsigned int intid) in get_intid_range() 168 static void gicv3_access_reg(uint32_t intid, uint64_t offset, in gicv3_access_reg() 200 static void gicv3_write_reg(uint32_t intid, uint64_t offset, in gicv3_write_reg() 207 static uint32_t gicv3_read_reg(uint32_t intid, uint64_t offset, in gicv3_read_reg() 217 static void gicv3_set_priority(uint32_t intid, uint32_t prio) in gicv3_set_priority() 223 static void gicv3_irq_set_config(uint32_t intid, bool is_edge) in gicv3_irq_set_config() 233 static void gicv3_irq_enable(uint32_t intid) in gicv3_irq_enable() 242 static void gicv3_irq_disable(uint32_t intid) in gicv3_irq_disable() 251 static void gicv3_irq_set_active(uint32_t intid) in gicv3_irq_set_active() 256 static void gicv3_irq_clear_active(uint32_t intid) in gicv3_irq_clear_active() [all …]
|
H A D | vgic.c | 83 int _kvm_irq_set_level_info(int gic_fd, uint32_t intid, int level) in _kvm_irq_set_level_info() 101 void kvm_irq_set_level_info(int gic_fd, uint32_t intid, int level) in kvm_irq_set_level_info() 108 int _kvm_arm_irq_line(struct kvm_vm *vm, uint32_t intid, int level) in _kvm_arm_irq_line() 123 void kvm_arm_irq_line(struct kvm_vm *vm, uint32_t intid, int level) in kvm_arm_irq_line() 130 static void vgic_poke_irq(int gic_fd, uint32_t intid, struct kvm_vcpu *vcpu, in vgic_poke_irq() 162 void kvm_irq_write_ispendr(int gic_fd, uint32_t intid, struct kvm_vcpu *vcpu) in kvm_irq_write_ispendr() 167 void kvm_irq_write_isactiver(int gic_fd, uint32_t intid, struct kvm_vcpu *vcpu) in kvm_irq_write_isactiver()
|
H A D | gic_v3_its.c | 227 u32 collection_id, u32 intid) in its_send_mapti_cmd()
|
/linux/arch/arm64/kvm/vgic/ |
H A D | vgic-mmio.c | 47 u32 intid = VGIC_ADDR_TO_INTID(addr, 1); in vgic_mmio_read_group() local 72 u32 intid = VGIC_ADDR_TO_INTID(addr, 1); in vgic_mmio_write_group() local 99 u32 intid = VGIC_ADDR_TO_INTID(addr, 1); in vgic_mmio_read_enable() local 120 u32 intid = VGIC_ADDR_TO_INTID(addr, 1); in vgic_mmio_write_senable() local 169 u32 intid = VGIC_ADDR_TO_INTID(addr, 1); in vgic_mmio_write_cenable() local 191 u32 intid = VGIC_ADDR_TO_INTID(addr, 1); in vgic_uaccess_write_senable() local 212 u32 intid = VGIC_ADDR_TO_INTID(addr, 1); in vgic_uaccess_write_cenable() local 233 u32 intid = VGIC_ADDR_TO_INTID(addr, 1); in __read_pending() local 307 u32 intid = VGIC_ADDR_TO_INTID(addr, 1); in __set_pending() local 393 u32 intid = VGIC_ADDR_TO_INTID(addr, 1); in __clear_pending() local [all …]
|
H A D | vgic-mmio-v2.c | 125 int intid = val & 0xf; in vgic_mmio_write_sgir() local 165 u32 intid = VGIC_ADDR_TO_INTID(addr, 8); in vgic_mmio_read_target() local 184 u32 intid = VGIC_ADDR_TO_INTID(addr, 8); in vgic_mmio_write_target() local 211 u32 intid = addr & 0x0f; in vgic_mmio_read_sgipend() local 229 u32 intid = addr & 0x0f; in vgic_mmio_write_sgipendc() local 251 u32 intid = addr & 0x0f; in vgic_mmio_write_sgipends() local
|
H A D | vgic-debug.c | 31 unsigned long intid; member 68 unsigned long intid; in iter_mark_lpis() local 86 unsigned long intid; in iter_unmark_lpis() local
|
H A D | vgic.c | 66 static struct vgic_irq *vgic_get_lpi(struct kvm *kvm, u32 intid) in vgic_get_lpi() 88 u32 intid) in vgic_get_irq() 425 unsigned int intid, bool level, void *owner) in kvm_vgic_inject_irq() 586 int kvm_vgic_set_owner(struct kvm_vcpu *vcpu, unsigned int intid, void *owner) in kvm_vgic_set_owner()
|
H A D | vgic-mmio-v3.c | 196 int intid = VGIC_ADDR_TO_INTID(addr, 64); in vgic_mmio_read_irouter() local 215 int intid = VGIC_ADDR_TO_INTID(addr, 64); in vgic_mmio_write_irouter() local 1129 u32 intid, u32 *val) in vgic_v3_line_level_info_uaccess()
|
H A D | vgic-v2.c | 61 u32 cpuid, intid = val & GICH_LR_VIRTUALID; in vgic_v2_fold_lr_state() local
|
H A D | vgic.h | 22 #define vgic_irq_is_sgi(intid) ((intid) < VGIC_NR_SGIS) argument
|
H A D | vgic-v3.c | 48 u32 intid, cpuid; in vgic_v3_fold_lr_state() local
|
H A D | vgic-its.c | 41 static struct vgic_irq *vgic_add_lpi(struct kvm *kvm, u32 intid, in vgic_add_lpi() 396 unsigned long intid, flags; in its_sync_lpi_pending_table() local 1282 unsigned long intid; in vgic_its_invall() local 1338 unsigned long intid; in vgic_its_cmd_handle_movall() local
|
/linux/tools/testing/selftests/kvm/aarch64/ |
H A D | vgic_irq.c | 80 #define _KVM_INJECT_MULTI(cmd, intid, num, expect_failure) \ argument 83 #define KVM_INJECT_MULTI(cmd, intid, num) \ argument 86 #define _KVM_INJECT(cmd, intid, expect_failure) \ argument 89 #define KVM_INJECT(cmd, intid) \ argument 92 #define KVM_ACTIVATE(cmd, intid) \ argument 165 uint32_t intid = gic_get_and_ack_irq(); in guest_irq_generic_handler() local 239 static void guest_set_irq_line(uint32_t intid, uint32_t level) in guest_set_irq_line() 245 uint32_t intid, kvm_inject_cmd cmd) in test_inject_fail() 297 uint32_t prio, intid, ap1r; in guest_restore_active() local 346 uint32_t intid; in wait_for_and_activate_irq() local [all …]
|
H A D | arch_timer.c | 55 static void guest_validate_irq(unsigned int intid, in guest_validate_irq() 107 unsigned int intid = gic_get_and_ack_irq(); in guest_irq_handler() local
|
H A D | vgic_lpi_stress.c | 54 u32 intid = gic_get_and_ack_irq(); in guest_irq_handler() local 65 u32 coll_id, device_id, event_id, intid = GIC_LPI_OFFSET; in guest_setup_its_mappings() local
|
H A D | arch_timer_edge_cases.c | 146 unsigned int intid = gic_get_and_ack_irq(); in guest_irq_handler() local
|
/linux/tools/testing/selftests/kvm/include/aarch64/ |
H A D | gic.h | 35 #define INTID_IS_SGI(intid) (0 <= (intid) && (intid) < MIN_PPI) argument 36 #define INTID_IS_PPI(intid) (MIN_PPI <= (intid) && (intid) < MIN_SPI) argument 37 #define INTID_IS_SPI(intid) (MIN_SPI <= (intid) && (intid) <= MAX_SPI) argument
|
/linux/tools/testing/selftests/kvm/riscv/ |
H A D | arch_timer.c | 21 unsigned int intid = regs->cause & ~CAUSE_IRQ_FLAG; in guest_irq_handler() local
|
/linux/drivers/net/can/cc770/ |
H A D | cc770.c | 98 static inline int intid2obj(unsigned int intid) in intid2obj() 712 u8 intid; in cc770_interrupt() local
|
/linux/drivers/mfd/ |
H A D | twl6040.c | 256 u8 intid; in twl6040_power_up_automatic() local
|
/linux/drivers/media/pci/saa7164/ |
H A D | saa7164-core.c | 610 u32 intid, intstat[INT_SIZE/4]; in saa7164_irq() local
|
/linux/arch/sparc/include/asm/ |
H A D | leon_amba.h | 113 u32 intid[16]; /* 0xc0 */ member
|
/linux/arch/arm64/kvm/hyp/ |
H A D | vgic-v3-sr.c | 552 static int __vgic_v3_find_active_lr(struct kvm_vcpu *vcpu, int intid, in __vgic_v3_find_active_lr()
|
/linux/include/kvm/ |
H A D | arm_vgic.h | 134 u32 intid; /* Guest visible INTID */ member
|