/illumos-gate/usr/src/cmd/diskinfo/ |
H A D | diskinfo.c | 286 di_phys_t phys; in enumerate_disks() local 368 bzero(&phys, sizeof (phys)); in enumerate_disks() 369 phys.dp_dev = device; in enumerate_disks() 370 populate_physical(hp, &phys); in enumerate_disks() 374 "%d,%d", phys.dp_chassis, phys.dp_slot); in enumerate_disks() 375 } else if (phys.dp_slotname != NULL && in enumerate_disks() 376 phys.dp_chassis != -1) { in enumerate_disks() 378 "[%d] %s", phys.dp_chassis, in enumerate_disks() 379 phys.dp_slotname); in enumerate_disks() 380 } else if (phys.dp_slotname != NULL) { in enumerate_disks() [all …]
|
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/ |
H A D | cprboot.c | 345 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 D | bitmap.c | 226 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 D | util.c | 240 prom_remap(size_t size, caddr_t virt, physaddr_t phys) in prom_remap() argument 257 ci[7] = p1275_ull2cell_low(phys); /* remap arg2 */ in prom_remap() 296 physaddr_t phys; in cb_alloc() local 302 if (prom_allocate_phys(size, align, &phys) == -1) { in cb_alloc() 308 *pap = phys; in cb_alloc()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/ |
H A D | pathcanon.c | 69 char* phys; in pathcanon_20100601() local 79 phys = path; in pathcanon_20100601() 113 if (stat(phys, &st)) in pathcanon_20100601() 142 if (x = pathnext(phys, s - (*s != 0), &visits)) in pathcanon_20100601() 166 dots = pathgetlink(phys, buf, sizeof(buf)); in pathcanon_20100601() 194 if (stat(phys, &st)) in pathcanon_20100601()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_mem.c | 329 addr = mp->phys; in emlxs_mem_free_buffer() 497 mp->phys = buf_info->phys; in emlxs_mem_pool_alloc() 655 buf_info->phys = mp->phys; in emlxs_mem_pool_free() 1099 mp->phys = buf_info->phys; in emlxs_mem_buf_alloc() 1126 buf_info->phys = mp->phys; in emlxs_mem_buf_free() 1283 if (mp->phys == mapbp) { in emlxs_mem_get_vaddr() 1318 if (mp->phys == mapbp) { in emlxs_mem_get_vaddr() 1353 if (mp->phys == mapbp) { in emlxs_mem_get_vaddr() 1388 if (mp->phys == mapbp) { in emlxs_mem_get_vaddr() 1453 *haddr = PADDR_HI(mp->phys); in emlxs_mem_map_vaddr() [all …]
|
H A D | emlxs_sli4.c | 45 static void emlxs_sli4_write_mbdb(emlxs_hba_t *hba, uint64_t phys, 1826 hba->sli.sli4.bootstrapmb.phys = buf_info->phys; in emlxs_sli4_map_hdw() 1874 if (hba->sli.sli4.bootstrapmb.phys) { in emlxs_sli4_unmap_hdw() 1875 buf_info->phys = hba->sli.sli4.bootstrapmb.phys; in emlxs_sli4_unmap_hdw() 2134 emlxs_sli4_write_mbdb(emlxs_hba_t *hba, uint64_t phys, boolean_t high) in emlxs_sli4_write_mbdb() argument 2146 db = (uint32_t)(phys >> shift) & BMBX_ADDR; in emlxs_sli4_write_mbdb() 2443 emlxs_sli4_write_mbdb(hba, hba->sli.sli4.bootstrapmb.phys, B_TRUE); in emlxs_issue_bootstrap_mb() 2451 emlxs_sli4_write_mbdb(hba, hba->sli.sli4.bootstrapmb.phys, B_FALSE); in emlxs_issue_bootstrap_mb() 3071 if (!mp || !mp->virt || !mp->phys) { in emlxs_sli4_fct_bde_setup() 3088 stage_sge.addrHigh = PADDR_HI(mp->phys); in emlxs_sli4_fct_bde_setup() [all …]
|
H A D | emlxs_mbox.c | 402 addr = hba->sli.sli4.eq[num].addr.phys; in emlxs_mb_eq_create() 463 addr = hba->sli.sli4.cq[num].addr.phys; in emlxs_mb_cq_create() 501 addr = hba->sli.sli4.cq[num].addr.phys; in emlxs_mb_cq_create() 786 addr = hba->sli.sli4.wq[num].addr.phys; in emlxs_mb_wq_create() 813 addr = hba->sli.sli4.wq[num].addr.phys; in emlxs_mb_wq_create() 873 addr = hba->sli.sli4.rq[num].addr.phys; in emlxs_mb_rq_create() 901 addr = hba->sli.sli4.rq[num].addr.phys; in emlxs_mb_rq_create() 955 addr = hba->sli.sli4.mq.addr.phys; in emlxs_mb_mq_create() 1007 addr = hba->sli.sli4.mq.addr.phys; in emlxs_mb_mq_create_ext() 1036 addr = hba->sli.sli4.mq.addr.phys; in emlxs_mb_mq_create_ext() [all …]
|
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | machdep.c | 55 unsigned long long phys = 0; in retain_nvram_page() local 75 if (prom_retain("OBPnvram", PAGESIZE, PAGESIZE, &phys) != 0) { in retain_nvram_page() 80 printf("retained OBPnvram page at 0x%llx\n", phys); in retain_nvram_page()
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | segoff.h | 30 uint32_t phys = virt_to_phys ( ptr ); in SEGMENT() local 31 if ( phys > 0xfffff ) { in SEGMENT() 34 return phys >> 4; in SEGMENT()
|
H A D | sundance.c | 297 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 D | epic100.c | 84 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 D | pcnet32.c | 273 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 D | w89c840.c | 254 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 D | tulip.c | 429 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 …]
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_lapic.c | 117 bool phys; in lapic_intr_msi() local 136 phys = (addr & MSI_X86_ADDR_LOG) == 0; in lapic_intr_msi() 140 vlapic_deliver_intr(vm, LAPIC_TRIG_EDGE, dest, phys, delmode, vec); in lapic_intr_msi()
|
/illumos-gate/usr/src/uts/intel/io/dnet/ |
H A D | dnet_mii.c | 160 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 …]
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_fcio.h | 204 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
|
/illumos-gate/usr/src/uts/intel/io/vmm/io/ |
H A D | vlapic.h | 83 void vlapic_deliver_intr(struct vm *vm, bool level, uint32_t dest, bool phys, 86 void vlapic_calcdest(struct vm *vm, cpuset_t *dmask, uint32_t dest, bool phys,
|
H A D | vioapic.c | 102 bool level, phys; in vioapic_send_intr() local 115 phys = ((low & IOART_DESTMOD) == IOART_DESTPHY); in vioapic_send_intr() 128 vlapic_deliver_intr(vioapic->vm, level, dest, phys, delmode, vector); in vioapic_send_intr()
|
/illumos-gate/usr/src/uts/common/sys/scsi/impl/ |
H A D | scsi_sas.h | 79 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/cmd/fm/modules/common/disk-monitor/ |
H A D | hotplug_mgr.c | 133 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()
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore_hw.c | 810 dma_addr_t phys = p_hwfn->dmae_info.intermediate_buffer_phys_addr; in ecore_dmae_execute_sub_operation() local 822 cmd->src_addr_hi = OSAL_CPU_TO_LE32(DMA_HI(phys)); in ecore_dmae_execute_sub_operation() 823 cmd->src_addr_lo = OSAL_CPU_TO_LE32(DMA_LO(phys)); in ecore_dmae_execute_sub_operation() 840 cmd->dst_addr_hi = OSAL_CPU_TO_LE32(DMA_HI(phys)); in ecore_dmae_execute_sub_operation() 841 cmd->dst_addr_lo = OSAL_CPU_TO_LE32(DMA_LO(phys)); in ecore_dmae_execute_sub_operation() 894 dma_addr_t phys = p_hwfn->dmae_info.completion_word_phys_addr; in ecore_dmae_execute_command() local 918 cmd->comp_addr_lo = OSAL_CPU_TO_LE32(DMA_LO(phys)); in ecore_dmae_execute_command() 919 cmd->comp_addr_hi = OSAL_CPU_TO_LE32(DMA_HI(phys)); in ecore_dmae_execute_command()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap.c | 121 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()
|
/illumos-gate/usr/src/uts/i86xpv/sys/ |
H A D | cpr_impl.h | 47 cpr_ext phys; member
|