H A D | hubdi.c | 30 * Most of the code for hubd resides in this file and 31 * is shared between the HCD root hub support and hubd 41 #include <sys/usb/hubd/hub.h> 42 #include <sys/usb/hubd/hubdvar.h> 43 #include <sys/usb/hubd/hubd_impl.h> 501 static int hubd_cleanup(dev_info_t *dip, hubd_t *hubd); 502 static int hubd_check_ports(hubd_t *hubd); 504 static int hubd_open_intr_pipe(hubd_t *hubd); 505 static void hubd_start_polling(hubd_t *hubd, int always); 506 static void hubd_stop_polling(hubd_t *hubd); 626 hubd_pm_busy_component(hubd_t *hubd, dev_info_t *dip, int component) argument 645 hubd_pm_idle_component(hubd_t *hubd, dev_info_t *dip, int component) argument 666 hubd_set_child_pwrlvl(hubd_t *hubd, usb_port_t port, uint8_t power) argument 708 hubd_child_dip2port(hubd_t *hubd, dev_info_t *dip) argument 731 hubd_can_suspend(hubd_t *hubd) argument 770 hubd_resume_port(hubd_t *hubd, usb_port_t port) argument 921 hubd_suspend_port(hubd_t *hubd, usb_port_t port) argument 1029 hubd_post_attach(hubd_t *hubd, usb_port_t port, struct attachspec *as) argument 1056 hubd_post_detach(hubd_t *hubd, usb_port_t port, struct detachspec *ds) argument 1097 hubd_post_power(hubd_t *hubd, usb_port_t port, pm_bp_child_pwrchg_t *bpc, int result) argument 1152 hubd_t *hubd; local 1296 hubd_config_one(hubd_t *hubd, int port) argument 1371 hubd_t *hubd = hubd_get_soft_state(dip); local 1418 hubd_t *hubd = hubd_get_soft_state(dip); local 1489 hubd_t *hubd; local 1623 hubd_pwrlvl0(hubd_t *hubd) argument 1676 hubd_pwrlvl1(hubd_t *hubd) argument 1687 hubd_pwrlvl2(hubd_t *hubd) argument 1697 hubd_pwrlvl3(hubd_t *hubd) argument 1752 hubd_t *hubd; local 1819 hubd_t *hubd = NULL; local 2114 hubd_t *hubd = hubd_get_soft_state(dip); local 2140 hubd_setdevaddr(hubd_t *hubd, usb_port_t port) argument 2234 hubd_setdevconfig(hubd_t *hubd, usb_port_t port) argument 2293 hubd_t *hubd; local 2499 hubd_restore_device_state(dev_info_t *dip, hubd_t *hubd) argument 2730 hubd_cleanup(dev_info_t *dip, hubd_t *hubd) argument 2946 hubd_determine_port_connection(hubd_t *hubd) argument 2994 hubd_check_ports(hubd_t *hubd) argument 3113 hubd_get_hub_descriptor(hubd_t *hubd) argument 3230 hubd_get_hub_status_words(hubd_t *hubd, uint16_t *status) argument 3281 hubd_open_intr_pipe(hubd_t *hubd) argument 3320 hubd_start_polling(hubd_t *hubd, int always) argument 3378 hubd_stop_polling(hubd_t *hubd) argument 3411 hubd_close_intr_pipe(hubd_t *hubd) argument 3446 hubd_t *hubd = (hubd_t *)(reqp->intr_client_private); local 3521 hubd_t *hubd = (hubd_t *)(reqp->intr_client_private); local 3648 hubd_t *hubd = hd_arg->hubd; local 4084 hubd_handle_port_connect(hubd_t *hubd, usb_port_t port) argument 4398 hubd_get_hub_status(hubd_t *hubd) argument 4609 hubd_reset_port(hubd_t *hubd, usb_port_t port) argument 4784 hubd_enable_port(hubd_t *hubd, usb_port_t port) argument 4831 hubd_disable_port(hubd_t *hubd, usb_port_t port) argument 4894 hubd_determine_port_status(hubd_t *hubd, usb_port_t port, uint16_t *status, uint16_t *change, uint_t ack_flag) argument 5175 hubd_recover_disabled_port(hubd_t *hubd, usb_port_t port) argument 5212 hubd_enable_all_port_power(hubd_t *hubd) argument 5314 hubd_enable_port_power(hubd_t *hubd, usb_port_t port) argument 5355 hubd_disable_all_port_power(hubd_t *hubd) argument 5380 hubd_disable_port_power(hubd_t *hubd, usb_port_t port) argument 5424 hubd_select_device_configuration(hubd_t *hubd, usb_port_t port, dev_info_t *child_dip, usba_device_t *child_ud) argument 5500 hubd_get_this_config_cloud(hubd_t *hubd, dev_info_t *dip, usba_device_t *child_ud, uint16_t conf_index) argument 5687 hubd_get_all_device_config_cloud(hubd_t *hubd, dev_info_t *dip, usba_device_t *child_ud) argument 5739 hubd_ready_device(hubd_t *hubd, dev_info_t *child_dip, usba_device_t *child_ud, uint_t config_index) argument 5822 hubd_create_child(dev_info_t *dip, hubd_t *hubd, usba_device_t *hubd_ud, usb_port_status_t port_status, usb_port_t port, int iteration) argument 6438 hubd_delete_child(hubd_t *hubd, usb_port_t port, uint_t flag, boolean_t retry) argument 6507 hubd_free_usba_device(hubd_t *hubd, usba_device_t *usba_device) argument 6544 hubd_t *hubd = (hubd_t *)hubd_get_soft_state(dip); local 6569 hubd_t *hubd = (hubd_t *)hubd_get_soft_state(dip); local 6610 hubd_t *hubd = (hubd_t *)hubd_get_soft_state(dip); local 6637 hubd_do_callback(hubd_t *hubd, dev_info_t *cdip, ddi_eventcookie_t cookie) argument 6651 hubd_run_callbacks(hubd_t *hubd, usba_event_t type) argument 6680 hubd_post_event(hubd_t *hubd, usb_port_t port, usba_event_t type) argument 6831 hubd_t *hubd = (hubd_t *)hubd_get_soft_state(dip); local 6911 hubd_t *hubd = (hubd_t *)hubd_get_soft_state(dip); local 6941 hubd_t *hubd = (hubd_t *)hubd_get_soft_state(dip); local 6971 hubd_cpr_suspend(hubd_t *hubd) argument 7103 hubd_t *hubd = (hubd_t *)hubd_get_soft_state(dip); local 7119 hubd_register_events(hubd_t *hubd) argument 7146 hubd_t *hubd = cpr_cb->statep; local 7204 hubd_register_cpr_callback(hubd_t *hubd) argument 7224 hubd_unregister_cpr_callback(hubd_t *hubd) argument 7245 hubd_create_pm_components(dev_info_t *dip, hubd_t *hubd) argument 7310 hubd_t *hubd; local 7344 hubd_t *hubd; local 7378 hubd_t *hubd; local 8027 hubd_get_ancestry_str(hubd_t *hubd) argument 8079 hubd_get_port_num(hubd_t *hubd, struct devctl_iocdata *dcp) argument 8101 hubd_get_child_dip(hubd_t *hubd, usb_port_t port) argument 8127 hubd_cfgadm_state(hubd_t *hubd, usb_port_t port) argument 8176 hubd_toggle_port(hubd_t *hubd, usb_port_t port) argument 8270 hubd_init_power_budget(hubd_t *hubd) argument 8410 hubd_t *hubd; local 8485 hubd_t *hubd = hubd_get_soft_state(dip); local 8546 hubd_t *hubd = hubd_get_soft_state(dip); local 8606 hubd_wait_for_hotplug_exit(hubd_t *hubd) argument 8640 hubd_t *hubd = hd_arg->hubd; local 8838 hubd_check_same_device(hubd_t *hubd, usb_port_t port) argument 8874 hubd_t *hubd; local [all...] |