Lines Matching refs:els_iocb
2796 qla24xx_els_logo_iocb(srb_t *sp, struct els_entry_24xx *els_iocb) in qla24xx_els_logo_iocb() argument
2801 els_iocb->entry_type = ELS_IOCB_TYPE; in qla24xx_els_logo_iocb()
2802 els_iocb->entry_count = 1; in qla24xx_els_logo_iocb()
2803 els_iocb->sys_define = 0; in qla24xx_els_logo_iocb()
2804 els_iocb->entry_status = 0; in qla24xx_els_logo_iocb()
2805 els_iocb->handle = sp->handle; in qla24xx_els_logo_iocb()
2806 els_iocb->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_els_logo_iocb()
2807 els_iocb->tx_dsd_count = cpu_to_le16(1); in qla24xx_els_logo_iocb()
2808 els_iocb->vp_index = vha->vp_idx; in qla24xx_els_logo_iocb()
2809 els_iocb->sof_type = EST_SOFI3; in qla24xx_els_logo_iocb()
2810 els_iocb->rx_dsd_count = 0; in qla24xx_els_logo_iocb()
2811 els_iocb->opcode = elsio->u.els_logo.els_cmd; in qla24xx_els_logo_iocb()
2813 els_iocb->d_id[0] = sp->fcport->d_id.b.al_pa; in qla24xx_els_logo_iocb()
2814 els_iocb->d_id[1] = sp->fcport->d_id.b.area; in qla24xx_els_logo_iocb()
2815 els_iocb->d_id[2] = sp->fcport->d_id.b.domain; in qla24xx_els_logo_iocb()
2817 els_iocb->s_id[1] = vha->d_id.b.al_pa; in qla24xx_els_logo_iocb()
2818 els_iocb->s_id[2] = vha->d_id.b.area; in qla24xx_els_logo_iocb()
2819 els_iocb->s_id[0] = vha->d_id.b.domain; in qla24xx_els_logo_iocb()
2823 els_iocb->control_flags = cpu_to_le16(ECF_SEC_LOGIN); in qla24xx_els_logo_iocb()
2825 els_iocb->control_flags = 0; in qla24xx_els_logo_iocb()
2826 els_iocb->tx_byte_count = els_iocb->tx_len = in qla24xx_els_logo_iocb()
2829 &els_iocb->tx_address); in qla24xx_els_logo_iocb()
2830 els_iocb->rx_dsd_count = cpu_to_le16(1); in qla24xx_els_logo_iocb()
2831 els_iocb->rx_byte_count = els_iocb->rx_len = in qla24xx_els_logo_iocb()
2834 &els_iocb->rx_address); in qla24xx_els_logo_iocb()
2839 (uint8_t *)els_iocb, in qla24xx_els_logo_iocb()
2840 sizeof(*els_iocb)); in qla24xx_els_logo_iocb()
2842 els_iocb->tx_byte_count = in qla24xx_els_logo_iocb()
2845 &els_iocb->tx_address); in qla24xx_els_logo_iocb()
2846 els_iocb->tx_len = cpu_to_le32(sizeof(struct els_logo_payload)); in qla24xx_els_logo_iocb()
2848 els_iocb->rx_byte_count = 0; in qla24xx_els_logo_iocb()
2849 els_iocb->rx_address = 0; in qla24xx_els_logo_iocb()
2850 els_iocb->rx_len = 0; in qla24xx_els_logo_iocb()
2854 els_iocb, in qla24xx_els_logo_iocb()
2855 sizeof(*els_iocb)); in qla24xx_els_logo_iocb()
3143 struct els_entry_24xx *els_iocb, in qla_els_pt_iocb() argument
3146 els_iocb->entry_type = ELS_IOCB_TYPE; in qla_els_pt_iocb()
3147 els_iocb->entry_count = 1; in qla_els_pt_iocb()
3148 els_iocb->sys_define = 0; in qla_els_pt_iocb()
3149 els_iocb->entry_status = 0; in qla_els_pt_iocb()
3150 els_iocb->handle = QLA_SKIP_HANDLE; in qla_els_pt_iocb()
3151 els_iocb->nport_handle = a->nport_handle; in qla_els_pt_iocb()
3152 els_iocb->rx_xchg_address = a->rx_xchg_address; in qla_els_pt_iocb()
3153 els_iocb->tx_dsd_count = cpu_to_le16(1); in qla_els_pt_iocb()
3154 els_iocb->vp_index = a->vp_idx; in qla_els_pt_iocb()
3155 els_iocb->sof_type = EST_SOFI3; in qla_els_pt_iocb()
3156 els_iocb->rx_dsd_count = cpu_to_le16(0); in qla_els_pt_iocb()
3157 els_iocb->opcode = a->els_opcode; in qla_els_pt_iocb()
3159 els_iocb->d_id[0] = a->did.b.al_pa; in qla_els_pt_iocb()
3160 els_iocb->d_id[1] = a->did.b.area; in qla_els_pt_iocb()
3161 els_iocb->d_id[2] = a->did.b.domain; in qla_els_pt_iocb()
3163 els_iocb->s_id[1] = vha->d_id.b.al_pa; in qla_els_pt_iocb()
3164 els_iocb->s_id[2] = vha->d_id.b.area; in qla_els_pt_iocb()
3165 els_iocb->s_id[0] = vha->d_id.b.domain; in qla_els_pt_iocb()
3167 els_iocb->control_flags = cpu_to_le16(a->control_flags); in qla_els_pt_iocb()
3169 els_iocb->tx_byte_count = cpu_to_le32(a->tx_byte_count); in qla_els_pt_iocb()
3170 els_iocb->tx_len = cpu_to_le32(a->tx_len); in qla_els_pt_iocb()
3171 put_unaligned_le64(a->tx_addr, &els_iocb->tx_address); in qla_els_pt_iocb()
3173 els_iocb->rx_byte_count = cpu_to_le32(a->rx_byte_count); in qla_els_pt_iocb()
3174 els_iocb->rx_len = cpu_to_le32(a->rx_len); in qla_els_pt_iocb()
3175 put_unaligned_le64(a->rx_addr, &els_iocb->rx_address); in qla_els_pt_iocb()
3179 qla24xx_els_iocb(srb_t *sp, struct els_entry_24xx *els_iocb) in qla24xx_els_iocb() argument
3184 els_iocb->entry_type = ELS_IOCB_TYPE; in qla24xx_els_iocb()
3185 els_iocb->entry_count = 1; in qla24xx_els_iocb()
3186 els_iocb->sys_define = 0; in qla24xx_els_iocb()
3187 els_iocb->entry_status = 0; in qla24xx_els_iocb()
3188 els_iocb->handle = sp->handle; in qla24xx_els_iocb()
3189 els_iocb->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_els_iocb()
3190 els_iocb->tx_dsd_count = cpu_to_le16(bsg_job->request_payload.sg_cnt); in qla24xx_els_iocb()
3191 els_iocb->vp_index = sp->vha->vp_idx; in qla24xx_els_iocb()
3192 els_iocb->sof_type = EST_SOFI3; in qla24xx_els_iocb()
3193 els_iocb->rx_dsd_count = cpu_to_le16(bsg_job->reply_payload.sg_cnt); in qla24xx_els_iocb()
3195 els_iocb->opcode = in qla24xx_els_iocb()
3199 els_iocb->d_id[0] = sp->fcport->d_id.b.al_pa; in qla24xx_els_iocb()
3200 els_iocb->d_id[1] = sp->fcport->d_id.b.area; in qla24xx_els_iocb()
3201 els_iocb->d_id[2] = sp->fcport->d_id.b.domain; in qla24xx_els_iocb()
3202 els_iocb->control_flags = 0; in qla24xx_els_iocb()
3203 els_iocb->rx_byte_count = in qla24xx_els_iocb()
3205 els_iocb->tx_byte_count = in qla24xx_els_iocb()
3209 &els_iocb->tx_address); in qla24xx_els_iocb()
3210 els_iocb->tx_len = cpu_to_le32(sg_dma_len in qla24xx_els_iocb()
3214 &els_iocb->rx_address); in qla24xx_els_iocb()
3215 els_iocb->rx_len = cpu_to_le32(sg_dma_len in qla24xx_els_iocb()