/illumos-gate/usr/src/uts/common/sys/usb/usba/ |
H A D | wa.h | 447 void (*intr_cb)(usb_pipe_handle_t ph, struct usb_intr_req *req); 448 void (*intr_exc_cb)(usb_pipe_handle_t ph, struct usb_intr_req *req); 449 void (*rpipe_xfer_cb)(dev_info_t *dip, usba_pipe_handle_data_t *ph, 526 void (*intr_cb)(usb_pipe_handle_t ph, struct usb_intr_req *req); 527 void (*intr_exc_cb)(usb_pipe_handle_t ph, struct usb_intr_req *req); 528 void (*rpipe_xfer_cb)(dev_info_t *dip, usba_pipe_handle_data_t *ph, 622 void wusb_wa_clear_dev_ep(usba_pipe_handle_data_t *ph);
|
H A D | usba_impl.h | 71 usb_pipe_handle_t ph, 277 void usba_start_next_req(usba_pipe_handle_data_t *ph);
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_provider.c | 1467 mac_prop_info_set_default_uint8(mac_prop_info_handle_t ph, uint8_t val) in mac_prop_info_set_default_uint8() argument 1469 mac_prop_info_state_t *pr = (mac_prop_info_state_t *)ph; in mac_prop_info_set_default_uint8() 1484 mac_prop_info_state_t *pr = (mac_prop_info_state_t *)ph; in mac_prop_info_set_default_uint64() 1500 mac_prop_info_state_t *pr = (mac_prop_info_state_t *)ph; in mac_prop_info_set_default_uint32() 1516 mac_prop_info_state_t *pr = (mac_prop_info_state_t *)ph; in mac_prop_info_set_default_str() 1530 mac_prop_info_set_default_link_flowctrl(mac_prop_info_handle_t ph, in mac_prop_info_set_default_link_flowctrl() argument 1533 mac_prop_info_state_t *pr = (mac_prop_info_state_t *)ph; in mac_prop_info_set_default_link_flowctrl() 1549 mac_prop_info_state_t *pr = (mac_prop_info_state_t *)ph; in mac_prop_info_set_default_fec() 1566 mac_prop_info_state_t *pr = (mac_prop_info_state_t *)ph; in mac_prop_info_set_range_uint32() 1593 mac_prop_info_set_perm(mac_prop_info_handle_t ph, uint8_t perm) in mac_prop_info_set_perm() argument [all …]
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_hash.c | 357 sctp_parm_hdr_t *ph; in sctp_lookup_by_faddrs() local 402 if (remaining < sizeof (*ph)) { in sctp_lookup_by_faddrs() 412 ph = (sctp_parm_hdr_t *)(iack + 1); in sctp_lookup_by_faddrs() 420 while (ph != NULL) { in sctp_lookup_by_faddrs() 430 param_type = ntohs(ph->sph_type); in sctp_lookup_by_faddrs() 434 (ph + 1), &src); in sctp_lookup_by_faddrs() 443 (ph + 1), *faddrpp); in sctp_lookup_by_faddrs() 448 *faddrpp = (in6_addr_t *)(ph + 1); in sctp_lookup_by_faddrs() 457 ph = sctp_next_parm(ph, &remaining); in sctp_lookup_by_faddrs()
|
H A D | sctp_cookie.c | 1447 sctp_parm_hdr_t *ph; in sctp_addrlist2sctp() local 1471 if (remaining < sizeof (*ph)) { in sctp_addrlist2sctp() 1476 ph = (sctp_parm_hdr_t *)(iack + 1); in sctp_addrlist2sctp() 1478 while (ph != NULL) { in sctp_addrlist2sctp() 1492 if (ph->sph_type == htons(PARM_ADDR4)) { in sctp_addrlist2sctp() 1493 IN6_INADDR_TO_V4MAPPED((struct in_addr *)(ph + 1), in sctp_addrlist2sctp() 1507 } else if (ph->sph_type == htons(PARM_ADDR6)) { in sctp_addrlist2sctp() 1508 srcp = (in6_addr_t *)(ph + 1); in sctp_addrlist2sctp() 1521 ph = sctp_next_parm(ph, &remaining); in sctp_addrlist2sctp()
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/ |
H A D | ehci_util.c | 157 usba_pipe_handle_data_t *ph, 163 usba_pipe_handle_data_t *ph, 169 usba_pipe_handle_data_t *ph, 172 usba_pipe_handle_data_t *ph, 178 usba_pipe_handle_data_t *ph, 184 usba_pipe_handle_data_t *ph, 2147 usba_pipe_handle_data_t *ph, in ehci_allocate_bandwidth() argument 2196 usba_pipe_handle_data_t *ph, in ehci_allocate_high_speed_bandwidth() argument 2305 usba_pipe_handle_data_t *ph, in ehci_allocate_classic_tt_bandwidth() argument 2438 usba_pipe_handle_data_t *ph, in ehci_deallocate_bandwidth() argument [all …]
|
H A D | ehci_isoch_util.c | 355 usba_pipe_handle_data_t *ph = pp->pp_pipe_handle; in ehci_allocate_itw() local 356 usba_device_t *usba_device = ph->p_usba_device; in ehci_allocate_itw() 357 usb_ep_descr_t *endpoint = &ph->p_ep; in ehci_allocate_itw() 1280 usba_pipe_handle_data_t *ph = pp->pp_pipe_handle; in ehci_allocate_isoc_in_resource() local 1316 mutex_enter(&ph->p_mutex); in ehci_allocate_isoc_in_resource() 1317 ph->p_req_count++; in ehci_allocate_isoc_in_resource() 1318 mutex_exit(&ph->p_mutex); in ehci_allocate_isoc_in_resource() 1338 uchar_t ep_attr = ph->p_ep.bmAttributes; in ehci_deallocate_isoc_in_resource() 1356 mutex_enter(&ph->p_mutex); in ehci_deallocate_isoc_in_resource() 1357 ph->p_req_count--; in ehci_deallocate_isoc_in_resource() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | db21554.c | 316 db_pci_header_t *ph, off_t hdr_off); 1622 ph->subclass = pci_config_get8(config_handle, in db_pci_get_header() 1624 ph->class = pci_config_get8(config_handle, in db_pci_get_header() 1626 ph->cacheline = pci_config_get8(config_handle, in db_pci_get_header() 1628 ph->lat = pci_config_get8(config_handle, in db_pci_get_header() 1630 ph->hdr_type = pci_config_get8(config_handle, in db_pci_get_header() 1632 ph->bist = pci_config_get8(config_handle, hdr_off + PCI_CONF_BIST); in db_pci_get_header() 1639 ph->cardbus_cisp = pci_config_get32(config_handle, in db_pci_get_header() 1641 ph->sub_venid = pci_config_get16(config_handle, in db_pci_get_header() 1643 ph->sub_devid = pci_config_get16(config_handle, in db_pci_get_header() [all …]
|
/illumos-gate/usr/src/uts/common/sys/usb/hcd/ehci/ |
H A D | ehci_util.h | 72 usba_pipe_handle_data_t *ph, 77 usba_pipe_handle_data_t *ph,
|
/illumos-gate/usr/src/cmd/power/ |
H A D | parse.c | 162 di_prom_handle_t ph; in lookup_estar_vers() local 171 } else if ((ph = di_prom_init()) == DI_PROM_HANDLE_NIL) { in lookup_estar_vers() 179 if (di_prom_prop_lookup_bytes(ph, node, in lookup_estar_vers() 187 di_prom_fini(ph); in lookup_estar_vers()
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | usba_bos.c | 237 usb_pipe_handle_t ph; in usba_get_binary_object_store() local 251 ph = usba_get_dflt_pipe_handle(dip); in usba_get_binary_object_store() 256 rval = usb_pipe_sync_ctrl_xfer(dip, ph, in usba_get_binary_object_store() 285 rval = usb_pipe_sync_ctrl_xfer(dip, ph, in usba_get_binary_object_store()
|
H A D | hubdi.c | 277 usb_pipe_handle_t ph = NULL; in usba_hubdi_bind_root_hub() local 376 if (ph) { in usba_hubdi_bind_root_hub() 377 usb_pipe_close(dip, ph, in usba_hubdi_bind_root_hub() 2185 usb_pipe_handle_t ph; in hubd_setdevaddr() local 2293 usb_pipe_handle_t ph; in hubd_setdevconfig() local 6061 mutex_enter(&ph->p_mutex); in hubd_ready_device() 6063 ph->p_ph_impl->usba_ph_dip = ph->p_dip = child_dip; in hubd_ready_device() 6065 mutex_exit(&ph->p_mutex); in hubd_ready_device() 6710 if (ph) { in hubd_create_child() 9155 usb_pipe_handle_t ph; in hubd_check_same_device() local [all …]
|
H A D | usba_ugen.c | 2566 ugen_ep_t *epp = (ugen_ep_t *)usb_pipe_get_private(ph); in ugen_epx_ctrl_req_cb() 2577 (void *)epp, epp->ep_state, (void *)ph, (void *)reqp, in ugen_epx_ctrl_req_cb() 2684 ugen_ep_t *epp = (ugen_ep_t *)usb_pipe_get_private(ph); in ugen_epx_bulk_req_cb() 2688 (void *)ph, (void *)reqp, reqp->bulk_completion_reason, in ugen_epx_bulk_req_cb() 2937 ugen_ep_t *epp = (ugen_ep_t *)usb_pipe_get_private(ph); in ugen_epx_intr_IN_req_cb() 2950 (void *)epp, epp->ep_state, (void *)ph, (void *)reqp, in ugen_epx_intr_IN_req_cb() 3107 ugen_ep_t *epp = (ugen_ep_t *)usb_pipe_get_private(ph); in ugen_epx_intr_OUT_req_cb() 3111 (void *)ph, (void *)reqp, reqp->intr_completion_reason, in ugen_epx_intr_OUT_req_cb() 3411 ugen_ep_t *epp = (ugen_ep_t *)usb_pipe_get_private(ph); in ugen_epx_isoc_IN_req_cb() 3427 (void *)ph, (void *)reqp, reqp->isoc_completion_reason, in ugen_epx_isoc_IN_req_cb() [all …]
|
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | ri_init.c | 411 di_prom_handle_t ph; member 425 di_prom_handle_t ph = DI_PROM_HANDLE_NIL; in ecache_info_init() local 443 if ((ph = di_prom_init()) == DI_PROM_HANDLE_NIL) { in ecache_info_init() 458 di_arg.ph = ph; in ecache_info_init() 471 if (ph != DI_PROM_HANDLE_NIL) in ecache_info_init() 472 di_prom_fini(ph); in ecache_info_init() 489 di_prom_handle_t ph = di_arg->ph; in find_cpu_nodes() local 525 if (prop_lookup_int(node, ph, PROP_ECACHE_SIZE, &ecache) == 0 || in find_cpu_nodes() 526 prop_lookup_int(node, ph, PROP_L3_CACHE_SIZE, &ecache) == 0 || in find_cpu_nodes() 537 if (prop_lookup_int(node, ph, PROP_CPUID, &cpuid) == 0) { in find_cpu_nodes() [all …]
|
/illumos-gate/usr/src/uts/sun4v/promif/ |
H A D | promif_io.c | 106 phandle_t ph; in promif_instance_to_package() local 110 ph = instance_to_package(ih); in promif_instance_to_package() 112 ci[4] = p1275_phandle2cell(ph); in promif_instance_to_package()
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/ |
H A D | uhci.c | 1141 usba_pipe_handle_data_t *ph = pp->pp_pipe_handle; in uhci_handle_intr_td() local 1152 if (UHCI_XFER_DIR(&ph->p_ep) == USB_EP_DIR_OUT) { in uhci_handle_intr_td() 1176 ph->p_ep.bmAttributes, ph->p_ep.bEndpointAddress); in uhci_handle_intr_td() 1210 uhci_hcdi_callback(uhcip, pp, ph, tw, usb_err); in uhci_handle_intr_td() 1285 uhci_hcdi_callback(uhcip, pp, ph, in uhci_handle_intr_td() 1300 uhci_hcdi_callback(uhcip, pp, ph, in uhci_handle_intr_td() 1754 usba_pipe_handle_data_t *ph = pp->pp_pipe_handle; in uhci_handle_one_xfer_completion() local 1773 mutex_enter(&ph->p_mutex); in uhci_handle_one_xfer_completion() 1774 ph->p_req_count--; in uhci_handle_one_xfer_completion() 1775 mutex_exit(&ph->p_mutex); in uhci_handle_one_xfer_completion()
|
/illumos-gate/usr/src/cmd/sgs/mcs/common/ |
H A D | file.c | 1214 Elf32_Phdr * ph = elf32_getphdr(dst_elf) + in build_file() local 1217 ph->p_offset = (Elf32_Off)nshdr.sh_offset; in build_file() 1219 Elf64_Phdr * ph = elf64_getphdr(dst_elf) + in build_file() local 1221 ph->p_offset = (Elf64_Off)nshdr.sh_offset; in build_file() 1254 GElf_Phdr ph; in build_segment_table() local 1256 (void) gelf_getphdr(elf, i, &ph); in build_segment_table() 1262 if (ph.p_type == PT_NOTE) in build_segment_table() 1265 state->b_e_seg_table[i].p_offset = ph.p_offset; in build_segment_table() 1266 state->b_e_seg_table[i].p_memsz = ph.p_offset + ph.p_memsz; in build_segment_table() 1267 state->b_e_seg_table[i].p_filesz = ph.p_offset + ph.p_filesz; in build_segment_table()
|
/illumos-gate/usr/src/cmd/sgs/demo_rdb/i386/ |
H A D | m_utils.c | 30 print_mach_varstring(struct ps_prochandle *ph, const char *varname) in print_mach_varstring() argument
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo.c | 2874 di_prom_fini(di_prom_handle_t ph) in di_prom_fini() argument 2876 struct di_prom_handle *p = (struct di_prom_handle *)ph; in di_prom_fini() 2892 di_prom_prop_found(di_prom_handle_t ph, int nodeid, in di_prom_prop_found() argument 2895 struct di_prom_handle *p = (struct di_prom_handle *)ph; in di_prom_prop_found() 2976 struct di_prom_handle *p = (struct di_prom_handle *)ph; in di_prom_prop_next() 2984 if ((ph == DI_PROM_HANDLE_NIL) || (node == DI_NODE_NIL)) { in di_prom_prop_next() 3049 struct di_prom_handle *p = (struct di_prom_handle *)ph; in di_prom_prop_lookup_common() 3054 if ((ph == DI_PROM_HANDLE_NIL) || (node == DI_NODE_NIL)) { in di_prom_prop_lookup_common() 3144 di_prom_prop_lookup_ints(di_prom_handle_t ph, di_node_t node, in di_prom_prop_lookup_ints() argument 3150 prop = di_prom_prop_lookup_common(ph, node, prom_prop_name); in di_prom_prop_lookup_ints() [all …]
|
H A D | libdevinfo.h | 257 extern void di_prom_fini(di_prom_handle_t ph); 259 extern di_prom_prop_t di_prom_prop_next(di_prom_handle_t ph, di_node_t node, 384 extern int di_prom_prop_lookup_slot_names(di_prom_handle_t ph, di_node_t node,
|
/illumos-gate/usr/src/cmd/idmap/idmap/ |
H A D | idmap.c | 1547 print_handle_t *ph; in do_dump() local 1553 if (ph == NULL) in do_dump() 1585 (void) print_mapping(ph, nm); in do_dump() 1605 (void) print_mapping_fini(ph); in do_dump() 2230 print_handle_t *ph; in list_name_mappings() local 2242 if (ph == NULL) in list_name_mappings() 2265 (void) print_mapping_fini(ph); in list_name_mappings() 2574 print_handle_t *ph; in do_add_name_mapping() local 2619 if (ph == NULL) { in do_add_name_mapping() 2623 (void) print_mapping(ph, nm); in do_add_name_mapping() [all …]
|
/illumos-gate/usr/src/boot/common/ |
H A D | bootstrap.h | 376 void (*arch_loadseg)(Elf_Ehdr *eh, Elf_Phdr *ph, uint64_t delta); 378 void (*arch_loadseg)(void *eh, void *ph, uint64_t delta);
|
/illumos-gate/usr/src/boot/include/net/ |
H A D | if.h | 105 uint64_t ph; member 113 } ph; member
|
/illumos-gate/usr/src/lib/libpicl/ |
H A D | picl.h | 147 picl_prophdl_t *ph);
|
/illumos-gate/usr/src/uts/common/io/usb/clients/audio/usb_as/ |
H A D | usb_as.c | 1261 usb_as_play_cb(usb_pipe_handle_t ph, usb_isoc_req_t *isoc_req) in usb_as_play_cb() argument 1269 (void *)ph, (void *)isoc_req); in usb_as_play_cb() 1309 usb_as_play_exc_cb(usb_pipe_handle_t ph, usb_isoc_req_t *isoc_req) in usb_as_play_exc_cb() argument 1319 "cr=%d, cb_flag=0x%x", (void *)ph, (void *)isoc_req, in usb_as_play_exc_cb() 1471 usb_as_record_exc_cb(usb_pipe_handle_t ph, usb_isoc_req_t *isoc_req) in usb_as_record_exc_cb() argument 1482 (void *)ph, (void *)isoc_req, completion_reason); in usb_as_record_exc_cb() 1512 (void) usb_pipe_stop_isoc_polling(ph, in usb_as_record_exc_cb() 1536 usb_as_record_cb(usb_pipe_handle_t ph, usb_isoc_req_t *isoc_req) in usb_as_record_cb() argument
|