Home
last modified time | relevance | path

Searched refs:p_usba_device (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/
H A Duhcitgt.c78 usb_addr = ph->p_usba_device->usb_addr; in uhci_hcdi_pipe_open()
281 ph->p_usba_device, ph->p_ep.bEndpointAddress); in uhci_hcdi_pipe_open()
311 usb_addr = ph->p_usba_device->usb_addr; in uhci_hcdi_pipe_close()
454 ph->p_usba_device->usb_root_hub_dip); in uhci_hcdi_pipe_reset()
488 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in uhci_hcdi_pipe_reset()
589 ph->p_usba_device->usb_root_hub_dip); in uhci_hcdi_pipe_reset_data_toggle()
617 ph->p_usba_device->usb_root_hub_dip); in uhci_hcdi_pipe_ctrl_xfer()
639 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in uhci_hcdi_pipe_ctrl_xfer()
745 ph->p_usba_device->usb_root_hub_dip); in uhci_hcdi_pipe_intr_xfer()
979 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in uhci_start_periodic_pipe_polling()
[all …]
H A Duhcipolled.c80 uhcip = uhci_obtain_state(ph->p_usba_device->usb_root_hub_dip); in uhci_hcdi_polled_input_init()
295 uhcip = uhci_obtain_state(ph->p_usba_device->usb_root_hub_dip); in uhci_hcdi_polled_output_init()
429 SetTD_devaddr(uhcip, td, ph->p_usba_device->usb_addr); in uhci_hcdi_polled_write()
817 mutex_enter(&ph->p_usba_device->usb_mutex); in uhci_polled_insert_td_on_qh()
818 if (ph->p_usba_device->usb_port_status == USBA_LOW_SPEED_DEV) { in uhci_polled_insert_td_on_qh()
826 SetTD_devaddr(uhcip, td, ph->p_usba_device->usb_addr); in uhci_polled_insert_td_on_qh()
832 mutex_exit(&ph->p_usba_device->usb_mutex); in uhci_polled_insert_td_on_qh()
H A Duhciutil.c1010 pipe_handle->p_usba_device->usb_port_status); in uhci_allocate_bandwidth()
1011 mutex_exit(&pipe_handle->p_usba_device->usb_mutex); in uhci_allocate_bandwidth()
1042 pipe_handle->p_usba_device->usb_port_status); in uhci_allocate_bandwidth()
1043 mutex_exit(&pipe_handle->p_usba_device->usb_mutex); in uhci_allocate_bandwidth()
1173 pipe_handle->p_usba_device->usb_port_status); in uhci_deallocate_bandwidth()
1174 mutex_exit(&pipe_handle->p_usba_device->usb_mutex); in uhci_deallocate_bandwidth()
1192 pipe_handle->p_usba_device->usb_port_status); in uhci_deallocate_bandwidth()
1976 mutex_enter(&ph->p_usba_device->usb_mutex); in uhci_fill_in_td()
2001 mutex_exit(&ph->p_usba_device->usb_mutex); in uhci_fill_in_td()
2993 mutex_enter(&ph->p_usba_device->usb_mutex); in uhci_fill_in_bulk_isoc_td()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/
H A Dehci.c797 ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_pipe_open()
809 ph->p_usba_device->usb_addr, in ehci_hcdi_pipe_open()
1022 ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_pipe_close()
1029 ph->p_usba_device->usb_addr, in ehci_hcdi_pipe_close()
1105 ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_pipe_reset()
1141 ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_pipe_reset_data_toggle()
1170 ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_pipe_ctrl_xfer()
1281 ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_pipe_bulk_xfer()
1339 ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_pipe_intr_xfer()
1389 ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_pipe_stop_intr_polling()
[all …]
H A Dehci_hub.c314 ph->p_usba_device->usb_root_hub_dip); in ehci_handle_root_hub_pipe_open()
377 ph->p_usba_device->usb_root_hub_dip); in ehci_handle_root_hub_pipe_close()
446 ph->p_usba_device->usb_root_hub_dip); in ehci_handle_root_hub_pipe_reset()
1447 ph->p_usba_device->usb_root_hub_dip); in ehci_handle_root_hub_pipe_start_intr_polling()
1530 ph->p_usba_device->usb_root_hub_dip); in ehci_handle_root_hub_pipe_stop_intr_polling()
2057 ph->p_usba_device->usb_root_hub_dip); in ehci_root_hub_hcdi_callback()
H A Dehci_xfer.c410 usba_device_t *usba_device = ph->p_usba_device; in ehci_unpack_endpoint()
958 usba_device = ph->p_usba_device; in ehci_clear_tt_buffer()
1808 if ((ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) && in ehci_start_periodic_pipe_polling()
2042 mutex_enter(&ph->p_usba_device->usb_mutex); in ehci_set_periodic_pipe_polling()
2050 ph->p_usba_device->usb_port_status); in ehci_set_periodic_pipe_polling()
2052 mutex_exit(&ph->p_usba_device->usb_mutex); in ehci_set_periodic_pipe_polling()
2213 if ((ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) && in ehci_stop_periodic_pipe_polling()
3231 ph->p_usba_device->usb_root_hub_dip); in ehci_xfer_timeout_handler()
3910 usba_hcdi_set_data_toggle(ph->p_usba_device, ph->p_ep.bEndpointAddress, in ehci_save_data_toggle()
3945 data_toggle = usba_hcdi_get_data_toggle(ph->p_usba_device, in ehci_restore_data_toggle()
[all …]
H A Dehci_util.c2164 if (ph->p_usba_device->usb_port_status != USBA_HIGH_SPEED_DEV) { in ehci_allocate_bandwidth()
2205 child_ud = ph->p_usba_device; in ehci_allocate_high_speed_bandwidth()
2210 port_status = ph->p_usba_device->usb_port_status; in ehci_allocate_high_speed_bandwidth()
2312 child_ud = ph->p_usba_device; in ehci_allocate_classic_tt_bandwidth()
2445 if (ph->p_usba_device->usb_port_status != USBA_HIGH_SPEED_DEV) { in ehci_deallocate_bandwidth()
2478 child_ud = ph->p_usba_device; in ehci_deallocate_high_speed_bandwidth()
2483 port_status = ph->p_usba_device->usb_port_status; in ehci_deallocate_high_speed_bandwidth()
2556 child_ud = ph->p_usba_device; in ehci_deallocate_classic_tt_bandwidth()
H A Dehci_polled.c142 ehcip = ehci_obtain_state(ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_polled_input_init()
454 ehcip = ehci_obtain_state(ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_polled_output_init()
721 ehci_polledp->ehci_polled_usb_dev = ph->p_usba_device; in ehci_polled_init()
H A Dehci_isoch.c1405 ph->p_usba_device->usb_root_hub_dip); in ehci_hcdi_isoc_callback()
H A Dehci_isoch_util.c356 usba_device_t *usba_device = ph->p_usba_device; in ehci_allocate_itw()
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/
H A Dxhci_usba.c41 return (xhci_hcdi_get_xhcip_from_dev(ph->p_usba_device)); in xhci_hcdi_get_xhcip()
94 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in xhci_hcdi_pipe_open()
105 xd = usba_hcdi_get_device_private(ph->p_usba_device); in xhci_hcdi_pipe_open()
310 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in xhci_hcdi_pipe_poll_fini()
317 xd = usba_hcdi_get_device_private(ph->p_usba_device); in xhci_hcdi_pipe_poll_fini()
450 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) in xhci_hcdi_pipe_close()
453 xd = usba_hcdi_get_device_private(ph->p_usba_device); in xhci_hcdi_pipe_close()
562 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in xhci_hcdi_pipe_reset()
693 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in xhci_hcdi_pipe_ctrl_xfer()
859 if (ph->p_usba_device->usb_addr == ROOT_HUB_ADDR) { in xhci_hcdi_pipe_bulk_xfer()
[all …]
H A Dxhci_polled.c269 xhcip = xhci_hcdi_get_xhcip_from_dev(pipe_handle->p_usba_device); in xhci_hcdi_console_input_init()
/illumos-gate/usr/src/uts/common/sys/usb/usba/
H A Dusba_types.h89 struct usba_device *p_usba_device; /* set on pipe open */ member
158 (ph)->p_usba_device->usb_ph_list[USBA_DEFAULT_PIPE_EP].usba_ph_data)
165 _NOTE(DATA_READABLE_WITHOUT_LOCK(usba_pipe_handle_data::p_usba_device))
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai_req.c165 ASSERT(ph_data->p_usba_device); in _usba_check_req()
167 if (ph_data->p_usba_device->usb_ph_list[0].usba_ph_data == NULL) { in _usba_check_req()
173 if (usba_check_in_list(&(ph_data->p_usba_device->usb_allocated), in _usba_check_req()
565 rval = ph_data->p_usba_device->usb_hcdi_ops-> in usba_start_next_req()
574 rval = ph_data->p_usba_device->usb_hcdi_ops-> in usba_start_next_req()
1143 usba_device = ph_data->p_usba_device; in usb_pipe_ctrl_xfer()
1539 usba_device = ph_data->p_usba_device; in usb_pipe_bulk_xfer()
1830 usba_device = ph_data->p_usba_device; in usb_pipe_intr_xfer()
1965 usba_device = ph_data->p_usba_device; in usba_pipe_sync_stop_intr_polling()
2385 usba_device = ph_data->p_usba_device; in usb_pipe_isoc_xfer()
[all …]
H A Dhcdi.c489 usba_device_t *usba_device = ph_data->p_usba_device; in usba_hcdi_cb()
611 p_usba_device->usb_root_hub_dip); in hcdi_cb_thread()
775 p_usba_device->usb_root_hub_dip); in hcdi_shared_cb_thread()
856 req_wrp->wr_ph_data->p_usba_device; in hcdi_autoclearing()
H A Dusbai_pipe_mgmt.c533 ph_data->p_usba_device = usba_device; in usba_init_pipe_handle()
632 usba_device = ph_data->p_usba_device; in usba_destroy_pipe_handle()
1179 usba_device = ph_data->p_usba_device; in usba_pipe_sync_close()
1419 usba_device = ph_data->p_usba_device; in usba_pipe_sync_reset()
1476 usba_device = ph_data->p_usba_device; in usba_pipe_clear()
/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/
H A Dohci.c2454 ph->p_usba_device->usb_root_hub_dip); in ohci_hcdi_pipe_open()
2464 ph->p_usba_device->usb_addr, in ohci_hcdi_pipe_open()
2666 ph->p_usba_device->usb_root_hub_dip); in ohci_hcdi_pipe_close()
2673 ph->p_usba_device->usb_addr, in ohci_hcdi_pipe_close()
2748 ph->p_usba_device->usb_root_hub_dip); in ohci_hcdi_pipe_reset()
2784 ph->p_usba_device->usb_root_hub_dip); in ohci_hcdi_pipe_reset_data_toggle()
2813 ph->p_usba_device->usb_root_hub_dip); in ohci_hcdi_pipe_ctrl_xfer()
2918 ph->p_usba_device->usb_root_hub_dip); in ohci_hcdi_pipe_bulk_xfer()
2976 ph->p_usba_device->usb_root_hub_dip); in ohci_hcdi_pipe_intr_xfer()
3840 ctrl = ph->p_usba_device->usb_addr; in ohci_unpack_endpoint()
[all …]
H A Dohci_hub.c330 ph->p_usba_device->usb_root_hub_dip); in ohci_handle_root_hub_pipe_open()
393 ph->p_usba_device->usb_root_hub_dip); in ohci_handle_root_hub_pipe_close()
462 ph->p_usba_device->usb_root_hub_dip); in ohci_handle_root_hub_pipe_reset()
1295 ph->p_usba_device->usb_root_hub_dip); in ohci_handle_root_hub_pipe_start_intr_polling()
1376 ph->p_usba_device->usb_root_hub_dip); in ohci_handle_root_hub_pipe_stop_intr_polling()
1749 ph->p_usba_device->usb_root_hub_dip); in ohci_root_hub_hcdi_callback()
H A Dohci_polled.c133 ohcip = ohci_obtain_state(ph->p_usba_device->usb_root_hub_dip); in ohci_hcdi_polled_input_init()
363 ohcip = ohci_obtain_state(ph->p_usba_device->usb_root_hub_dip); in ohci_hcdi_polled_output_init()
628 ohci_polledp->ohci_polled_usb_dev = ph->p_usba_device; in ohci_polled_init()