Lines Matching refs:t1394_hdl

71     t1394_attachinfo_t *attachinfo, t1394_handle_t *t1394_hdl)  in t1394_attach()  argument
80 ASSERT(t1394_hdl != NULL); in t1394_attach()
83 *t1394_hdl = NULL; in t1394_attach()
172 *t1394_hdl = (t1394_handle_t)target; in t1394_attach()
194 t1394_detach(t1394_handle_t *t1394_hdl, uint_t flags) in t1394_detach() argument
199 ASSERT(t1394_hdl != NULL); in t1394_detach()
201 target = (s1394_target_t *)(*t1394_hdl); in t1394_detach()
244 *t1394_hdl = NULL; in t1394_detach()
267 t1394_alloc_cmd(t1394_handle_t t1394_hdl, uint_t flags, cmd1394_cmd_t **cmdp) in t1394_alloc_cmd() argument
274 ASSERT(t1394_hdl != NULL); in t1394_alloc_cmd()
276 target = (s1394_target_t *)t1394_hdl; in t1394_alloc_cmd()
336 t1394_free_cmd(t1394_handle_t t1394_hdl, uint_t flags, cmd1394_cmd_t **cmdp) in t1394_free_cmd() argument
343 ASSERT(t1394_hdl != NULL); in t1394_free_cmd()
345 target = (s1394_target_t *)t1394_hdl; in t1394_free_cmd()
406 t1394_read(t1394_handle_t t1394_hdl, cmd1394_cmd_t *cmd) in t1394_read() argument
415 ASSERT(t1394_hdl != NULL); in t1394_read()
427 target = (s1394_target_t *)t1394_hdl; in t1394_read()
545 t1394_write(t1394_handle_t t1394_hdl, cmd1394_cmd_t *cmd) in t1394_write() argument
554 ASSERT(t1394_hdl != NULL); in t1394_write()
566 target = (s1394_target_t *)t1394_hdl; in t1394_write()
699 t1394_lock(t1394_handle_t t1394_hdl, cmd1394_cmd_t *cmd) in t1394_lock() argument
709 ASSERT(t1394_hdl != NULL); in t1394_lock()
721 target = (s1394_target_t *)t1394_hdl; in t1394_lock()
824 t1394_alloc_addr(t1394_handle_t t1394_hdl, t1394_alloc_addr_t *addr_allocp, in t1394_alloc_addr() argument
833 ASSERT(t1394_hdl != NULL); in t1394_alloc_addr()
836 target = (s1394_target_t *)t1394_hdl; in t1394_alloc_addr()
960 t1394_free_addr(t1394_handle_t t1394_hdl, t1394_addr_handle_t *addr_hdl, in t1394_free_addr() argument
967 ASSERT(t1394_hdl != NULL); in t1394_free_addr()
970 target = (s1394_target_t *)t1394_hdl; in t1394_free_addr()
1018 t1394_recv_request_done(t1394_handle_t t1394_hdl, cmd1394_cmd_t *resp, in t1394_recv_request_done() argument
1033 ASSERT(t1394_hdl != NULL); in t1394_recv_request_done()
1037 hal = ((s1394_target_t *)t1394_hdl)->on_hal; in t1394_recv_request_done()
1152 t1394_fcp_register_controller(t1394_handle_t t1394_hdl, t1394_fcp_evts_t *evts, in t1394_fcp_register_controller() argument
1157 ASSERT(t1394_hdl != NULL); in t1394_fcp_register_controller()
1159 result = s1394_fcp_register_ctl((s1394_target_t *)t1394_hdl, evts); in t1394_fcp_register_controller()
1177 t1394_fcp_unregister_controller(t1394_handle_t t1394_hdl) in t1394_fcp_unregister_controller() argument
1181 ASSERT(t1394_hdl != NULL); in t1394_fcp_unregister_controller()
1183 result = s1394_fcp_unregister_ctl((s1394_target_t *)t1394_hdl); in t1394_fcp_unregister_controller()
1206 t1394_fcp_register_target(t1394_handle_t t1394_hdl, t1394_fcp_evts_t *evts, in t1394_fcp_register_target() argument
1211 ASSERT(t1394_hdl != NULL); in t1394_fcp_register_target()
1213 result = s1394_fcp_register_tgt((s1394_target_t *)t1394_hdl, evts); in t1394_fcp_register_target()
1231 t1394_fcp_unregister_target(t1394_handle_t t1394_hdl) in t1394_fcp_unregister_target() argument
1235 ASSERT(t1394_hdl != NULL); in t1394_fcp_unregister_target()
1237 result = s1394_fcp_unregister_tgt((s1394_target_t *)t1394_hdl); in t1394_fcp_unregister_target()
1258 t1394_cmp_register(t1394_handle_t t1394_hdl, t1394_cmp_evts_t *evts, in t1394_cmp_register() argument
1263 ASSERT(t1394_hdl != NULL); in t1394_cmp_register()
1265 result = s1394_cmp_register((s1394_target_t *)t1394_hdl, evts); in t1394_cmp_register()
1285 t1394_cmp_unregister(t1394_handle_t t1394_hdl) in t1394_cmp_unregister() argument
1289 ASSERT(t1394_hdl != NULL); in t1394_cmp_unregister()
1291 result = s1394_cmp_unregister((s1394_target_t *)t1394_hdl); in t1394_cmp_unregister()
1310 t1394_cmp_read(t1394_handle_t t1394_hdl, t1394_cmp_reg_t reg, uint32_t *valp) in t1394_cmp_read() argument
1314 ASSERT(t1394_hdl != NULL); in t1394_cmp_read()
1316 result = s1394_cmp_read((s1394_target_t *)t1394_hdl, reg, valp); in t1394_cmp_read()
1337 t1394_cmp_cas(t1394_handle_t t1394_hdl, t1394_cmp_reg_t reg, uint32_t arg_val, in t1394_cmp_cas() argument
1342 ASSERT(t1394_hdl != NULL); in t1394_cmp_cas()
1344 result = s1394_cmp_cas((s1394_target_t *)t1394_hdl, reg, arg_val, in t1394_cmp_cas()
1375 t1394_alloc_isoch_single(t1394_handle_t t1394_hdl, in t1394_alloc_isoch_single() argument
1386 ASSERT(t1394_hdl != NULL); in t1394_alloc_isoch_single()
1390 hal = ((s1394_target_t *)t1394_hdl)->on_hal; in t1394_alloc_isoch_single()
1460 ret = t1394_join_isoch_cec(t1394_hdl, in t1394_alloc_isoch_single()
1464 ret = t1394_free_isoch_cec(t1394_hdl, flags, in t1394_alloc_isoch_single()
1480 ret = t1394_setup_isoch_cec(t1394_hdl, in t1394_alloc_isoch_single()
1487 ret = t1394_leave_isoch_cec(t1394_hdl, in t1394_alloc_isoch_single()
1495 ret = t1394_free_isoch_cec(t1394_hdl, flags, in t1394_alloc_isoch_single()
1535 t1394_free_isoch_single(t1394_handle_t t1394_hdl, in t1394_free_isoch_single() argument
1541 ASSERT(t1394_hdl != NULL); in t1394_free_isoch_single()
1550 ret = t1394_teardown_isoch_cec(t1394_hdl, in t1394_free_isoch_single()
1560 ret = t1394_leave_isoch_cec(t1394_hdl, in t1394_free_isoch_single()
1570 ret = t1394_free_isoch_cec(t1394_hdl, flags, in t1394_free_isoch_single()
1599 t1394_alloc_isoch_cec(t1394_handle_t t1394_hdl, t1394_isoch_cec_props_t *props, in t1394_alloc_isoch_cec() argument
1606 ASSERT(t1394_hdl != NULL); in t1394_alloc_isoch_cec()
1610 hal = ((s1394_target_t *)t1394_hdl)->on_hal; in t1394_alloc_isoch_cec()
1693 t1394_free_isoch_cec(t1394_handle_t t1394_hdl, uint_t flags, in t1394_free_isoch_cec() argument
1699 ASSERT(t1394_hdl != NULL); in t1394_free_isoch_cec()
1702 hal = ((s1394_target_t *)t1394_hdl)->on_hal; in t1394_free_isoch_cec()
1769 t1394_join_isoch_cec(t1394_handle_t t1394_hdl, in t1394_join_isoch_cec() argument
1779 ASSERT(t1394_hdl != NULL); in t1394_join_isoch_cec()
1782 hal = ((s1394_target_t *)t1394_hdl)->on_hal; in t1394_join_isoch_cec()
1857 member_new->cec_mem_target = (s1394_target_t *)t1394_hdl; in t1394_join_isoch_cec()
1905 t1394_leave_isoch_cec(t1394_handle_t t1394_hdl, in t1394_leave_isoch_cec() argument
1916 ASSERT(t1394_hdl != NULL); in t1394_leave_isoch_cec()
1919 hal = ((s1394_target_t *)t1394_hdl)->on_hal; in t1394_leave_isoch_cec()
1948 (s1394_target_t *)t1394_hdl) { in t1394_leave_isoch_cec()
2021 t1394_setup_isoch_cec(t1394_handle_t t1394_hdl, in t1394_setup_isoch_cec() argument
2040 ASSERT(t1394_hdl != NULL); in t1394_setup_isoch_cec()
2043 hal = ((s1394_target_t *)t1394_hdl)->on_hal; in t1394_setup_isoch_cec()
2286 t1394_start_isoch_cec(t1394_handle_t t1394_hdl, in t1394_start_isoch_cec() argument
2295 ASSERT(t1394_hdl != NULL); in t1394_start_isoch_cec()
2392 t1394_stop_isoch_cec(t1394_handle_t t1394_hdl, in t1394_stop_isoch_cec() argument
2399 ASSERT(t1394_hdl != NULL); in t1394_stop_isoch_cec()
2489 t1394_teardown_isoch_cec(t1394_handle_t t1394_hdl, in t1394_teardown_isoch_cec() argument
2503 ASSERT(t1394_hdl != NULL); in t1394_teardown_isoch_cec()
2506 hal = ((s1394_target_t *)t1394_hdl)->on_hal; in t1394_teardown_isoch_cec()
2660 t1394_alloc_isoch_dma(t1394_handle_t t1394_hdl, in t1394_alloc_isoch_dma() argument
2667 ASSERT(t1394_hdl != NULL); in t1394_alloc_isoch_dma()
2672 hal = ((s1394_target_t *)t1394_hdl)->on_hal; in t1394_alloc_isoch_dma()
2716 t1394_free_isoch_dma(t1394_handle_t t1394_hdl, uint_t flags, in t1394_free_isoch_dma() argument
2721 ASSERT(t1394_hdl != NULL); in t1394_free_isoch_dma()
2725 hal = ((s1394_target_t *)t1394_hdl)->on_hal; in t1394_free_isoch_dma()
2753 t1394_start_isoch_dma(t1394_handle_t t1394_hdl, in t1394_start_isoch_dma() argument
2761 ASSERT(t1394_hdl != NULL); in t1394_start_isoch_dma()
2766 hal = ((s1394_target_t *)t1394_hdl)->on_hal; in t1394_start_isoch_dma()
2789 t1394_stop_isoch_dma(t1394_handle_t t1394_hdl, in t1394_stop_isoch_dma() argument
2795 ASSERT(t1394_hdl != NULL); in t1394_stop_isoch_dma()
2799 hal = ((s1394_target_t *)t1394_hdl)->on_hal; in t1394_stop_isoch_dma()
2825 t1394_update_isoch_dma(t1394_handle_t t1394_hdl, in t1394_update_isoch_dma() argument
2833 ASSERT(t1394_hdl != NULL); in t1394_update_isoch_dma()
2838 hal = ((s1394_target_t *)t1394_hdl)->on_hal; in t1394_update_isoch_dma()
2860 t1394_initiate_bus_reset(t1394_handle_t t1394_hdl, uint_t flags) in t1394_initiate_bus_reset() argument
2864 ASSERT(t1394_hdl != NULL); in t1394_initiate_bus_reset()
2867 hal = ((s1394_target_t *)t1394_hdl)->on_hal; in t1394_initiate_bus_reset()
2896 t1394_get_topology_map(t1394_handle_t t1394_hdl, uint_t bus_generation, in t1394_get_topology_map() argument
2903 ASSERT(t1394_hdl != NULL); in t1394_get_topology_map()
2906 hal = ((s1394_target_t *)t1394_hdl)->on_hal; in t1394_get_topology_map()
2984 t1394_add_cfgrom_entry(t1394_handle_t t1394_hdl, in t1394_add_cfgrom_entry() argument
2995 ASSERT(t1394_hdl != NULL); in t1394_add_cfgrom_entry()
2997 target = (s1394_target_t *)t1394_hdl; in t1394_add_cfgrom_entry()
3067 t1394_rem_cfgrom_entry(t1394_handle_t t1394_hdl, uint_t flags, in t1394_rem_cfgrom_entry() argument
3074 ASSERT(t1394_hdl != NULL); in t1394_rem_cfgrom_entry()
3076 target = (s1394_target_t *)t1394_hdl; in t1394_rem_cfgrom_entry()
3127 t1394_get_targetinfo(t1394_handle_t t1394_hdl, uint_t bus_generation, in t1394_get_targetinfo() argument
3137 ASSERT(t1394_hdl != NULL); in t1394_get_targetinfo()
3140 hal = ((s1394_target_t *)t1394_hdl)->on_hal; in t1394_get_targetinfo()
3142 target = (s1394_target_t *)t1394_hdl; in t1394_get_targetinfo()