Lines Matching refs:els_iocb
2029 qla24xx_els_iocb(srb_t *sp, struct els_entry_24xx *els_iocb) in qla24xx_els_iocb() argument
2033 els_iocb->entry_type = ELS_IOCB_TYPE; in qla24xx_els_iocb()
2034 els_iocb->entry_count = 1; in qla24xx_els_iocb()
2035 els_iocb->sys_define = 0; in qla24xx_els_iocb()
2036 els_iocb->entry_status = 0; in qla24xx_els_iocb()
2037 els_iocb->handle = sp->handle; in qla24xx_els_iocb()
2038 els_iocb->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_els_iocb()
2039 els_iocb->tx_dsd_count = __constant_cpu_to_le16(bsg_job->request_payload.sg_cnt); in qla24xx_els_iocb()
2040 els_iocb->vp_index = sp->fcport->vp_idx; in qla24xx_els_iocb()
2041 els_iocb->sof_type = EST_SOFI3; in qla24xx_els_iocb()
2042 els_iocb->rx_dsd_count = __constant_cpu_to_le16(bsg_job->reply_payload.sg_cnt); in qla24xx_els_iocb()
2044 els_iocb->opcode = in qla24xx_els_iocb()
2048 els_iocb->port_id[0] = sp->fcport->d_id.b.al_pa; in qla24xx_els_iocb()
2049 els_iocb->port_id[1] = sp->fcport->d_id.b.area; in qla24xx_els_iocb()
2050 els_iocb->port_id[2] = sp->fcport->d_id.b.domain; in qla24xx_els_iocb()
2051 els_iocb->control_flags = 0; in qla24xx_els_iocb()
2052 els_iocb->rx_byte_count = in qla24xx_els_iocb()
2054 els_iocb->tx_byte_count = in qla24xx_els_iocb()
2057 els_iocb->tx_address[0] = cpu_to_le32(LSD(sg_dma_address in qla24xx_els_iocb()
2059 els_iocb->tx_address[1] = cpu_to_le32(MSD(sg_dma_address in qla24xx_els_iocb()
2061 els_iocb->tx_len = cpu_to_le32(sg_dma_len in qla24xx_els_iocb()
2064 els_iocb->rx_address[0] = cpu_to_le32(LSD(sg_dma_address in qla24xx_els_iocb()
2066 els_iocb->rx_address[1] = cpu_to_le32(MSD(sg_dma_address in qla24xx_els_iocb()
2068 els_iocb->rx_len = cpu_to_le32(sg_dma_len in qla24xx_els_iocb()