Home
last modified time | relevance | path

Searched refs:ph (Results 51 – 75 of 131) sorted by relevance

123456

/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/
H A Dxhci_hub.c598 usba_hcdi_cb(ph, (usb_opaque_t)ucrp, ret); in xhci_root_hub_ctrl_req()
617 usba_pipe_handle_data_t *ph; in xhci_root_hub_psc_callback() local
650 ph = xhcip->xhci_usba.xa_intr_cb_ph; in xhci_root_hub_psc_callback()
667 mutex_enter(&ph->p_mutex); in xhci_root_hub_psc_callback()
668 ph->p_req_count++; in xhci_root_hub_psc_callback()
669 mutex_exit(&ph->p_mutex); in xhci_root_hub_psc_callback()
677 usba_hcdi_cb(ph, (usb_opaque_t)new, USB_CR_OK); in xhci_root_hub_psc_callback()
683 usba_pipe_handle_data_t *ph; in xhci_root_hub_intr_root_disable() local
688 ph = xhcip->xhci_usba.xa_intr_cb_ph; in xhci_root_hub_intr_root_disable()
690 ASSERT(ph != NULL); in xhci_root_hub_intr_root_disable()
[all …]
H A Dxhci_endpoint.c30 usba_pipe_handle_data_t *ph; in xhci_endpoint_is_periodic_in() local
33 ph = xep->xep_pipe; in xhci_endpoint_is_periodic_in()
34 ASSERT(ph != NULL); in xhci_endpoint_is_periodic_in()
642 usba_pipe_handle_data_t *ph) in xhci_endpoint_init() argument
648 if (ph == NULL) { in xhci_endpoint_init()
663 if (ph == NULL) { in xhci_endpoint_init()
667 xep->xep_pipe = ph; in xhci_endpoint_init()
687 if (ph == NULL) { in xhci_endpoint_init()
703 usba_pipe_handle_data_t *ph) in xhci_endpoint_reinit() argument
706 VERIFY(ph != NULL); in xhci_endpoint_reinit()
[all …]
/illumos-gate/usr/src/uts/common/sys/usb/hcd/uhci/
H A Duhcitgt.h54 usba_pipe_handle_data_t *ph,
71 usba_pipe_handle_data_t *ph);
73 uhci_pipe_private_t *ph);
76 usba_pipe_handle_data_t *ph,
99 usba_pipe_handle_data_t *ph,
/illumos-gate/usr/src/uts/common/sys/usb/usba/
H A Dusba10.h59 usb_ep_num(usb_pipe_handle_t ph);
64 usb_pipe_handle_t ph,
181 usba10_usb_ep_num(usb_pipe_handle_t ph);
197 usb_pipe_handle_t ph,
210 usb_pipe_handle_t ph,
230 usb_pipe_handle_t ph,
254 usb_pipe_handle_t ph,
263 usb_pipe_handle_t ph,
284 usb_pipe_handle_t ph,
303 usb_pipe_handle_t ph,
H A Dwhcdi.h221 usb_pipe_handle_t ph, uint8_t ifc, wusb_secrt_data_t *secrt_data);
223 usb_pipe_handle_t ph, uint8_t ifc, wusb_secrt_data_t *secrt_data);
225 usb_pipe_handle_t ph, uint8_t ifc, uint8_t *data, size_t len,
235 int wusb_get_dev_security_descr(usb_pipe_handle_t ph,
284 int wusb_dev_set_encrypt(usb_pipe_handle_t ph, uint8_t value);
286 int wusb_dev_set_key(usb_pipe_handle_t ph, uint8_t key_index,
314 usb_pipe_handle_t ph, uint8_t ifc);
H A Dusba_types.h151 #define USBA_PH2ENDPOINT(ph) (((usba_pipe_handle_data_t *)(ph))->p_ep) argument
157 #define USBA_IS_DEFAULT_PIPE(ph) ((ph) == \ argument
158 (ph)->p_usba_device->usb_ph_list[USBA_DEFAULT_PIPE_EP].usba_ph_data)
/illumos-gate/usr/src/cmd/sgs/demo_rdb/common/
H A Dsyms.c208 addr_to_sym(struct ps_prochandle *ph, ulong_t addr, in addr_to_sym() argument
213 if ((mip = addr_to_map(ph, addr)) == NULL) in addr_to_sym()
220 str_to_sym(struct ps_prochandle *ph, const char *name, GElf_Sym *symp) in str_to_sym() argument
224 if (ph->pp_lmaplist.ml_head == NULL) { in str_to_sym()
225 if (str_map_sym(name, &(ph->pp_ldsomap), symp, NULL) == RET_OK) in str_to_sym()
228 return (str_map_sym(name, &(ph->pp_execmap), symp, NULL)); in str_to_sym()
231 for (mip = ph->pp_lmaplist.ml_head; mip; mip = mip->mi_next) in str_to_sym()
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/
H A Dehci_intr.c779 usba_pipe_handle_data_t *ph; in ehci_handle_error() local
827 if (((ph->p_ep.bmAttributes & in ehci_handle_error()
862 ehci_hcdi_callback(ph, tw, error); in ehci_handle_error()
1050 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_handle_bulk_qtd()
1083 ehci_hcdi_callback(ph, tw, USB_CR_OK); in ehci_handle_bulk_qtd()
1110 usb_ep_descr_t *eptd = &ph->p_ep; in ehci_handle_intr_qtd()
1133 ehci_hcdi_callback(ph, tw, USB_CR_OK); in ehci_handle_intr_qtd()
1232 mutex_enter(&ph->p_mutex); in ehci_handle_one_xfer_completion()
1233 ph->p_req_count--; in ehci_handle_one_xfer_completion()
1234 mutex_exit(&ph->p_mutex); in ehci_handle_one_xfer_completion()
[all …]
/illumos-gate/usr/src/uts/sparc/v9/sys/
H A Dprom_isa.h58 #define p1275_phandle2cell(ph) ((cell_t)((unsigned int)((phandle_t)(ph)))) argument
69 #define p1275_cell2phandle(ph) ((phandle_t)((cell_t)(ph))) argument
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusba10_calls.c151 usba10_usb_ep_num(usb_pipe_handle_t ph) in usba10_usb_ep_num() argument
153 return (usb_ep_num(ph)); in usba10_usb_ep_num()
175 usb_pipe_handle_t ph, in usba10_usb_pipe_close()
192 usb_pipe_handle_t ph, in usba10_usb_pipe_drain_reqs()
225 usb_pipe_handle_t ph, in usba10_usb_pipe_reset()
265 usb_pipe_handle_t ph, in usba10_usb_get_status() argument
271 return (usb_get_status(dip, ph, type, what, status, flags)); in usba10_usb_get_status()
278 usb_pipe_handle_t ph, in usba10_usb_clear_feature() argument
284 return (usb_clear_feature(dip, ph, type, feature, what, flags)); in usba10_usb_clear_feature()
308 usb_pipe_handle_t ph, in usba10_usb_set_cfg()
[all …]
H A Dusbai_util.c513 usb_pipe_handle_t ph, in usb_set_cfg()
519 usb_pipe_handle_t ph; in usb_set_cfg() local
693 usb_pipe_handle_t ph; in usb_get_cfg() local
881 usb_pipe_handle_t ph, in usb_set_alt_if()
887 usb_pipe_handle_t ph; in usb_set_alt_if() local
991 usb_pipe_handle_t ph; in usb_get_alt_if() local
1408 usb_pipe_handle_t ph, in usb_get_status() argument
1427 if (ph == NULL) { in usb_get_status()
1482 usb_pipe_handle_t ph, in usb_clear_feature() argument
1500 if (ph == NULL) { in usb_clear_feature()
[all …]
/illumos-gate/usr/src/uts/common/sys/usb/hcd/openhci/
H A Dohcid.h889 usba_pipe_handle_data_t *ph,
903 usba_pipe_handle_data_t *ph,
925 usba_pipe_handle_data_t *ph,
928 usba_pipe_handle_data_t *ph);
930 usba_pipe_handle_data_t *ph,
934 usba_pipe_handle_data_t *ph,
937 usba_pipe_handle_data_t *ph,
941 usba_pipe_handle_data_t *ph,
948 usba_pipe_handle_data_t *ph);
959 usba_pipe_handle_data_t *ph,
[all …]
/illumos-gate/usr/src/uts/common/sys/usb/
H A Dusbai.h1157 usb_pipe_handle_t ph,
1199 usb_pipe_handle_t ph,
1236 usb_pipe_handle_t ph,
1376 void (*ctrl_cb)(usb_pipe_handle_t ph,
1667 usb_pipe_handle_t ph,
1703 usb_pipe_handle_t ph,
1753 usb_pipe_handle_t ph,
1816 usb_pipe_handle_t ph,
1906 void (*bulk_cb)(usb_pipe_handle_t ph,
2065 void (*intr_cb)(usb_pipe_handle_t ph,
[all …]
/illumos-gate/usr/src/uts/sun4/sys/
H A Dfc_plat.h72 #define fc_phandle2cell(ph) ((fc_cell_t)((unsigned int)((phandle_t)(ph)))) argument
89 #define fc_cell2phandle(ph) ((phandle_t)((fc_cell_t)(ph))) argument
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dnewphdr.c67 Elf_Void * ph; in elf_newphdr() local
114 if ((ph = malloc(sz)) == 0) { in elf_newphdr()
126 (void) memset(ph, 0, sz); in elf_newphdr()
134 elf->ed_phdr = rc = ph; in elf_newphdr()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c898 for (ph = process_table[idx]; ph != NULL; ph = ph->ph_next) { in process_hash_find()
968 for (ph = process_table[i]; ph != NULL; ph = ph->ph_next) { in process_hash_dump()
5654 for (; ph != NULL; ph = ph->ph_next_proc) { in tcp_report_item_v4()
5679 for (; ph != NULL; ph = ph->ph_next_proc) { in tcp_report_item_v4()
5690 ph->ph_username, ph->ph_pidstr, ph->ph_fname, in tcp_report_item_v4()
5785 ph != NULL; ph = ph->ph_next_proc) { in tcp_report_item_v6()
5814 ph != NULL; ph = ph->ph_next_proc) { in tcp_report_item_v6()
6069 for (; ph != NULL; ph = ph->ph_next_proc) { in udp_report_item_v4()
6142 ph != NULL; ph = ph->ph_next_proc) { in udp_report_item_v6()
6441 ph != NULL; ph = ph->ph_next_proc) { in sctp_conn_report_item()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/usba10/
H A Dusba10.c179 usb_ep_num(usb_pipe_handle_t ph) in usb_ep_num() argument
181 return (usba10_usb_ep_num(ph)); in usb_ep_num()
203 usb_pipe_handle_t ph, in usb_pipe_close()
220 usb_pipe_handle_t ph, in usb_pipe_drain_reqs()
253 usb_pipe_handle_t ph, in usb_pipe_reset()
293 usb_pipe_handle_t ph, in usb_get_status() argument
299 return (usba10_usb_get_status(dip, ph, type, what, status, flags)); in usb_get_status()
306 usb_pipe_handle_t ph, in usb_clear_feature() argument
312 return (usba10_usb_clear_feature(dip, ph, type, feature, what, flags)); in usb_clear_feature()
336 usb_pipe_handle_t ph, in usb_set_cfg()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/
H A Duhciutil.c1532 usba_pipe_handle_data_t *ph, in uhci_insert_intr_td() argument
2599 usba_pipe_handle_data_t *ph) in uhci_remove_tds_tws() argument
3742 mutex_enter(&ph->p_mutex); in uhci_save_data_toggle()
3743 usba_hcdi_set_data_toggle(ph->p_usba_device, ph->p_ep.bEndpointAddress, in uhci_save_data_toggle()
3745 mutex_exit(&ph->p_mutex); in uhci_save_data_toggle()
4878 mutex_enter(&ph->p_mutex); in uhci_allocate_periodic_in_resource()
4879 ph->p_req_count++; in uhci_allocate_periodic_in_resource()
4880 mutex_exit(&ph->p_mutex); in uhci_allocate_periodic_in_resource()
4915 mutex_enter(&ph->p_mutex); in uhci_deallocate_periodic_in_resource()
4916 ph->p_req_count--; in uhci_deallocate_periodic_in_resource()
[all …]
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_mac.c51 mac_prop_info_handle_t ph);
56 mac_prop_info_handle_t ph);
1574 mac_prop_info_handle_t ph) in t4_mc_propinfo() argument
1588 mac_prop_info_set_default_uint8(ph, 1); in t4_mc_propinfo()
1612 mac_prop_info_set_default_uint8(ph, 1); in t4_mc_propinfo()
1619 mac_prop_info_set_default_uint8(ph, 1); in t4_mc_propinfo()
1626 mac_prop_info_set_default_uint8(ph, 1); in t4_mc_propinfo()
1633 mac_prop_info_set_default_uint8(ph, 1); in t4_mc_propinfo()
1640 mac_prop_info_set_default_uint8(ph, 1); in t4_mc_propinfo()
1670 propinfo(pi, name, ph); in t4_mc_propinfo()
[all …]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dfindevs.c98 di_prom_handle_t ph);
116 di_prom_handle_t ph);
118 di_prom_handle_t ph);
153 args->ph = DI_PROM_HANDLE_NIL; in findevs()
161 if ((args->ph = di_prom_init()) == DI_PROM_HANDLE_NIL || in findevs()
187 if (args->ph != DI_PROM_HANDLE_NIL) { in findevs()
188 di_prom_fini(args->ph); in findevs()
189 args->ph = DI_PROM_HANDLE_NIL; in findevs()
214 if ((btype = bus_type(node, minor, args->ph)) == NULL) { in add_bus()
501 if (bus_type(node, minor, args->ph) != NULL) { in add_devs()
[all …]
/illumos-gate/usr/src/uts/sun/sys/
H A Dbootconf.h156 #define boot_phandle2cell(ph) ((boot_cell_t)((unsigned)((phandle_t)(ph)))) argument
166 #define boot_cell2phandle(ph) ((phandle_t)((boot_cell_t)(ph))) argument
/illumos-gate/usr/src/cmd/fs.d/udfs/common/
H A Dud_lib.c518 struct phdr_desc *ph; in ud_parse_fill_vds() local
550 ph = (struct phdr_desc *)pd->pd_pc_use; in ud_parse_fill_vds()
551 if (ph->phdr_ust.sad_ext_len) { in ud_parse_fill_vds()
638 struct pmap_hdr *ph; in ud_read_and_translate_lvd() local
667 ph = (struct pmap_hdr *)lvd->lvd_pmaps; in ud_read_and_translate_lvd()
670 switch (ph->maph_type) { in ud_read_and_translate_lvd()
674 typ1 = (struct pmap_typ1 *)ph; in ud_read_and_translate_lvd()
685 typ2 = (struct pmap_typ2 *)ph; in ud_read_and_translate_lvd()
734 ph = (struct pmap_hdr *)(((uint8_t *)h) + ph->maph_length); in ud_read_and_translate_lvd()
1834 print_phdr(FILE *fout, struct phdr_desc *ph) in print_phdr() argument
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Ddr.c29 static di_prom_handle_t ph = DI_PROM_HANDLE_NIL; variable
265 dlen = di_prom_prop_lookup_ints(ph, dn, OBP_REG, &pdata); in add_reg_prop()
316 if (!ph) in get_reg_prop()
318 dret = di_prom_prop_lookup_ints(ph, dn, OBP_REG, pdata); in get_reg_prop()
530 if ((ph = di_prom_init()) == NULL) in update_devices()
544 di_prom_fini(ph); in update_devices()
/illumos-gate/usr/src/cmd/picl/plugins/common/devtree/
H A Dpicldevtree.c433 if (!ph) in has_reg_prop()
457 if (!ph) in get_device_type()
579 if (!ph) in get_compatible_class()
908 if (!ph) in add_openprom_props()
1850 if (ph) { in libdevinfo_init()
1852 ph = NULL; in libdevinfo_init()
3711 ph = NULL; in picldevtree_evhandler()
3720 ph = NULL; in picldevtree_evhandler()
3748 ph = NULL; in picldevtree_evhandler()
3776 if (ph) { in picldevtree_evhandler()
[all …]
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dlibdevinfo_sun4u.c60 di_prom_handle_t ph; /* Handle for using di_prom interface */ variable
335 for (p_prop = di_prom_prop_next(ph, di_node, DI_PROM_PROP_NIL); in dump_di_node()
337 p_prop = di_prom_prop_next(ph, di_node, p_prop)) { in dump_di_node()
436 if ((ph = di_prom_init()) == NULL) { in do_devinfo()
453 di_prom_fini(ph); in do_devinfo()

123456