Home
last modified time | relevance | path

Searched refs:irqno (Results 1 – 25 of 38) sorted by relevance

12

/titanic_50/usr/src/uts/i86xpv/io/psm/
H A Dxpv_uppc.c226 int irqno; in xen_uppc_picinit() local
239 if ((irqno = xen_uppc_sci) >= 0) { in xen_uppc_picinit()
240 ec_enable_irq(irqno); in xen_uppc_picinit()
248 xen_uppc_addspl(int irqno, int ipl, int min_ipl, int max_ipl) in xen_uppc_addspl() argument
253 if (irqno >= 0 && irqno <= MAX_ISA_IRQ) in xen_uppc_addspl()
254 atomic_inc_16(&xen_uppc_irq_shared_table[irqno]); in xen_uppc_addspl()
260 if (irqno >= PIRQ_BASE && irqno < NR_PIRQS && in xen_uppc_addspl()
264 ec_setup_pirq(irqno, ipl, &cpus); in xen_uppc_addspl()
269 ret = ec_set_irq_priority(irqno, ipl); in xen_uppc_addspl()
273 ec_set_irq_affinity(irqno, cpus); in xen_uppc_addspl()
[all …]
H A Dxpv_psm.c254 int cpu, irqno; in xen_psm_picinit() local
279 if ((irqno = apic_sci_vect) > 0) { in xen_psm_picinit()
280 if ((cpu = xen_psm_bind_intr(irqno)) == IRQ_UNBOUND) { in xen_psm_picinit()
286 ec_set_irq_affinity(irqno, cpus); in xen_psm_picinit()
287 apic_irq_table[irqno]->airq_temp_cpu = in xen_psm_picinit()
289 ec_enable_irq(irqno); in xen_psm_picinit()
316 xen_psm_addspl(int irqno, int ipl, int min_ipl, int max_ipl) in xen_psm_addspl() argument
325 if (irqno >= PIRQ_BASE && irqno < NR_PIRQS && in xen_psm_addspl()
330 ret = apic_addspl_common(irqno, ipl, min_ipl, max_ipl); in xen_psm_addspl()
335 ret = ec_set_irq_priority(irqno, ipl); in xen_psm_addspl()
[all …]
H A Dmp_platform_xpv.c80 static int apic_setup_irq_table(dev_info_t *dip, int irqno,
93 extern struct apic_io_intr *apic_find_io_intr_w_busid(int irqno, int busid);
323 apic_addspl_common(int irqno, int ipl, int min_ipl, int max_ipl) in apic_addspl_common() argument
331 irqindex = IRQINDEX(irqno); in apic_addspl_common()
341 irqptr->airq_mps_intr_index, irqno, irqptr->airq_vector)); in apic_addspl_common()
344 if (VIRTIRQ(irqindex, irqptr->airq_share_id) == irqno) in apic_addspl_common()
390 irqno) || (irqptr->airq_temp_cpu != IRQ_UNINIT)) { in apic_addspl_common()
454 apic_delspl_common(int irqno, int ipl, int min_ipl, int max_ipl) in apic_delspl_common() argument
464 irqindex = IRQINDEX(irqno); in apic_delspl_common()
469 irqptr->airq_mps_intr_index, irqno, irqptr->airq_vector)); in apic_delspl_common()
[all …]
H A Dxpv_intr.c134 uchar_t irqno; in apic_get_vector_intr_info() local
149 irqno = apic_vector_to_irq[vecirq]; in apic_get_vector_intr_info()
151 irqno = vecirq; in apic_get_vector_intr_info()
153 irq_p = apic_irq_table[irqno]; in apic_get_vector_intr_info()
189 for (i = 0, av_dev = autovect[irqno].avh_link; in apic_get_vector_intr_info()
217 for (i = 0, av_dev = autovect[irqno].avh_link; in apic_get_vector_intr_info()
/titanic_50/usr/src/uts/i86pc/io/psm/
H A Duppc.c51 static int uppc_addspl(int irqno, int ipl, int min_ipl, int max_ipl);
52 static int uppc_delspl(int irqno, int ipl, int min_ipl, int max_ipl);
56 static int uppc_translate_irq(dev_info_t *dip, int irqno);
312 uppc_addspl(int irqno, int ipl, int min_ipl, int max_ipl) in uppc_addspl() argument
319 if (irqno <= MAX_ISA_IRQ) in uppc_addspl()
320 atomic_inc_16(&uppc_irq_shared_table[irqno]); in uppc_addspl()
325 if (irqno > 7) { in uppc_addspl()
326 vectmask = 1 << (irqno - 8); in uppc_addspl()
329 vectmask = 1 << irqno; in uppc_addspl()
356 uppc_delspl(int irqno, int ipl, int min_ipl, int max_ipl) in uppc_delspl() argument
[all …]
/titanic_50/usr/src/uts/i86pc/io/
H A Dmp_platform_misc.c89 static int apic_setup_irq_table(dev_info_t *dip, int irqno,
102 extern struct apic_io_intr *apic_find_io_intr_w_busid(int irqno, int busid);
367 apic_addspl_common(int irqno, int ipl, int min_ipl, int max_ipl) in apic_addspl_common() argument
375 irqindex = IRQINDEX(irqno); in apic_addspl_common()
385 irqptr->airq_mps_intr_index, irqno, irqptr->airq_vector)); in apic_addspl_common()
388 if (VIRTIRQ(irqindex, irqptr->airq_share_id) == irqno) in apic_addspl_common()
434 irqno) || (irqptr->airq_temp_cpu != IRQ_UNINIT)) { in apic_addspl_common()
498 apic_delspl_common(int irqno, int ipl, int min_ipl, int max_ipl) in apic_delspl_common() argument
508 irqindex = IRQINDEX(irqno); in apic_delspl_common()
513 irqptr->airq_mps_intr_index, irqno, irqptr->airq_vector)); in apic_delspl_common()
[all …]
H A Dmp_platform_common.c86 static struct apic_io_intr *apic_find_io_intr(int irqno);
88 struct apic_io_intr *apic_find_io_intr_w_busid(int irqno, int busid);
1457 apic_find_io_intr_w_busid(int irqno, int busid) in apic_find_io_intr_w_busid() argument
1468 if (intrp->intr_irq == irqno && in apic_find_io_intr_w_busid()
1476 "busid %x:%x\n", irqno, busid)); in apic_find_io_intr_w_busid()
1553 apic_find_io_intr(int irqno) in apic_find_io_intr() argument
1560 if (intrp->intr_irq == irqno && in apic_find_io_intr()
/titanic_50/usr/src/uts/i86pc/io/apix/
H A Dapix.c111 static void apix_intx_set_mask(int irqno);
112 static void apix_intx_clear_mask(int irqno);
113 static int apix_intx_get_shared(int irqno);
114 static void apix_intx_set_shared(int irqno, int delta);
1745 apix_intx_set_vector(int irqno, uint32_t cpuid, uchar_t vector) in apix_intx_set_vector() argument
1750 irqp = apic_irq_table[irqno]; in apix_intx_set_vector()
1753 apic_record_rdt_entry(irqp, irqno); in apix_intx_set_vector()
1758 apix_intx_get_vector(int irqno) in apix_intx_get_vector() argument
1765 irqp = apic_irq_table[irqno & 0xff]; in apix_intx_get_vector()
1781 apix_intx_enable(int irqno) in apix_intx_enable() argument
[all …]
H A Dapix_utils.c997 int irqno = virt_vect; in apix_add_avintr() local
1006 if ((vecp = apix_alloc_intx(dip, inum, irqno)) == NULL) in apix_add_avintr()
1563 apix_alloc_intx(dev_info_t *dip, int inum, int irqno) in apix_alloc_intx() argument
1573 if ((irqp = apic_irq_table[irqno]) == NULL) { in apix_alloc_intx()
1577 apic_irq_table[irqno] = irqp; in apix_alloc_intx()
1582 irqp->airq_origirq = (uchar_t)irqno; in apix_alloc_intx()
1603 irqno); in apix_alloc_intx()
1607 vecp->v_inum = irqno; in apix_alloc_intx()
1610 apix_intx_set_vector(irqno, vecp->v_cpuid, vecp->v_vector); in apix_alloc_intx()
1830 ioapix_setup_intr(int irqno, iflag_t *flagp) in ioapix_setup_intr() argument
[all …]
H A Dapix_intr.c817 int irqno = vecp->v_inum; in apix_post_hardint() local
819 ASSERT(vecp->v_type == APIX_TYPE_FIXED && apic_level_intr[irqno]); in apix_post_hardint()
821 apix_level_intr_post_dispatch(irqno); in apix_post_hardint()
/titanic_50/usr/src/uts/i86pc/sys/
H A Dpsm_types.h124 void (*psm_intr_exit)(int ipl, int irqno);
126 int (*psm_addspl)(int irqno, int ipl, int min_ipl, int max_ipl);
127 int (*psm_delspl)(int irqno, int ipl, int min_ipl, int max_ipl);
162 int (*psm_translate_irq)(dev_info_t *dip, int irqno);
272 void (*psm_intr_exit)(int ipl, int irqno);
274 int (*psm_addspl)(int irqno, int ipl, int min_ipl, int max_ipl);
275 int (*psm_delspl)(int irqno, int ipl, int min_ipl, int max_ipl);
H A Dapix.h240 extern struct apic_io_intr *apic_find_io_intr_w_busid(int irqno, int busid);
315 extern apix_vector_t *apix_alloc_intx(dev_info_t *dip, int inum, int irqno);
336 extern void apix_intx_set_vector(int irqno, uint32_t cpuid, uchar_t vector);
337 extern apix_vector_t *apix_intx_get_vector(int irqno);
338 extern void apix_intx_enable(int irqno);
339 extern void apix_intx_disable(int irqno);
340 extern void apix_intx_free(int irqno);
341 extern int apix_intx_rebind(int irqno, processorid_t cpuid, uchar_t vector);
H A Dapic.h498 #define VIRTIRQ(irqno, share_id) ((irqno) | ((share_id) << 8)) argument
778 extern int apic_addspl_common(int irqno, int ipl, int min_ipl, int max_ipl);
779 extern int apic_delspl_common(int irqno, int ipl, int min_ipl, int max_ipl);
/titanic_50/usr/src/uts/i86pc/io/pcplusmp/
H A Dapic.c714 apic_addspl(int irqno, int ipl, int min_ipl, int max_ipl) in apic_addspl() argument
716 return (apic_addspl_common(irqno, ipl, min_ipl, max_ipl)); in apic_addspl()
720 apic_delspl(int irqno, int ipl, int min_ipl, int max_ipl) in apic_delspl() argument
722 return (apic_delspl_common(irqno, ipl, min_ipl, max_ipl)); in apic_delspl()
1062 uchar_t start, irqno; in apic_alloc_msi_vectors() local
1111 if ((irqno = apic_allocate_irq(apic_first_avail_irq)) == in apic_alloc_msi_vectors()
1122 apic_max_device_irq = max(irqno, apic_max_device_irq); in apic_alloc_msi_vectors()
1123 apic_min_device_irq = min(irqno, apic_min_device_irq); in apic_alloc_msi_vectors()
1124 irqptr = apic_irq_table[irqno]; in apic_alloc_msi_vectors()
1130 apic_vector_to_irq[start + i] = (uchar_t)irqno; in apic_alloc_msi_vectors()
[all …]
H A Dapic_introp.c67 int irqno, i; in apic_pci_msi_enable_vector() local
80 irqno = apic_vector_to_irq[vector + i]; in apic_pci_msi_enable_vector()
81 intrmap_tbl[i] = apic_irq_table[irqno]->airq_intrmap_private; in apic_pci_msi_enable_vector()
86 irqno = apic_vector_to_irq[vector + i]; in apic_pci_msi_enable_vector()
87 apic_irq_table[irqno]->airq_intrmap_private = in apic_pci_msi_enable_vector()
454 apic_set_cpu(int irqno, int cpu, int *result) in apic_set_cpu() argument
463 irqp = apic_irq_table[irqno]; in apic_set_cpu()
500 apic_grp_set_cpu(int irqno, int new_cpu, int *result) in apic_grp_set_cpu() argument
522 irqps[0] = apic_irq_table[irqno]; in apic_grp_set_cpu()
531 return (apic_set_cpu(irqno, new_cpu, result)); in apic_grp_set_cpu()
[all …]
/titanic_50/usr/src/grub/grub-0.97/netboot/
H A Dnic.h36 unsigned char irqno; member
H A Drtl8139.c201 nic->irqno = pci->irq; in rtl8139_probe()
215 nic->irqno, nic->node_addr, speed10 ? "10" : "100", in rtl8139_probe()
H A Dpnic.c228 nic->irqno = pci->irq; in pnic_probe()
H A D3c595.c481 nic->irqno = 0; in t595_probe()
H A Depic100.c114 nic->irqno = 0; in epic100_probe()
H A Ddavicom.c669 nic->irqno = 0; in davicom_probe()
H A Dnatsemi.c257 nic->irqno = 0; in natsemi_probe()
H A Deepro100.c595 nic->irqno = 0; in eepro100_probe()
H A Dr8169.c836 nic->irqno = pci->irq; in r8169_probe()
/titanic_50/usr/src/uts/i86pc/os/
H A Dmp_machdep.c83 static int mach_translate_irq(dev_info_t *dip, int irqno);
1689 mach_translate_irq(dev_info_t *dip, int irqno) in mach_translate_irq() argument
1691 return (irqno); /* default to NO translation */ in mach_translate_irq()

12