Home
last modified time | relevance | path

Searched refs:phyaddr (Results 1 – 16 of 16) sorted by relevance

/titanic_41/usr/src/uts/common/io/atge/
H A Datge_mii.c138 int phyaddr; in atge_l1e_mii_reset() local
140 phyaddr = mii_get_addr(atgep->atge_mii); in atge_l1e_mii_reset()
158 atge_mii_write(atgep, phyaddr, MII_MSCONTROL, 0x0); in atge_l1e_mii_reset()
161 atge_mii_write(atgep, phyaddr, ATPHY_DBG_ADDR, 0x0B); in atge_l1e_mii_reset()
162 atge_mii_write(atgep, phyaddr, ATPHY_DBG_DATA, 0xBC00); in atge_l1e_mii_reset()
165 atge_mii_write(atgep, phyaddr, ATPHY_DBG_ADDR, 0x00); in atge_l1e_mii_reset()
166 atge_mii_write(atgep, phyaddr, ATPHY_DBG_DATA, 0x02EF); in atge_l1e_mii_reset()
169 atge_mii_write(atgep, phyaddr, ATPHY_DBG_ADDR, 0x12); in atge_l1e_mii_reset()
170 atge_mii_write(atgep, phyaddr, ATPHY_DBG_DATA, 0x4C04); in atge_l1e_mii_reset()
173 atge_mii_write(atgep, phyaddr, ATPHY_DBG_ADDR, 0x04); in atge_l1e_mii_reset()
[all …]
/titanic_41/usr/src/uts/common/io/cpqary3/
H A Dcpqary3_mem.c69 uint32_t phyaddr; in cpqary3_meminit() local
215 phyaddr = 0; in cpqary3_meminit()
218 mempool_size, &phyaddr, cpqary3_phyctgp); in cpqary3_meminit()
255 temp_phyaddr = phyaddr; in cpqary3_meminit()
256 if (phyaddr & 0x1F) { in cpqary3_meminit()
257 phyaddr = (uint32_t)(((phyaddr + 31) / 32) * 32); in cpqary3_meminit()
258 unused_mem = (uint32_t)(phyaddr - temp_phyaddr); in cpqary3_meminit()
286 ptr->cmdlist_phyaddr = phyaddr; in cpqary3_meminit()
288 ptr->cmdlist_erraddr = phyaddr + size_of_HRE; in cpqary3_meminit()
291 phyaddr += size_of_cmdlist; in cpqary3_meminit()
[all …]
/titanic_41/usr/src/uts/common/io/softmac/
H A Dsoftmac_ctl.c179 dl_set_phys_addr_req_t *phyaddr; in softmac_m_unicst() local
192 phyaddr = (dl_set_phys_addr_req_t *)reqmp->b_rptr; in softmac_m_unicst()
193 phyaddr->dl_addr_offset = sizeof (dl_set_phys_addr_req_t); in softmac_m_unicst()
194 phyaddr->dl_addr_length = softmac->smac_addrlen; in softmac_m_unicst()
195 (void) memcpy(&phyaddr[1], macaddr, softmac->smac_addrlen); in softmac_m_unicst()
/titanic_41/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_memerr.c722 uint64_t phyaddr, offset, addr; in gmem_ce() local
744 &phyaddr) != 0) || in gmem_ce()
751 fmd_hdl_debug(hdl, "phyaddr %llx offset %llx", phyaddr, offset); in gmem_ce()
753 if ((page = gmem_page_lookup(phyaddr)) != NULL && in gmem_ce()
811 mq_add(hdl, dimm, ep, phyaddr, symbol_pos, in gmem_ce()
853 page = gmem_page_create(hdl, fru, phyaddr, offset); in gmem_ce()
896 ep, phyaddr, offset); in gmem_ce()
899 gmem_to_hashed_addr(&addr, phyaddr); in gmem_ce()
/titanic_41/usr/src/grub/grub-0.97/netboot/
H A Dforcedeth.c316 int phyaddr; member
549 adv = mii_rw(nic, np->phyaddr, MII_ADVERTISE, MII_READ); in update_linkspeed()
550 lpa = mii_rw(nic, np->phyaddr, MII_LPA, MII_READ); in update_linkspeed()
701 np->phyaddr = i; in forcedeth_reset()
736 phyaddr << NVREG_ADAPTCTL_PHYSHIFT) | in forcedeth_reset()
785 (mii_rw(nic, np->phyaddr, MII_BMSR, MII_READ) & in forcedeth_reset()
H A Dpcnet32.c958 int phyaddr; in mdio_read() local
963 phyaddr = lp->a.read_bcr(ioaddr, 33); in mdio_read()
968 lp->a.write_bcr(ioaddr, 33, phyaddr); in mdio_read()
977 int phyaddr;
982 phyaddr = lp->a.read_bcr(ioaddr, 33);
987 lp->a.write_bcr(ioaddr, 33, phyaddr);
/titanic_41/usr/src/uts/common/io/mxfe/
H A Dmxfe.c1257 unsigned phyaddr; in mxfe_startphymii() local
1269 for (phyaddr = 0; phyaddr < 32; phyaddr++) { in mxfe_startphymii()
1270 bmsr = mxfe_miiread(mxfep, phyaddr, MII_STATUS); in mxfe_startphymii()
1272 mxfep->mxfe_phyaddr = phyaddr; in mxfe_startphymii()
1277 phyidr1 = mxfe_miiread(mxfep, phyaddr, MII_PHYIDH); in mxfe_startphymii()
1278 phyidr2 = mxfe_miiread(mxfep, phyaddr, MII_PHYIDL); in mxfe_startphymii()
1301 DBG(DPHY, "phy at %d: %x,%x", phyaddr, phyidr1, phyidr2); in mxfe_startphymii()
1314 mxfe_miiwrite(mxfep, phyaddr, MII_CONTROL, MII_CONTROL_RESET); in mxfe_startphymii()
1321 if (mxfe_miiread(mxfep, phyaddr, MII_CONTROL) & in mxfe_startphymii()
1335 bmsr = mxfe_miiread(mxfep, phyaddr, MII_STATUS); in mxfe_startphymii()
[all …]
/titanic_41/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/
H A Dcmd_hc_sun4v.c599 uint64_t offset, phyaddr; in cmd_nvl_create_fault() local
625 FM_FMRI_MEM_PHYSADDR, &phyaddr) == 0) in cmd_nvl_create_fault()
628 phyaddr)); in cmd_nvl_create_fault()
/titanic_41/usr/src/uts/common/io/afe/
H A Dafe.c1085 uint8_t phyaddr; in afe_mii_reset() local
1096 phyaddr = mii_get_addr(afep->afe_mii); in afe_mii_reset()
1111 mcr = afe_mii_read(afep, phyaddr, PHY_MCR); in afe_mii_reset()
1121 afe_mii_write(afep, phyaddr, PHY_MCR, mcr); in afe_mii_reset()
1128 pilr = afe_mii_read(afep, phyaddr, PHY_PILR); in afe_mii_reset()
1130 afe_mii_write(afep, phyaddr, PHY_PILR, pilr); in afe_mii_reset()
/titanic_41/usr/src/uts/common/io/bfe/
H A Dbfe.h216 uint32_t phyaddr; member
/titanic_41/usr/src/uts/intel/io/dnet/
H A Ddnet.h427 int phyaddr; member
H A Ddnet.c724 dnetp->phyaddr = -1; in dnet_attach()
735 dnetp->phyaddr = -1; in dnet_attach()
1999 if (dnetp->phyaddr != -1) in set_gpr()
2001 (void) mii_sync(dnetp->mii, dnetp->phyaddr); in set_gpr()
3162 if (dnetp->phyaddr != -1) { in find_active_media()
3289 if (mii_linkup(dnetp->mii, dnetp->phyaddr)) { in find_active_media()
3292 dnetp->phyaddr, in find_active_media()
3805 dnetp->phyaddr = phy % 32; in do_phy()
3957 (void) mii_getspeed(dnetp->mii, dnetp->phyaddr, in dnet_mii_link_cb()
/titanic_41/usr/src/uts/common/io/vr/
H A Dvr.h371 uint32_t phyaddr; member
H A Dvr.c2537 v = vrp->chip.phyaddr; in vr_mac_getstat()
/titanic_41/usr/src/uts/common/io/ipw/
H A Dipw2100.c1051 txbd->phyaddr = LE_32(sc->sc_dma_cmd.dr_pbase); in ipw2100_cmd()
1595 sc->sc_rxbd[i].phyaddr = LE_32(sc->sc_dma_rxbufs[i].dr_pbase); in ipw2100_ring_reset()
2219 txbd[0]->phyaddr = LE_32(dr->dr_pbase + in ipw2100_send()
2228 txbd[1]->phyaddr = LE_32(dr->dr_pbase + in ipw2100_send()
2766 LE_32(rxbd->phyaddr), LE_32(rxbd->len), in ipw2100_intr()
H A Dipw2100_impl.h334 uint32_t phyaddr; member