/arch/mips/kvm/ |
D | interrupt.c | 24 void kvm_mips_queue_irq(struct kvm_vcpu *vcpu, unsigned int priority) in kvm_mips_queue_irq() argument 26 set_bit(priority, &vcpu->arch.pending_exceptions); in kvm_mips_queue_irq() 29 void kvm_mips_dequeue_irq(struct kvm_vcpu *vcpu, unsigned int priority) in kvm_mips_dequeue_irq() argument 31 clear_bit(priority, &vcpu->arch.pending_exceptions); in kvm_mips_dequeue_irq() 115 int kvm_mips_irq_deliver_cb(struct kvm_vcpu *vcpu, unsigned int priority, in kvm_mips_irq_deliver_cb() argument 124 switch (priority) { in kvm_mips_irq_deliver_cb() 191 clear_bit(priority, &vcpu->arch.pending_exceptions); in kvm_mips_irq_deliver_cb() 197 int kvm_mips_irq_clear_cb(struct kvm_vcpu *vcpu, unsigned int priority, in kvm_mips_irq_clear_cb() argument 207 unsigned int priority; in kvm_mips_deliver_interrupts() local 212 priority = __ffs(*pending_clr); in kvm_mips_deliver_interrupts() [all …]
|
D | interrupt.h | 36 void kvm_mips_queue_irq(struct kvm_vcpu *vcpu, unsigned int priority); 37 void kvm_mips_dequeue_irq(struct kvm_vcpu *vcpu, unsigned int priority); 46 int kvm_mips_irq_deliver_cb(struct kvm_vcpu *vcpu, unsigned int priority, 48 int kvm_mips_irq_clear_cb(struct kvm_vcpu *vcpu, unsigned int priority,
|
/arch/powerpc/sysdev/xics/ |
D | ics-opal.c | 117 int8_t priority; in ics_opal_set_affinity() local 124 rc = opal_get_xive(hw_irq, &oserver, &priority); in ics_opal_set_affinity() 143 rc = opal_set_xive(hw_irq, server, priority); in ics_opal_set_affinity() 186 int8_t priority; in ics_opal_map() local 192 rc = opal_get_xive(hw_irq, &server, &priority); in ics_opal_map() 206 int8_t priority; in ics_opal_mask_unknown() local 209 rc = opal_get_xive(vec, &server, &priority); in ics_opal_mask_unknown() 220 int8_t priority; in ics_opal_get_server() local 223 rc = opal_get_xive(vec, &server, &priority); in ics_opal_get_server()
|
/arch/powerpc/kvm/ |
D | trace_booke.h | 196 TP_PROTO(struct kvm_vcpu *vcpu, unsigned int priority), 197 TP_ARGS(vcpu, priority), 201 __field( __u32, priority ) 207 __entry->priority = priority; 213 __print_symbolic(__entry->priority, kvm_trace_symbol_irqprio),
|
D | book3s_rtas.c | 23 u32 irq, server, priority; in kvm_rtas_set_xive() local 33 priority = be32_to_cpu(args->args[2]); in kvm_rtas_set_xive() 35 rc = kvmppc_xics_set_xive(vcpu->kvm, irq, server, priority); in kvm_rtas_set_xive() 44 u32 irq, server, priority; in kvm_rtas_get_xive() local 54 server = priority = 0; in kvm_rtas_get_xive() 55 rc = kvmppc_xics_get_xive(vcpu->kvm, irq, &server, &priority); in kvm_rtas_get_xive() 62 args->rets[2] = cpu_to_be32(priority); in kvm_rtas_get_xive()
|
D | book3s_xics.c | 129 state->priority); in ics_check_resend() 144 u32 server, u32 priority, u32 saved_priority) in write_xive() argument 153 state->priority = priority; in write_xive() 156 if ((state->masked_pending || state->resend) && priority != MASKED) { in write_xive() 167 int kvmppc_xics_set_xive(struct kvm *kvm, u32 irq, u32 server, u32 priority) in kvmppc_xics_set_xive() argument 188 irq, server, priority, in kvmppc_xics_set_xive() 191 if (write_xive(xics, ics, state, server, priority, priority)) in kvmppc_xics_set_xive() 197 int kvmppc_xics_get_xive(struct kvm *kvm, u32 irq, u32 *server, u32 *priority) in kvmppc_xics_get_xive() argument 216 *priority = state->priority; in kvmppc_xics_get_xive() 265 write_xive(xics, ics, state, state->server, MASKED, state->priority); in kvmppc_xics_int_off() [all …]
|
D | mpic.c | 144 int priority; member 296 int priority = -1; in IRQ_check() local 304 irq, IVPR_PRIORITY(opp->src[irq].ivpr), priority); in IRQ_check() 306 if (IVPR_PRIORITY(opp->src[irq].ivpr) > priority) { in IRQ_check() 308 priority = IVPR_PRIORITY(opp->src[irq].ivpr); in IRQ_check() 313 q->priority = priority; in IRQ_check() 329 int priority; in IRQ_local_pipe() local 365 priority = IVPR_PRIORITY(src->ivpr); in IRQ_local_pipe() 377 if (active && priority <= dst->ctpr) { in IRQ_local_pipe() 379 __func__, n_IRQ, priority, dst->ctpr, n_CPU); in IRQ_local_pipe() [all …]
|
D | book3s.c | 253 unsigned int priority) in kvmppc_book3s_irqprio_deliver() argument 259 switch (priority) { in kvmppc_book3s_irqprio_deliver() 316 printk(KERN_ERR "KVM: Unknown interrupt: 0x%x\n", priority); in kvmppc_book3s_irqprio_deliver() 333 static bool clear_irqprio(struct kvm_vcpu *vcpu, unsigned int priority) in clear_irqprio() argument 335 switch (priority) { in clear_irqprio() 351 unsigned int priority; in kvmppc_core_prepare_to_enter() local 357 priority = __ffs(*pending); in kvmppc_core_prepare_to_enter() 358 while (priority < BOOK3S_IRQPRIO_MAX) { in kvmppc_core_prepare_to_enter() 359 if (kvmppc_book3s_irqprio_deliver(vcpu, priority) && in kvmppc_core_prepare_to_enter() 360 clear_irqprio(vcpu, priority)) { in kvmppc_core_prepare_to_enter() [all …]
|
D | book3s_hv_rm_xics.c | 250 static bool icp_rm_try_to_deliver(struct kvmppc_icp *icp, u32 irq, u8 priority, in icp_rm_try_to_deliver() argument 262 success = new_state.cppr > priority && in icp_rm_try_to_deliver() 263 new_state.mfrr > priority && in icp_rm_try_to_deliver() 264 new_state.pending_pri > priority; in icp_rm_try_to_deliver() 273 new_state.pending_pri = priority; in icp_rm_try_to_deliver() 352 if (state->priority == MASKED) { in icp_rm_deliver_irq() 373 if (icp_rm_try_to_deliver(icp, new_irq, state->priority, &reject)) { in icp_rm_deliver_irq()
|
/arch/x86/kvm/ |
D | i8259.c | 126 int priority; in get_priority() local 129 priority = 0; in get_priority() 130 while ((mask & (1 << ((priority + s->priority_add) & 7))) == 0) in get_priority() 131 priority++; in get_priority() 132 return priority; in get_priority() 140 int mask, cur_priority, priority; in pic_get_irq() local 143 priority = get_priority(s, mask); in pic_get_irq() 144 if (priority == 8) in pic_get_irq() 155 if (priority < cur_priority) in pic_get_irq() 159 return (priority + s->priority_add) & 7; in pic_get_irq() [all …]
|
/arch/powerpc/platforms/powernv/ |
D | opal-power.c | 124 .priority = 0, 131 .priority = 0, 138 .priority = 0,
|
/arch/mips/cavium-octeon/executive/ |
D | cvmx-pko.c | 172 const uint64_t priority = 8; in __cvmx_pko_chip_init() local 175 &priority); in __cvmx_pko_chip_init() 342 const uint64_t priority[]) in cvmx_pko_config_port() argument 377 && priority[queue] == in cvmx_pko_config_port() 383 && priority[queue] != CVMX_PKO_QUEUE_STATIC_PRIORITY in cvmx_pko_config_port() 399 && priority[queue] == in cvmx_pko_config_port() 459 switch ((int)priority[queue]) { in cvmx_pko_config_port() 496 (unsigned long long)priority[queue]); in cvmx_pko_config_port()
|
/arch/mips/lasat/ |
D | setup.c | 113 .priority = INT_MAX 116 .priority = INT_MIN
|
/arch/blackfin/mach-bf548/ |
D | Makefile | 5 obj-y := ints-priority.o dma.o
|
/arch/blackfin/mach-bf527/ |
D | Makefile | 5 obj-y := ints-priority.o dma.o
|
/arch/blackfin/mach-bf537/ |
D | Makefile | 5 obj-y := ints-priority.o dma.o
|
/arch/blackfin/mach-bf533/ |
D | Makefile | 5 obj-y := ints-priority.o dma.o
|
/arch/blackfin/mach-bf518/ |
D | Makefile | 5 obj-y := ints-priority.o dma.o
|
/arch/mn10300/ |
D | Kconfig | 397 menu "Interrupt request priority options" 399 comment "[!] NOTE: A lower number/level indicates a higher priority (0 is highest, 6 is lowest)" 402 comment "The following must be set to a higher priority than local_irq_disable() and on-chip serial" 405 int "DEBUGGER interrupt priority" 414 comment "The following must be set to a higher priority than local_irq_disable()" 417 int "MN10300 on-chip serial interrupt priority" 430 int "The highest interrupt priority excluded by local_irq_disable() (2-6)" 436 (a lower level indicates a higher priority) by lowering the value in 444 comment "The following must be set to a equal to or lower priority than LINUX_CLI_LEVEL" 447 int "Kernel timer interrupt priority" [all …]
|
/arch/blackfin/mach-bf538/ |
D | Makefile | 5 obj-y := ints-priority.o dma.o
|
/arch/blackfin/mach-bf609/ |
D | Makefile | 5 obj-y := dma.o clock.o ints-priority.o
|
/arch/blackfin/mach-bf561/ |
D | Makefile | 5 obj-y := ints-priority.o dma.o
|
/arch/arm/include/asm/hardware/ |
D | entry-macro-iomd.S | 15 ldrb \irqstat, [\base, #IOMD_IRQREQB] @ get high priority first 24 ldreqb \irqstat, [\base, #IOMD_IRQREQA] @ get low priority
|
/arch/sh/include/asm/ |
D | hw_irq.h | 14 unsigned char priority; /* The priority */ member
|
/arch/mips/include/asm/ |
D | traps.h | 36 .priority = pri \
|