Searched refs:ph_data (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai_pipe_mgmt.c119 usba_pipe_handle_data_t *ph_data = NULL; local
124 ph_data = ph_impl->usba_ph_data;
128 return (ph_data);
133 usba_get_pipe_handle(usba_pipe_handle_data_t *ph_data) argument
137 if (ph_data) {
138 mutex_enter(&ph_data->p_mutex);
139 ASSERT(ph_data->p_req_count >= 0);
140 ph = (usb_pipe_handle_t)ph_data->p_ph_impl;
141 mutex_exit(&ph_data->p_mutex);
150 * must release ph_data whe
157 usba_pipe_handle_data_t *ph_data = NULL; local
219 usba_get_ph_state(usba_pipe_handle_data_t *ph_data) argument
237 usba_get_ph_ref_count(usba_pipe_handle_data_t *ph_data) argument
255 usba_pipe_new_state(usba_pipe_handle_data_t *ph_data, usb_pipe_state_t state) argument
317 usba_pipe_handle_data_t *ph_data = ph_impl->usba_ph_data; local
441 usba_pipe_handle_data_t *ph_data = ph_impl->usba_ph_data; local
560 usba_destroy_pipe_handle(usba_pipe_handle_data_t *ph_data) argument
660 usba_drain_cbs(usba_pipe_handle_data_t *ph_data, usb_cb_flags_t cb_flags, usb_cr_t cr) argument
773 usba_pipe_handle_data_t *ph_data; local
959 usba_pipe_handle_data_t *ph_data; local
1051 usba_pipe_handle_data_t *ph_data = usba_get_ph_data( local
1174 usba_pipe_handle_data_t *ph_data = usba_hold_ph_data(pipe_handle); local
1206 usba_pipe_handle_data_t *ph_data = usba_hold_ph_data(pipe_handle); local
1249 usba_pipe_handle_data_t *ph_data = usba_hold_ph_data(pipe_handle); local
1325 usba_pipe_handle_data_t *ph_data = usba_get_ph_data((usb_pipe_handle_t) local
1372 usba_pipe_handle_data_t *ph_data = usba_get_ph_data(pipe_handle); local
1464 usba_pipe_handle_data_t *ph_data = usba_hold_ph_data(pipe_handle); local
1514 usba_pipe_handle_data_t *ph_data = usba_get_ph_data((usb_pipe_handle_t) local
[all...]
H A Dusbai_req.c89 usba_check_req(usba_pipe_handle_data_t *ph_data, usb_opaque_t req, argument
92 int rval = _usba_check_req(ph_data, req, flags, pipe_type);
96 "usba_check_req: ph_data=0x%p req=0x%p flags=0%x rval=%d",
97 (void *)ph_data, (void *)req, flags, rval);
105 _usba_check_req(usba_pipe_handle_data_t *ph_data, usb_opaque_t req, argument
118 uchar_t direction = ph_data->p_ep.bEndpointAddress &
120 uchar_t ep_attrs = ph_data->p_ep.bmAttributes &
125 "usba_check_req: ph_data=0x%p req=0x%p flags=0x%x",
126 (void *)ph_data, (void *)req, flags);
162 ASSERT(ph_data
413 usba_flags_attr_check(usba_pipe_handle_data_t *ph_data, usb_req_attrs_t attrs, usb_flags_t flags) argument
499 usba_start_next_req(usba_pipe_handle_data_t *ph_data) argument
683 usba_pipe_handle_data_t *ph_data; local
731 usba_pipe_handle_data_t *ph_data = req_wrp->wr_ph_data; local
834 usba_pipe_handle_data_t *ph_data = req_wrp->wr_ph_data; local
1004 usba_pipe_sync_wait(usba_pipe_handle_data_t *ph_data, usba_req_wrapper_t *wrp) argument
1120 usba_pipe_handle_data_t *ph_data = usba_hold_ph_data(pipe_handle); local
1300 usba_pipe_handle_data_t *ph_data; local
1520 usba_pipe_handle_data_t *ph_data = usba_hold_ph_data(pipe_handle); local
1811 usba_pipe_handle_data_t *ph_data = usba_hold_ph_data(pipe_handle); local
1945 usba_pipe_handle_data_t *ph_data; local
2064 usba_pipe_handle_data_t *ph_data = usba_hold_ph_data(pipe_handle); local
2367 usba_pipe_handle_data_t *ph_data = usba_hold_ph_data(pipe_handle); local
2471 usba_pipe_handle_data_t *ph_data = usba_get_ph_data( local
2565 usba_pipe_handle_data_t *ph_data = usba_hold_ph_data(pipe_handle); local
[all...]
H A Dhcdi.c470 usba_hcdi_cb(usba_pipe_handle_data_t *ph_data, argument
475 usba_device_t *usba_device = ph_data->p_usba_device;
479 usb_ep_descr_t *eptd = &ph_data->p_ep;
481 mutex_enter(&ph_data->p_mutex);
484 mutex_enter(&ph_data->p_ph_impl->usba_ph_mutex);
488 "ph_data=0x%p req=0x%p state=%d ref=%d cnt=%d cr=%d",
489 (void *)ph_data, (void *)req, ph_data->p_ph_impl->usba_ph_state,
490 ph_data->p_ph_impl->usba_ph_ref_count, ph_data
593 usba_pipe_handle_data_t *ph_data = local
643 hcdi_do_cb(usba_pipe_handle_data_t *ph_data, usba_req_wrapper_t *req_wrp, usba_hcdi_t *hcdi) argument
758 usba_pipe_handle_data_t *ph_data = req_wrp->wr_ph_data; local
800 usba_pipe_handle_data_t *ph_data = req_wrp->wr_ph_data; local
[all...]
H A Dusbai_util.c928 usba_pipe_handle_data_t *ph_data = usba_get_ph_data( local
939 usba_release_ph_data(ph_data->p_ph_impl);
958 usba_release_ph_data(ph_data->p_ph_impl);
1292 usba_pipe_handle_data_t *ph_data = usba_hold_ph_data(pipe_handle); local
1295 "usb_pipe_get_state: ph_data=0x%p uf=0x%x", (void *)ph_data,
1299 if (ph_data) {
1300 usba_release_ph_data(ph_data->p_ph_impl);
1306 if (ph_data == NULL) {
1312 mutex_enter(&ph_data
1338 usba_pipe_handle_data_t *ph_data = usba_hold_ph_data(pipe_handle); local
1363 usba_pipe_handle_data_t *ph_data = usba_hold_ph_data(pipe_handle); local
1601 usba_pipe_handle_data_t *ph_data; local
1724 usba_async_ph_req(usba_pipe_handle_data_t *ph_data, void (*func)(void *), void *arg, usb_flags_t flag) argument
[all...]
H A Dgenconsole.c50 usba_pipe_handle_data_t *ph_data; local
77 * Get ph_data from pipe handle and hold the data
79 if ((ph_data = usba_hold_ph_data(pipe_handle)) == NULL) {
90 ph_data, state_buf, usb_console_input);
H A Dusba.c672 usba_pipe_handle_data_t *ph_data = usba_get_ph_data(def_ph); local
674 if (ph_data) {
675 usb_pipe_close(ph_data->p_dip, def_ph,
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_prop_decode.c84 ph->ph_cur_pos = ph->ph_data;
85 ph->ph_save_pos = ph->ph_data;
385 if ((int *)ph->ph_cur_pos > ((int *)ph->ph_data +
389 ((int *)ph->ph_cur_pos > ((int *)ph->ph_data +
420 ((int *)ph->ph_cur_pos > ((int *)ph->ph_data +
447 (caddr_t)ph->ph_data + ph->ph_size) {
450 (caddr_t)ph->ph_data + ph->ph_size) {
498 ((int64_t *)ph->ph_cur_pos > ((int64_t *)ph->ph_data +
523 ((int64_t *)ph->ph_cur_pos > ((int64_t *)ph->ph_data +
551 (caddr_t)ph->ph_data
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dddipropdefs.h77 void *ph_data; /* Encoded data */ member in struct:ddi_prop_handle
/illumos-gate/usr/src/uts/common/os/
H A Dsunddi.c1804 ph->ph_data = NULL;
1809 ph->ph_data = kmem_zalloc(size, KM_NOSLEEP);
1810 if (ph->ph_data == NULL)
1813 ph->ph_data = kmem_zalloc(size, KM_SLEEP);
1815 ph->ph_cur_pos = ph->ph_data;
1816 ph->ph_save_pos = ph->ph_data;
1891 ph->ph_cur_pos = ph->ph_data;
1892 ph->ph_save_pos = ph->ph_data;
2745 if ((int *)ph->ph_cur_pos > ((int *)ph->ph_data +
2750 ((int *)ph->ph_cur_pos > ((int *)ph->ph_data
[all...]

Completed in 115 milliseconds