H A D | ohci.c | 617 ohci_state_t *ohcip = NULL; ohci_attach() local 792 ohci_state_t *ohcip = ohci_obtain_state(dip); ohci_detach() local 822 ohci_state_t *ohcip; ohci_info() local 862 ohci_state_t *ohcip = ddi_get_soft_state(ohci_statep, instance); ohci_get_dip() local 925 ohci_set_dma_attributes(ohci_state_t * ohcip) ohci_set_dma_attributes() argument 964 ohci_allocate_pools(ohci_state_t * ohcip) ohci_allocate_pools() argument 1124 ohci_decode_ddi_dma_addr_bind_handle_result(ohci_state_t * ohcip,int result) ohci_decode_ddi_dma_addr_bind_handle_result() argument 1166 ohci_map_regs(ohci_state_t * ohcip) ohci_map_regs() argument 1254 ohci_register_intrs_and_init_mutex(ohci_state_t * ohcip) ohci_register_intrs_and_init_mutex() argument 1352 ohci_add_intrs(ohci_state_t * ohcip,int intr_type) ohci_add_intrs() argument 1512 ohci_init_ctlr(ohci_state_t * ohcip) ohci_init_ctlr() argument 1719 ohci_init_hcca(ohci_state_t * ohcip) ohci_init_hcca() argument 1856 ohci_build_interrupt_lattice(ohci_state_t * ohcip) ohci_build_interrupt_lattice() argument 1921 ohci_take_control(ohci_state_t * ohcip) ohci_take_control() argument 2013 ohci_alloc_hcdi_ops(ohci_state_t * ohcip) ohci_alloc_hcdi_ops() argument 2083 ohci_cleanup(ohci_state_t * ohcip) ohci_cleanup() argument 2303 ohci_rem_intrs(ohci_state_t * ohcip) ohci_rem_intrs() argument 2335 ohci_cpr_suspend(ohci_state_t * ohcip) ohci_cpr_suspend() argument 2416 ohci_cpr_resume(ohci_state_t * ohcip) ohci_cpr_resume() argument 2469 ohci_state_t *ohcip = ohci_obtain_state( ohci_hcdi_pipe_open() local 2681 ohci_state_t *ohcip = ohci_obtain_state( ohci_hcdi_pipe_close() local 2763 ohci_state_t *ohcip = ohci_obtain_state( ohci_hcdi_pipe_reset() local 2799 ohci_state_t *ohcip = ohci_obtain_state( ohci_hcdi_pipe_reset_data_toggle() local 2828 ohci_state_t *ohcip = ohci_obtain_state( ohci_hcdi_pipe_ctrl_xfer() local 2902 ohci_state_t *ohcip = ohci_obtain_state( ohci_hcdi_bulk_transfer_size() local 2933 ohci_state_t *ohcip = ohci_obtain_state( ohci_hcdi_pipe_bulk_xfer() local 2991 ohci_state_t *ohcip = ohci_obtain_state( ohci_hcdi_pipe_intr_xfer() local 3041 ohci_state_t *ohcip = ohci_obtain_state( ohci_hcdi_pipe_stop_intr_polling() local 3070 ohci_state_t *ohcip = ohci_obtain_state( ohci_hcdi_get_current_frame_number() local 3108 ohci_state_t *ohcip = ohci_obtain_state( ohci_hcdi_get_max_isoc_pkts() local 3141 ohci_state_t *ohcip = ohci_obtain_state( ohci_hcdi_pipe_isoc_xfer() local 3196 ohci_state_t *ohcip = ohci_obtain_state( ohci_hcdi_pipe_stop_isoc_polling() local 3255 ohci_allocate_bandwidth(ohci_state_t * ohcip,usba_pipe_handle_data_t * ph,uint_t * node) ohci_allocate_bandwidth() argument 3414 ohci_deallocate_bandwidth(ohci_state_t * ohcip,usba_pipe_handle_data_t * ph) ohci_deallocate_bandwidth() argument 3552 ohci_adjust_polling_interval(ohci_state_t * ohcip,usb_ep_descr_t * endpoint,usb_port_status_t port_status) ohci_adjust_polling_interval() argument 3768 ohci_alloc_hc_ed(ohci_state_t * ohcip,usba_pipe_handle_data_t * ph) ohci_alloc_hc_ed() argument 3847 ohci_unpack_endpoint(ohci_state_t * ohcip,usba_pipe_handle_data_t * ph) ohci_unpack_endpoint() argument 3907 ohci_insert_ed(ohci_state_t * ohcip,usba_pipe_handle_data_t * ph) ohci_insert_ed() argument 3942 ohci_insert_ctrl_ed(ohci_state_t * ohcip,ohci_pipe_private_t * pp) ohci_insert_ctrl_ed() argument 3989 ohci_insert_bulk_ed(ohci_state_t * ohcip,ohci_pipe_private_t * pp) ohci_insert_bulk_ed() argument 4037 ohci_insert_intr_ed(ohci_state_t * ohcip,ohci_pipe_private_t * pp) ohci_insert_intr_ed() argument 4134 ohci_insert_isoc_ed(ohci_state_t * ohcip,ohci_pipe_private_t * pp) ohci_insert_isoc_ed() argument 4200 ohci_modify_sKip_bit(ohci_state_t * ohcip,ohci_pipe_private_t * pp,skip_bit_t action,usb_flags_t flag) ohci_modify_sKip_bit() argument 4266 ohci_remove_ed(ohci_state_t * ohcip,ohci_pipe_private_t * pp) ohci_remove_ed() argument 4301 ohci_remove_ctrl_ed(ohci_state_t * ohcip,ohci_pipe_private_t * pp) ohci_remove_ctrl_ed() argument 4351 ohci_remove_bulk_ed(ohci_state_t * ohcip,ohci_pipe_private_t * pp) ohci_remove_bulk_ed() argument 4402 ohci_remove_periodic_ed(ohci_state_t * ohcip,ohci_pipe_private_t * pp) ohci_remove_periodic_ed() argument 4463 ohci_detach_ed_from_list(ohci_state_t * ohcip,ohci_ed_t * ept,uint_t ept_type) ohci_detach_ed_from_list() argument 4588 ohci_insert_ed_on_reclaim_list(ohci_state_t * ohcip,ohci_pipe_private_t * pp) ohci_insert_ed_on_reclaim_list() argument 4639 ohci_deallocate_ed(ohci_state_t * ohcip,ohci_ed_t * old_ed) ohci_deallocate_ed() argument 4674 ohci_ed_cpu_to_iommu(ohci_state_t * ohcip,ohci_ed_t * addr) ohci_ed_cpu_to_iommu() argument 4698 ohci_ed_iommu_to_cpu(ohci_state_t * ohcip,uintptr_t addr) ohci_ed_iommu_to_cpu() argument 4733 ohci_initialize_dummy(ohci_state_t * ohcip,ohci_ed_t * ept) ohci_initialize_dummy() argument 4765 ohci_allocate_ctrl_resources(ohci_state_t * ohcip,ohci_pipe_private_t * pp,usb_ctrl_req_t * ctrl_reqp,usb_flags_t usb_flags) ohci_allocate_ctrl_resources() argument 4807 ohci_insert_ctrl_req(ohci_state_t * ohcip,usba_pipe_handle_data_t * ph,usb_ctrl_req_t * ctrl_reqp,ohci_trans_wrapper_t * tw,usb_flags_t usb_flags) ohci_insert_ctrl_req() argument 4949 ohci_allocate_bulk_resources(ohci_state_t * ohcip,ohci_pipe_private_t * pp,usb_bulk_req_t * bulk_reqp,usb_flags_t usb_flags) ohci_allocate_bulk_resources() argument 4990 ohci_insert_bulk_req(ohci_state_t * ohcip,usba_pipe_handle_data_t * ph,usb_bulk_req_t * bulk_reqp,ohci_trans_wrapper_t * tw,usb_flags_t flags) ohci_insert_bulk_req() argument 5094 ohci_start_periodic_pipe_polling(ohci_state_t * ohcip,usba_pipe_handle_data_t * ph,usb_opaque_t periodic_in_reqp,usb_flags_t flags) ohci_start_periodic_pipe_polling() argument 5184 ohci_start_pipe_polling(ohci_state_t * ohcip,usba_pipe_handle_data_t * ph,usb_flags_t flags) ohci_start_pipe_polling() argument 5315 ohci_set_periodic_pipe_polling(ohci_state_t * ohcip,usba_pipe_handle_data_t * ph) ohci_set_periodic_pipe_polling() argument 5387 ohci_allocate_intr_resources(ohci_state_t * ohcip,usba_pipe_handle_data_t * ph,usb_intr_req_t * intr_reqp,usb_flags_t flags) ohci_allocate_intr_resources() argument 5476 ohci_insert_intr_req(ohci_state_t * ohcip,ohci_pipe_private_t * pp,ohci_trans_wrapper_t * tw,usb_flags_t flags) ohci_insert_intr_req() argument 5511 ohci_stop_periodic_pipe_polling(ohci_state_t * ohcip,usba_pipe_handle_data_t * ph,usb_flags_t flags) ohci_stop_periodic_pipe_polling() argument 5561 ohci_allocate_isoc_resources(ohci_state_t * ohcip,usba_pipe_handle_data_t * ph,usb_isoc_req_t * isoc_reqp,usb_flags_t flags) ohci_allocate_isoc_resources() argument 5737 ohci_insert_isoc_req(ohci_state_t * ohcip,ohci_pipe_private_t * pp,ohci_trans_wrapper_t * tw,uint_t flags) ohci_insert_isoc_req() argument 5869 ohci_insert_hc_td(ohci_state_t * ohcip,uint_t hctd_ctrl,uint32_t hctd_dma_offs,size_t hctd_length,uint32_t hctd_ctrl_phase,ohci_pipe_private_t * pp,ohci_trans_wrapper_t * tw) ohci_insert_hc_td() argument 5957 ohci_allocate_td_from_pool(ohci_state_t * ohcip) ohci_allocate_td_from_pool() argument 6011 ohci_fill_in_td(ohci_state_t * ohcip,ohci_td_t * td,ohci_td_t * new_dummy,uint_t hctd_ctrl,uint32_t hctd_dma_offs,size_t hctd_length,uint32_t hctd_ctrl_phase,ohci_pipe_private_t * pp,ohci_trans_wrapper_t * tw) ohci_fill_in_td() argument 6074 ohci_init_td(ohci_state_t * ohcip,ohci_trans_wrapper_t * tw,uint32_t hctd_dma_offs,size_t hctd_length,ohci_td_t * td) ohci_init_td() argument 6159 ohci_init_itd(ohci_state_t * ohcip,ohci_trans_wrapper_t * tw,uint_t hctd_ctrl,uint32_t index,ohci_td_t * td) ohci_init_itd() argument 6255 ohci_insert_td_with_frame_number(ohci_state_t * ohcip,ohci_pipe_private_t * pp,ohci_trans_wrapper_t * tw,ohci_td_t * current_td,ohci_td_t * dummy_td) ohci_insert_td_with_frame_number() argument 6398 ohci_insert_td_on_tw(ohci_state_t * ohcip,ohci_trans_wrapper_t * tw,ohci_td_t * td) ohci_insert_td_on_tw() argument 6440 ohci_traverse_tds(ohci_state_t * ohcip,usba_pipe_handle_data_t * ph) ohci_traverse_tds() argument 6532 ohci_done_list_tds(ohci_state_t * ohcip,usba_pipe_handle_data_t * ph) ohci_done_list_tds() argument 6582 ohci_unlink_td_from_tw(ohci_state_t * ohcip,ohci_td_t * old_td,ohci_trans_wrapper_t * tw) ohci_unlink_td_from_tw() argument 6644 ohci_deallocate_td(ohci_state_t * ohcip,ohci_td_t * old_td) ohci_deallocate_td() argument 6696 ohci_td_cpu_to_iommu(ohci_state_t * ohcip,ohci_td_t * addr) ohci_td_cpu_to_iommu() argument 6728 ohci_td_iommu_to_cpu(ohci_state_t * ohcip,uintptr_t addr) ohci_td_iommu_to_cpu() argument 6760 ohci_allocate_tds_for_tw(ohci_state_t * ohcip,ohci_trans_wrapper_t * tw,size_t td_count) ohci_allocate_tds_for_tw() argument 6801 ohci_allocate_tw_resources(ohci_state_t * ohcip,ohci_pipe_private_t * pp,size_t tw_length,usb_flags_t usb_flags,size_t td_count) ohci_allocate_tw_resources() argument 6835 ohci_free_tw_tds_resources(ohci_state_t * ohcip,ohci_trans_wrapper_t * tw) ohci_free_tw_tds_resources() argument 6863 ohci_create_transfer_wrapper(ohci_state_t * ohcip,ohci_pipe_private_t * pp,size_t length,uint_t usb_flags) ohci_create_transfer_wrapper() argument 7014 ohci_create_isoc_transfer_wrapper(ohci_state_t * ohcip,ohci_pipe_private_t * pp,size_t length,usb_isoc_pkt_descr_t * descr,ushort_t pkt_count,size_t td_count,uint_t usb_flags) ohci_create_isoc_transfer_wrapper() argument 7246 ohci_start_xfer_timer(ohci_state_t * ohcip,ohci_pipe_private_t * pp,ohci_trans_wrapper_t * tw) ohci_start_xfer_timer() argument 7291 ohci_stop_xfer_timer(ohci_state_t * ohcip,ohci_trans_wrapper_t * tw,uint_t flag) ohci_stop_xfer_timer() argument 7348 ohci_state_t *ohcip = (ohci_state_t *)arg; ohci_xfer_timeout_handler() local 7464 ohci_remove_tw_from_timeout_list(ohci_state_t * ohcip,ohci_trans_wrapper_t * tw) ohci_remove_tw_from_timeout_list() argument 7501 ohci_start_timer(ohci_state_t * ohcip) ohci_start_timer() argument 7529 ohci_deallocate_tw_resources(ohci_state_t * ohcip,ohci_pipe_private_t * pp,ohci_trans_wrapper_t * tw) ohci_deallocate_tw_resources() argument 7596 ohci_free_dma_resources(ohci_state_t * ohcip,usba_pipe_handle_data_t * ph) ohci_free_dma_resources() argument 7633 ohci_free_tw(ohci_state_t * ohcip,ohci_trans_wrapper_t * tw) ohci_free_tw() argument 7685 ohci_state_t *ohcip = (ohci_state_t *)arg1; ohci_intr() local 7952 ohci_check_done_head(ohci_state_t * ohcip,ohci_td_t * done_head) ohci_check_done_head() argument 7975 ohci_handle_missed_intr(ohci_state_t * ohcip) ohci_handle_missed_intr() argument 8103 ohci_handle_ue(ohci_state_t * ohcip) ohci_handle_ue() argument 8181 ohci_handle_frame_number_overflow(ohci_state_t * ohcip) ohci_handle_frame_number_overflow() argument 8203 ohci_handle_endpoint_reclaimation(ohci_state_t * ohcip) ohci_handle_endpoint_reclaimation() argument 8264 ohci_traverse_done_list(ohci_state_t * ohcip,ohci_td_t * head_done_list) ohci_traverse_done_list() argument 8377 ohci_reverse_done_list(ohci_state_t * ohcip,ohci_td_t * head_done_list) ohci_reverse_done_list() argument 8435 ohci_parse_error(ohci_state_t * ohcip,ohci_td_t * td) ohci_parse_error() argument 8508 ohci_parse_isoc_error(ohci_state_t * ohcip,ohci_pipe_private_t * pp,ohci_trans_wrapper_t * tw,ohci_td_t * td) ohci_parse_isoc_error() argument 8584 ohci_check_for_error(ohci_state_t * ohcip,ohci_pipe_private_t * pp,ohci_trans_wrapper_t * tw,ohci_td_t * td,uint_t ctrl) ohci_check_for_error() argument 8721 ohci_handle_error(ohci_state_t * ohcip,ohci_td_t * td,usb_cr_t error) ohci_handle_error() argument 8855 ohci_cleanup_data_underrun(ohci_state_t * ohcip,ohci_pipe_private_t * pp,ohci_trans_wrapper_t * tw,ohci_td_t * td) ohci_cleanup_data_underrun() argument 8953 ohci_handle_normal_td(ohci_state_t * ohcip,ohci_td_t * td,ohci_trans_wrapper_t * tw) ohci_handle_normal_td() argument 8984 ohci_handle_ctrl_td(ohci_state_t * ohcip,ohci_pipe_private_t * pp,ohci_trans_wrapper_t * tw,ohci_td_t * td,void * tw_handle_callback_value) ohci_handle_ctrl_td() argument 9070 ohci_handle_bulk_td(ohci_state_t * ohcip,ohci_pipe_private_t * pp,ohci_trans_wrapper_t * tw,ohci_td_t * td,void * tw_handle_callback_value) ohci_handle_bulk_td() argument 9131 ohci_handle_intr_td(ohci_state_t * ohcip,ohci_pipe_private_t * pp,ohci_trans_wrapper_t * tw,ohci_td_t * td,void * tw_handle_callback_value) ohci_handle_intr_td() argument 9239 ohci_handle_one_xfer_completion(ohci_state_t * ohcip,ohci_trans_wrapper_t * tw) ohci_handle_one_xfer_completion() argument 9286 ohci_handle_isoc_td(ohci_state_t * ohcip,ohci_pipe_private_t * pp,ohci_trans_wrapper_t * tw,ohci_td_t * td,void * tw_handle_callback_value) ohci_handle_isoc_td() argument 9404 ohci_tw_rebind_cookie(ohci_state_t * ohcip,ohci_pipe_private_t * pp,ohci_trans_wrapper_t * tw) ohci_tw_rebind_cookie() argument 9495 ohci_sendup_td_message(ohci_state_t * ohcip,ohci_pipe_private_t * pp,ohci_trans_wrapper_t * tw,ohci_td_t * td,usb_cr_t error) ohci_sendup_td_message() argument 9654 ohci_get_td_residue(ohci_state_t * ohcip,ohci_td_t * td) ohci_get_td_residue() argument 9703 ohci_state_is_operational(ohci_state_t * ohcip) ohci_state_is_operational() argument 9735 ohci_do_soft_reset(ohci_state_t * ohcip) ohci_do_soft_reset() argument 9967 ohci_get_current_frame_number(ohci_state_t * ohcip) ohci_get_current_frame_number() argument 10014 ohci_cpr_cleanup(ohci_state_t * ohcip) ohci_cpr_cleanup() argument 10036 ohci_get_xfer_attrs(ohci_state_t * ohcip,ohci_pipe_private_t * pp,ohci_trans_wrapper_t * tw) ohci_get_xfer_attrs() argument 10079 ohci_allocate_periodic_in_resource(ohci_state_t * ohcip,ohci_pipe_private_t * pp,ohci_trans_wrapper_t * tw,usb_flags_t flags) ohci_allocate_periodic_in_resource() argument 10188 ohci_wait_for_sof(ohci_state_t * ohcip) ohci_wait_for_sof() argument 10279 ohci_pipe_cleanup(ohci_state_t * ohcip,usba_pipe_handle_data_t * ph) ohci_pipe_cleanup() argument 10410 ohci_wait_for_transfers_completion(ohci_state_t * ohcip,ohci_pipe_private_t * pp) ohci_wait_for_transfers_completion() argument 10511 ohci_check_for_transfers_completion(ohci_state_t * ohcip,ohci_pipe_private_t * pp) ohci_check_for_transfers_completion() argument 10560 ohci_save_data_toggle(ohci_state_t * ohcip,usba_pipe_handle_data_t * ph) ohci_save_data_toggle() argument 10647 ohci_restore_data_toggle(ohci_state_t * ohcip,usba_pipe_handle_data_t * ph) ohci_restore_data_toggle() argument 10702 ohci_handle_outstanding_requests(ohci_state_t * ohcip,ohci_pipe_private_t * pp) ohci_handle_outstanding_requests() argument 10755 ohci_deallocate_periodic_in_resource(ohci_state_t * ohcip,ohci_pipe_private_t * pp,ohci_trans_wrapper_t * tw) ohci_deallocate_periodic_in_resource() argument 10809 ohci_do_client_periodic_in_req_callback(ohci_state_t * ohcip,ohci_pipe_private_t * pp,usb_cr_t completion_reason) ohci_do_client_periodic_in_req_callback() argument 10843 ohci_state_t *ohcip = ohci_obtain_state( ohci_hcdi_callback() local 10916 ohci_create_stats(ohci_state_t * ohcip) ohci_create_stats() argument 10997 ohci_destroy_stats(ohci_state_t * ohcip) ohci_destroy_stats() argument 11027 ohci_do_intrs_stats(ohci_state_t * ohcip,int val) ohci_do_intrs_stats() argument 11081 ohci_do_byte_stats(ohci_state_t * ohcip,size_t len,uint8_t attr,uint8_t addr) ohci_do_byte_stats() argument 11141 ohci_print_op_regs(ohci_state_t * ohcip) ohci_print_op_regs() argument 11197 ohci_print_ed(ohci_state_t * ohcip,ohci_ed_t * ed) ohci_print_ed() argument 11237 ohci_print_td(ohci_state_t * ohcip,ohci_td_t * td) ohci_print_td() argument 11301 ohci_state_t *ohcip = ohci_obtain_state(dip); ohci_quiesce() local [all...] |