Searched refs:ph_data (Results 1 – 9 of 9) sorted by relevance
/titanic_50/usr/src/uts/common/io/usb/usba/ |
H A D | usbai_pipe_mgmt.c | 119 usba_pipe_handle_data_t *ph_data = NULL; in usba_get_ph_data() local 124 ph_data = ph_impl->usba_ph_data; in usba_get_ph_data() 128 return (ph_data); in usba_get_ph_data() 133 usba_get_pipe_handle(usba_pipe_handle_data_t *ph_data) in usba_get_pipe_handle() argument 137 if (ph_data) { in usba_get_pipe_handle() 138 mutex_enter(&ph_data->p_mutex); in usba_get_pipe_handle() 139 ASSERT(ph_data->p_req_count >= 0); in usba_get_pipe_handle() 140 ph = (usb_pipe_handle_t)ph_data->p_ph_impl; in usba_get_pipe_handle() 141 mutex_exit(&ph_data->p_mutex); in usba_get_pipe_handle() 157 usba_pipe_handle_data_t *ph_data = NULL; in usba_hold_ph_data() local [all …]
|
H A D | usbai_req.c | 89 usba_check_req(usba_pipe_handle_data_t *ph_data, usb_opaque_t req, in usba_check_req() argument 92 int rval = _usba_check_req(ph_data, req, flags, pipe_type); in usba_check_req() 97 (void *)ph_data, (void *)req, flags, rval); in usba_check_req() 105 _usba_check_req(usba_pipe_handle_data_t *ph_data, usb_opaque_t req, in _usba_check_req() argument 118 uchar_t direction = ph_data->p_ep.bEndpointAddress & in _usba_check_req() 120 uchar_t ep_attrs = ph_data->p_ep.bmAttributes & in _usba_check_req() 126 (void *)ph_data, (void *)req, flags); in _usba_check_req() 162 ASSERT(ph_data->p_usba_device); in _usba_check_req() 164 if (ph_data->p_usba_device->usb_ph_list[0].usba_ph_data == NULL) { in _usba_check_req() 170 if (usba_check_in_list(&(ph_data->p_usba_device->usb_allocated), in _usba_check_req() [all …]
|
H A D | hcdi.c | 470 usba_hcdi_cb(usba_pipe_handle_data_t *ph_data, in usba_hcdi_cb() argument 475 usba_device_t *usba_device = ph_data->p_usba_device; in usba_hcdi_cb() 479 usb_ep_descr_t *eptd = &ph_data->p_ep; in usba_hcdi_cb() 481 mutex_enter(&ph_data->p_mutex); in usba_hcdi_cb() 484 mutex_enter(&ph_data->p_ph_impl->usba_ph_mutex); in usba_hcdi_cb() 489 (void *)ph_data, (void *)req, ph_data->p_ph_impl->usba_ph_state, in usba_hcdi_cb() 490 ph_data->p_ph_impl->usba_ph_ref_count, ph_data->p_req_count, in usba_hcdi_cb() 493 mutex_exit(&ph_data->p_ph_impl->usba_ph_mutex); in usba_hcdi_cb() 522 if ((ph_data->p_spec_flag & USBA_PH_FLAG_USE_SOFT_INTR) && in usba_hcdi_cb() 524 ph_data->p_soft_intr++; in usba_hcdi_cb() [all …]
|
H A D | usbai_util.c | 928 usba_pipe_handle_data_t *ph_data = usba_get_ph_data( in usba_sync_set_alt_if() local 939 usba_release_ph_data(ph_data->p_ph_impl); in usba_sync_set_alt_if() 958 usba_release_ph_data(ph_data->p_ph_impl); in usba_sync_set_alt_if() 1292 usba_pipe_handle_data_t *ph_data = usba_hold_ph_data(pipe_handle); in usb_pipe_get_state() local 1295 "usb_pipe_get_state: ph_data=0x%p uf=0x%x", (void *)ph_data, in usb_pipe_get_state() 1299 if (ph_data) { in usb_pipe_get_state() 1300 usba_release_ph_data(ph_data->p_ph_impl); in usb_pipe_get_state() 1306 if (ph_data == NULL) { in usb_pipe_get_state() 1312 mutex_enter(&ph_data->p_mutex); in usb_pipe_get_state() 1313 *pipe_state = usba_get_ph_state(ph_data); in usb_pipe_get_state() [all …]
|
H A D | genconsole.c | 50 usba_pipe_handle_data_t *ph_data; in usb_console_input_init() local 79 if ((ph_data = usba_hold_ph_data(pipe_handle)) == NULL) { in usb_console_input_init() 90 ph_data, state_buf, usb_console_input); in usb_console_input_init()
|
H A D | usba.c | 673 usba_pipe_handle_data_t *ph_data = usba_get_ph_data(def_ph); in usba_free_usba_device() local 675 if (ph_data) { in usba_free_usba_device() 676 usb_pipe_close(ph_data->p_dip, def_ph, in usba_free_usba_device()
|
/titanic_50/usr/src/lib/libdevinfo/ |
H A D | devinfo_prop_decode.c | 84 ph->ph_cur_pos = ph->ph_data; in di_prop_reset_pos() 85 ph->ph_save_pos = ph->ph_data; in di_prop_reset_pos() 385 if ((int *)ph->ph_cur_pos > ((int *)ph->ph_data + in di_prop_1275_int() 389 ((int *)ph->ph_cur_pos > ((int *)ph->ph_data + in di_prop_1275_int() 420 ((int *)ph->ph_cur_pos > ((int *)ph->ph_data + in di_prop_1275_int() 447 (caddr_t)ph->ph_data + ph->ph_size) { in di_prop_1275_int() 450 (caddr_t)ph->ph_data + ph->ph_size) { in di_prop_1275_int() 498 ((int64_t *)ph->ph_cur_pos > ((int64_t *)ph->ph_data + in di_prop_int64_op() 523 ((int64_t *)ph->ph_cur_pos > ((int64_t *)ph->ph_data + in di_prop_int64_op() 551 (caddr_t)ph->ph_data + ph->ph_size) { in di_prop_int64_op() [all …]
|
/titanic_50/usr/src/uts/common/os/ |
H A D | sunddi.c | 1804 ph->ph_data = NULL; in ddi_prop_encode_alloc() 1809 ph->ph_data = kmem_zalloc(size, KM_NOSLEEP); in ddi_prop_encode_alloc() 1810 if (ph->ph_data == NULL) in ddi_prop_encode_alloc() 1813 ph->ph_data = kmem_zalloc(size, KM_SLEEP); in ddi_prop_encode_alloc() 1815 ph->ph_cur_pos = ph->ph_data; in ddi_prop_encode_alloc() 1816 ph->ph_save_pos = ph->ph_data; in ddi_prop_encode_alloc() 1891 ph->ph_cur_pos = ph->ph_data; in ddi_prop_reset_pos() 1892 ph->ph_save_pos = ph->ph_data; in ddi_prop_reset_pos() 2745 if ((int *)ph->ph_cur_pos > ((int *)ph->ph_data + in ddi_prop_1275_int() 2750 ((int *)ph->ph_cur_pos > ((int *)ph->ph_data + in ddi_prop_1275_int() [all …]
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | ddipropdefs.h | 77 void *ph_data; /* Encoded data */ member
|