Lines Matching +full:host +full:- +full:command
25 * communication by the host driver to the fcp firmware.
29 * Exchange and sequence id space allocated to the host driver
37 * Command entry type
117 * The header command tag. All host requests will use the "tag" field
119 * a host request, it will copy the tag field into the response.
122 * of the tag field will be the target command and target task management
123 * requests. These two requests do not have corresponding host requests
139 tag->u.req_id = id; in fcpio_tag_id_enc()
145 *id = tag->u.req_id; in fcpio_tag_id_dec()
151 tag->u.ex_id.rx_id = rx_id; in fcpio_tag_exid_enc()
152 tag->u.ex_id.ox_id = ox_id; in fcpio_tag_exid_enc()
158 *rx_id = tag->u.ex_id.rx_id; in fcpio_tag_exid_dec()
159 *ox_id = tag->u.ex_id.ox_id; in fcpio_tag_exid_dec()
164 * host driver
178 hdr->type = type; in fcpio_header_enc()
179 hdr->status = status; in fcpio_header_enc()
180 hdr->_resvd = 0; in fcpio_header_enc()
181 hdr->tag = tag; in fcpio_header_enc()
189 *type = hdr->type; in fcpio_header_dec()
190 *status = hdr->status; in fcpio_header_dec()
191 *tag = hdr->tag; in fcpio_header_dec()
199 * fcpio_icmnd_16: host -> firmware request
201 * used for sending out an initiator SCSI 16-byte command
207 u32 sgl_cnt; /* scatter-gather list count */
209 u64 sgl_addr; /* scatter-gather list addr */
211 u8 crn; /* SCSI Command Reference No. */
214 u8 flags; /* command flags */
241 * Command flags
247 * fcpio_icmnd_32: host -> firmware request
249 * used for sending out an initiator SCSI 32-byte command
255 u32 sgl_cnt; /* scatter-gather list count */
257 u64 sgl_addr; /* scatter-gather list addr */
259 u8 crn; /* SCSI Command Reference No. */
262 u8 flags; /* command flags */
275 * fcpio_itmf: host -> firmware request
307 * fcpio_tdata: host -> firmware request
310 * target command
313 u16 rx_id; /* FC rx_id of target command */
314 u16 flags; /* command flags */
316 u32 sgl_cnt; /* scatter-gather list count */
318 u64 sgl_addr; /* scatter-gather list address */
322 * Command flags
327 * fcpio_txrdy: host -> firmware request
330 * target command
333 u16 rx_id; /* FC rx_id of target command */
336 u32 sgl_cnt; /* scatter-gather list count */
338 u64 sgl_addr; /* scatter-gather list address */
342 * fcpio_trsp: host -> firmware request
345 * command
348 u16 rx_id; /* FC rx_id of target command */
365 * fcpio_ttmf_ack: host -> firmware response
367 * used by the host to indicate to the firmware it has received and processed
371 u16 rx_id; /* FC rx_id of target command */
377 * fcpio_tabort: host -> firmware request
379 * used by the host to request the firmware to abort a target request that was
387 * fcpio_reset: host -> firmware request
389 * used by the host to signal a reset of the driver to the firmware
402 * fcpio_flogi_reg: host -> firmware request
405 * used by the host to notify the firmware of the lif's s_id
418 * fcpio_echo: host -> firmware request
427 * fcpio_lunmap_req: host -> firmware request
438 * fcpio_flogi_fip_reg: host -> firmware request
441 * used by the host to notify the firmware of the lif's s_id
451 u8 ha_mac[ETH_ALEN]; /* Host adapter source mac */
456 * Basic structure for all fcpio structures that are sent from the host to the
459 #define FCPIO_HOST_REQ_LEN 128 /* expected length of host requests */
468 u8 buf[FCPIO_HOST_REQ_LEN - sizeof(struct fcpio_header)];
471 * Initiator host requests
478 * Target host requests
498 * fcpio_icmnd_cmpl: firmware -> host response
500 * used for sending the host a response to an initiator command
517 * fcpio_itmf_cmpl: firmware -> host response
519 * used for sending the host a response for a itmf request
526 * fcpio_tcmnd_16: firmware -> host request
528 * used by the firmware to notify the host of an incoming target SCSI 16-Byte
533 u8 crn; /* SCSI Command Reference No. */
536 u8 flags; /* command flags */
553 * Command flags
559 * fcpio_tcmnd_32: firmware -> host request
561 * used by the firmware to notify the host of an incoming target SCSI 32-Byte
566 u8 crn; /* SCSI Command Reference No. */
569 u8 flags; /* command flags */
577 * fcpio_tdrsp_cmpl: firmware -> host response
579 * used by the firmware to notify the host of a response to a host target
580 * command
588 * fcpio_ttmf: firmware -> host request
590 * used by the firmware to notify the host of an incoming task management
597 u8 crn; /* SCSI Command Reference No. */
612 * fcpio_tabort_cmpl: firmware -> host response
614 * used by the firmware to respond to a host's tabort request
622 * fcpio_ack: firmware -> host response
624 * used by firmware to notify the host of the last work request received
627 u16 request_out; /* last host entry received */
632 * fcpio_reset_cmpl: firmware -> host response
634 * use by firmware to respond to the host's reset request
641 * fcpio_flogi_reg_cmpl: firmware -> host response
651 * fcpio_echo_cmpl: firmware -> host response
660 * fcpio_lunmap_chng: firmware -> host notification
663 * notifies the host that the lunmap tables have changed
670 * fcpio_lunmap_req_cmpl: firmware -> host response
673 * response for lunmap table request from the host
681 * the host. They are 64 bytes per structure.
691 u8 buf[FCPIO_FW_REQ_LEN - sizeof(struct fcpio_header)];
734 u8 *c = ((u8 *) fw_req) + sizeof(struct fcpio_fw_req) - 1; in fcpio_color_enc()
744 u8 *c = ((u8 *) fw_req) + sizeof(struct fcpio_fw_req) - 1; in fcpio_color_dec()