Home
last modified time | relevance | path

Searched refs:imr (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/sys/
H A Dupa64s.h59 #define UPA64S_IMR_TO_CPUID(imr) (((imr) & IMR_TID) >> IMR_TID_BIT) argument
60 #define UPA64S_IMR_TO_MONDO(imr) ((imr) & IMR_MONDO) argument
62 #define UPA64S_GET_MAP_REG(mondo, imr) ((mondo) | (imr) | IMR_VALID) argument
91 uint64_t *imr[UPA64S_PORTS]; /* Intr mapping reg; treat */ member
/illumos-gate/usr/src/uts/sun4u/io/
H A Dupa64s.c261 if (ddi_regs_map_setup(dip, 1, (caddr_t *)&upa64s_p->imr[0], in upa64s_attach()
878 upa64s_p->imr[0]); in save_state()
880 upa64s_p->imr[1]); in save_state()
897 ddi_put64(upa64s_p->imr_ah[0], upa64s_p->imr[0], in restore_state()
899 ddi_put64(upa64s_p->imr_ah[1], upa64s_p->imr[1], in restore_state()
903 tmp = ddi_get64(upa64s_p->imr_ah[0], upa64s_p->imr[0]); in restore_state()
904 tmp = ddi_get64(upa64s_p->imr_ah[1], upa64s_p->imr[1]); in restore_state()
1179 volatile uint64_t *imr; in upa64s_intrdist() local
1187 imr = upa64s_p->imr[upaport]; in upa64s_intrdist()
1188 mondo = UPA64S_IMR_TO_MONDO(*imr); in upa64s_intrdist()
[all …]
/illumos-gate/usr/src/uts/sun4u/opl/sys/pcicmu/
H A Dpcmu_ib.h121 #define PCMU_IB_INO_INTR_ISON(imr) ((imr) >> 31) argument
123 #define PCMU_IB_IMR2MONDO(imr) ((imr) & \ argument
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_cb.c182 volatile uint64_t imr; in cb_intr_dist() local
191 imr = lddphysio(mr_pa); in cb_intr_dist()
192 if (!IB_INO_INTR_ISON(imr)) in cb_intr_dist()
197 if (ib_map_reg_get_cpu(imr) == cpu_id) in cb_intr_dist()
H A Dpci_ib.c217 volatile uint64_t imr = *imr_p; in ib_intr_dist_nintr() local
220 if (!IB_INO_INTR_ISON(imr)) in ib_intr_dist_nintr()
228 *imr_p = ib_get_map_reg(IB_IMR2MONDO(imr), cpu_id); in ib_intr_dist_nintr()
229 imr = *imr_p; /* flush previous write */ in ib_intr_dist_nintr()
266 volatile uint64_t imr, *imr_p, *state_reg; in ib_intr_dist() local
278 imr = *imr_p; /* flush previous write */ in ib_intr_dist()
292 *imr_p = ib_get_map_reg(IB_IMR2MONDO(imr), cpu_id); in ib_intr_dist()
293 imr = *imr_p; /* flush previous write */ in ib_intr_dist()
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcmu_ib.c215 volatile uint64_t imr = *imr_p; in pcmu_ib_intr_dist_nintr() local
218 if (!PCMU_IB_INO_INTR_ISON(imr)) in pcmu_ib_intr_dist_nintr()
230 *imr_p = ib_get_map_reg(PCMU_IB_IMR2MONDO(imr), cpu_id); in pcmu_ib_intr_dist_nintr()
231 imr = *imr_p; /* flush previous write */ in pcmu_ib_intr_dist_nintr()
239 volatile uint64_t imr, *imr_p, *state_reg; in pcmu_ib_intr_dist() local
250 imr = *imr_p; /* flush previous write */ in pcmu_ib_intr_dist()
281 *imr_p = ib_get_map_reg(PCMU_IB_IMR2MONDO(imr), cpu_id); in pcmu_ib_intr_dist()
282 imr = *imr_p; /* flush previous write */ in pcmu_ib_intr_dist()
H A Dpcmu_cb.c218 volatile uint64_t imr; in pcmu_cb_intr_dist() local
229 imr = lddphysio(mr_pa); in pcmu_cb_intr_dist()
230 if (!PCMU_IB_INO_INTR_ISON(imr)) in pcmu_cb_intr_dist()
/illumos-gate/usr/src/uts/sun4u/sys/pci/
H A Dpci_ib.h178 #define IB_INO_INTR_ISON(imr) ((imr) >> 31) argument
179 #define IB_IMR2MONDO(imr) \ argument
180 ((imr) & (COMMON_INTR_MAP_REG_IGN | COMMON_INTR_MAP_REG_INO))
/illumos-gate/usr/src/uts/common/io/cpqary3/
H A Dcpqary3_talk2ctlr.c372 intr = ddi_get32(cpqary3p->imr_handle, (uint32_t *)cpqary3p->imr); in cpqary3_intr_onoff()
377 (uint32_t *)cpqary3p->imr, intr & ~(intr_mask)); in cpqary3_intr_onoff()
380 (uint32_t *)cpqary3p->imr, (intr | intr_mask)); in cpqary3_intr_onoff()
409 intr = ddi_get32(cpqary3p->imr_handle, (uint32_t *)cpqary3p->imr); in cpqary3_lockup_intr_onoff()
414 (uint32_t *)cpqary3p->imr, intr & ~(intr_lockup_mask)); in cpqary3_lockup_intr_onoff()
417 (uint32_t *)cpqary3p->imr, (intr | intr_lockup_mask)); in cpqary3_lockup_intr_onoff()
H A Dcpqary3.h356 uint32_t *imr; member
H A Dcpqary3.c963 (caddr_t *)&cpqary3p->imr, (offset_t)I2O_INT_MASK, map_len, in cpqary3_update_ctlrdetails()
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dsis900.h25 imr=0x14, /* Interrupt Mask Register */ enumerator
H A Dsis900.c632 outl(0, ioaddr + imr); in sis900_reset()
1130 outl(0, ioaddr + imr); in sis900_transmit()
1209 outl(0, ioaddr + imr); in sis900_disable()
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/
H A DmDNSPosix.c998 struct ip_mreq imr; in SetupSocket() local
1032 imr.imr_multiaddr.s_addr = AllDNSLinkGroup_v4.ip.v4.NotAnInteger; in SetupSocket()
1033 imr.imr_interface = ((struct sockaddr_in*)intfAddr)->sin_addr; in SetupSocket()
1034 err = setsockopt(*sktPtr, IPPROTO_IP, IP_ADD_MEMBERSHIP, &imr, sizeof(imr)); in SetupSocket()