Searched refs:hal (Results 1 - 25 of 73) sorted by relevance

123

/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-system-lcd-get-brightness.sh3 # hal-system-lcd-get-brightness.sh
8 . ./hal-functions
9 hal_check_priv hal-power-brightness
H A Dhal-system-lcd-set-brightness.sh3 # hal-system-lcd-set-brightness.sh
8 . ./hal-functions
9 hal_check_priv hal-power-brightness
H A Dhal-system-power-hibernate.sh3 # hal-system-power-hibernate.sh
8 . ./hal-functions
9 hal_check_priv hal-power-hibernate
H A Dhal-system-power-reboot.sh3 # hal-system-power-reboot.sh
8 . ./hal-functions
9 hal_check_priv hal-power-reboot
H A Dhal-system-power-shutdown.sh3 # hal-system-power-shutdown.sh
8 . ./hal-functions
9 hal_check_priv hal-power-shutdown
H A Dhal-system-power-suspend.sh3 # hal-system-power-suspend.sh
8 . ./hal-functions
9 hal_check_priv hal-power-suspend
H A DMakefile28 HAL_PROG = hal-device hal-find-by-capability hal-find-by-property \
29 hal-get-property hal-set-property lshal
31 HAL_LIB = hal-is-caller-privileged
33 SCRIPT_BIN = hal-fdi-validate
35 SCRIPT_LIB = hal-system-lcd-set-brightness hal-system-lcd-get-brightness \
36 hal
[all...]
/illumos-gate/usr/src/lib/hal/libhal/common/
H A Dllib-lhal30 #include <hal/libhal.h>
/illumos-gate/usr/src/lib/hal/libhal-storage/common/
H A Dllib-lhal-storage30 #include <hal/libhal-storage.h>
/illumos-gate/usr/src/uts/common/io/1394/
H A Ds1394_bus_reset.c54 static void s1394_hal_stack_push(s1394_hal_t *hal, void *o);
56 static void *s1394_hal_stack_pop(s1394_hal_t *hal);
58 static void s1394_hal_queue_insert(s1394_hal_t *hal, void *o);
60 static void *s1394_hal_queue_remove(s1394_hal_t *hal);
62 static void s1394_node_number_list_add(s1394_hal_t *hal, int node_num);
64 static void s1394_speed_map_fill_speed_N(s1394_hal_t *hal, int min_spd);
66 static void s1394_speed_map_initialize(s1394_hal_t *hal);
87 s1394_parse_selfid_buffer(s1394_hal_t *hal, void *selfid_buf_addr, argument
100 ASSERT(MUTEX_HELD(&hal->topology_tree_mutex));
110 s1394_initiate_hal_reset(hal, CRITICA
200 s1394_sort_selfids(s1394_hal_t *hal) argument
370 s1394_init_topology_tree(s1394_hal_t *hal, boolean_t copied, ushort_t number_of_nodes) argument
434 s1394_topology_tree_build(s1394_hal_t *hal) argument
599 s1394_hal_stack_push(s1394_hal_t *hal, void *obj) argument
627 s1394_hal_stack_pop(s1394_hal_t *hal) argument
655 s1394_hal_queue_insert(s1394_hal_t *hal, void *obj) argument
687 s1394_hal_queue_remove(s1394_hal_t *hal) argument
721 s1394_node_number_list_add(s1394_hal_t *hal, int node_num) argument
748 s1394_topology_tree_mark_all_unvisited(s1394_hal_t *hal) argument
772 s1394_old_tree_mark_all_unvisited(s1394_hal_t *hal) argument
796 s1394_old_tree_mark_all_unmatched(s1394_hal_t *hal) argument
820 s1394_copy_old_tree(s1394_hal_t *hal) argument
858 s1394_match_tree_nodes(s1394_hal_t *hal) argument
953 s1394_topology_tree_calculate_diameter(s1394_hal_t *hal) argument
1061 s1394_get_current_gap_count(s1394_hal_t *hal) argument
1118 s1394_speed_map_fill(s1394_hal_t *hal) argument
1172 s1394_speed_map_fill_speed_N(s1394_hal_t *hal, int min_spd) argument
1261 s1394_speed_map_initialize(s1394_hal_t *hal) argument
1290 s1394_speed_map_get(s1394_hal_t *hal, uint_t from_node, uint_t to_node) argument
1309 s1394_update_speed_map_link_speeds(s1394_hal_t *hal) argument
1369 s1394_get_isoch_rsrc_mgr(s1394_hal_t *hal) argument
1403 s1394_physical_arreq_setup_all(s1394_hal_t *hal) argument
1453 s1394_hal_t *hal; local
1505 s1394_hal_t *hal; local
1555 s1394_topology_tree_get_root_node(s1394_hal_t *hal) argument
[all...]
H A Ds1394_misc.c52 extern void nx1394_undefine_events(s1394_hal_t *hal);
53 static void s1394_cleanup_node_cfgrom(s1394_hal_t *hal);
62 s1394_cleanup_for_detach(s1394_hal_t *hal, uint_t cleanup_level) argument
72 if ((s1394_statep->hal_head == hal) &&
73 (s1394_statep->hal_tail == hal)) {
77 if (hal->hal_prev)
78 hal->hal_prev->hal_next = hal->hal_next;
79 if (hal->hal_next)
80 hal
174 s1394_hal_shutdown(s1394_hal_t *hal, boolean_t disable_hal) argument
223 s1394_initiate_hal_reset(s1394_hal_t *hal, int reason) argument
257 s1394_on_br_thread(s1394_hal_t *hal) argument
270 s1394_destroy_br_thread(s1394_hal_t *hal) argument
305 s1394_tickle_bus_reset_thread(s1394_hal_t *hal) argument
363 s1394_HAL_asynch_error(s1394_hal_t *hal, cmd1394_cmd_t *cmd, s1394_hal_state_t state) argument
578 s1394_ioctl(s1394_hal_t *hal, int cmd, intptr_t arg, int mode, cred_t *cred_p, int *rval_p) argument
661 s1394_kstat_init(s1394_hal_t *hal) argument
696 s1394_kstat_delete(s1394_hal_t *hal) argument
715 s1394_hal_t *hal; local
739 s1394_addr_alloc_kstat(s1394_hal_t *hal, uint64_t addr) argument
757 s1394_print_node_info(s1394_hal_t *hal) argument
868 s1394_target_from_dip_locked(s1394_hal_t *hal, dev_info_t *tdip) argument
893 s1394_target_from_dip(s1394_hal_t *hal, dev_info_t *tdip) argument
912 s1394_destroy_timers(s1394_hal_t *hal) argument
933 s1394_cleanup_node_cfgrom(s1394_hal_t *hal) argument
951 s1394_hal_t *hal; local
[all...]
H A Dh1394.c58 extern int nx1394_define_events(s1394_hal_t *hal);
59 extern void nx1394_undefine_events(s1394_hal_t *hal);
128 s1394_hal_t *hal; local
139 hal = (s1394_hal_t *)(*sl_private);
141 if (hal->halinfo.phy == H1394_PHY_1394A)
142 (void) HAL_CALL(hal).set_contender_bit(
143 hal->halinfo.hal_private);
157 hal = kmem_zalloc(sizeof (s1394_hal_t), KM_SLEEP);
160 hal->hal_state = S1394_HAL_INIT;
163 hal
357 s1394_hal_t *hal; local
412 s1394_hal_t *hal; local
455 s1394_hal_t *hal; local
511 s1394_hal_t *hal; local
564 s1394_hal_t *hal; local
645 s1394_hal_t *hal; local
880 s1394_hal_t *hal; local
1098 s1394_hal_t *hal; local
1331 s1394_hal_t *hal; local
1738 s1394_hal_t *hal; local
[all...]
H A Ds1394_dev_disc.c100 static void s1394_wait_for_events(s1394_hal_t *hal, int firsttime);
102 static int s1394_wait_for_cfgrom_callbacks(s1394_hal_t *hal, uint_t wait_gen,
103 hcmd_ret_t(*handle_cmd_fn)(s1394_hal_t *hal, cmd1394_cmd_t *cmd));
105 static void s1394_flush_cmplq(s1394_hal_t *hal);
107 static void s1394_br_thread_exit(s1394_hal_t *hal);
109 static void s1394_target_bus_reset_notifies(s1394_hal_t *hal,
112 static int s1394_alloc_cfgrom(s1394_hal_t *hal, s1394_node_t *node,
115 static int s1394_cfgrom_scan_phase1(s1394_hal_t *hal);
117 static hcmd_ret_t s1394_br_thread_handle_cmd_phase1(s1394_hal_t *hal,
120 static int s1394_cfgrom_scan_phase2(s1394_hal_t *hal);
176 s1394_br_thread(s1394_hal_t *hal) argument
269 s1394_wait_for_events(s1394_hal_t *hal, int firsttime) argument
338 s1394_wait_for_cfgrom_callbacks(s1394_hal_t *hal, uint_t wait_gen, hcmd_ret_t(*handle_cmd_fn)(s1394_hal_t *hal, cmd1394_cmd_t *cmd)) argument
434 s1394_flush_cmplq(s1394_hal_t *hal) argument
480 s1394_br_thread_exit(s1394_hal_t *hal) argument
501 s1394_target_bus_reset_notifies(s1394_hal_t *hal, t1394_localinfo_t *localinfo) argument
530 s1394_alloc_cfgrom(s1394_hal_t *hal, s1394_node_t *node, s1394_status_t *status) argument
582 s1394_free_cfgrom(s1394_hal_t *hal, s1394_node_t *node, s1394_free_cfgrom_t options) argument
710 s1394_read_bus_info_blk(s1394_hal_t *hal, s1394_node_t *node, s1394_status_t *status) argument
831 s1394_read_rest_of_cfgrom(s1394_hal_t *hal, s1394_node_t *node, s1394_status_t *status) argument
919 s1394_cfgrom_scan_phase1(s1394_hal_t *hal) argument
1077 s1394_br_thread_handle_cmd_phase1(s1394_hal_t *hal, cmd1394_cmd_t *cmd) argument
1385 s1394_cfgrom_scan_phase2(s1394_hal_t *hal) argument
1532 s1394_br_thread_handle_cmd_phase2(s1394_hal_t *hal, cmd1394_cmd_t *cmd) argument
1751 s1394_read_config_quadlet(s1394_hal_t *hal, cmd1394_cmd_t *cmd, s1394_status_t *status) argument
1836 s1394_hal_t *hal; local
1940 s1394_match_GUID(s1394_hal_t *hal, s1394_node_t *nnode) argument
2101 s1394_match_all_GUIDs(s1394_hal_t *hal) argument
2152 s1394_valid_cfgrom(s1394_hal_t *hal, s1394_node_t *node) argument
2231 s1394_valid_dir(s1394_hal_t *hal, s1394_node_t *node, uint32_t key, uint32_t *dir) argument
2311 s1394_hal_t *hal; local
2471 s1394_hal_t *hal; local
2543 s1394_bus_mgr_processing(s1394_hal_t *hal) argument
2591 s1394_do_bus_mgr_processing(s1394_hal_t *hal) argument
2690 s1394_bus_mgr_timers_stop(s1394_hal_t *hal, timeout_id_t *bus_mgr_query_tid, timeout_id_t *bus_mgr_tid) argument
2715 s1394_bus_mgr_timers_start(s1394_hal_t *hal, timeout_id_t *bus_mgr_query_tid, timeout_id_t *bus_mgr_tid) argument
2806 s1394_hal_t *hal; local
2884 s1394_cycle_master_capable(s1394_hal_t *hal) argument
2952 s1394_do_phy_config_pkt(s1394_hal_t *hal, int new_root, int new_gap_cnt, uint32_t IRM_flags) argument
3084 s1394_hal_t *hal; local
3123 s1394_lock_tree(s1394_hal_t *hal) argument
3174 s1394_unlock_tree(s1394_hal_t *hal) argument
3201 s1394_calc_next_quad(s1394_hal_t *hal, s1394_node_t *node, uint32_t quadlet, uint32_t *nextquadp) argument
[all...]
H A Ds1394_cmp.c46 static void s1394_cmp_init(s1394_hal_t *hal);
47 static void s1394_cmp_fini(s1394_hal_t *hal);
52 static void s1394_cmp_notify_reg_change(s1394_hal_t *hal, t1394_cmp_reg_t reg,
90 s1394_hal_t *hal = target->on_hal; local
95 rw_enter(&hal->target_list_rwlock, RW_WRITER);
99 if (s1394_fa_list_is_empty(hal, S1394_FA_TYPE_CMP)) {
100 if (s1394_fa_claim_addr(hal, S1394_FA_TYPE_CMP_OMPR,
102 rw_exit(&hal->target_list_rwlock);
106 if (s1394_fa_claim_addr(hal, S1394_FA_TYPE_CMP_IMPR,
108 s1394_fa_free_addr(hal, S1394_FA_TYPE_CMP_OMP
133 s1394_hal_t *hal = target->on_hal; local
162 s1394_hal_t *hal = target->on_hal; local
188 s1394_hal_t *hal = target->on_hal; local
222 s1394_cmp_init(s1394_hal_t *hal) argument
234 s1394_cmp_fini(s1394_hal_t *hal) argument
248 s1394_hal_t *hal = req->cmd_callback_arg; local
272 s1394_hal_t *hal = req->cmd_callback_arg; local
296 s1394_hal_t *hal = req->cmd_callback_arg; local
334 s1394_hal_t *hal = req->cmd_callback_arg; local
373 s1394_cmp_notify_reg_change(s1394_hal_t *hal, t1394_cmp_reg_t reg, s1394_target_t *self) argument
[all...]
H A Ds1394_csr.c81 static void s1394_common_CSR_routine(s1394_hal_t *hal, cmd1394_cmd_t *req);
83 static int s1394_init_config_rom_structures(s1394_hal_t *hal);
85 static int s1394_destroy_config_rom_structures(s1394_hal_t *hal);
92 s1394_setup_CSR_space(s1394_hal_t *hal) argument
125 addr.aa_arg = hal;
126 result = s1394_claim_addr_blk(hal, &addr);
149 addr.aa_arg = hal;
150 result = s1394_claim_addr_blk(hal, &addr);
173 addr.aa_arg = hal;
174 result = s1394_claim_addr_blk(hal,
544 s1394_hal_t *hal; local
655 s1394_hal_t *hal; local
754 s1394_hal_t *hal; local
773 s1394_hal_t *hal; local
826 s1394_hal_t *hal; local
847 s1394_hal_t *hal; local
868 s1394_hal_t *hal; local
900 s1394_hal_t *hal; local
921 s1394_hal_t *hal; local
942 s1394_hal_t *hal; local
962 s1394_hal_t *hal; local
1044 s1394_hal_t *hal; local
1140 s1394_hal_t *hal; local
1162 s1394_hal_t *hal; local
1256 s1394_hal_t *hal; local
1283 s1394_CSR_topology_map_update(s1394_hal_t *hal) argument
1339 s1394_CSR_topology_map_disable(s1394_hal_t *hal) argument
1364 s1394_common_CSR_routine(s1394_hal_t *hal, cmd1394_cmd_t *req) argument
1433 s1394_init_local_config_rom(s1394_hal_t *hal) argument
1704 s1394_destroy_local_config_rom(s1394_hal_t *hal) argument
1736 s1394_init_config_rom_structures(s1394_hal_t *hal) argument
1780 s1394_destroy_config_rom_structures(s1394_hal_t *hal) argument
1814 s1394_add_config_rom_entry(s1394_hal_t *hal, uint8_t key, uint32_t *buffer, uint_t size, void **handle, int *status) argument
1960 s1394_remove_config_rom_entry(s1394_hal_t *hal, void **handle, int *status) argument
2126 s1394_hal_t *hal; local
[all...]
H A Ds1394_fcp.c54 static void s1394_fcp_recv_write_unclaimed(s1394_hal_t *hal,
82 s1394_fcp_hal_init(s1394_hal_t *hal) argument
88 if ((ddi_prop_exists(DDI_DEV_T_ANY, hal->halinfo.dip, DDI_PROP_DONTPASS,
91 ret = s1394_fa_claim_addr(hal, S1394_FA_TYPE_FCP_CTL,
94 ret = s1394_fa_claim_addr(hal, S1394_FA_TYPE_FCP_TGT,
97 s1394_fa_free_addr(hal, S1394_FA_TYPE_FCP_CTL);
137 s1394_hal_t *hal = target->on_hal; local
140 rw_enter(&hal->target_list_rwlock, RW_WRITER);
142 if (s1394_fa_list_is_empty(hal, type)) {
143 if (s1394_fa_claim_addr(hal, typ
163 s1394_hal_t *hal = target->on_hal; local
246 s1394_hal_t *hal = (s1394_hal_t *)req->cmd_callback_arg; local
329 s1394_fcp_recv_write_unclaimed(s1394_hal_t *hal, cmd1394_cmd_t *req) argument
[all...]
H A Ds1394_addr.c48 static s1394_addr_space_blk_t *s1394_free_list_search(s1394_hal_t *hal,
51 static s1394_addr_space_blk_t *s1394_free_list_find(s1394_hal_t *hal,
54 static s1394_addr_space_blk_t *s1394_free_list_delete(s1394_hal_t *hal,
57 static void s1394_used_tree_insert(s1394_hal_t *hal, s1394_addr_space_blk_t *x);
87 s1394_request_addr_blk(s1394_hal_t *hal, t1394_alloc_addr_t *addr_allocp) argument
96 ASSERT(hal != NULL);
99 mutex_enter(&hal->addr_space_free_mutex);
101 curr_blk = s1394_free_list_find(hal, addr_allocp->aa_type,
105 mutex_exit(&hal->addr_space_free_mutex);
119 curr_blk = s1394_free_list_delete(hal, curr_bl
192 s1394_claim_addr_blk(s1394_hal_t *hal, t1394_alloc_addr_t *addr_allocp) argument
445 s1394_free_addr_blk(s1394_hal_t *hal, s1394_addr_space_blk_t *blk) argument
488 s1394_reserve_addr_blk(s1394_hal_t *hal, t1394_alloc_addr_t *addr_allocp) argument
694 s1394_init_addr_space(s1394_hal_t *hal) argument
852 s1394_destroy_addr_space(s1394_hal_t *hal) argument
933 s1394_free_list_insert(s1394_hal_t *hal, s1394_addr_space_blk_t *new_blk) argument
1020 s1394_free_list_search(s1394_hal_t *hal, uint64_t addr) argument
1049 s1394_free_list_find(s1394_hal_t *hal, uint32_t type, uint32_t length) argument
1093 s1394_free_list_delete(s1394_hal_t *hal, s1394_addr_space_blk_t *del_blk) argument
1135 s1394_used_tree_insert(s1394_hal_t *hal, s1394_addr_space_blk_t *x) argument
1250 s1394_used_tree_search(s1394_hal_t *hal, uint64_t addr) argument
1300 s1394_used_tree_delete(s1394_hal_t *hal, s1394_addr_space_blk_t *z) argument
1644 s1394_is_posted_write(s1394_hal_t *hal, uint64_t addr) argument
1661 s1394_is_physical_addr(s1394_hal_t *hal, uint64_t addr) argument
1678 s1394_is_csr_addr(s1394_hal_t *hal, uint64_t addr) argument
1695 s1394_is_normal_addr(s1394_hal_t *hal, uint64_t addr) argument
[all...]
H A Ds1394_isoch.c54 s1394_isoch_rsrc_realloc(s1394_hal_t *hal) argument
73 generation = hal->generation_count;
76 mutex_enter(&hal->isoch_cec_list_mutex);
78 cec_curr = hal->isoch_cec_list_head;
89 bw_alloc_units = s1394_compute_bw_alloc_units(hal,
93 if (generation != hal->generation_count) {
107 mutex_exit(&hal->isoch_cec_list_mutex);
110 ret = s1394_bandwidth_alloc(hal, bw_alloc_units,
114 mutex_enter(&hal->isoch_cec_list_mutex);
144 mutex_exit(&hal
207 s1394_isoch_rsrc_realloc_notify(s1394_hal_t *hal) argument
313 s1394_channel_alloc(s1394_hal_t *hal, uint32_t channel_mask, uint_t generation, uint_t flags, uint32_t *old_channels, int *result) argument
519 s1394_channel_free(s1394_hal_t *hal, uint32_t channel_mask, uint_t generation, uint_t flags, uint32_t *old_channels, int *result) argument
703 s1394_bandwidth_alloc(s1394_hal_t *hal, uint32_t bw_alloc_units, uint_t generation, int *result) argument
880 s1394_compute_bw_alloc_units(s1394_hal_t *hal, uint_t bandwidth, uint_t speed) argument
925 s1394_bandwidth_free(s1394_hal_t *hal, uint32_t bw_alloc_units, uint_t generation, int *result) argument
1096 s1394_isoch_cec_list_insert(s1394_hal_t *hal, s1394_isoch_cec_t *cec) argument
1133 s1394_isoch_cec_list_remove(s1394_hal_t *hal, s1394_isoch_cec_t *cec) argument
1175 s1394_isoch_cec_member_list_insert(s1394_hal_t *hal, s1394_isoch_cec_t *cec, s1394_isoch_cec_member_t *member) argument
1222 s1394_isoch_cec_member_list_remove(s1394_hal_t *hal, s1394_isoch_cec_t *cec, s1394_isoch_cec_member_t *member) argument
[all...]
H A Ds1394_asynch.c51 static cmd1394_cmd_t *s1394_pending_q_remove(s1394_hal_t *hal);
53 static boolean_t s1394_process_pending_q(s1394_hal_t *hal);
55 static boolean_t s1394_pending_q_helper(s1394_hal_t *hal, cmd1394_cmd_t *cmd);
68 s1394_alloc_cmd(s1394_hal_t *hal, uint_t flags, cmd1394_cmd_t **cmdp) argument
100 *cmdp = kmem_cache_alloc(hal->hal_kmem_cachep, alloc_sleep);
107 sizeof (s1394_cmd_priv_t) + hal->halinfo.hal_overhead;
131 hal->hal_kstats->cmd_alloc++;
143 s1394_free_cmd(s1394_hal_t *hal, cmd1394_cmd_t **cmdp) argument
164 kmem_cache_free(hal->hal_kmem_cachep, *cmdp);
170 hal
184 s1394_xfer_asynch_command(s1394_hal_t *hal, cmd1394_cmd_t *cmd, int *err) argument
351 s1394_setup_asynch_command(s1394_hal_t *hal, s1394_target_t *target, cmd1394_cmd_t *cmd, uint32_t xfer_type, int *err) argument
577 s1394_insert_q_asynch_cmd(s1394_hal_t *hal, cmd1394_cmd_t *cmd) argument
624 s1394_remove_q_asynch_cmd(s1394_hal_t *hal, cmd1394_cmd_t *cmd) argument
680 s1394_atreq_cmd_complete(s1394_hal_t *hal, cmd1394_cmd_t *req, int status) argument
951 s1394_atresp_cmd_complete(s1394_hal_t *hal, cmd1394_cmd_t *resp, int status) argument
1106 s1394_send_response(s1394_hal_t *hal, cmd1394_cmd_t *resp) argument
1258 s1394_compare_swap(s1394_hal_t *hal, s1394_target_t *target, cmd1394_cmd_t *cmd) argument
1382 s1394_split_lock_req(s1394_hal_t *hal, s1394_target_t *target, cmd1394_cmd_t *cmd) argument
1584 s1394_pending_q_insert(s1394_hal_t *hal, cmd1394_cmd_t *cmd, uint_t flags) argument
1644 s1394_pending_q_remove(s1394_hal_t *hal) argument
1695 s1394_resend_pending_cmds(s1394_hal_t *hal) argument
1724 s1394_process_pending_q(s1394_hal_t *hal) argument
1930 s1394_pending_q_helper(s1394_hal_t *hal, cmd1394_cmd_t *cmd) argument
[all...]
H A Ds1394_hotplug.c54 static void s1394_send_remove_event(s1394_hal_t *hal, dev_info_t *dip,
56 static void s1394_send_insert_event(s1394_hal_t *hal, dev_info_t *dip,
58 static dev_info_t *s1394_create_devinfo(s1394_hal_t *hal, s1394_node_t *node,
60 static void s1394_update_unit_dir_location(s1394_hal_t *hal, dev_info_t *tdip,
69 s1394_send_remove_event(s1394_hal_t *hal, dev_info_t *dip, argument
82 if (ndi_event_retrieve_cookie(hal->hal_ndi_event_hdl, dip,
85 (void) ndi_event_run_callbacks(hal->hal_ndi_event_hdl, dip,
98 s1394_send_insert_event(s1394_hal_t *hal, dev_info_t *dip, argument
111 if (ndi_event_retrieve_cookie(hal->hal_ndi_event_hdl, dip,
114 (void) ndi_event_run_callbacks(hal
133 s1394_create_devinfo(s1394_hal_t *hal, s1394_node_t *node, uint32_t *unit_dir, int nunit) argument
485 s1394_update_devinfo_tree(s1394_hal_t *hal, s1394_node_t *node) argument
667 s1394_offline_node(s1394_hal_t *hal, s1394_node_t *node) argument
787 s1394_process_topology_tree(s1394_hal_t *hal, int *wait_for_cbs, uint_t *wait_gen) argument
936 s1394_process_old_tree(s1394_hal_t *hal) argument
1049 s1394_update_unit_dir_location(s1394_hal_t *hal, dev_info_t *tdip, uint_t offset) argument
1073 s1394_hal_t *hal; local
1155 s1394_hal_t *hal; local
[all...]
H A Ds1394_fa.c54 s1394_fa_claim_addr(s1394_hal_t *hal, s1394_fa_type_t type, argument
58 s1394_fa_hal_t *falp = &hal->hal_fa[type];
78 addr.aa_arg = hal;
80 ret = s1394_claim_addr_blk(hal, &addr);
97 s1394_fa_free_addr(s1394_hal_t *hal, s1394_fa_type_t type) argument
99 s1394_fa_hal_t *falp = &hal->hal_fa[type];
106 ret = s1394_free_addr_blk(hal, falp->fal_addr_blk);
123 s1394_fa_list_add(s1394_hal_t *hal, s1394_target_t *target, argument
126 s1394_fa_hal_t *fal = &hal->hal_fa[type];
144 s1394_fa_list_remove(s1394_hal_t *hal, s1394_target_ argument
171 s1394_fa_list_is_empty(s1394_hal_t *hal, s1394_fa_type_t type) argument
184 s1394_fa_list_gen(s1394_hal_t *hal, s1394_fa_type_t type) argument
207 s1394_fa_convert_cmd(s1394_hal_t *hal, cmd1394_cmd_t *cmd) argument
223 s1394_fa_restore_cmd(s1394_hal_t *hal, cmd1394_cmd_t *cmd) argument
239 s1394_fa_check_restore_cmd(s1394_hal_t *hal, cmd1394_cmd_t *cmd) argument
255 s1394_hal_t *hal = cmd->cmd_callback_arg; local
[all...]
/illumos-gate/usr/src/cmd/hal/tools/sunos/
H A DMakefile28 HAL_PROGS = hal-system-lcd-set-brightness-sunos \
29 hal-system-lcd-get-brightness-sunos
31 HAL_SCRIPTS = hal-system-power-reboot-sunos hal-system-power-suspend-sunos \
32 hal-system-power-hibernate-sunos hal-system-power-shutdown-sunos
39 include ../../Makefile.hal
44 CPPFLAGS += -I$(ROOT)/usr/include/hal
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A DMakefile32 MANIFEST = hal.xml
33 SVCMETHOD = svc-hal
36 include ../../Makefile.hal
40 $(ROOTLIBSVCMETHOD)/svc-hal:= FILEMODE = 555
/illumos-gate/usr/src/uts/common/sys/1394/
H A Ds1394.h516 * s1394_fa_hal_t - per-hal data required for fixed address support
520 * each hal keeps a list of registered fixed address clients
531 * s1394_cmp_hal_t - per-hal data required for fixed address support
947 int s1394_request_addr_blk(s1394_hal_t *hal, t1394_alloc_addr_t *addr_allocp);
949 int s1394_claim_addr_blk(s1394_hal_t *hal, t1394_alloc_addr_t *addr_allocp);
951 int s1394_free_addr_blk(s1394_hal_t *hal, s1394_addr_space_blk_t *blk);
953 int s1394_reserve_addr_blk(s1394_hal_t *hal, t1394_alloc_addr_t *addr_allocp);
955 int s1394_init_addr_space(s1394_hal_t *hal);
957 void s1394_destroy_addr_space(s1394_hal_t *hal);
959 void s1394_free_list_insert(s1394_hal_t *hal, s1394_addr_space_blk_
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/s1394/
H A Ds1394.c34 static int print_node_info(s1394_hal_t *hal);
44 s1394_hal_t hal; local
48 if (mdb_vread(&hal, sizeof (s1394_hal_t), addr) == -1) {
53 ret = print_node_info(&hal);
88 s1394_hal_t hal; local
94 if (mdb_vread(&hal, sizeof (s1394_hal_t), addr) == -1) {
99 wsp->walk_addr = (uintptr_t)hal.hal_next;
100 return (wsp->walk_callback(addr, &hal, wsp->walk_cbdata));
136 print_node_info(s1394_hal_t *hal) argument
144 num_nodes = hal
[all...]

Completed in 136 milliseconds

123