Searched refs:phys (Results 1 - 25 of 70) sorted by relevance

123

/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dsegoff.h30 uint32_t phys = virt_to_phys ( ptr ); local
31 if ( phys > 0xfffff ) {
34 return phys >> 4;
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++) {
188 phys[phy_idx++] = phy;
199 phys[0] = 3;
239 mii_reg5 = mii_read(phys[0], 5);
H A Dsundance.c297 unsigned char phys[MII_CNT]; member in struct:sundance_private
317 int mii_lpa = mdio_read(nic, sdc->phys[0], MII_LPA);
335 duplex ? "full" : "half", sdc->phys[0],
631 sdc->phys[0] = 1; /* Default Setting */
636 sdc->phys[phy_idx++] = phy;
649 sdc->mii_if.phy_id = sdc->phys[0];
698 mdio_write(nic, sdc->phys[0], MII_BMCR, mii_ctl);
713 mdio_read(nic, sdc->phys[0], MII_ADVERTISE);
714 mii_lpa = mdio_read(nic, sdc->phys[0], MII_LPA);
725 mii_ctl = mdio_read(nic, sdc->phys[
[all...]
H A Dw89c840.c254 unsigned char phys[2]; /* MII device addresses. */ member in struct:winbond_private
679 w840private.phys[phy_idx++] = phy;
830 if (location == 4 && phy_id == w840private.phys[0])
858 int mii_reg5 = mdio_read(ioaddr, w840private.phys[0], 5);
871 duplex ? "full" : "half", w840private.phys[0], negotiated);
/illumos-gate/usr/src/uts/i86xpv/sys/
H A Dcpr_impl.h49 cpr_ext phys; member in struct:cpr_map_info
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathcanon.c57 char* phys; local
67 phys = path;
98 if (stat(phys, &st))
127 if (x = pathnext(phys, s - (*s != 0), &visits))
151 dots = pathgetlink(phys, buf, sizeof(buf));
179 if (stat(phys, &st))
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dmachdep.c144 unsigned long long phys = 0; local
166 if (prom_retain("OBPnvram", PAGESIZE, PAGESIZE, &phys) != 0) {
171 printf("retained OBPnvram page at 0x%llx\n", phys);
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dcprboot.c325 * virt and phys pages, and creates mappings with a "map" request;
329 * to solve the "map" problem, we just reserve virt and phys pages and
345 physaddr_t phys, dst_phys; local
369 * alloc virt and phys space with 512K alignment;
375 phys = 0;
376 err = cb_alloc(alsize, MMU_PAGESIZE512K, &sfile.buf, &phys);
378 " virt 0x%p, phys 0x%llx\n",
379 str, alsize, sfile.size, (void *)sfile.buf, phys));
387 * record low and high phys page numbers for sfile.buf
389 sfile.low_ppn = ADDR_TO_PN(phys);
[all...]
H A Dutil.c222 * translate vaddr to phys page number
238 * unmap virt, then map virt to new phys;
242 prom_remap(size_t size, caddr_t virt, physaddr_t phys) argument
259 ci[7] = p1275_ull2cell_low(phys); /* remap arg2 */
273 * used for replacing a virt->phys mapping in one promif call;
282 ": remap ( phys.lo virt size -- )"
283 " 2dup unmap ( phys.lo virt size )"
292 * allocate virt and phys space without any mapping;
293 * stores virt and phys addrs at *vap and *pap
298 physaddr_t phys; local
[all...]
H A Dbitmap.c219 * reserve virt range, find available phys pages,
220 * and map-in each phys starting at vaddr
226 physaddr_t phys; local
242 * map virt page to free phys
245 phys = PN_TO_ADDR(ppn);
247 err = prom_map_phys(-1, MMU_PAGESIZE, virt, phys);
249 prom_printf(" map virt 0x%p, phys 0x%llx, "
250 "ppn 0x%x, ret %d\n", (void *)virt, phys, ppn, err);
365 * since kernel phys pages span most of the installed memory range,
368 * of buf phys pag
419 physaddr_t phys; local
[all...]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fcio.h204 uint32_t phys; /* specifies physical buffer pointer */ member in struct:FCIO_EQ_DESC
223 uint32_t phys; /* specifies physical buffer pointer */ member in struct:FCIO_CQ_DESC
244 uint32_t phys; /* specifies physical buffer pointer */ member in struct:FCIO_WQ_DESC
262 uint32_t phys; /* specifies physical buffer pointer */ member in struct:FCIO_RQ_DESC
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_mem.c291 addr = mp->phys;
460 mp->phys = buf_info->phys;
618 buf_info->phys = mp->phys;
1062 mp->phys = buf_info->phys;
1089 buf_info->phys = mp->phys;
1246 if (mp->phys
[all...]
H A Demlxs_sli4.c1634 hba->sli.sli4.bootstrapmb.phys = buf_info->phys;
1682 if (hba->sli.sli4.bootstrapmb.phys) {
1683 buf_info->phys = hba->sli.sli4.bootstrapmb.phys;
2092 addr30 = (uint32_t)((hba->sli.sli4.bootstrapmb.phys>>32) & 0xfffffffc);
2102 addr30 = (uint32_t)((hba->sli.sli4.bootstrapmb.phys>>2) & 0xfffffffc);
2713 if (!mp || !mp->virt || !mp->phys) {
2730 stage_sge.addrHigh = PADDR_HI(mp->phys);
2731 stage_sge.addrLow = PADDR_LO(mp->phys);
7295 uint64_t phys; local
[all...]
/illumos-gate/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);
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_usb.h84 char *phys; member in struct:__anon2449
/illumos-gate/usr/src/uts/common/sys/
H A Dramdisk.h164 * is a (corresponding) number of {phys,size} pairs.
173 uint64_t phys; /* Phys addr of range */ member in struct:__anon8849
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dcpr_impl.h70 cpr_ext phys; member in struct:cpr_map_info
/illumos-gate/usr/src/uts/intel/io/dnet/
H A Ddnet_mii.c160 if (mac->phys[phy])
163 mac->phys[phy] = phydata = (struct phydata *)
203 kmem_free(mac->phys[phy], sizeof (struct phydata));
204 mac->phys[phy] = NULL;
354 struct phydata *phyd = mac->phys[phy];
716 if ((phydata = mac->phys[i]) != 0) {
752 if (mac->phys[i])
753 kmem_free(mac->phys[i], sizeof (struct phydata));
766 if (!mac || phy > 31 || phy < 0 || !mac->phys[phy]) {
770 return (mac->phys[ph
[all...]
H A Ddnet_mii.h166 struct phydata *phys[32]; /* PHY Information indexed by address */ member in struct:mii_info
/illumos-gate/usr/src/boot/sys/boot/usb/
H A Dusb_busdma_loader.c176 bus_addr_t phys = (uintptr_t)vaddr; /* XXX */ local
185 pg->physaddr = phys & ~(USB_PAGE_SIZE - 1);
186 rem = phys & (USB_PAGE_SIZE - 1);
193 pg->physaddr = (phys + off) & ~(USB_PAGE_SIZE - 1);
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap.c121 int phys; local
154 phys = 1;
157 phys = 0;
173 if (phys) {
240 if (phys != 0 && (a->target = ap_logid(a, a->path)) == NULL) {
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dhotplug_mgr.c133 char phys[MAXPATHLEN]; local
154 (void) strcpy(phys, apid);
155 *strstr(phys, "::") = '\0';
156 (void) snprintf(dev_phys, MAXPATHLEN, "/devices%s", phys);
167 phys, c, t, d);
208 * /devices to the phys id; to use it, we must
/illumos-gate/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) argument
1141 register genchar *sp=phys;
1287 int ed_virt_to_phys(Edit_t *ep,genchar *virt,genchar *phys,int cur,int voff,int poff) argument
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;
/illumos-gate/usr/src/uts/intel/sys/
H A Dpromif.h55 uint_t phys, uint_t size);
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_smhba.c188 for (phy_ptr = list_head(&iport->phys), i = 0;
190 phy_ptr = list_next(&iport->phys, phy_ptr), i++) {

Completed in 141 milliseconds

123