Searched defs:irq (Results 1 - 25 of 45) sorted by relevance

12

/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dnic.h29 void (*irq)P((struct nic *, irq_action_t)); member in struct:nic
H A Dpic8259.c24 int install_irq_handler ( irq_t irq, segoff_t *handler, argument
27 segoff_t *irq_vector = IRQ_VECTOR ( irq );
28 *previously_enabled = irq_enabled ( irq );
30 if ( irq > IRQ_MAX ) {
37 if ( *previously_enabled ) disable_irq ( irq );
39 handler->segment, handler->offset, irq,
45 if ( *previously_enabled ) enable_irq ( irq );
55 int remove_irq_handler ( irq_t irq, segoff_t *handler, argument
58 segoff_t *irq_vector = IRQ_VECTOR ( irq );
60 if ( irq > IRQ_MA
95 int irq = 0; local
129 install_undi_irq_handler( irq_t irq, segoff_t entrypointsp ) argument
[all...]
H A Dundi.h232 irq_t irq; member in struct:undi
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_irq.c47 drm_irq_busid_t irq; local
49 DRM_COPYFROM_WITH_RETURN(&irq, (void *)data, sizeof (irq));
51 if ((irq.busnum >> 8) != dev->pci_domain ||
52 (irq.busnum & 0xff) != dev->pci_bus ||
53 irq.devnum != dev->pci_slot ||
54 irq.funcnum != dev->pci_func)
57 irq.irq = dev->irq;
[all...]
H A Ddrm_pci.c87 int irq; local
91 irq = ddi_prop_get_int(DDI_DEV_T_ANY,
94 if (irq > 0) {
95 irq = drm_supp_get_irq(statep->drm_handle);
98 return (irq);
H A Ddrm_sunmod.c974 int irq; local
979 irq = pci_config_get8(mstate->mis_cfg_hdl, PCI_CONF_ILINE);
980 return (irq);
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dpsm_common.h61 typedef void (*intr_exit_fn_t)(int prev_ipl, int irq);
71 * irq_cache_t: Entry for irq cache to map pci bus/dev/ipin or ACPI object
72 * referencing an interrupt link device the configured irq for the device.
79 uchar_t irq; member in struct:irq_cache
99 #define ELCR_LEVEL(elcrval, irq) (elcrval & (0x1 << irq))
100 #define ELCR_EDGE(elcrval, irq) ((elcrval & (0x1 << irq)) == 0)
119 extern int acpi_set_irq_resource(acpi_psm_lnk_t *acpipsmlnkp, int irq);
124 extern int acpi_irqlist_find_irq(acpi_irqlist_t *irqlistp, int irq,
[all...]
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/common/
H A Dintr_common.c321 char irq[4]; local
344 (void) mdb_snprintf(irq, 4, "- ");
352 (void) mdb_snprintf(irq, 4, "%d", vectp->v_inum);
391 "%-9s ", cpu_vector, irq, evtchn, ipl,
/illumos-gate/usr/src/cmd/mdb/i86xpv/modules/xpv_psm/
H A Dxpv_psm.c128 virq_type(int irq) argument
133 if (virq_tbl[i].mi_irq == irq)
158 irq_type(int irq, int extended) argument
160 switch (irq_tbl[irq].ii_type) {
167 return (virq_type(irq));
185 irq_ipl(int irq) argument
189 if (irq_tbl[irq].ii_u2.ipl != 0)
190 return (irq_tbl[irq].ii_u2.ipl);
193 if (ipi_tbl[i].mi_irq == irq) {
271 print_bus(int irq) argument
421 int irq = evtchn_tbl[i]; local
[all...]
/illumos-gate/usr/src/cmd/mdb/i86xpv/modules/xpv_uppc/
H A Dxpv_uppc.c119 virq_type(int irq) argument
124 if (virq_tbl[i].mi_irq == irq)
147 irq_type(int irq, int extended) argument
149 switch (irq_tbl[irq].ii_type) {
156 return (virq_type(irq));
362 int irq = evtchn_tbl[i]; local
364 if (irq == INVALID_IRQ) {
374 mdb_printf("%-14s", irq_type(irq, 1));
378 mdb_printf("%-4d", irq);
380 mdb_printf("%6d/%-2d ", irq_tbl[irq]
[all...]
/illumos-gate/usr/src/uts/i86pc/i86hvm/io/xpv/
H A Devtchn.c295 set_hvm_callback(int irq) argument
301 xhp.value = irq;
/illumos-gate/usr/src/uts/i86pc/io/pcplusmp/
H A Dapic_regops.c102 void apic_send_directed_EOI(uint32_t irq);
201 apic_send_EOI(uint32_t irq) argument
211 apic_send_directed_EOI(uint32_t irq) argument
227 apic_irq = apic_irq_table[irq];
H A Dapic.c258 apic_xlate_vector_by_irq(uchar_t irq) argument
260 if (apic_irq_table[irq] == NULL)
263 return (apic_irq_table[irq]->airq_vector);
368 int irq = apic_get_ipivect(ipl, -1); local
370 ASSERT(irq != -1);
372 apic_irq_table[irq]->airq_vector;
376 "apic pcint", irq, NULL, NULL, NULL, NULL);
404 int irq = apic_get_ipivect(ipl, -1); local
406 ASSERT(irq != -1);
407 apic_errvect = apic_irq_table[irq]
436 int irq = apic_get_ipivect(ipl, -1); local
540 int irq; local
647 apic_intr_exit(int prev_ipl, int irq) argument
661 x2apic_intr_exit(int prev_ipl, int irq) argument
790 int irq; local
810 int irq; local
996 int irq; local
1232 apic_allocate_vector(int ipl, int irq, int pri) argument
1282 apic_setup_io_intr(void *p, int irq, boolean_t deferred) argument
1312 apic_modify_vector(uchar_t vector, int irq) argument
[all...]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_ev.c92 __in uint32_t irq,
121 MCDI_IN_SET_DWORD(req, INIT_EVQ_IN_IRQ_NUM, irq);
251 uint32_t irq; local
279 irq = index; /* INIT_EVQ expects function-relative vector number */
280 if ((rc = efx_mcdi_init_evq(enp, index, esmp, n, irq, NULL)) != 0)
87 efx_mcdi_init_evq( __in efx_nic_t *enp, __in unsigned int instance, __in efsys_mem_t *esmp, __in size_t nevs, __in uint32_t irq, __out_opt uint32_t *irqp) argument
/illumos-gate/usr/src/boot/sys/boot/common/
H A Disapnp.h259 u_char irq[2]; /* IRQ Number */ member in struct:pnp_cinfo
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_resource.c380 acpidev_resource_insert_irq(acpidev_resource_handle_t rhdl, int irq) argument
389 rhdl->acpidev_irqp[rhdl->acpidev_irq_count] = irq;
/illumos-gate/usr/src/uts/common/pcmcia/cis/
H A Dcis_handlers.c789 cistpl_cftable_entry_irq_t *irq = &ce->irq; local
797 irq->flags = tpce_ir;
803 irq->irqs = GET_BYTE(tp) & 0x0ff;
804 irq->irqs |= (GET_BYTE(tp) << 8)&0x0ff00;
806 irq->irqs = (1<< (tpce_ir&0x0f));
/illumos-gate/usr/src/uts/common/xen/public/
H A Dphysdev.h38 uint32_t irq; member in struct:physdev_eoi
65 uint32_t irq; member in struct:physdev_irq_status_query
133 uint32_t irq; member in struct:physdev_irq
/illumos-gate/usr/src/uts/i86pc/io/psm/
H A Duppc.c78 * For interrupt link devices, if uppc_unconditional_srs is set, an irq resource
80 * irq setting (via _CRS), but only if that irq is in the set of possible
88 * over other possible irq settings under same conditions.
661 "new irq %d for device %s, instance #%d\n",
669 * Configures the irq for the interrupt link device identified by
672 * Gets the current and the list of possible irq settings for the
674 * resource setting is in the list of possible irq settings,
675 * current irq resource setting is passed to the caller.
677 * Otherwise, picks an irq numbe
704 int32_t irq; local
[all...]
H A Dpsm_common.c46 * the reserved irq list. When 0 (false), the existing state of the ELCR
83 * as a pci busid/devid/ipin <-> irq cache and also as a acpi
84 * interrupt lnk <-> irq cache.
163 * link device is already configured (i.e. found in the irq cache)
164 * we need to use the already configured irq instead of reconfiguring
195 " for device %s, instance #%d, irq no %d\n",
255 * Build the reserved ISA irq list, and store it in the table pointed to by
307 * them to the reserved irq list
400 * obtaining irq information for dip.
449 * Sets the irq resourc
454 acpi_set_irq_resource(acpi_psm_lnk_t *acpipsmlnkp, int irq) argument
592 int irq; local
678 acpi_irqlist_find_irq(acpi_irqlist_t *irqlistp, int irq, iflag_t *intr_flagp) argument
[all...]
/illumos-gate/usr/src/uts/i86xpv/io/psm/
H A Dxpv_uppc.c61 * For interrupt link devices, if xen_uppc_unconditional_srs is set, an irq
63 * irq setting (via _CRS), but only if that irq is in the set of possible
71 * over other possible irq settings under same conditions.
293 * unbind if no more sharers of this irq/evtchn
422 * If the clock irq is pending on this cpu then we need to
430 * Configures the irq for the interrupt link device identified by
433 * Gets the current and the list of possible irq settings for the
435 * resource setting is in the list of possible irq settings,
436 * current irq resourc
465 int32_t irq; local
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dbusra.c764 uint32_t *irq; local
855 "interrupts", (caddr_t)&irq, &proplen) == DDI_SUCCESS) {
860 req.ra_addr = (uint64_t)irq[i];
866 kmem_free((caddr_t)irq, proplen);
/illumos-gate/usr/src/uts/i86pc/io/
H A Dimmu_intrmap.c965 int irq, vect; local
987 irq = vect = psm_get_ipivect(IMMU_INTR_IPL, -1);
989 vect = psm_xlate_vector_by_irq(irq);
998 (avfunc)(immu_intr_handler), intr_handler_name, irq,
H A Dmp_platform_misc.c101 extern uchar_t acpi_find_ioapic(int irq);
105 extern void apic_record_rdt_entry(apic_irq_t *irqptr, int irq);
123 /* The irq # is implicit in the array index: */
193 * IPLs share an irq.
210 * are also set to NULL. vector->irq is set to a value which cannot map
211 * to a real irq to show that it is free.
250 * Allocate a dummy irq table entry for the reserved entry.
251 * This takes care of the race between removing an irq and
252 * clock detecting a CPU in that irq during interrupt load
430 * reprogram irq bein
1214 apic_bind_intr(dev_info_t *dip, int irq, uchar_t ioapicid, uchar_t intin) argument
1727 apic_try_deferred_reprogram(int prev_ipl, int irq) argument
[all...]
/illumos-gate/usr/src/uts/i86pc/io/pci/
H A Dpci_common.c487 * For fixed interrupts, the irq may not have been
924 int irq; local
941 if ((*psm_intr_ops)(rdip, hdlp, PSM_INTR_OP_XLATE_VECTOR, &irq) ==
944 DDI_INTR_NEXDBG((CE_CONT, "pci_enable_intr: priority=%x irq=%x\n",
945 hdlp->ih_pri, irq));
949 DEVI(rdip)->devi_name, irq, hdlp->ih_cb_arg1,
953 hdlp->ih_vector = irq;
963 int irq; local
978 (void) (*psm_intr_ops)(rdip, hdlp, PSM_INTR_OP_XLATE_VECTOR, &irq);
981 rem_avintr((void *)hdlp, hdlp->ih_pri, hdlp->ih_cb_func, irq);
[all...]

Completed in 125 milliseconds

12