Home
last modified time | relevance | path

Searched refs:phys (Results 1 – 25 of 75) sorted by relevance

123

/titanic_44/usr/src/psm/stand/bootblks/common/
H A Dutil.fth146 : mmu-map ( phys.lo phys.hi virt size -- )
150 : mem-claim ( size align -- phys.lo phys.hi )
156 rot 2dup swap mem-claim ( virt align size phys.lo phys.hi )
157 >r >r rot ?dup if ( align size virt r: phys.lo phys.hi )
159 over 0 mmu-claim ( align size virt r: phys.lo phys.hi )
160 else ( align size r: phys.lo phys.hi )
162 2dup swap mmu-claim ( align size virt r: phys.lo phys.hi )
163 then ( align size virt r: phys.lo phys.hi )
/titanic_44/usr/src/lib/libast/common/path/
H A Dpathcanon.c57 char* phys; in pathcanon() local
67 phys = path; in pathcanon()
98 if (stat(phys, &st)) in pathcanon()
127 if (x = pathnext(phys, s - (*s != 0), &visits)) in pathcanon()
151 dots = pathgetlink(phys, buf, sizeof(buf)); in pathcanon()
179 if (stat(phys, &st)) in pathcanon()
/titanic_44/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dcprboot.c345 physaddr_t phys, dst_phys; in cb_read_statefile() local
375 phys = 0; in cb_read_statefile()
376 err = cb_alloc(alsize, MMU_PAGESIZE512K, &sfile.buf, &phys); in cb_read_statefile()
379 str, alsize, sfile.size, (void *)sfile.buf, phys)); in cb_read_statefile()
389 sfile.low_ppn = ADDR_TO_PN(phys); in cb_read_statefile()
398 dst_phys = phys; in cb_read_statefile()
448 prom_free_phys(len, phys + sfile.size); in cb_read_statefile()
451 (unsigned long long)(phys + sfile.size), in cb_read_statefile()
452 (unsigned long long)(phys + alsize))); in cb_read_statefile()
H A Dbitmap.c226 physaddr_t phys; in map_free_phys() local
245 phys = PN_TO_ADDR(ppn); in map_free_phys()
247 err = prom_map_phys(-1, MMU_PAGESIZE, virt, phys); in map_free_phys()
250 "ppn 0x%x, ret %d\n", (void *)virt, phys, ppn, err); in map_free_phys()
419 physaddr_t phys; in cb_get_physavail() local
435 phys = PN_TO_ADDR(ppn); in cb_get_physavail()
436 err = prom_claim_phys(size, phys); in cb_get_physavail()
H A Dutil.c242 prom_remap(size_t size, caddr_t virt, physaddr_t phys) in prom_remap() argument
259 ci[7] = p1275_ull2cell_low(phys); /* remap arg2 */ in prom_remap()
298 physaddr_t phys; in cb_alloc() local
304 if (prom_allocate_phys(size, align, &phys) == -1) { in cb_alloc()
310 *pap = phys; in cb_alloc()
/titanic_44/usr/src/grub/grub-0.97/netboot/
H A Dsegoff.h30 uint32_t phys = virt_to_phys ( ptr ); in SEGMENT() local
31 if ( phys > 0xfffff ) { in SEGMENT()
34 return phys >> 4; in SEGMENT()
H A Dsundance.c297 unsigned char phys[MII_CNT]; member
317 int mii_lpa = mdio_read(nic, sdc->phys[0], MII_LPA); in check_duplex()
335 duplex ? "full" : "half", sdc->phys[0], in check_duplex()
631 sdc->phys[0] = 1; /* Default Setting */ in sundance_probe()
636 sdc->phys[phy_idx++] = phy; in sundance_probe()
649 sdc->mii_if.phy_id = sdc->phys[0]; in sundance_probe()
698 mdio_write(nic, sdc->phys[0], MII_BMCR, mii_ctl); in sundance_probe()
713 mdio_read(nic, sdc->phys[0], MII_ADVERTISE); in sundance_probe()
714 mii_lpa = mdio_read(nic, sdc->phys[0], MII_LPA); in sundance_probe()
725 mii_ctl = mdio_read(nic, sdc->phys[0], MII_BMCR); in sundance_probe()
H A Depic100.c84 static signed char phys[4]; /* MII device addresses. */ variable
184 for (phy = 0, phy_idx = 0; phy < 32 && phy_idx < sizeof(phys); phy++) { in epic100_probe()
188 phys[phy_idx++] = phy; in epic100_probe()
199 phys[0] = 3; in epic100_probe()
239 mii_reg5 = mii_read(phys[0], 5); in epic100_open()
H A Dw89c840.c254 unsigned char phys[2]; /* MII device addresses. */ member
679 w840private.phys[phy_idx++] = phy; in w89c840_probe()
830 if (location == 4 && phy_id == w840private.phys[0])
858 int mii_reg5 = mdio_read(ioaddr, w840private.phys[0], 5); in check_duplex()
871 duplex ? "full" : "half", w840private.phys[0], negotiated); in check_duplex()
H A Dpcnet32.c273 unsigned char phys[MII_CNT]; member
912 lp->phys[0] = 1; /* Default Setting */ in pcnet32_probe()
916 lp->phys[phy_idx++] = phy; in pcnet32_probe()
929 lp->mii_if.phy_id = lp->phys[0]; in pcnet32_probe()
932 mdio_read(nic, lp->phys[0], MII_ADVERTISE); in pcnet32_probe()
934 mii_lpa = mdio_read(nic, lp->phys[0], MII_LPA); in pcnet32_probe()
H A Dtulip.c429 signed char phys[4], mii_cnt; /* MII device addresses. */ member
1448 for (phy = 0, phy_idx = 0; phy < 32 && phy_idx < sizeof(tp->phys); in start_link()
1464 tp->phys[phy_idx++] = phy; in start_link()
1483 tp->phys[0] = 1; in start_link()
1645 tp->nic_name, tp->phys[0], mdio_read(nic, tp->phys[0], 1)); in init_media()
1861 tp->nic_name, tp->mii_advertise, tp->phys[phy_num]); in select_media()
1863 mdio_write(nic, tp->phys[phy_num], 4, tp->mii_advertise); in select_media()
1973 bmsr = mdio_read(nic, tp->phys[0], 1); in tulip_check_duplex()
1974 lpa = mdio_read(nic, tp->phys[0], 5); in tulip_check_duplex()
1985 int new_bmsr = mdio_read(nic, tp->phys[0], 1); in tulip_check_duplex()
[all …]
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_mem.c291 addr = mp->phys; in emlxs_mem_free_buffer()
460 mp->phys = buf_info->phys; in emlxs_mem_pool_alloc()
618 buf_info->phys = mp->phys; in emlxs_mem_pool_free()
1062 mp->phys = buf_info->phys; in emlxs_mem_buf_alloc()
1089 buf_info->phys = mp->phys; in emlxs_mem_buf_free()
1246 if (mp->phys == mapbp) { in emlxs_mem_get_vaddr()
1281 if (mp->phys == mapbp) { in emlxs_mem_get_vaddr()
1316 if (mp->phys == mapbp) { in emlxs_mem_get_vaddr()
1351 if (mp->phys == mapbp) { in emlxs_mem_get_vaddr()
1416 *haddr = PADDR_HI(mp->phys); in emlxs_mem_map_vaddr()
[all …]
H A Demlxs_sli4.c1634 hba->sli.sli4.bootstrapmb.phys = buf_info->phys; in emlxs_sli4_map_hdw()
1682 if (hba->sli.sli4.bootstrapmb.phys) { in emlxs_sli4_unmap_hdw()
1683 buf_info->phys = hba->sli.sli4.bootstrapmb.phys; in emlxs_sli4_unmap_hdw()
2092 addr30 = (uint32_t)((hba->sli.sli4.bootstrapmb.phys>>32) & 0xfffffffc); in emlxs_issue_bootstrap_mb()
2102 addr30 = (uint32_t)((hba->sli.sli4.bootstrapmb.phys>>2) & 0xfffffffc); in emlxs_issue_bootstrap_mb()
2713 if (!mp || !mp->virt || !mp->phys) { in emlxs_sli4_fct_bde_setup()
2730 stage_sge.addrHigh = PADDR_HI(mp->phys); in emlxs_sli4_fct_bde_setup()
2731 stage_sge.addrLow = PADDR_LO(mp->phys); in emlxs_sli4_fct_bde_setup()
2753 wqe->un.FcpCmd.Payload.addrHigh = PADDR_HI(fct_mp->phys); in emlxs_sli4_fct_bde_setup()
2754 wqe->un.FcpCmd.Payload.addrLow = PADDR_LO(fct_mp->phys); in emlxs_sli4_fct_bde_setup()
[all …]
H A Demlxs_mbox.c377 addr = hba->sli.sli4.eq[num].addr.phys; in emlxs_mb_eq_create()
436 addr = hba->sli.sli4.cq[num].addr.phys; in emlxs_mb_cq_create()
469 addr = hba->sli.sli4.cq[num].addr.phys; in emlxs_mb_cq_create()
754 addr = hba->sli.sli4.wq[num].addr.phys; in emlxs_mb_wq_create()
781 addr = hba->sli.sli4.wq[num].addr.phys; in emlxs_mb_wq_create()
841 addr = hba->sli.sli4.rq[num].addr.phys; in emlxs_mb_rq_create()
869 addr = hba->sli.sli4.rq[num].addr.phys; in emlxs_mb_rq_create()
923 addr = hba->sli.sli4.mq.addr.phys; in emlxs_mb_mq_create()
975 addr = hba->sli.sli4.mq.addr.phys; in emlxs_mb_mq_create_ext()
1004 addr = hba->sli.sli4.mq.addr.phys; in emlxs_mb_mq_create_ext()
[all …]
/titanic_44/usr/src/psm/stand/boot/sparc/common/
H A Dmachdep.c144 unsigned long long phys = 0; in retain_nvram_page() local
166 if (prom_retain("OBPnvram", PAGESIZE, PAGESIZE, &phys) != 0) { in retain_nvram_page()
171 printf("retained OBPnvram page at 0x%llx\n", phys); in retain_nvram_page()
/titanic_44/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fcio.h204 uint32_t phys; /* specifies physical buffer pointer */ member
223 uint32_t phys; /* specifies physical buffer pointer */ member
244 uint32_t phys; /* specifies physical buffer pointer */ member
262 uint32_t phys; /* specifies physical buffer pointer */ member
/titanic_44/usr/src/uts/intel/io/dnet/
H A Ddnet_mii.c160 if (mac->phys[phy]) in mii_init_phy()
163 mac->phys[phy] = phydata = (struct phydata *) in mii_init_phy()
203 kmem_free(mac->phys[phy], sizeof (struct phydata)); in mii_init_phy()
204 mac->phys[phy] = NULL; in mii_init_phy()
354 struct phydata *phyd = mac->phys[phy]; in mii_sync()
716 if ((phydata = mac->phys[i]) != 0) { in mii_portmon()
752 if (mac->phys[i]) in mii_destroy()
753 kmem_free(mac->phys[i], sizeof (struct phydata)); in mii_destroy()
766 if (!mac || phy > 31 || phy < 0 || !mac->phys[phy]) { in mii_get_valid_phydata()
770 return (mac->phys[phy]); in mii_get_valid_phydata()
[all …]
/titanic_44/usr/src/uts/common/sys/scsi/impl/
H A Dscsi_sas.h79 extern int sas_phymap_phys_next(sas_phymap_phys_t *phys);
80 void sas_phymap_phys_free(sas_phymap_phys_t *phys);
/titanic_44/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dhotplug_mgr.c133 char phys[MAXPATHLEN]; in adjust_dynamic_ap() local
154 (void) strcpy(phys, apid); in adjust_dynamic_ap()
155 *strstr(phys, "::") = '\0'; in adjust_dynamic_ap()
156 (void) snprintf(dev_phys, MAXPATHLEN, "/devices%s", phys); in adjust_dynamic_ap()
167 phys, c, t, d); in adjust_dynamic_ap()
/titanic_44/usr/src/uts/i86xpv/sys/
H A Dcpr_impl.h49 cpr_ext phys; member
/titanic_44/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap.c121 int phys; in ap_parse() local
154 phys = 1; in ap_parse()
157 phys = 0; in ap_parse()
173 if (phys) { in ap_parse()
240 if (phys != 0 && (a->target = ap_logid(a, a->path)) == NULL) { in ap_parse()
/titanic_44/usr/src/lib/efcode/fcode_test/
H A Dmisc.fth136 1 2 encode-phys " phys-prop" property
157 " prop.4" " phys-prop" root-phandle get-package-property if
160 decode-phys 2 = swap 1 = and nip nip .passed?
/titanic_44/usr/src/lib/libshell/common/edit/
H A Dedit.c1139 Edpos_t ed_curpos(Edit_t *ep,genchar *phys, int off, int cur, Edpos_t curpos)
1141 register genchar *sp=phys;
1287 int ed_virt_to_phys(Edit_t *ep,genchar *virt,genchar *phys,int cur,int voff,int poff)
1290 register genchar *dp = phys;
1293 genchar *dpmax = phys+MAXLINE;
1300 r = dp - phys;
1324 c = dp-phys;
1339 r = dp - phys;
1346 ep->e_peol = dp-phys;
/titanic_44/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_usb.h84 char *phys; member
/titanic_44/usr/src/uts/common/sys/
H A Dramdisk.h173 uint64_t phys; /* Phys addr of range */ member

123