Lines Matching +full:host +full:- +full:only

25  * communication by the host driver to the fcp firmware.
29 * Exchange and sequence id space allocated to the host driver
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.
121 * The only firmware requests that will use the rx_id/ox_id fields instead
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 */
217 u8 lun[LUN_ADDRESS]; /* FC vNIC only: LUN address */
219 u8 d_id[3]; /* FC vNIC only: Target D_ID */
220 u16 mss; /* FC vNIC only: max burst */
222 u32 r_a_tov; /* FC vNIC only: Res. Alloc Timeout */
223 u32 e_d_tov; /* FC vNIC only: Err Detect Timeout */
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 */
265 u8 lun[LUN_ADDRESS]; /* FC vNIC only: LUN address */
267 u8 d_id[3]; /* FC vNIC only: Target D_ID */
268 u16 mss; /* FC vNIC only: max burst */
270 u32 r_a_tov; /* FC vNIC only: Res. Alloc Timeout */
271 u32 e_d_tov; /* FC vNIC only: Error Detect Timeout */
275 * fcpio_itmf: host -> firmware request
280 * The t_tag field is only needed when the request type is ABT_TASK.
287 u8 lun[LUN_ADDRESS]; /* FC vNIC only: LUN address */
289 u8 d_id[3]; /* FC vNIC only: Target D_ID */
290 u32 r_a_tov; /* FC vNIC only: R_A_TOV in msec */
291 u32 e_d_tov; /* FC vNIC only: E_D_TOV in msec */
307 * fcpio_tdata: host -> firmware request
316 u32 sgl_cnt; /* scatter-gather list count */
318 u64 sgl_addr; /* scatter-gather list address */
327 * fcpio_txrdy: host -> firmware request
336 u32 sgl_cnt; /* scatter-gather list count */
338 u64 sgl_addr; /* scatter-gather list address */
342 * fcpio_trsp: host -> firmware request
365 * fcpio_ttmf_ack: host -> firmware response
367 * used by the host to indicate to the firmware it has received and processed
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
404 * fc vnic only
405 * used by the host to notify the firmware of the lif's s_id
410 u8 s_id[3]; /* FC vNIC only: Source S_ID */
418 * fcpio_echo: host -> firmware request
427 * fcpio_lunmap_req: host -> firmware request
429 * scsi vnic only
438 * fcpio_flogi_fip_reg: host -> firmware request
440 * fc vnic only
441 * used by the host to notify the firmware of the lif's s_id
446 u8 s_id[3]; /* FC vNIC only: Source 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
532 u8 lun[LUN_ADDRESS]; /* FC vNIC only: LUN address */
540 u8 s_id[3]; /* FC vNIC only: Source S_ID */
559 * fcpio_tcmnd_32: firmware -> host request
561 * used by the firmware to notify the host of an incoming target SCSI 32-Byte
565 u8 lun[LUN_ADDRESS]; /* FC vNIC only: LUN address */
573 u8 s_id[3]; /* FC vNIC only: Source S_ID */
577 * fcpio_tdrsp_cmpl: firmware -> host response
579 * used by the firmware to notify the host of a response to a host target
588 * fcpio_ttmf: firmware -> host request
590 * used by the firmware to notify the host of an incoming task management
595 u8 s_id[3]; /* FC vNIC only: Source S_ID */
596 u8 lun[LUN_ADDRESS]; /* FC vNIC only: LUN address */
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
643 * fc vnic only
651 * fcpio_echo_cmpl: firmware -> host response
660 * fcpio_lunmap_chng: firmware -> host notification
662 * scsi vnic only
663 * notifies the host that the lunmap tables have changed
670 * fcpio_lunmap_req_cmpl: firmware -> host response
672 * scsi vnic only
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()