Home
last modified time | relevance | path

Searched refs:cmd1394_cmd_t (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/uts/common/io/1394/
H A Ds1394_asynch.c45 static void s1394_handle_lock(cmd1394_cmd_t *cmd);
47 static cmd1394_cmd_t *s1394_pending_q_remove(s1394_hal_t *hal);
51 static boolean_t s1394_pending_q_helper(s1394_hal_t *hal, cmd1394_cmd_t *cmd);
53 static int s1394_process_split_lock(cmd1394_cmd_t *cmd,
54 cmd1394_cmd_t *target_cmd);
56 static int s1394_finish_split_lock(cmd1394_cmd_t *cmd,
57 cmd1394_cmd_t *target_cmd);
64 s1394_alloc_cmd(s1394_hal_t *hal, uint_t flags, cmd1394_cmd_t **cmdp) in s1394_alloc_cmd()
90 cmd_size = sizeof (cmd1394_cmd_t) + in s1394_alloc_cmd()
123 s1394_free_cmd(s1394_hal_t *hal, cmd1394_cmd_t **cmdp) in s1394_free_cmd()
[all …]
H A Ds1394_fcp.c47 static void s1394_fcp_resp_recv_write_request(cmd1394_cmd_t *req);
48 static void s1394_fcp_cmd_recv_write_request(cmd1394_cmd_t *req);
49 static void s1394_fcp_recv_write_request(cmd1394_cmd_t *req,
52 cmd1394_cmd_t *req);
180 s1394_fcp_write_check_cmd(cmd1394_cmd_t *cmd) in s1394_fcp_write_check_cmd()
215 s1394_fcp_resp_recv_write_request(cmd1394_cmd_t *req) in s1394_fcp_resp_recv_write_request()
221 s1394_fcp_cmd_recv_write_request(cmd1394_cmd_t *req) in s1394_fcp_cmd_recv_write_request()
231 s1394_fcp_recv_write_request(cmd1394_cmd_t *req, s1394_fa_type_t type) in s1394_fcp_recv_write_request()
238 int (*cb)(cmd1394_cmd_t *req); 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 Ds1394_csr.c47 static void s1394_CSR_state_clear(cmd1394_cmd_t *req);
49 static void s1394_CSR_state_set(cmd1394_cmd_t *req);
51 static void s1394_CSR_node_ids(cmd1394_cmd_t *req);
53 static void s1394_CSR_reset_start(cmd1394_cmd_t *req);
55 static void s1394_CSR_split_timeout(cmd1394_cmd_t *req);
57 static void s1394_CSR_argument_regs(cmd1394_cmd_t *req);
59 static void s1394_CSR_test_regs(cmd1394_cmd_t *req);
61 static void s1394_CSR_interrupt_regs(cmd1394_cmd_t *req);
63 static void s1394_CSR_clock_regs(cmd1394_cmd_t *req);
65 static void s1394_CSR_message_regs(cmd1394_cmd_t *req);
[all …]
H A Ds1394_cmp.c44 static void s1394_cmp_ompr_recv_read_request(cmd1394_cmd_t *req);
45 static void s1394_cmp_impr_recv_read_request(cmd1394_cmd_t *req);
46 static void s1394_cmp_ompr_recv_lock_request(cmd1394_cmd_t *req);
47 static void s1394_cmp_impr_recv_lock_request(cmd1394_cmd_t *req);
225 s1394_cmp_ompr_recv_read_request(cmd1394_cmd_t *req) in s1394_cmp_ompr_recv_read_request()
243 s1394_cmp_impr_recv_read_request(cmd1394_cmd_t *req) in s1394_cmp_impr_recv_read_request()
261 s1394_cmp_ompr_recv_lock_request(cmd1394_cmd_t *req) in s1394_cmp_ompr_recv_lock_request()
293 s1394_cmp_impr_recv_lock_request(cmd1394_cmd_t *req) in s1394_cmp_impr_recv_lock_request()
H A Ds1394_dev_disc.c104 hcmd_ret_t(*handle_cmd_fn)(s1394_hal_t *hal, cmd1394_cmd_t *cmd));
119 cmd1394_cmd_t *cmd);
124 cmd1394_cmd_t *cmd);
126 static int s1394_read_config_quadlet(s1394_hal_t *hal, cmd1394_cmd_t *cmd,
129 static void s1394_cfgrom_read_callback(cmd1394_cmd_t *cmd);
131 static void s1394_get_quad_info(cmd1394_cmd_t *cmd, uint32_t *node_num,
140 static void s1394_become_bus_mgr_callback(cmd1394_cmd_t *cmd);
157 static void s1394_phy_config_callback(cmd1394_cmd_t *cmd);
294 hcmd_ret_t(*handle_cmd_fn)(s1394_hal_t *hal, cmd1394_cmd_t *cmd)) in s1394_wait_for_cfgrom_callbacks()
296 cmd1394_cmd_t *cmd; in s1394_wait_for_cfgrom_callbacks()
[all …]
H A Ds1394_fa.c44 static void s1394_fa_completion_cb(cmd1394_cmd_t *cmd);
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()
233 s1394_fa_completion_cb(cmd1394_cmd_t *cmd) in s1394_fa_completion_cb()
H A Dh1394.c187 cmd_size = sizeof (cmd1394_cmd_t) + sizeof (s1394_cmd_priv_t) + in h1394_attach()
362 h1394_alloc_cmd(void *sl_private, uint_t flags, cmd1394_cmd_t **cmdp, in h1394_alloc_cmd()
397 h1394_free_cmd(void *sl_private, cmd1394_cmd_t **cmdp) in h1394_free_cmd()
443 h1394_cmd_is_complete(void *sl_private, cmd1394_cmd_t *command_id, in h1394_cmd_is_complete()
746 h1394_read_request(void *sl_private, cmd1394_cmd_t *req) in h1394_read_request()
759 void (*recv_read_req)(cmd1394_cmd_t *); in h1394_read_request()
928 h1394_write_request(void *sl_private, cmd1394_cmd_t *req) in h1394_write_request()
944 void (*recv_write_req)(cmd1394_cmd_t *); in h1394_write_request()
1129 h1394_lock_request(void *sl_private, cmd1394_cmd_t *req) in h1394_lock_request()
1139 void (*recv_lock_req)(cmd1394_cmd_t *); in h1394_lock_request()
H A Ds1394_misc.c294 s1394_block_on_asynch_cmd(cmd1394_cmd_t *cmd) in s1394_block_on_asynch_cmd()
319 s1394_HAL_asynch_error(s1394_hal_t *hal, cmd1394_cmd_t *cmd, in s1394_HAL_asynch_error()
351 s1394_mblk_too_small(cmd1394_cmd_t *cmd) in s1394_mblk_too_small()
388 s1394_address_rollover(cmd1394_cmd_t *cmd) in s1394_address_rollover()
H A Ds1394_isoch.c294 cmd1394_cmd_t *cmd; in s1394_channel_alloc()
449 cmd1394_cmd_t *cmd; in s1394_channel_free()
594 cmd1394_cmd_t *cmd; in s1394_bandwidth_alloc()
772 cmd1394_cmd_t *cmd; in s1394_bandwidth_free()
H A Dt1394.c267 t1394_alloc_cmd(t1394_handle_t t1394_hdl, uint_t flags, cmd1394_cmd_t **cmdp) in t1394_alloc_cmd()
336 t1394_free_cmd(t1394_handle_t t1394_hdl, uint_t flags, cmd1394_cmd_t **cmdp) in t1394_free_cmd()
406 t1394_read(t1394_handle_t t1394_hdl, cmd1394_cmd_t *cmd) in t1394_read()
545 t1394_write(t1394_handle_t t1394_hdl, cmd1394_cmd_t *cmd) in t1394_write()
699 t1394_lock(t1394_handle_t t1394_hdl, cmd1394_cmd_t *cmd) in t1394_lock()
1018 t1394_recv_request_done(t1394_handle_t t1394_hdl, cmd1394_cmd_t *resp, in t1394_recv_request_done()
/illumos-gate/usr/src/uts/common/sys/1394/
H A Dh1394.h133 cmd1394_cmd_t *phy_pkt, h1394_cmd_priv_t *cmd_private,
135 int (*read)(void *hal_private, cmd1394_cmd_t *req,
137 int (*read_response)(void *hal_private, cmd1394_cmd_t *resp,
139 int (*write)(void *hal_private, cmd1394_cmd_t *req,
141 int (*write_response)(void *hal_private, cmd1394_cmd_t *resp,
143 void (*response_complete)(void *hal_private, cmd1394_cmd_t *resp,
145 int (*lock)(void *hal_private, cmd1394_cmd_t *req,
147 int (*lock_response)(void *hal_private, cmd1394_cmd_t *resp,
250 void h1394_cmd_is_complete(void *sl_private, cmd1394_cmd_t *command_id,
273 void h1394_write_request(void *sl_private, cmd1394_cmd_t *req);
[all …]
H A Ds1394.h529 cmd1394_cmd_t *br_cmplq_head;
530 cmd1394_cmd_t *br_cmplq_tail;
591 cmd1394_cmd_t *outstanding_q_head;
592 cmd1394_cmd_t *outstanding_q_tail;
594 cmd1394_cmd_t *pending_q_head;
595 cmd1394_cmd_t *pending_q_tail;
844 cmd1394_cmd_t *cmd_priv_next;
845 cmd1394_cmd_t *cmd_priv_prev;
882 ((s1394_cmd_priv_t *)((uchar_t *)(cmd) + sizeof (cmd1394_cmd_t)))
940 int s1394_alloc_cmd(s1394_hal_t *hal, uint_t flags, cmd1394_cmd_t **cmdp);
[all …]
H A Dt1394.h159 void (*recv_read_request)(cmd1394_cmd_t *req);
160 void (*recv_write_request)(cmd1394_cmd_t *req);
161 void (*recv_lock_request)(cmd1394_cmd_t *req);
195 int (*fcp_write_request)(cmd1394_cmd_t *req);
469 cmd1394_cmd_t **cmdp);
476 cmd1394_cmd_t **cmdp);
478 int t1394_read(t1394_handle_t t1394_hdl, cmd1394_cmd_t *cmd);
480 int t1394_write(t1394_handle_t t1394_hdl, cmd1394_cmd_t *cmd);
482 int t1394_lock(t1394_handle_t t1394_hdl, cmd1394_cmd_t *cmd);
515 int t1394_recv_request_done(t1394_handle_t t1394_hdl, cmd1394_cmd_t *resp,
H A Dcmd1394.h171 } cmd1394_cmd_t; typedef
206 _NOTE(SCHEME_PROTECTS_DATA("One per call", cmd1394_cmd_t))
/illumos-gate/usr/src/uts/common/sys/1394/adapters/
H A Dhci1394_async.h88 cmd1394_cmd_t *ac_cmd;
239 cmd1394_cmd_t *cmd, h1394_cmd_priv_t *cmd_priv, int *result);
241 cmd1394_cmd_t *cmd, h1394_cmd_priv_t *cmd_priv, int *result);
243 cmd1394_cmd_t *cmd, h1394_cmd_priv_t *cmd_priv, int *result);
245 cmd1394_cmd_t *cmd, h1394_cmd_priv_t *cmd_priv, int *result);
247 cmd1394_cmd_t *cmd, h1394_cmd_priv_t *cmd_priv, int *result);
249 cmd1394_cmd_t *cmd, h1394_cmd_priv_t *cmd_priv, int *result);
251 cmd1394_cmd_t *cmd, h1394_cmd_priv_t *cmd_priv, int *result);
253 cmd1394_cmd_t *cmd, h1394_cmd_priv_t *cmd_priv);
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_s1394if.c45 static int hci1394_s1394if_phy(void *hal_private, cmd1394_cmd_t *cmd_id,
47 static int hci1394_s1394if_write(void *hal_private, cmd1394_cmd_t *cmd_id,
49 static int hci1394_s1394if_read(void *hal_private, cmd1394_cmd_t *cmd_id,
51 static int hci1394_s1394if_lock(void *hal_private, cmd1394_cmd_t *cmd_id,
54 cmd1394_cmd_t *cmd_id, h1394_cmd_priv_t *cmd_private, int *result);
56 cmd1394_cmd_t *cmd_id, h1394_cmd_priv_t *cmd_private, int *result);
58 cmd1394_cmd_t *cmd_id, h1394_cmd_priv_t *cmd_private, int *result);
60 cmd1394_cmd_t *cmd_id, h1394_cmd_priv_t *cmd_private);
141 hci1394_s1394if_phy(void *hal_private, cmd1394_cmd_t *cmd_id, in hci1394_s1394if_phy()
178 hci1394_s1394if_write(void *hal_private, cmd1394_cmd_t *cmd_id, in hci1394_s1394if_write()
[all …]
H A Dhci1394_async.c110 cmd1394_cmd_t *cmd, h1394_cmd_priv_t *cmd_priv,
1059 cmd1394_cmd_t *cmd; in hci1394_async_arresp_read()
1305 cmd1394_cmd_t *cmd; in hci1394_async_arreq_read()
1509 cmd1394_cmd_t *cmd; in hci1394_async_arreq_read_qrd()
1578 cmd1394_cmd_t *cmd; in hci1394_async_arreq_read_qwr()
1650 cmd1394_cmd_t *cmd; in hci1394_async_arreq_read_brd()
1723 cmd1394_cmd_t *cmd; in hci1394_async_arreq_read_bwr()
1813 cmd1394_cmd_t *cmd; in hci1394_async_arreq_read_lck()
1940 cmd1394_cmd_t *cmd; in hci1394_async_arreq_read_phy()
2004 hci1394_async_phy(hci1394_async_handle_t async_handle, cmd1394_cmd_t *cmd, in hci1394_async_phy()
[all …]
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dsbp2_bus.c65 static void scsa1394_bus_recv_read_request(cmd1394_cmd_t *);
66 static void scsa1394_bus_recv_write_request(cmd1394_cmd_t *);
156 cmd1394_cmd_t *cmd; in scsa1394_bus_alloc_cmd()
174 cmd1394_cmd_t *cmd = argcmd; in scsa1394_bus_free_cmd()
185 cmd1394_cmd_t *cmd = argcmd; in scsa1394_bus_rq()
212 cmd1394_cmd_t *cmd = argcmd; in scsa1394_bus_rb()
243 cmd1394_cmd_t *cmd = argcmd; in scsa1394_bus_wq()
266 cmd1394_cmd_t *cmd = argcmd; in scsa1394_bus_wb()
465 cmd1394_cmd_t *req = reqh; in scsa1394_bus_buf_rw_done()
491 scsa1394_bus_recv_read_request(cmd1394_cmd_t *req) in scsa1394_bus_recv_read_request()
[all …]
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_fcp.c47 static int av1394_fcp_cmd_write_request_cb(cmd1394_cmd_t *);
48 static int av1394_fcp_resp_write_request_cb(cmd1394_cmd_t *);
49 static void av1394_fcp_common_write_request_cb(cmd1394_cmd_t *, int);
110 cmd1394_cmd_t *cmd; in av1394_fcp_write()
278 cmd1394_cmd_t *cmd = fc->fc_cmd; in av1394_fcp_cmd_write_sync()
344 av1394_fcp_resp_write_request_cb(cmd1394_cmd_t *req) in av1394_fcp_resp_write_request_cb()
369 av1394_fcp_cmd_write_request_cb(cmd1394_cmd_t *req) in av1394_fcp_cmd_write_request_cb()
388 av1394_fcp_common_write_request_cb(cmd1394_cmd_t *req, int mtype) in av1394_fcp_common_write_request_cb()
H A Dav1394_cfgrom.c38 static int av1394_cfgrom_parse_dir(av1394_inst_t *, cmd1394_cmd_t *,
47 static int av1394_cfgrom_rq(av1394_inst_t *, cmd1394_cmd_t *,
90 cmd1394_cmd_t *cmd; in av1394_ioctl_node_get_bus_name()
116 cmd1394_cmd_t *cmd; in av1394_ioctl_node_get_uid()
270 cmd1394_cmd_t *cmd; in av1394_cfgrom_parse_rom()
319 av1394_cfgrom_parse_dir(av1394_inst_t *avp, cmd1394_cmd_t *cmd, in av1394_cfgrom_parse_dir()
455 cmd1394_cmd_t *cmd; in av1394_cfgrom_read_leaf()
509 av1394_cfgrom_rq(av1394_inst_t *avp, cmd1394_cmd_t *cmd, uint64_t addr, in av1394_cfgrom_rq()
H A Dav1394_cmp.c56 static void av1394_pcr_recv_read_request(cmd1394_cmd_t *);
57 static void av1394_pcr_recv_lock_request(cmd1394_cmd_t *);
608 av1394_pcr_recv_read_request(cmd1394_cmd_t *req) in av1394_pcr_recv_read_request()
635 av1394_pcr_recv_lock_request(cmd1394_cmd_t *req) in av1394_pcr_recv_lock_request()
675 cmd1394_cmd_t *cmd; in av1394_pcr_remote_read()
708 cmd1394_cmd_t *cmd; in av1394_pcr_remote_cas()
/illumos-gate/usr/src/uts/common/io/1394/targets/dcam1394/
H A Ddcam_reg.c42 cmd1394_cmd_t *cmdp; in dcam_reg_read()
88 cmd1394_cmd_t *cmdp; in dcam_reg_write()
/illumos-gate/usr/src/uts/common/sys/1394/targets/av1394/
H A Dav1394_impl.h101 cmd1394_cmd_t *fc_cmd; /* 1394 command */
173 cmd1394_cmd_t *ac_cmd;