/illumos-gate/usr/src/uts/common/sys/1394/ |
H A D | s1394.h | 218 typedef struct s1394_hal_s s1394_hal_t; typedef 443 s1394_hal_t *on_hal; 508 s1394_hal_t *hal_next; 509 s1394_hal_t *hal_prev; 849 s1394_hal_t *sent_on_hal; 902 s1394_hal_t *hal_head; 903 s1394_hal_t *hal_tail; 1035 void s1394_br_thread(s1394_hal_t *hal); 1056 int s1394_lock_tree(s1394_hal_t *hal); 1058 void s1394_unlock_tree(s1394_hal_t *hal); [all …]
|
/illumos-gate/usr/src/uts/common/io/1394/ |
H A D | s1394_bus_reset.c | 177 s1394_sort_selfids(s1394_hal_t *hal) in s1394_sort_selfids() 384 s1394_topology_tree_build(s1394_hal_t *hal) in s1394_topology_tree_build() 523 s1394_hal_stack_pop(s1394_hal_t *hal) in s1394_hal_stack_pop() 561 s1394_hal_queue_remove(s1394_hal_t *hal) in s1394_hal_queue_remove() 654 s1394_copy_old_tree(s1394_hal_t *hal) in s1394_copy_old_tree() 686 s1394_match_tree_nodes(s1394_hal_t *hal) in s1394_match_tree_nodes() 924 s1394_speed_map_fill(s1394_hal_t *hal) in s1394_speed_map_fill() 1055 s1394_speed_map_initialize(s1394_hal_t *hal) in s1394_speed_map_initialize() 1151 s1394_get_isoch_rsrc_mgr(s1394_hal_t *hal) in s1394_get_isoch_rsrc_mgr() 1221 s1394_hal_t *hal; in s1394_physical_arreq_set_one() [all …]
|
H A D | s1394_misc.c | 143 kmem_free(hal, sizeof (s1394_hal_t)); in s1394_cleanup_for_detach() 225 s1394_on_br_thread(s1394_hal_t *hal) in s1394_on_br_thread() 582 s1394_kstat_init(s1394_hal_t *hal) in s1394_kstat_init() 611 s1394_kstat_delete(s1394_hal_t *hal) in s1394_kstat_delete() 627 s1394_hal_t *hal; in s1394_kstat_update() 664 s1394_print_node_info(s1394_hal_t *hal) in s1394_print_node_info() 739 s1394_hal_t * 742 s1394_hal_t *current_hal = NULL; in s1394_dip_to_hal() 806 s1394_destroy_timers(s1394_hal_t *hal) in s1394_destroy_timers() 845 s1394_hal_t *hal; in s1394_cycle_too_long_callback() [all …]
|
H A D | s1394_fa.c | 51 s1394_fa_claim_addr(s1394_hal_t *hal, s1394_fa_type_t type, in s1394_fa_claim_addr() 86 s1394_fa_free_addr(s1394_hal_t *hal, s1394_fa_type_t type) in s1394_fa_free_addr() 103 s1394_fa_list_add(s1394_hal_t *hal, s1394_target_t *target, in s1394_fa_list_add() 124 s1394_fa_list_remove(s1394_hal_t *hal, s1394_target_t *target, in s1394_fa_list_remove() 151 s1394_fa_list_is_empty(s1394_hal_t *hal, s1394_fa_type_t type) in s1394_fa_list_is_empty() 164 s1394_fa_list_gen(s1394_hal_t *hal, s1394_fa_type_t type) in s1394_fa_list_gen() 187 s1394_fa_convert_cmd(s1394_hal_t *hal, cmd1394_cmd_t *cmd) in s1394_fa_convert_cmd() 203 s1394_fa_restore_cmd(s1394_hal_t *hal, cmd1394_cmd_t *cmd) in s1394_fa_restore_cmd() 219 s1394_fa_check_restore_cmd(s1394_hal_t *hal, cmd1394_cmd_t *cmd) in s1394_fa_check_restore_cmd() 235 s1394_hal_t *hal = cmd->cmd_callback_arg; in s1394_fa_completion_cb()
|
H A D | s1394_cmp.c | 42 static void s1394_cmp_init(s1394_hal_t *hal); 43 static void s1394_cmp_fini(s1394_hal_t *hal); 86 s1394_hal_t *hal = target->on_hal; in s1394_cmp_register() 126 s1394_hal_t *hal = target->on_hal; in s1394_cmp_unregister() 147 s1394_hal_t *hal = target->on_hal; in s1394_cmp_read() 170 s1394_hal_t *hal = target->on_hal; in s1394_cmp_cas() 201 s1394_cmp_init(s1394_hal_t *hal) in s1394_cmp_init() 213 s1394_cmp_fini(s1394_hal_t *hal) in s1394_cmp_fini() 227 s1394_hal_t *hal = req->cmd_callback_arg; in s1394_cmp_ompr_recv_read_request() 245 s1394_hal_t *hal = req->cmd_callback_arg; in s1394_cmp_impr_recv_read_request() [all …]
|
H A D | s1394_dev_disc.c | 177 s1394_br_thread(s1394_hal_t *hal) in s1394_br_thread() 366 s1394_flush_cmplq(s1394_hal_t *hal) in s1394_flush_cmplq() 402 s1394_br_thread_exit(s1394_hal_t *hal) in s1394_br_thread_exit() 1460 s1394_hal_t *hal; in s1394_cfgrom_read_callback() 1812 s1394_hal_t *hal; in s1394_become_bus_mgr() 1825 hal = (s1394_hal_t *)arg; in s1394_become_bus_mgr() 1949 s1394_hal_t *hal; in s1394_become_bus_mgr_callback() 2241 s1394_hal_t *hal; in s1394_get_maxpayload() 2476 s1394_hal_t *hal; in s1394_phy_config_callback() 2505 s1394_lock_tree(s1394_hal_t *hal) in s1394_lock_tree() [all …]
|
H A D | s1394_csr.c | 445 s1394_hal_t *hal; in s1394_CSR_state_clear() 549 s1394_hal_t *hal; in s1394_CSR_state_set() 641 s1394_hal_t *hal; in s1394_CSR_node_ids() 656 s1394_hal_t *hal; in s1394_CSR_reset_start() 702 s1394_hal_t *hal; in s1394_CSR_split_timeout() 717 s1394_hal_t *hal; in s1394_CSR_argument_regs() 732 s1394_hal_t *hal; in s1394_CSR_test_regs() 758 s1394_hal_t *hal; in s1394_CSR_interrupt_regs() 773 s1394_hal_t *hal; in s1394_CSR_clock_regs() 788 s1394_hal_t *hal; in s1394_CSR_message_regs() [all …]
|
H A D | h1394.c | 117 s1394_hal_t *hal; in h1394_attach() 317 s1394_hal_t *hal; in h1394_detach() 365 s1394_hal_t *hal; in h1394_alloc_cmd() 399 s1394_hal_t *hal; in h1394_free_cmd() 446 s1394_hal_t *hal; in h1394_cmd_is_complete() 490 s1394_hal_t *hal; in h1394_bus_reset() 562 s1394_hal_t *hal; in h1394_self_ids() 748 s1394_hal_t *hal; in h1394_read_request() 930 s1394_hal_t *hal; in h1394_write_request() 1131 s1394_hal_t *hal; in h1394_lock_request() [all …]
|
H A D | s1394_fcp.c | 51 static void s1394_fcp_recv_write_unclaimed(s1394_hal_t *hal, 79 s1394_fcp_hal_init(s1394_hal_t *hal) in s1394_fcp_hal_init() 131 s1394_hal_t *hal = target->on_hal; in s1394_fcp_register_common() 157 s1394_hal_t *hal = target->on_hal; in s1394_fcp_unregister_common() 233 s1394_hal_t *hal = (s1394_hal_t *)req->cmd_callback_arg; in s1394_fcp_recv_write_request() 304 s1394_fcp_recv_write_unclaimed(s1394_hal_t *hal, cmd1394_cmd_t *req) in s1394_fcp_recv_write_unclaimed()
|
H A D | nx1394.c | 267 s1394_hal_t *hal; in nx1394_dma_allochdl() 299 s1394_hal_t *hal; in nx1394_get_event_cookie() 325 s1394_hal_t *hal; in nx1394_add_eventcall() 353 s1394_hal_t *hal; in nx1394_remove_eventcall() 393 s1394_hal_t *hal; in nx1394_post_event() 426 nx1394_define_events(s1394_hal_t *hal) in nx1394_define_events() 451 nx1394_undefine_events(s1394_hal_t *hal) in nx1394_undefine_events()
|
H A D | s1394_addr.c | 44 static s1394_addr_space_blk_t *s1394_free_list_search(s1394_hal_t *hal, 47 static s1394_addr_space_blk_t *s1394_free_list_find(s1394_hal_t *hal, 387 s1394_free_addr_blk(s1394_hal_t *hal, s1394_addr_space_blk_t *blk) in s1394_free_addr_blk() 582 s1394_init_addr_space(s1394_hal_t *hal) in s1394_init_addr_space() 715 s1394_destroy_addr_space(s1394_hal_t *hal) in s1394_destroy_addr_space() 871 s1394_free_list_search(s1394_hal_t *hal, uint64_t addr) in s1394_free_list_search() 1074 s1394_used_tree_search(s1394_hal_t *hal, uint64_t addr) in s1394_used_tree_search() 1423 s1394_is_posted_write(s1394_hal_t *hal, uint64_t addr) in s1394_is_posted_write() 1440 s1394_is_physical_addr(s1394_hal_t *hal, uint64_t addr) in s1394_is_physical_addr() 1457 s1394_is_csr_addr(s1394_hal_t *hal, uint64_t addr) in s1394_is_csr_addr() [all …]
|
H A D | s1394_hotplug.c | 49 static void s1394_send_remove_event(s1394_hal_t *hal, dev_info_t *dip, 51 static void s1394_send_insert_event(s1394_hal_t *hal, dev_info_t *dip, 64 s1394_send_remove_event(s1394_hal_t *hal, dev_info_t *dip, in s1394_send_remove_event() 87 s1394_send_insert_event(s1394_hal_t *hal, dev_info_t *dip, in s1394_send_insert_event() 419 s1394_update_devinfo_tree(s1394_hal_t *hal, s1394_node_t *node) in s1394_update_devinfo_tree() 578 s1394_offline_node(s1394_hal_t *hal, s1394_node_t *node) in s1394_offline_node() 677 s1394_process_topology_tree(s1394_hal_t *hal, int *wait_for_cbs, in s1394_process_topology_tree() 783 s1394_process_old_tree(s1394_hal_t *hal) in s1394_process_old_tree() 851 s1394_update_unit_dir_location(s1394_hal_t *hal, dev_info_t *tdip, in s1394_update_unit_dir_location() 871 s1394_hal_t *hal; in s1394_add_target_to_node() [all …]
|
H A D | t1394.c | 73 s1394_hal_t *hal; in t1394_attach() 269 s1394_hal_t *hal; in t1394_alloc_cmd() 338 s1394_hal_t *hal; in t1394_free_cmd() 827 s1394_hal_t *hal; in t1394_alloc_addr() 964 s1394_hal_t *hal; in t1394_free_addr() 1021 s1394_hal_t *hal; in t1394_recv_request_done() 2663 s1394_hal_t *hal; in t1394_alloc_isoch_dma() 2718 s1394_hal_t *hal; in t1394_free_isoch_dma() 2757 s1394_hal_t *hal; in t1394_start_isoch_dma() 2791 s1394_hal_t *hal; in t1394_stop_isoch_dma() [all …]
|
H A D | s1394_isoch.c | 50 s1394_isoch_rsrc_realloc(s1394_hal_t *hal) in s1394_isoch_rsrc_realloc() 190 s1394_isoch_rsrc_realloc_notify(s1394_hal_t *hal) in s1394_isoch_rsrc_realloc_notify() 291 s1394_channel_alloc(s1394_hal_t *hal, uint32_t channel_mask, uint_t generation, in s1394_channel_alloc() 446 s1394_channel_free(s1394_hal_t *hal, uint32_t channel_mask, uint_t generation, in s1394_channel_free() 591 s1394_bandwidth_alloc(s1394_hal_t *hal, uint32_t bw_alloc_units, in s1394_bandwidth_alloc() 724 s1394_compute_bw_alloc_units(s1394_hal_t *hal, uint_t bandwidth, uint_t speed) in s1394_compute_bw_alloc_units() 769 s1394_bandwidth_free(s1394_hal_t *hal, uint32_t bw_alloc_units, in s1394_bandwidth_free() 896 s1394_isoch_cec_list_insert(s1394_hal_t *hal, s1394_isoch_cec_t *cec) in s1394_isoch_cec_list_insert() 927 s1394_isoch_cec_list_remove(s1394_hal_t *hal, s1394_isoch_cec_t *cec) in s1394_isoch_cec_list_remove() 963 s1394_isoch_cec_member_list_insert(s1394_hal_t *hal, s1394_isoch_cec_t *cec, in s1394_isoch_cec_member_list_insert() [all …]
|
H A D | s1394_asynch.c | 47 static cmd1394_cmd_t *s1394_pending_q_remove(s1394_hal_t *hal); 49 static boolean_t s1394_process_pending_q(s1394_hal_t *hal); 123 s1394_free_cmd(s1394_hal_t *hal, cmd1394_cmd_t **cmdp) in s1394_free_cmd() 344 s_priv->sent_on_hal = (s1394_hal_t *)hal; in s1394_setup_asynch_command() 508 s1394_insert_q_asynch_cmd(s1394_hal_t *hal, cmd1394_cmd_t *cmd) in s1394_insert_q_asynch_cmd() 971 s1394_send_response(s1394_hal_t *hal, cmd1394_cmd_t *resp) in s1394_send_response() 1264 s1394_hal_t *to_hal; in s1394_handle_lock() 1420 s1394_pending_q_remove(s1394_hal_t *hal) in s1394_pending_q_remove() 1464 s1394_resend_pending_cmds(s1394_hal_t *hal) in s1394_resend_pending_cmds() 1487 s1394_process_pending_q(s1394_hal_t *hal) in s1394_process_pending_q() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/s1394/ |
H A D | s1394.c | 32 static int print_node_info(s1394_hal_t *hal); 42 s1394_hal_t hal; in speedmap() 46 if (mdb_vread(&hal, sizeof (s1394_hal_t), addr) == -1) { in speedmap() 86 s1394_hal_t hal; in speedmap_walk_step() 92 if (mdb_vread(&hal, sizeof (s1394_hal_t), addr) == -1) { in speedmap_walk_step() 134 print_node_info(s1394_hal_t *hal) in print_node_info()
|