Lines Matching refs:ct_iocb

3222 qla2x00_ct_iocb(srb_t *sp, ms_iocb_entry_t *ct_iocb)  in qla2x00_ct_iocb()  argument
3234 memset(ct_iocb, 0, sizeof(ms_iocb_entry_t)); in qla2x00_ct_iocb()
3235 ct_iocb->entry_type = CT_IOCB_TYPE; in qla2x00_ct_iocb()
3236 ct_iocb->entry_status = 0; in qla2x00_ct_iocb()
3237 ct_iocb->handle1 = sp->handle; in qla2x00_ct_iocb()
3238 SET_TARGET_ID(ha, ct_iocb->loop_id, sp->fcport->loop_id); in qla2x00_ct_iocb()
3239 ct_iocb->status = cpu_to_le16(0); in qla2x00_ct_iocb()
3240 ct_iocb->control_flags = cpu_to_le16(0); in qla2x00_ct_iocb()
3241 ct_iocb->timeout = 0; in qla2x00_ct_iocb()
3242 ct_iocb->cmd_dsd_count = in qla2x00_ct_iocb()
3244 ct_iocb->total_dsd_count = in qla2x00_ct_iocb()
3246 ct_iocb->req_bytecount = in qla2x00_ct_iocb()
3248 ct_iocb->rsp_bytecount = in qla2x00_ct_iocb()
3252 &ct_iocb->req_dsd.address); in qla2x00_ct_iocb()
3253 ct_iocb->req_dsd.length = ct_iocb->req_bytecount; in qla2x00_ct_iocb()
3256 &ct_iocb->rsp_dsd.address); in qla2x00_ct_iocb()
3257 ct_iocb->rsp_dsd.length = ct_iocb->rsp_bytecount; in qla2x00_ct_iocb()
3260 cur_dsd = &ct_iocb->rsp_dsd; in qla2x00_ct_iocb()
3283 ct_iocb->entry_count = entry_count; in qla2x00_ct_iocb()
3289 qla24xx_ct_iocb(srb_t *sp, struct ct_entry_24xx *ct_iocb) in qla24xx_ct_iocb() argument
3302 ct_iocb->entry_type = CT_IOCB_TYPE; in qla24xx_ct_iocb()
3303 ct_iocb->entry_status = 0; in qla24xx_ct_iocb()
3304 ct_iocb->sys_define = 0; in qla24xx_ct_iocb()
3305 ct_iocb->handle = sp->handle; in qla24xx_ct_iocb()
3307 ct_iocb->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_ct_iocb()
3308 ct_iocb->vp_index = sp->vha->vp_idx; in qla24xx_ct_iocb()
3309 ct_iocb->comp_status = cpu_to_le16(0); in qla24xx_ct_iocb()
3314 ct_iocb->cmd_dsd_count = cpu_to_le16(cmd_dsds); in qla24xx_ct_iocb()
3315 ct_iocb->timeout = 0; in qla24xx_ct_iocb()
3316 ct_iocb->rsp_dsd_count = cpu_to_le16(rsp_dsds); in qla24xx_ct_iocb()
3317 ct_iocb->cmd_byte_count = in qla24xx_ct_iocb()
3321 cur_dsd = ct_iocb->dsd; in qla24xx_ct_iocb()
3361 ct_iocb->entry_count = entry_count; in qla24xx_ct_iocb()