Home
last modified time | relevance | path

Searched refs:paddr (Results 1 – 25 of 137) sorted by relevance

123456

/titanic_41/usr/src/cmd/mdb/common/modules/usba/
H A Dprtusb.c488 static int prt_usb_tree(uintptr_t paddr, uint_t flag);
490 static int prt_usb_tree_node(uintptr_t paddr);
492 static void prt_usb_hid_item(uintptr_t paddr);
496 static void prt_usb_hid_item_attrs(uintptr_t paddr);
500 static void prt_usb_hid_item_data(uintptr_t paddr, uint_t len);
504 static int prt_usb_ac_desc(uintptr_t paddr, uint_t nlen);
506 static int prt_usb_as_desc(uintptr_t paddr, uint_t nlen);
508 static int prt_usb_vc_desc(uintptr_t paddr, uint_t nlen);
510 static int prt_usb_vs_desc(uintptr_t paddr, uint_t nlen);
715 prt_usb_tree(uintptr_t paddr, uint_t flag) in prt_usb_tree() argument
[all …]
/titanic_41/usr/src/cmd/lms/tools/
H A DATNetworkTool.cpp250 struct addrinfo hints, *paddr, *paddrp; in GetSockPeerIPs() local
279 for (paddr = paddrp; paddr; paddr = paddr->ai_next) { in GetSockPeerIPs()
281 if (!ATAddress::saIsInet(paddr->ai_addr)) { in GetSockPeerIPs()
286 addresses.insert(ATAddress(paddr->ai_addr, 0)); in GetSockPeerIPs()
288 addresses.insert(paddr->ai_addr); in GetSockPeerIPs()
373 struct addrinfo hints, *paddr, *paddrp; in ConnectSocket() local
393 for (paddr = paddrp; paddr; paddr = paddr->ai_next) { in ConnectSocket()
395 if (!ATAddress::saIsInet(paddr->ai_addr)) { in ConnectSocket()
400 int s = ATNetworkTool::CreateSocket(paddr, error); in ConnectSocket()
478 struct addrinfo hints, *paddr, *paddrp; in CreateServerSockets() local
[all …]
/titanic_41/usr/src/uts/sun4v/vm/
H A Dmach_kpm.c141 caddr_t paddr, vaddr; in hat_kpm_mapin_pfn() local
146 paddr = (caddr_t)ptob(pfn); in hat_kpm_mapin_pfn()
147 vaddr = (uintptr_t)kpm_vbase + paddr; in hat_kpm_mapin_pfn()
166 uintptr_t paddr, vaddr; in hat_kpm_page2va() local
170 paddr = ptob(pp->p_pagenum); in hat_kpm_page2va()
172 vaddr = (uintptr_t)kpm_vbase + paddr; in hat_kpm_page2va()
185 uintptr_t paddr; in hat_kpm_vaddr2page() local
190 SFMMU_KPM_VTOP(vaddr, paddr); in hat_kpm_vaddr2page()
191 pfn = (pfn_t)btop(paddr); in hat_kpm_vaddr2page()
328 uintptr_t paddr; in sfmmu_kpm_vatopfn() local
[all …]
/titanic_41/usr/src/uts/sun4v/promif/
H A Dpromif_node.c183 get_unit_addr(pnode_t np, char *paddr) in get_unit_addr() argument
197 (void) prom_strcpy(paddr, addr); in get_unit_addr()
213 char paddr[OBP_MAXPROPNAME]; in finddevice() local
255 if (get_unit_addr(np, paddr) < 0) in finddevice()
256 paddr[0] = '\0'; in finddevice()
260 (prom_strcmp(addr, paddr) == 0)) { in finddevice()
262 pname, (*paddr != '\0') ? "@" : "", in finddevice()
263 paddr, np); in finddevice()
268 pname, (*paddr != '\0') ? "@" : "", paddr); in finddevice()
/titanic_41/usr/src/uts/i86pc/vm/
H A Di86_mmu.c260 xen_kpm_create(paddr_t paddr, level_t lvl) in xen_kpm_create() argument
265 kbm_map((uintptr_t)kpm_vbase + paddr, (paddr_t)0, 0, 1); in xen_kpm_create()
266 kbm_read_only((uintptr_t)kpm_vbase + paddr + pg_off, in xen_kpm_create()
267 paddr + pg_off); in xen_kpm_create()
324 uint64_t paddr; in hat_kern_alloc() local
335 paddr = pmem->ml_address; in hat_kern_alloc()
340 if ((paddr & LEVEL_OFFSET(l)) == 0 && in hat_kern_alloc()
350 xen_kpm_create(paddr, l); in hat_kern_alloc()
352 kbm_map((uintptr_t)kpm_vbase + paddr, paddr, in hat_kern_alloc()
355 paddr += LEVEL_SIZE(l); in hat_kern_alloc()
[all …]
/titanic_41/usr/src/uts/sun4/vm/
H A Dmach_kpm.h102 #define SFMMU_KPM_VTOP(vaddr, paddr) { \ argument
106 (paddr) = (vaddr) - kpm_vbase; \
110 (paddr) -= r << kpm_size_shift; \
112 (paddr) += (r - v) << MMU_PAGESHIFT; \
114 (paddr) -= r << MMU_PAGESHIFT; \
118 #define SFMMU_KPM_VTOP(vaddr, paddr) { \ argument
119 (paddr) = (vaddr) - kpm_vbase; \
/titanic_41/usr/src/uts/intel/io/pci/
H A Dpci_memlist.c224 uint64_t paddr; in memlist_find() local
244 paddr = next->ml_address; in memlist_find()
246 paddr += align - delta; in memlist_find()
247 (void) memlist_remove(listp, paddr, size); in memlist_find()
249 return (paddr); in memlist_find()
261 uint64_t paddr; in memlist_find_with_startaddr() local
280 paddr = next->ml_address; in memlist_find_with_startaddr()
282 paddr += align - delta; in memlist_find_with_startaddr()
283 (void) memlist_remove(listp, paddr, size); in memlist_find_with_startaddr()
285 return (paddr); in memlist_find_with_startaddr()
/titanic_41/usr/src/uts/sun4u/io/pci/
H A Dpci_sc.c50 uint64_t paddr; in sc_create() local
88 paddr = (uint64_t)hat_getpfnum(kas.a_hat, in sc_create()
90 paddr <<= MMU_PAGESHIFT; in sc_create()
91 paddr += (uint64_t) in sc_create()
93 sc_p->sc_sync_flag_pa = paddr; in sc_create()
/titanic_41/usr/src/cmd/mdb/i86pc/modules/unix/
H A Di86mmu.c548 paddr_t paddr = mmu_ptob((paddr_t)htable->ht_pfn); in get_pte() local
549 paddr += va2entry(htable, addr) << mmu.pte_size_shift; in get_pte()
550 len = mdb_pread(&buf, mmu.pte_size, paddr); in get_pte()
575 physaddr_t paddr; in do_va2pa() local
638 paddr = mdb_ma_to_pa(pte & in do_va2pa()
641 paddr = mdb_ma_to_pa(pte & PT_PADDR); in do_va2pa()
642 paddr += addr & mmu.level_offset[level]; in do_va2pa()
644 *pap = paddr; in do_va2pa()
730 physaddr_t paddr; in do_report_maps() local
748 paddr = 0; in do_report_maps()
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlocaladdr.c1489 krb5_address ** paddr; in krb5_os_localaddr() local
1492 paddr = 0; in krb5_os_localaddr()
1517 paddr = (krb5_address **)malloc(sizeof(krb5_address *) * (count+1)); in krb5_os_localaddr()
1518 if (!paddr) { in krb5_os_localaddr()
1523 memset(paddr, 0, sizeof(krb5_address *) * (count+1)); in krb5_os_localaddr()
1527 paddr[i] = (krb5_address *)malloc(sizeof(krb5_address)); in krb5_os_localaddr()
1528 if (paddr[i] == NULL) { in krb5_os_localaddr()
1533 paddr[i]->magic = KV5M_ADDRESS; in krb5_os_localaddr()
1534 paddr[i]->addrtype = hostrec->h_addrtype; in krb5_os_localaddr()
1535 paddr[i]->length = hostrec->h_length; in krb5_os_localaddr()
[all …]
/titanic_41/usr/src/uts/sun4u/io/px/
H A Dpx_tools_4u.c94 pxtool_safe_phys_peek(px_t *px_p, boolean_t type, size_t size, uint64_t paddr, in pxtool_safe_phys_peek() argument
106 pxu_p->pcitool_addr = (caddr_t)(paddr & px_paddr_mask); in pxtool_safe_phys_peek()
120 err = px_phys_peek_4u(size, paddr, &peek_value.u64, type); in pxtool_safe_phys_peek()
168 pxtool_safe_phys_poke(px_t *px_p, boolean_t type, size_t size, uint64_t paddr, in pxtool_safe_phys_poke() argument
197 pxu_p->pcitool_addr = (caddr_t)(paddr & px_paddr_mask); in pxtool_safe_phys_poke()
210 err = px_phys_poke_4u(size, paddr, &poke_value.u64, type); in pxtool_safe_phys_poke()
214 px_lib_clr_errs(px_p, 0, paddr); in pxtool_safe_phys_poke()
H A Dpx_asm_4u.h36 extern int px_phys_peek_4u(size_t size, uint64_t paddr, uint64_t *value,
38 extern int px_phys_poke_4u(size_t size, uint64_t paddr, uint64_t *value,
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_utils.c49 uint64_t paddr = 0; in oce_page_list() local
54 paddr = DBUF_PA(dbuf); in oce_page_list()
56 pa_list[i].lo = ADDR_LO(paddr); in oce_page_list()
57 pa_list[i].hi = ADDR_HI(paddr); in oce_page_list()
58 paddr += PAGE_4K; in oce_page_list()
/titanic_41/usr/src/uts/common/io/rwd/
H A Drt2661_var.h47 uint32_t paddr; member
53 uint32_t paddr; member
66 uint32_t paddr; member
71 uint32_t paddr; member
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Dl2_packet.c30 uint8_t paddr[DLPI_PHYSADDR_MAX]; in link_init() local
31 size_t paddrlen = sizeof (paddr); in link_init()
48 retval = dlpi_get_physaddr(l2->dh, DL_CURR_PHYS_ADDR, paddr, &paddrlen); in link_init()
59 (void) memcpy(l2->own_addr, paddr, sizeof (l2->own_addr)); in link_init()
/titanic_41/usr/src/lib/libast/common/string/
H A Dstrtoip4.c46 strtoip4(register const char* s, char** e, uint32_t* paddr, unsigned char* pbits) in strtoip4() argument
143 if (paddr) in strtoip4()
144 *paddr = addr; in strtoip4()
/titanic_41/usr/src/uts/common/io/
H A Dtphci.c463 tp_decode_name(char *devnm, char **cname, char **paddr, char **guid) in tp_decode_name() argument
467 i_ddi_parse_name(devnm, cname, paddr, NULL); in tp_decode_name()
469 (strcmp(*cname, "tphci") != 0) || *paddr == NULL) in tp_decode_name()
472 tmp = strchr(*paddr, ','); in tp_decode_name()
485 char *cname, *paddr, *guid, *devnm; in tphci_bus_config()
504 if (tp_decode_name(devnm, &cname, &paddr, &guid) != 0) { in tphci_bus_config()
512 rval = mdi_pi_alloc(parent, cname, guid, paddr, 0, &pip); in tphci_bus_config()
/titanic_41/usr/src/uts/sun4u/starcat/io/
H A Dfcgp2.c593 uint64_t paddr; in gfc_claim_address() local
610 paddr = (exp << 28) | (port << 26) | (slot << 27) | in gfc_claim_address()
617 paddr = ((uint64_t)1 << 42) | ((uint64_t)slice << 34) | in gfc_claim_address()
622 paddr = (exp << 28) | (port << 26) | (slot << 27) | in gfc_claim_address()
629 paddr = ((uint64_t)1 << 42) | ((uint64_t)slice << 34) | in gfc_claim_address()
632 paddr |= ((uint64_t)1 << 32); in gfc_claim_address()
642 FC_DEBUG1(1, CE_CONT, "gfc_claim_address: returning 0x%lx\n", paddr); in gfc_claim_address()
645 fc_result(cp, 0) = LOADDR(paddr); in gfc_claim_address()
646 fc_result(cp, 1) = HIADDR(paddr); in gfc_claim_address()
784 uint64_t paddr; in gfc_vtop() local
[all …]
/titanic_41/usr/src/uts/common/io/atge/
H A Datge_l1e.c339 uint64_t paddr; in atge_l1e_program_dma() local
355 paddr = atgep->atge_tx_ring->r_desc_ring->cookie.dmac_laddress; in atge_l1e_program_dma()
356 OUTL(atgep, ATGE_DESC_ADDR_HI, ATGE_ADDR_HI(paddr)); in atge_l1e_program_dma()
357 OUTL(atgep, ATGE_DESC_TPD_ADDR_LO, ATGE_ADDR_LO(paddr)); in atge_l1e_program_dma()
362 paddr = l1e->atge_l1e_rx_page[0]->cookie.dmac_laddress; in atge_l1e_program_dma()
363 OUTL(atgep, L1E_RXF0_PAGE0_ADDR_LO, ATGE_ADDR_LO(paddr)); in atge_l1e_program_dma()
364 paddr = l1e->atge_l1e_rx_page[1]->cookie.dmac_laddress; in atge_l1e_program_dma()
365 OUTL(atgep, L1E_RXF0_PAGE1_ADDR_LO, ATGE_ADDR_LO(paddr)); in atge_l1e_program_dma()
368 paddr = l1e->atge_l1e_rx_cmb->cookie.dmac_laddress; in atge_l1e_program_dma()
369 OUTL(atgep, L1E_RXF0_CMB0_ADDR_LO, ATGE_ADDR_LO(paddr)); in atge_l1e_program_dma()
[all …]
/titanic_41/usr/src/lib/libresolv2/common/irs/
H A Dirp_nw.c148 char paddr[24]; /*%< bigenough for ip4 w/ cidr spec. */ in nw_byaddr() local
151 if (inet_net_ntop(type, net, length, paddr, sizeof paddr) == NULL) { in nw_byaddr()
160 paddr, ADDR_T_STR(type)) != 0) in nw_byaddr()
/titanic_41/usr/src/lib/storage/libg_fc/common/
H A Dmpath.c97 char paddr[MAXNAMELEN]; in g_get_lun_str() local
115 ioc.addr = paddr; in g_get_lun_str()
409 char paddr[MAXNAMELEN]; in g_get_pathlist() local
414 ioc.addr = paddr; in g_get_pathlist()
510 char paddr[MAXNAMELEN]; in g_get_pathcount() local
532 ioc.addr = paddr; in g_get_pathcount()
852 char paddr[MAXNAMELEN]; in g_stms_get_path_state() local
861 ioc.addr = paddr; in g_stms_get_path_state()
/titanic_41/usr/src/uts/sparc/io/
H A Ddevfm_machdep.c37 fm_get_paddr(nvlist_t *nvl, uint64_t *paddr) in fm_get_paddr() argument
88 *paddr = pa; in fm_get_paddr()
/titanic_41/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_smhba.c128 char *paddr, *addr; in pmcs_smhba_set_scsi_device_props() local
136 paddr = kmem_zalloc(PMCS_MAX_UA_SIZE, KM_SLEEP); in pmcs_smhba_set_scsi_device_props()
138 (void) scsi_wwn_to_wwnstr(pwwn, ua_form, paddr); in pmcs_smhba_set_scsi_device_props()
152 SCSI_ADDR_PROP_ATTACHED_PORT, paddr); in pmcs_smhba_set_scsi_device_props()
155 kmem_free(paddr, PMCS_MAX_UA_SIZE); in pmcs_smhba_set_scsi_device_props()
/titanic_41/usr/src/uts/sun4u/vm/
H A Dmach_kpm.c187 caddr_t paddr, vaddr; in hat_kpm_mapin_pfn() local
196 paddr = (caddr_t)ptob(pfn); in hat_kpm_mapin_pfn()
197 vaddr = (uintptr_t)kpm_vbase + paddr; in hat_kpm_mapin_pfn()
226 uintptr_t paddr, vaddr; in hat_kpm_page2va() local
230 paddr = ptob(pp->p_pagenum); in hat_kpm_page2va()
231 vcolor_pa = addr_to_vcolor(paddr); in hat_kpm_page2va()
238 vaddr = (uintptr_t)kpm_vbase + paddr; in hat_kpm_page2va()
258 uintptr_t paddr; in hat_kpm_vaddr2page() local
263 SFMMU_KPM_VTOP(vaddr, paddr); in hat_kpm_vaddr2page()
264 pfn = (pfn_t)btop(paddr); in hat_kpm_vaddr2page()
[all …]
/titanic_41/usr/src/uts/common/io/audio/drv/audioixp/
H A Daudioixp.c688 uint32_t paddr; in audioixp_alloc_port() local
808 paddr = port->samp_paddr; in audioixp_alloc_port()
814 ddi_put32(port->bdl_acch, &bdentry->buf_base, paddr); in audioixp_alloc_port()
819 paddr += port->fragsz; in audioixp_alloc_port()
895 uint32_t paddr; in audioixp_update_port() local
908 paddr = GET32(regoff); in audioixp_update_port()
911 if ((paddr < port->samp_paddr) || in audioixp_update_port()
912 (paddr >= (port->samp_paddr + port->samp_size))) { in audioixp_update_port()
916 offset = paddr - port->samp_paddr; in audioixp_update_port()

123456