Home
last modified time | relevance | path

Searched refs:mondo (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_intr.c460 ib_mondo_t mondo; in pci_add_intr() local
479 mondo = pci_xlate_intr(dip, rdip, ib_p, ino); in pci_add_intr()
480 if (mondo == 0) in pci_add_intr()
483 hdlp->ih_vector = CB_MONDO_TO_XMONDO(cb_p, mondo); in pci_add_intr()
498 *map_reg_addr = ib_get_map_reg(mondo, cpu_id); in pci_add_intr()
504 if ((mondo = pci_xlate_intr(dip, rdip, pci_p->pci_ib_p, ino)) == 0) in pci_add_intr()
507 ino = IB_MONDO_TO_INO(mondo); in pci_add_intr()
541 hdlp->ih_vector = CB_MONDO_TO_XMONDO(cb_p, mondo); in pci_add_intr()
582 *ino_p->ino_map_reg = ib_get_map_reg(mondo, cpu_id); in pci_add_intr()
628 ib_mondo_t mondo; in pci_remove_intr() local
[all …]
H A Dpci_pbm.c147 uint32_t mondo; in pbm_register_intr() local
155 mondo = IB_INO_TO_MONDO(pci_p->pci_ib_p, pci_p->pci_inos[CBNINTR_PBM]); in pbm_register_intr()
156 mondo = CB_MONDO_TO_XMONDO(pci_p->pci_cb_p, mondo); in pbm_register_intr()
158 VERIFY(add_ivintr(mondo, pci_pil[CBNINTR_PBM], (intrfunc)pbm_error_intr, in pbm_register_intr()
180 uint32_t mondo; in pbm_destroy() local
184 mondo = IB_INO_TO_MONDO(pci_p->pci_ib_p, pci_p->pci_inos[CBNINTR_PBM]); in pbm_destroy()
185 mondo = CB_MONDO_TO_XMONDO(pci_p->pci_cb_p, mondo); in pbm_destroy()
198 VERIFY(rem_ivintr(mondo, pci_pil[CBNINTR_PBM]) == 0); in pbm_destroy()
H A Dpcipsy.c401 ib_get_map_reg(ib_mondo_t mondo, uint32_t cpu_id) in ib_get_map_reg() argument
403 return ((mondo) | (cpu_id << COMMON_INTR_MAP_REG_TID_SHIFT) | in ib_get_map_reg()
696 uint32_t mondo; in pci_cb_teardown() local
699 mondo = ((pci_p->pci_cb_p->cb_ign << PCI_INO_BITS) | in pci_cb_teardown()
701 mondo = CB_MONDO_TO_XMONDO(pci_p->pci_cb_p, mondo); in pci_cb_teardown()
704 VERIFY(rem_ivintr(mondo, pci_pil[CBNINTR_THERMAL]) == 0); in pci_cb_teardown()
711 uint32_t mondo; in cb_register_intr() local
716 mondo = ((pci_p->pci_cb_p->cb_ign << PCI_INO_BITS) | in cb_register_intr()
718 mondo = CB_MONDO_TO_XMONDO(pci_p->pci_cb_p, mondo); in cb_register_intr()
720 VERIFY(add_ivintr(mondo, pci_pil[CBNINTR_THERMAL], in cb_register_intr()
[all …]
H A Dpci_cb.c91 ib_mondo_t mondo = CB_INO_TO_MONDO(cb_p, ino); in cb_enable_nintr() local
101 reg = ib_get_map_reg(mondo, cpu_id); in cb_enable_nintr()
183 ib_mondo_t mondo; in cb_intr_dist() local
195 mondo = CB_INO_TO_MONDO(cb_p, ino); in cb_intr_dist()
200 stdphysio(mr_pa, ib_get_map_reg(mondo, cpu_id)); in cb_intr_dist()
H A Dpcisch.c552 ib_get_map_reg(ib_mondo_t mondo, uint32_t cpu_id) in ib_get_map_reg() argument
563 return ((mondo) | (agent_id << COMMON_INTR_MAP_REG_TID_SHIFT) | in ib_get_map_reg()
651 uint32_t mondo; in pci_cb_teardown() local
656 mondo = ((pci_p->pci_cb_p->cb_ign << PCI_INO_BITS) | in pci_cb_teardown()
658 mondo = CB_MONDO_TO_XMONDO(pci_p->pci_cb_p, mondo); in pci_cb_teardown()
661 VERIFY(rem_ivintr(mondo, pci_pil[CBNINTR_BUS_ERROR]) == 0); in pci_cb_teardown()
667 uint32_t mondo; in cb_register_intr() local
672 mondo = ((pci_p->pci_cb_p->cb_ign << PCI_INO_BITS) | in cb_register_intr()
674 mondo = CB_MONDO_TO_XMONDO(pci_p->pci_cb_p, mondo); in cb_register_intr()
676 VERIFY(add_ivintr(mondo, pci_pil[CBNINTR_BUS_ERROR], in cb_register_intr()
[all …]
H A Dpci_ib.c149 ib_mondo_t mondo = IB_INO_TO_MONDO(ib_p, ino); in ib_intr_enable() local
161 *imr_p = ib_get_map_reg(mondo, cpu_id); in ib_intr_enable()
830 ib_mondo_t mondo; in ib_update_intr_state() local
849 if ((mondo = pci_xlate_intr(pci_p->pci_dip, rdip, pci_p->pci_ib_p, in ib_update_intr_state()
855 ino_p = ib_locate_ino(ib_p, IB_MONDO_TO_INO(mondo)); in ib_update_intr_state()
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcmu_intr.c177 pcmu_ib_mondo_t mondo; in pcmu_add_intr() local
191 if ((mondo = PCMU_IB_INO_TO_MONDO(pcmu_p->pcmu_ib_p, ino)) == 0) in pcmu_add_intr()
194 ino = PCMU_IB_MONDO_TO_INO(mondo); in pcmu_add_intr()
219 hdlp->ih_vector = mondo; in pcmu_add_intr()
253 *ino_p->pino_map_reg = ib_get_map_reg(mondo, cpu_id); in pcmu_add_intr()
281 pcmu_ib_mondo_t mondo; in pcmu_remove_intr() local
291 mondo = PCMU_IB_INO_TO_MONDO(pcmu_p->pcmu_ib_p, ino); in pcmu_remove_intr()
292 if (mondo == 0) { in pcmu_remove_intr()
297 ino = PCMU_IB_MONDO_TO_INO(mondo); in pcmu_remove_intr()
314 hdlp->ih_vector = mondo; in pcmu_remove_intr()
[all …]
H A Dpcmu_pbm.c110 uint32_t mondo; in pcmu_pbm_register_intr() local
118 mondo = PCMU_IB_INO_TO_MONDO(pcmu_p->pcmu_ib_p, in pcmu_pbm_register_intr()
121 VERIFY(add_ivintr(mondo, pcmu_pil[CBNINTR_PBM], in pcmu_pbm_register_intr()
142 uint32_t mondo; in pcmu_pbm_destroy() local
146 mondo = PCMU_IB_INO_TO_MONDO(pcmu_p->pcmu_ib_p, in pcmu_pbm_destroy()
161 VERIFY(rem_ivintr(mondo, pcmu_pil[CBNINTR_PBM]) == 0); in pcmu_pbm_destroy()
H A Dpcmu_cb.c100 pcmu_ib_mondo_t mondo = PCMU_CB_INO_TO_MONDO(pcb_p, ino); in pcmu_cb_enable_nintr() local
114 reg = ib_get_map_reg(mondo, cpu_id); in pcmu_cb_enable_nintr()
219 pcmu_ib_mondo_t mondo; in pcmu_cb_intr_dist() local
233 mondo = PCMU_CB_INO_TO_MONDO(pcb_p, ino); in pcmu_cb_intr_dist()
240 stdphysio(mr_pa, ib_get_map_reg(mondo, cpu_id)); in pcmu_cb_intr_dist()
H A Dpcmu_ib.c125 pcmu_ib_mondo_t mondo = PCMU_IB_INO_TO_MONDO(pib_p, ino); in pcmu_ib_intr_enable() local
138 *imr_p = ib_get_map_reg(mondo, cpu_id); in pcmu_ib_intr_enable()
730 pcmu_ib_mondo_t mondo; in pcmu_ib_update_intr_state() local
736 if ((mondo = PCMU_IB_INO_TO_MONDO(pcmu_p->pcmu_ib_p, in pcmu_ib_update_intr_state()
742 if (ino_p = pcmu_ib_locate_ino(pib_p, PCMU_IB_MONDO_TO_INO(mondo))) { in pcmu_ib_update_intr_state()
H A Dpcicmu.c1251 ib_get_map_reg(pcmu_ib_mondo_t mondo, uint32_t cpu_id) in ib_get_map_reg() argument
1253 return ((mondo) | (cpu_id << PCMU_INTR_MAP_REG_TID_SHIFT) | in ib_get_map_reg()
1432 uint32_t mondo; in pcmu_ecc_add_intr() local
1434 mondo = ((pcmu_p->pcmu_cb_p->pcb_ign << PCMU_INO_BITS) | in pcmu_ecc_add_intr()
1437 VERIFY(add_ivintr(mondo, pcmu_pil[inum], (intrfunc)pcmu_ecc_intr, in pcmu_ecc_add_intr()
1448 uint32_t mondo; in pcmu_ecc_rem_intr() local
1450 mondo = ((pcmu_p->pcmu_cb_p->pcb_ign << PCMU_INO_BITS) | in pcmu_ecc_rem_intr()
1453 VERIFY(rem_ivintr(mondo, pcmu_pil[inum]) == 0); in pcmu_ecc_rem_intr()
/illumos-gate/usr/src/uts/sun4u/sys/pci/
H A Dpci_ib.h166 #define IB_MONDO_TO_INO(mondo) ((ib_ino_t)((mondo) & 0x3f)) argument
190 extern uint64_t ib_get_map_reg(ib_mondo_t mondo, uint32_t cpu_id);
215 extern uint32_t ib_register_intr(ib_t *ib_p, ib_mondo_t mondo, uint_t pil,
217 extern void ib_unregister_intr(ib_mondo_t mondo);
H A Dpci_cb.h85 #define CB_MONDO_TO_XMONDO(cb_p, mondo) /* local mondo to global mondo */ \ argument
86 ((cb_p)->cb_node_id << (PCI_IGN_BITS + PCI_INO_BITS) | (mondo))
H A Dpci_chip.h69 ib_ino_t ino, ib_mondo_t mondo);
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dupa64s.h50 #define UPA64S_MONDO_TO_INO(mondo) ((mondo) & 0x3f) argument
62 #define UPA64S_GET_MAP_REG(mondo, imr) ((mondo) | (imr) | IMR_VALID) argument
/illumos-gate/usr/src/uts/sun4u/opl/sys/pcicmu/
H A Dpcmu_ib.h109 #define PCMU_IB_MONDO_TO_INO(mondo) ((pcmu_ib_ino_t)((mondo) & 0x3f)) argument
141 extern uint64_t ib_get_map_reg(pcmu_ib_mondo_t mondo, uint32_t cpu_id);
/illumos-gate/usr/src/uts/sun4u/io/
H A Dsysiosbus.c2169 uint_t mondo; in sbus_intrdist() local
2176 for (mondo = 0; mondo < SZ_INO_TABLE; mondo++) { in sbus_intrdist()
2177 if (ino_table[mondo] == NULL) in sbus_intrdist()
2181 ino_table[mondo]->mapping_reg); in sbus_intrdist()
2209 if (mondo > MAX_MONDO_EXTERNAL) { in sbus_intrdist()
2210 start_bit = ino_table[mondo]->diagreg_shift; in sbus_intrdist()
2227 start_bit = 16 * (mondo >> 3) + 2; in sbus_intrdist()
2280 uint_t mondo; in sbus_intr_reset() local
2285 for (mondo = 0; mondo < SZ_INO_TABLE; mondo++) { in sbus_intr_reset()
2286 if (ino_table[mondo] == NULL || in sbus_intr_reset()
[all …]
H A Dupa64s.c1181 uint_t mondo; in upa64s_intrdist() local
1188 mondo = UPA64S_IMR_TO_MONDO(*imr); in upa64s_intrdist()
1191 imr_dat = UPA64S_GET_MAP_REG(mondo, imr_dat); in upa64s_intrdist()
1194 DBG2(D_INTRDIST, dip, "mondo=%x cpuid=%x\n", mondo, cpuid); in upa64s_intrdist()
/illumos-gate/usr/src/uts/sun4u/sunfire/sys/
H A Dsysctrl.h369 int mondo; /* INO for this type of interrupt */ member
H A Dfhc.h956 uint_t mondo; member
/illumos-gate/usr/src/uts/sun4u/ml/
H A Dmach_interrupt.S58 ! data bearing mondo vector.
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dfhc.c1533 uint32_t mondo; in fhc_xlate_intrs() local
1535 mondo = hdlp->ih_vector; in fhc_xlate_intrs()
1537 hdlp->ih_vector = (mondo | ign); in fhc_xlate_intrs()
1539 hdlp->ih_pri = fhc_int_priorities[FHC_INO(mondo)]; in fhc_xlate_intrs()
/illumos-gate/usr/src/uts/sun4/ml/
H A Dinterrupt.S779 ! All traps below DISP_LEVEL are disabled here, but the mondo interrupt