Lines Matching refs:ct_iocb

2073 qla2x00_ct_iocb(srb_t *sp, ms_iocb_entry_t *ct_iocb)  in qla2x00_ct_iocb()  argument
2087 memset(ct_iocb, 0, sizeof(ms_iocb_entry_t)); in qla2x00_ct_iocb()
2088 ct_iocb->entry_type = CT_IOCB_TYPE; in qla2x00_ct_iocb()
2089 ct_iocb->entry_status = 0; in qla2x00_ct_iocb()
2090 ct_iocb->handle1 = sp->handle; in qla2x00_ct_iocb()
2091 SET_TARGET_ID(ha, ct_iocb->loop_id, sp->fcport->loop_id); in qla2x00_ct_iocb()
2092 ct_iocb->status = __constant_cpu_to_le16(0); in qla2x00_ct_iocb()
2093 ct_iocb->control_flags = __constant_cpu_to_le16(0); in qla2x00_ct_iocb()
2094 ct_iocb->timeout = 0; in qla2x00_ct_iocb()
2095 ct_iocb->cmd_dsd_count = in qla2x00_ct_iocb()
2097 ct_iocb->total_dsd_count = in qla2x00_ct_iocb()
2099 ct_iocb->req_bytecount = in qla2x00_ct_iocb()
2101 ct_iocb->rsp_bytecount = in qla2x00_ct_iocb()
2104 ct_iocb->dseg_req_address[0] = cpu_to_le32(LSD(sg_dma_address in qla2x00_ct_iocb()
2106 ct_iocb->dseg_req_address[1] = cpu_to_le32(MSD(sg_dma_address in qla2x00_ct_iocb()
2108 ct_iocb->dseg_req_length = ct_iocb->req_bytecount; in qla2x00_ct_iocb()
2110 ct_iocb->dseg_rsp_address[0] = cpu_to_le32(LSD(sg_dma_address in qla2x00_ct_iocb()
2112 ct_iocb->dseg_rsp_address[1] = cpu_to_le32(MSD(sg_dma_address in qla2x00_ct_iocb()
2114 ct_iocb->dseg_rsp_length = ct_iocb->rsp_bytecount; in qla2x00_ct_iocb()
2117 cur_dsd = (uint32_t *)ct_iocb->dseg_rsp_address; in qla2x00_ct_iocb()
2146 ct_iocb->entry_count = entry_count; in qla2x00_ct_iocb()
2150 qla24xx_ct_iocb(srb_t *sp, struct ct_entry_24xx *ct_iocb) in qla24xx_ct_iocb() argument
2164 ct_iocb->entry_type = CT_IOCB_TYPE; in qla24xx_ct_iocb()
2165 ct_iocb->entry_status = 0; in qla24xx_ct_iocb()
2166 ct_iocb->sys_define = 0; in qla24xx_ct_iocb()
2167 ct_iocb->handle = sp->handle; in qla24xx_ct_iocb()
2169 ct_iocb->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_ct_iocb()
2170 ct_iocb->vp_index = sp->fcport->vp_idx; in qla24xx_ct_iocb()
2171 ct_iocb->comp_status = __constant_cpu_to_le16(0); in qla24xx_ct_iocb()
2173 ct_iocb->cmd_dsd_count = in qla24xx_ct_iocb()
2175 ct_iocb->timeout = 0; in qla24xx_ct_iocb()
2176 ct_iocb->rsp_dsd_count = in qla24xx_ct_iocb()
2178 ct_iocb->rsp_byte_count = in qla24xx_ct_iocb()
2180 ct_iocb->cmd_byte_count = in qla24xx_ct_iocb()
2182 ct_iocb->dseg_0_address[0] = cpu_to_le32(LSD(sg_dma_address in qla24xx_ct_iocb()
2184 ct_iocb->dseg_0_address[1] = cpu_to_le32(MSD(sg_dma_address in qla24xx_ct_iocb()
2186 ct_iocb->dseg_0_len = cpu_to_le32(sg_dma_len in qla24xx_ct_iocb()
2190 cur_dsd = (uint32_t *)ct_iocb->dseg_1_address; in qla24xx_ct_iocb()
2219 ct_iocb->entry_count = entry_count; in qla24xx_ct_iocb()