/illumos-gate/usr/src/uts/common/io/1394/ |
H A D | s1394_bus_reset.c | 194 hal->selfid_ptrs[j] = hal->selfid_ptrs[j / 2]; in s1394_sort_selfids() 202 hal->selfid_ptrs[i] = hal->selfid_ptrs[0]; in s1394_sort_selfids() 512 hal->hal_stack[hal->hal_stack_depth] = obj; in s1394_hal_stack_push() 547 hal->hal_queue[hal->hal_queue_front] = obj; in s1394_hal_queue_insert() 565 if (hal->hal_queue_back == hal->hal_queue_front) { in s1394_hal_queue_remove() 568 tmp = hal->hal_queue[hal->hal_queue_back]; in s1394_hal_queue_remove() 661 hal->old_tree = hal->topology_tree; in s1394_copy_old_tree() 664 hal->old_number_of_nodes = hal->number_of_nodes; in s1394_copy_old_tree() 665 hal->old_node_id = hal->node_id; in s1394_copy_old_tree() 697 hal->hal_queue_front = hal->hal_queue_back = 0; in s1394_match_tree_nodes() [all …]
|
H A D | h1394.c | 117 s1394_hal_t *hal; in h1394_attach() local 239 hal->hal_kstats->guid = hal->halinfo.guid; in h1394_attach() 242 hal->old_tree = &hal->last_valid_tree[0]; in h1394_attach() 243 hal->topology_tree = &hal->current_tree[0]; in h1394_attach() 317 s1394_hal_t *hal; in h1394_detach() local 446 s1394_hal_t *hal; in h1394_cmd_is_complete() local 490 s1394_hal_t *hal; in h1394_bus_reset() local 562 s1394_hal_t *hal; in h1394_self_ids() local 660 hal->gap_count = s1394_get_current_gap_count(hal); in h1394_self_ids() 679 hal->IRM_node = s1394_get_isoch_rsrc_mgr(hal); in h1394_self_ids() [all …]
|
H A D | s1394_misc.c | 70 if (hal->hal_prev) in s1394_cleanup_for_detach() 71 hal->hal_prev->hal_next = hal->hal_next; in s1394_cleanup_for_detach() 72 if (hal->hal_next) in s1394_cleanup_for_detach() 73 hal->hal_next->hal_prev = hal->hal_prev; in s1394_cleanup_for_detach() 171 HAL_CALL(hal).shutdown(hal->halinfo.hal_private); in s1394_hal_shutdown() 180 HAL_CALL(hal).shutdown(hal->halinfo.hal_private); in s1394_hal_shutdown() 211 (void) HAL_CALL(hal).bus_reset(hal->halinfo.hal_private); in s1394_initiate_hal_reset() 564 HAL_CALL(hal).bus_reset(hal->halinfo.hal_private); in s1394_ioctl() 594 hal->hal_ksp->ks_private = (void *)hal; in s1394_kstat_init() 627 s1394_hal_t *hal; in s1394_kstat_update() local [all …]
|
H A D | s1394_dev_disc.c | 187 hal->br_cmplq_head = hal->br_cmplq_tail = NULL; in s1394_br_thread() 200 s1394_bus_mgr_timers_stop(hal, &hal->bus_mgr_query_timeout_id, in s1394_br_thread() 250 CALLB_CPR_INIT(&hal->hal_cprinfo, &hal->br_thread_mutex, in s1394_wait_for_events() 257 cv_wait(&hal->br_thread_cv, &hal->br_thread_mutex); in s1394_wait_for_events() 258 CALLB_CPR_SAFE_END(&hal->hal_cprinfo, &hal->br_thread_mutex); in s1394_wait_for_events() 273 hal->br_cfgrom_read_gen = hal->generation_count; in s1394_wait_for_events() 312 cv_wait(&hal->br_cmplq_cv, &hal->br_cmplq_mutex); in s1394_wait_for_cfgrom_callbacks() 378 hal->br_cmplq_head = hal->br_cmplq_tail = NULL; in s1394_flush_cmplq() 1850 ret = HAL_CALL(hal).csr_cswap32(hal->halinfo.hal_private, in s1394_become_bus_mgr() 2067 cv_wait(&hal->bus_mgr_node_cv, &hal->bus_mgr_node_mutex); in s1394_do_bus_mgr_processing() [all …]
|
H A D | s1394_csr.c | 485 result = HAL_CALL(hal).csr_read(hal->halinfo.hal_private, in s1394_CSR_state_clear() 524 result = HAL_CALL(hal).csr_write(hal->halinfo.hal_private, in s1394_CSR_state_clear() 617 result = HAL_CALL(hal).csr_write(hal->halinfo.hal_private, in s1394_CSR_state_set() 682 (void) HAL_CALL(hal).csr_write(hal->halinfo.hal_private, in s1394_CSR_reset_start() 830 result = HAL_CALL(hal).csr_read(hal->halinfo.hal_private, in s1394_CSR_cycle_time() 907 result = HAL_CALL(hal).csr_read(hal->halinfo.hal_private, in s1394_CSR_bus_time() 1016 result = HAL_CALL(hal).csr_read(hal->halinfo.hal_private, in s1394_CSR_IRM_regs() 1186 result = HAL_CALL(hal).csr_read(hal->halinfo.hal_private, in s1394_common_CSR_routine() 1654 hal->free_space = hal->free_space - size; in s1394_add_config_rom_entry() 1816 hal->free_space = hal->free_space + (del_offset + 1); in s1394_remove_config_rom_entry() [all …]
|
H A D | s1394_isoch.c | 66 generation = hal->generation_count; in s1394_isoch_rsrc_realloc() 71 cec_curr = hal->isoch_cec_list_head; in s1394_isoch_rsrc_realloc() 310 IRM_node = hal->IRM_node; in s1394_channel_alloc() 335 (void) HAL_CALL(hal).csr_read(hal->halinfo.hal_private, in s1394_channel_alloc() 465 IRM_node = hal->IRM_node; in s1394_channel_free() 490 (void) HAL_CALL(hal).csr_read(hal->halinfo.hal_private, in s1394_channel_free() 503 hal->halinfo.hal_private, hal->generation_count, in s1394_channel_free() 610 IRM_node = hal->IRM_node; in s1394_bandwidth_alloc() 627 (void) HAL_CALL(hal).csr_read(hal->halinfo.hal_private, in s1394_bandwidth_alloc() 788 IRM_node = hal->IRM_node; in s1394_bandwidth_free() [all …]
|
H A D | s1394_cmp.c | 86 s1394_hal_t *hal = target->on_hal; in s1394_cmp_register() local 96 rw_exit(&hal->target_list_rwlock); in s1394_cmp_register() 107 s1394_cmp_init(hal); in s1394_cmp_register() 118 rw_exit(&hal->target_list_rwlock); in s1394_cmp_register() 126 s1394_hal_t *hal = target->on_hal; in s1394_cmp_unregister() local 135 s1394_cmp_fini(hal); in s1394_cmp_unregister() 139 rw_exit(&hal->target_list_rwlock); in s1394_cmp_unregister() 147 s1394_hal_t *hal = target->on_hal; in s1394_cmp_read() local 170 s1394_hal_t *hal = target->on_hal; in s1394_cmp_cas() local 201 s1394_cmp_init(s1394_hal_t *hal) in s1394_cmp_init() argument [all …]
|
H A D | s1394_addr.c | 89 ASSERT(hal != NULL); in s1394_request_addr_blk() 179 ASSERT(hal != NULL); in s1394_claim_addr_blk() 223 s1394_addr_alloc_kstat(hal, in s1394_claim_addr_blk() 263 s1394_addr_alloc_kstat(hal, in s1394_claim_addr_blk() 305 s1394_addr_alloc_kstat(hal, in s1394_claim_addr_blk() 366 s1394_addr_alloc_kstat(hal, in s1394_claim_addr_blk() 427 ASSERT(hal != NULL); in s1394_reserve_addr_blk() 664 s1394_destroy_addr_space(hal); in s1394_init_addr_space() 675 s1394_destroy_addr_space(hal); in s1394_init_addr_space() 690 s1394_destroy_addr_space(hal); in s1394_init_addr_space() [all …]
|
H A D | s1394_asynch.c | 168 state = hal->hal_state; in s1394_xfer_asynch_command() 214 ret = HAL_CALL(hal).read(hal->halinfo.hal_private, in s1394_xfer_asynch_command() 222 ret = HAL_CALL(hal).write(hal->halinfo.hal_private, in s1394_xfer_asynch_command() 230 ret = HAL_CALL(hal).lock(hal->halinfo.hal_private, in s1394_xfer_asynch_command() 955 HAL_CALL(hal).response_complete(hal->halinfo.hal_private, resp, h_priv); in s1394_atresp_cmd_complete() 994 HAL_CALL(hal).response_complete(hal->halinfo.hal_private, in s1394_send_response() 1041 ret = HAL_CALL(hal).read_response(hal->halinfo.hal_private, in s1394_send_response() 1046 ret = HAL_CALL(hal).write_response(hal->halinfo.hal_private, in s1394_send_response() 1051 ret = HAL_CALL(hal).lock_response(hal->halinfo.hal_private, in s1394_send_response() 1071 HAL_CALL(hal).response_complete(hal->halinfo.hal_private, in s1394_send_response() [all …]
|
H A D | s1394_hotplug.c | 649 s1394_unlock_tree(hal); in s1394_offline_node() 694 s1394_unlock_tree(hal); in s1394_process_topology_tree() 756 s1394_unlock_tree(hal); in s1394_process_topology_tree() 767 s1394_unlock_tree(hal); in s1394_process_topology_tree() 800 s1394_unlock_tree(hal); in s1394_process_old_tree() 871 s1394_hal_t *hal; in s1394_add_target_to_node() local 878 hal = target->on_hal; in s1394_add_target_to_node() 879 ASSERT(hal != NULL); in s1394_add_target_to_node() 945 s1394_hal_t *hal; in s1394_remove_target_from_node() local 947 hal = target->on_hal; in s1394_remove_target_from_node() [all …]
|
H A D | s1394_fcp.c | 79 s1394_fcp_hal_init(s1394_hal_t *hal) in s1394_fcp_hal_init() argument 131 s1394_hal_t *hal = target->on_hal; in s1394_fcp_register_common() local 138 rw_exit(&hal->target_list_rwlock); in s1394_fcp_register_common() 149 rw_exit(&hal->target_list_rwlock); in s1394_fcp_register_common() 157 s1394_hal_t *hal = target->on_hal; in s1394_fcp_unregister_common() local 165 s1394_fa_free_addr(hal, type); in s1394_fcp_unregister_common() 169 rw_exit(&hal->target_list_rwlock); in s1394_fcp_unregister_common() 245 target = hal->hal_fa[type].fal_head; in s1394_fcp_recv_write_request() 248 s1394_fa_restore_cmd(hal, req); in s1394_fcp_recv_write_request() 290 rw_exit(&hal->target_list_rwlock); in s1394_fcp_recv_write_request() [all …]
|
H A D | nx1394.c | 267 s1394_hal_t *hal; in nx1394_dma_allochdl() local 280 ASSERT(hal); in nx1394_dma_allochdl() 299 s1394_hal_t *hal; in nx1394_get_event_cookie() local 302 ASSERT(hal); in nx1394_get_event_cookie() 325 s1394_hal_t *hal; in nx1394_add_eventcall() local 331 ASSERT(hal); in nx1394_add_eventcall() 353 s1394_hal_t *hal; in nx1394_remove_eventcall() local 363 ASSERT(hal); in nx1394_remove_eventcall() 393 s1394_hal_t *hal; in nx1394_post_event() local 397 ASSERT(hal); in nx1394_post_event() [all …]
|
H A D | t1394.c | 73 s1394_hal_t *hal; in t1394_attach() local 90 if (hal == NULL) { in t1394_attach() 269 s1394_hal_t *hal; in t1394_alloc_cmd() local 338 s1394_hal_t *hal; in t1394_free_cmd() local 827 s1394_hal_t *hal; in t1394_alloc_addr() local 1070 HAL_CALL(hal).response_complete(hal->halinfo.hal_private, resp, in t1394_recv_request_done() 2767 ret = HAL_CALL(hal).start_isoch_dma(hal->halinfo.hal_private, in t1394_start_isoch_dma() 2800 HAL_CALL(hal).stop_isoch_dma(hal->halinfo.hal_private, in t1394_stop_isoch_dma() 2839 ret = HAL_CALL(hal).update_isoch_dma(hal->halinfo.hal_private, in t1394_update_isoch_dma() 2870 (void) HAL_CALL(hal).short_bus_reset(hal->halinfo.hal_private); in t1394_initiate_bus_reset() [all …]
|
H A D | s1394_fa.c | 55 s1394_fa_hal_t *falp = &hal->hal_fa[type]; in s1394_fa_claim_addr() 71 addr.aa_arg = hal; in s1394_fa_claim_addr() 73 ret = s1394_claim_addr_blk(hal, &addr); in s1394_fa_claim_addr() 88 s1394_fa_hal_t *falp = &hal->hal_fa[type]; in s1394_fa_free_addr() 106 s1394_fa_hal_t *fal = &hal->hal_fa[type]; in s1394_fa_list_add() 127 s1394_fa_hal_t *fal = &hal->hal_fa[type]; in s1394_fa_list_remove() 153 s1394_fa_hal_t *fal = &hal->hal_fa[type]; in s1394_fa_list_is_empty() 166 s1394_fa_hal_t *fal = &hal->hal_fa[type]; in s1394_fa_list_gen() 195 cmd->cmd_callback_arg = hal; in s1394_fa_convert_cmd() 224 s1394_fa_restore_cmd(hal, cmd); in s1394_fa_check_restore_cmd() [all …]
|
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | Makefile | 28 HAL_PROG = hal-device hal-find-by-capability hal-find-by-property \ 29 hal-get-property hal-set-property lshal 36 hal-system-power-hibernate hal-system-power-suspend \ 37 hal-system-power-reboot hal-system-power-shutdown hal-functions 39 STORAGE_METHOD_PROG = hal-storage-closetray hal-storage-eject \ 40 hal-storage-mount hal-storage-unmount \ 41 hal-storage-zpool-export hal-storage-zpool-import 95 hal-storage-shared.o: hal-storage-shared.c 105 hal-storage-eject: hal-storage-eject.o $(STORAGE_SHAREDOBJS) 109 hal-storage-mount: hal-storage-mount.o $(STORAGE_SHAREDOBJS) [all …]
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | service-hal.p5m | 114 file path=usr/lib/hal/hal-functions mode=0555 115 file path=usr/lib/hal/hal-is-caller-privileged mode=0555 118 file path=usr/lib/hal/hal-storage-closetray mode=0555 119 file path=usr/lib/hal/hal-storage-eject mode=0555 120 file path=usr/lib/hal/hal-storage-mount mode=0555 121 file path=usr/lib/hal/hal-storage-unmount mode=0555 122 file path=usr/lib/hal/hal-storage-zpool-export mode=0555 123 file path=usr/lib/hal/hal-storage-zpool-import mode=0555 127 file path=usr/lib/hal/hal-system-power-reboot mode=0555 128 file path=usr/lib/hal/hal-system-power-shutdown mode=0555 [all …]
|
/illumos-gate/usr/src/uts/common/sys/1394/ |
H A D | s1394.h | 919 int s1394_init_addr_space(s1394_hal_t *hal); 975 void s1394_sort_selfids(s1394_hal_t *hal); 988 void s1394_copy_old_tree(s1394_hal_t *hal); 998 void s1394_speed_map_fill(s1394_hal_t *hal); 1016 int s1394_setup_CSR_space(s1394_hal_t *hal); 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); 1101 int s1394_fcp_hal_init(s1394_hal_t *hal); 1187 int s1394_kstat_init(s1394_hal_t *hal); [all …]
|
/illumos-gate/usr/src/cmd/hal/fdi/ |
H A D | README | 2 This file describe the layout of device information files in the hal 5 integrate with hal. 21 conditions such as telling hal to ignore a device and all children 24 probing routines in hal (using info.callouts.preprobing) [1]. 28 Subdirs are installed in $(sysconfdir)/hal/preprobe (e.g. /etc/hal/preprobe) 36 # -> installs into /etc/hal/fdi/preprobe/ 51 Subdirs are installed in $(datadir)/hal/fdi (e.g. /usr/share/hal/fdi) 54 |-- 10freedesktop # From the hal tarball 59 # -> installs into /etc/hal/fdi/information 71 Subdirs are installed in $(sysconfdir)/hal/policy (e.g. /etc/hal/policy) [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() local 51 ret = print_node_info(&hal); in speedmap() 86 s1394_hal_t hal; in speedmap_walk_step() local 97 wsp->walk_addr = (uintptr_t)hal.hal_next; in speedmap_walk_step() 134 print_node_info(s1394_hal_t *hal) in print_node_info() argument 142 num_nodes = hal->number_of_nodes; in print_node_info() 144 (uintptr_t)hal->topology_tree) == -1) { in print_node_info() 149 hal_node_num = IEEE1394_NODE_NUM(hal->node_id); in print_node_info() 162 for (i = 0; i < hal->number_of_nodes; i++) { in print_node_info() [all …]
|
/illumos-gate/usr/src/cmd/hal/tools/sunos/ |
H A D | Makefile | 26 HAL_PROGS = hal-system-lcd-set-brightness-sunos \ 27 hal-system-lcd-get-brightness-sunos 29 HAL_SCRIPTS = hal-system-power-reboot-sunos hal-system-power-suspend-sunos \ 30 hal-system-power-hibernate-sunos hal-system-power-shutdown-sunos 37 include ../../Makefile.hal 43 CPPFLAGS += -I$(ROOT)/usr/include/hal
|
/illumos-gate/usr/src/cmd/hal/ |
H A D | Makefile.hal | 33 ROOTLIB_HAL = $(ROOTLIB)/hal 34 ROOTLIB_HAL_SCRIPTS = $(ROOTLIB)/hal 36 ROOT_HAL_FDI = $(ROOT)/etc/hal/fdi 51 -DPACKAGE_STRING=\""hal $(HAL_VERSION)"\" \
|
/illumos-gate/usr/src/lib/hal/libhal-storage/common/ |
H A D | hal-storage.pc.in | 13 Name: hal-storage 14 Description: hal library for storage devices and volumes 16 Requires: dbus-1 hal 18 Cflags: -DDBUS_API_SUBJECT_TO_CHANGE -I${includedir}/hal
|
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | Makefile | 32 MANIFEST = hal.xml 33 SVCMETHOD = svc-hal 36 include ../../Makefile.hal 40 $(ROOTLIBSVCMETHOD)/svc-hal:= FILEMODE = 555
|
/illumos-gate/usr/src/man/man8/ |
H A D | Makefile | 164 hal-device.8 \ 165 hal-fdi-validate.8 \ 166 hal-find.8 \ 167 hal-get-property.8 \ 568 hal-find-by-capability.8 \ 569 hal-find-by-property.8 \ 570 hal-set-property.8 \ 664 hal-find-by-capability.8 := LINKSRC = hal-find.8 665 hal-find-by-property.8 := LINKSRC = hal-find.8 667 hal-set-property.8 := LINKSRC = hal-get-property.8
|
/illumos-gate/usr/src/cmd/rmvolmgr/ |
H A D | Makefile | 35 include ../hal/Makefile.hal 45 CPPFLAGS += -I$(ROOT)/usr/include/hal
|