/arch/powerpc/sysdev/xics/ |
D | icp-opal.c | 64 unsigned int vec; in icp_opal_get_irq() local 68 vec = xirr & 0x00ffffff; in icp_opal_get_irq() 69 if (vec == XICS_IRQ_SPURIOUS) in icp_opal_get_irq() 72 irq = irq_find_mapping(xics_host, vec); in icp_opal_get_irq() 74 xics_push_cppr(vec); in icp_opal_get_irq() 79 xics_mask_unknown_vec(vec); in icp_opal_get_irq() 150 unsigned int vec; in icp_opal_flush_interrupt() local 154 vec = xirr & 0x00ffffff; in icp_opal_flush_interrupt() 155 if (vec == XICS_IRQ_SPURIOUS) in icp_opal_flush_interrupt() 157 if (vec == XICS_IPI) { in icp_opal_flush_interrupt() [all …]
|
D | icp-native.c | 118 unsigned int vec = xirr & 0x00ffffff; in icp_native_get_irq() local 121 if (vec == XICS_IRQ_SPURIOUS) in icp_native_get_irq() 124 irq = irq_find_mapping(xics_host, vec); in icp_native_get_irq() 126 xics_push_cppr(vec); in icp_native_get_irq() 131 xics_mask_unknown_vec(vec); in icp_native_get_irq() 175 unsigned int vec = xirr & 0x00ffffff; in icp_native_flush_interrupt() local 177 if (vec == XICS_IRQ_SPURIOUS) in icp_native_flush_interrupt() 179 if (vec == XICS_IPI) { in icp_native_flush_interrupt() 186 vec); in icp_native_flush_interrupt() 187 xics_mask_unknown_vec(vec); in icp_native_flush_interrupt()
|
D | ics-opal.c | 161 static void ics_opal_mask_unknown(struct ics *ics, unsigned long vec); 162 static long ics_opal_get_server(struct ics *ics, unsigned long vec); 198 static void ics_opal_mask_unknown(struct ics *ics, unsigned long vec) in ics_opal_mask_unknown() argument 205 rc = opal_get_xive(vec, &server, &priority); in ics_opal_mask_unknown() 209 ics_opal_mask_real_irq(vec); in ics_opal_mask_unknown() 212 static long ics_opal_get_server(struct ics *ics, unsigned long vec) in ics_opal_get_server() argument 219 rc = opal_get_xive(vec, &server, &priority); in ics_opal_get_server()
|
D | icp-hv.c | 106 unsigned int vec = xirr & 0x00ffffff; in icp_hv_get_irq() local 109 if (vec == XICS_IRQ_SPURIOUS) in icp_hv_get_irq() 112 irq = irq_find_mapping(xics_host, vec); in icp_hv_get_irq() 114 xics_push_cppr(vec); in icp_hv_get_irq() 119 xics_mask_unknown_vec(vec); in icp_hv_get_irq()
|
D | ics-rtas.c | 28 static void ics_rtas_mask_unknown(struct ics *ics, unsigned long vec); 29 static long ics_rtas_get_server(struct ics *ics, unsigned long vec); 192 static void ics_rtas_mask_unknown(struct ics *ics, unsigned long vec) in ics_rtas_mask_unknown() argument 194 ics_rtas_mask_real_irq(vec); in ics_rtas_mask_unknown() 197 static long ics_rtas_get_server(struct ics *ics, unsigned long vec) in ics_rtas_get_server() argument 201 rc = rtas_call(ibm_get_xive, 1, 3, status, vec); in ics_rtas_get_server()
|
D | xics-common.c | 112 void xics_mask_unknown_vec(unsigned int vec) in xics_mask_unknown_vec() argument 116 pr_err("Interrupt 0x%x (real) is invalid, disabling it.\n", vec); in xics_mask_unknown_vec() 119 ics->mask_unknown(ics, vec); in xics_mask_unknown_vec()
|
/arch/arc/kernel/ |
D | troubleshoot.c | 120 unsigned int vec, cause_code; in show_ecr_verbose() local 128 vec = regs->ecr_vec; in show_ecr_verbose() 132 if (vec == ECR_V_DTLB_MISS) { in show_ecr_verbose() 137 } else if (vec == ECR_V_ITLB_MISS) { in show_ecr_verbose() 139 } else if (vec == ECR_V_MACH_CHK) { in show_ecr_verbose() 143 } else if (vec == ECR_V_PROTV) { in show_ecr_verbose() 153 } else if (vec == ECR_V_INSN_ERR) { in show_ecr_verbose() 156 } else if (vec == ECR_V_MEM_ERR) { in show_ecr_verbose() 163 } else if (vec == ECR_V_MISALIGN) { in show_ecr_verbose() 166 } else if (vec == ECR_V_TRAP) { in show_ecr_verbose()
|
/arch/um/os-Linux/ |
D | process.c | 228 char vec[2]; in os_page_mincore() local 231 ret = mincore(addr, UM_KERN_PAGE_SIZE, vec); in os_page_mincore() 239 return vec[0] & 1; in os_page_mincore() 244 char *vec; in os_mincore() local 250 vec = calloc(1, (len + UM_KERN_PAGE_SIZE - 1) / UM_KERN_PAGE_SIZE); in os_mincore() 251 if (!vec) in os_mincore() 254 ret = mincore(addr, UM_KERN_PAGE_SIZE, vec); in os_mincore() 265 if (!(vec[i] & 1)) { in os_mincore() 273 free(vec); in os_mincore()
|
/arch/alpha/kernel/ |
D | setup.c | 437 struct alpha_machine_vector *vec = NULL; in setup_arch() local 501 vec = get_sysvec_byname(p+9); in setup_arch() 567 if (!vec) { in setup_arch() 568 vec = get_sysvec(hwrpb->sys_type, hwrpb->sys_variation, in setup_arch() 572 if (!vec) { in setup_arch() 577 if (vec != &alpha_mv) { in setup_arch() 578 alpha_mv = *vec; in setup_arch() 854 struct alpha_machine_vector *vec; in get_sysvec() local 857 vec = NULL; in get_sysvec() 859 vec = systype_vecs[type]; in get_sysvec() [all …]
|
/arch/powerpc/include/asm/ |
D | xics.h | 89 void (*mask_unknown)(struct ics *ics, unsigned long vec); 90 long (*get_server)(struct ics *ics, unsigned long vec); 108 static inline void xics_push_cppr(unsigned int vec) in xics_push_cppr() argument 115 if (vec == XICS_IPI) in xics_push_cppr() 156 extern void xics_mask_unknown_vec(unsigned int vec);
|
/arch/powerpc/kvm/ |
D | book3s.c | 135 void kvmppc_inject_interrupt(struct kvm_vcpu *vcpu, int vec, u64 flags) in kvmppc_inject_interrupt() argument 140 kvmppc_set_pc(vcpu, kvmppc_interrupt_offset(vcpu) + vec); in kvmppc_inject_interrupt() 144 static int kvmppc_book3s_vec2irqprio(unsigned int vec) in kvmppc_book3s_vec2irqprio() argument 148 switch (vec) { in kvmppc_book3s_vec2irqprio() 172 unsigned int vec) in kvmppc_book3s_dequeue_irqprio() argument 176 clear_bit(kvmppc_book3s_vec2irqprio(vec), in kvmppc_book3s_dequeue_irqprio() 183 void kvmppc_book3s_queue_irqprio(struct kvm_vcpu *vcpu, unsigned int vec) in kvmppc_book3s_queue_irqprio() argument 187 set_bit(kvmppc_book3s_vec2irqprio(vec), in kvmppc_book3s_queue_irqprio() 190 printk(KERN_INFO "Queueing interrupt %x\n", vec); in kvmppc_book3s_queue_irqprio() 298 int vec = 0; in kvmppc_book3s_irqprio_deliver() local [all …]
|
D | book3s_hv_builtin.c | 765 unsigned long vec = 0; in kvmppc_guest_entry_inject_int() local 777 vec = BOOK3S_INTERRUPT_EXTERNAL; in kvmppc_guest_entry_inject_int() 783 vec = BOOK3S_INTERRUPT_DECREMENTER; in kvmppc_guest_entry_inject_int() 786 if (vec) { in kvmppc_guest_entry_inject_int() 791 kvmppc_set_pc(vcpu, vec); in kvmppc_guest_entry_inject_int()
|
/arch/x86/kvm/ |
D | lapic.h | 132 static inline void kvm_lapic_clear_vector(int vec, void *bitmap) in kvm_lapic_clear_vector() argument 134 clear_bit(VEC_POS(vec), (bitmap) + REG_POS(vec)); in kvm_lapic_clear_vector() 137 static inline void kvm_lapic_set_vector(int vec, void *bitmap) in kvm_lapic_set_vector() argument 139 set_bit(VEC_POS(vec), (bitmap) + REG_POS(vec)); in kvm_lapic_set_vector() 142 static inline void kvm_lapic_set_irr(int vec, struct kvm_lapic *apic) in kvm_lapic_set_irr() argument 144 kvm_lapic_set_vector(vec, apic->regs + APIC_IRR); in kvm_lapic_set_irr()
|
D | lapic.c | 76 static inline int apic_test_vector(int vec, void *bitmap) in apic_test_vector() argument 78 return test_bit(VEC_POS(vec), (bitmap) + REG_POS(vec)); in apic_test_vector() 89 static inline int __apic_test_and_set_vector(int vec, void *bitmap) in __apic_test_and_set_vector() argument 91 return __test_and_set_bit(VEC_POS(vec), (bitmap) + REG_POS(vec)); in __apic_test_and_set_vector() 94 static inline int __apic_test_and_clear_vector(int vec, void *bitmap) in __apic_test_and_clear_vector() argument 96 return __test_and_clear_bit(VEC_POS(vec), (bitmap) + REG_POS(vec)); in __apic_test_and_clear_vector() 359 int vec; in find_highest_vector() local 362 for (vec = MAX_APIC_VECTOR - APIC_VECTORS_PER_REG; in find_highest_vector() 363 vec >= 0; vec -= APIC_VECTORS_PER_REG) { in find_highest_vector() 364 reg = bitmap + REG_POS(vec); in find_highest_vector() [all …]
|
/arch/mips/include/asm/netlogic/xlp-hal/ |
D | pic.h | 229 int sch, int vec, int dt, int db, int cpu) in nlm_9xx_pic_write_irt() argument 234 ((0 /*mc*/) << 20) | ((vec & 0x3f) << 24) | in nlm_9xx_pic_write_irt() 243 int sch, int vec, int dt, int db, int dte) in nlm_pic_write_irt() argument 248 ((sch & 0x1) << 28) | ((vec & 0x3f) << 20) | in nlm_pic_write_irt() 257 int sch, int vec, int cpu) in nlm_pic_write_irt_direct() argument 260 nlm_9xx_pic_write_irt(base, irt_num, en, nmi, sch, vec, in nlm_pic_write_irt_direct() 263 nlm_pic_write_irt(base, irt_num, en, nmi, sch, vec, 1, in nlm_pic_write_irt_direct()
|
/arch/ia64/include/asm/ |
D | hw_irq.h | 126 extern void ia64_native_register_percpu_irq (ia64_vector vec, struct irqaction *action); 165 local_vector_to_irq (ia64_vector vec) in local_vector_to_irq() argument 167 return __this_cpu_read(vector_irq[vec]); in local_vector_to_irq()
|
/arch/m68k/kernel/ |
D | ints.c | 91 void __init m68k_setup_user_interrupt(unsigned int vec, unsigned int cnt) in m68k_setup_user_interrupt() argument 96 m68k_first_user_vec = vec; in m68k_setup_user_interrupt() 99 *user_irqvec_fixup = vec - IRQ_USER; in m68k_setup_user_interrupt()
|
/arch/sh/include/asm/ |
D | traps_32.h | 58 unsigned int vec = regs->tra; \ 59 (void)vec;
|
D | traps_64.h | 32 asmlinkage void name##_trap_handler(unsigned int vec, struct pt_regs *regs)
|
/arch/mips/pci/ |
D | msi-xlp.c | 136 int vec; in xlp_msi_enable() local 138 vec = nlm_irq_msivec(d->irq); in xlp_msi_enable() 140 md->msi_enabled_mask |= 1u << vec; in xlp_msi_enable() 153 int vec; in xlp_msi_disable() local 155 vec = nlm_irq_msivec(d->irq); in xlp_msi_disable() 157 md->msi_enabled_mask &= ~(1u << vec); in xlp_msi_disable() 169 int link, vec; in xlp_msi_mask_ack() local 172 vec = nlm_irq_msivec(d->irq); in xlp_msi_mask_ack() 177 nlm_write_reg(md->lnkbase, PCIE_9XX_MSI_STATUS, 1u << vec); in xlp_msi_mask_ack() 179 nlm_write_reg(md->lnkbase, PCIE_MSI_STATUS, 1u << vec); in xlp_msi_mask_ack()
|
/arch/ia64/kernel/ |
D | irq_ia64.c | 426 # define IS_RESCHEDULE(vec) (vec == IA64_IPI_RESCHEDULE) argument 427 # define IS_LOCAL_TLB_FLUSH(vec) (vec == IA64_IPI_LOCAL_TLB_FLUSH) argument 429 # define IS_RESCHEDULE(vec) (0) argument 430 # define IS_LOCAL_TLB_FLUSH(vec) (0) argument 610 ia64_native_register_percpu_irq (ia64_vector vec, struct irqaction *action) in ia64_native_register_percpu_irq() argument 614 irq = vec; in ia64_native_register_percpu_irq() 615 BUG_ON(bind_irq_vector(irq, vec, CPU_MASK_ALL)); in ia64_native_register_percpu_irq()
|
/arch/sh/kernel/ |
D | traps.c | 140 if (notify_die(DIE_TRAP, "debug trap", regs, 0, vec & 0xff, in BUILD_TRAP_HANDLER() 181 switch (notify_die(DIE_NMI, "NMI", regs, 0, vec & 0xff, SIGINT)) { in BUILD_TRAP_HANDLER()
|
/arch/sh/mm/ |
D | fault.c | 378 unsigned long vec; in do_page_fault() local 387 vec = lookup_exception_vector(); in do_page_fault() 401 if (kprobe_page_fault(regs, vec)) in do_page_fault() 408 if (unlikely(kprobe_page_fault(regs, vec))) in do_page_fault()
|
/arch/m68k/include/asm/ |
D | traps.h | 95 #define VECOFF(vec) ((vec)<<2) argument
|
D | irq.h | 66 extern void m68k_setup_user_interrupt(unsigned int vec, unsigned int cnt);
|