Lines Matching refs:els_iocb

2725 qla24xx_els_logo_iocb(srb_t *sp, struct els_entry_24xx *els_iocb)  in qla24xx_els_logo_iocb()  argument
2730 els_iocb->entry_type = ELS_IOCB_TYPE; in qla24xx_els_logo_iocb()
2731 els_iocb->entry_count = 1; in qla24xx_els_logo_iocb()
2732 els_iocb->sys_define = 0; in qla24xx_els_logo_iocb()
2733 els_iocb->entry_status = 0; in qla24xx_els_logo_iocb()
2734 els_iocb->handle = sp->handle; in qla24xx_els_logo_iocb()
2735 els_iocb->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_els_logo_iocb()
2736 els_iocb->tx_dsd_count = cpu_to_le16(1); in qla24xx_els_logo_iocb()
2737 els_iocb->vp_index = vha->vp_idx; in qla24xx_els_logo_iocb()
2738 els_iocb->sof_type = EST_SOFI3; in qla24xx_els_logo_iocb()
2739 els_iocb->rx_dsd_count = 0; in qla24xx_els_logo_iocb()
2740 els_iocb->opcode = elsio->u.els_logo.els_cmd; in qla24xx_els_logo_iocb()
2742 els_iocb->d_id[0] = sp->fcport->d_id.b.al_pa; in qla24xx_els_logo_iocb()
2743 els_iocb->d_id[1] = sp->fcport->d_id.b.area; in qla24xx_els_logo_iocb()
2744 els_iocb->d_id[2] = sp->fcport->d_id.b.domain; in qla24xx_els_logo_iocb()
2746 els_iocb->s_id[1] = vha->d_id.b.al_pa; in qla24xx_els_logo_iocb()
2747 els_iocb->s_id[2] = vha->d_id.b.area; in qla24xx_els_logo_iocb()
2748 els_iocb->s_id[0] = vha->d_id.b.domain; in qla24xx_els_logo_iocb()
2752 els_iocb->control_flags = cpu_to_le16(ECF_SEC_LOGIN); in qla24xx_els_logo_iocb()
2754 els_iocb->control_flags = 0; in qla24xx_els_logo_iocb()
2755 els_iocb->tx_byte_count = els_iocb->tx_len = in qla24xx_els_logo_iocb()
2758 &els_iocb->tx_address); in qla24xx_els_logo_iocb()
2759 els_iocb->rx_dsd_count = cpu_to_le16(1); in qla24xx_els_logo_iocb()
2760 els_iocb->rx_byte_count = els_iocb->rx_len = in qla24xx_els_logo_iocb()
2763 &els_iocb->rx_address); in qla24xx_els_logo_iocb()
2768 (uint8_t *)els_iocb, in qla24xx_els_logo_iocb()
2769 sizeof(*els_iocb)); in qla24xx_els_logo_iocb()
2771 els_iocb->tx_byte_count = in qla24xx_els_logo_iocb()
2774 &els_iocb->tx_address); in qla24xx_els_logo_iocb()
2775 els_iocb->tx_len = cpu_to_le32(sizeof(struct els_logo_payload)); in qla24xx_els_logo_iocb()
2777 els_iocb->rx_byte_count = 0; in qla24xx_els_logo_iocb()
2778 els_iocb->rx_address = 0; in qla24xx_els_logo_iocb()
2779 els_iocb->rx_len = 0; in qla24xx_els_logo_iocb()
2783 els_iocb, in qla24xx_els_logo_iocb()
2784 sizeof(*els_iocb)); in qla24xx_els_logo_iocb()
3079 struct els_entry_24xx *els_iocb, in qla_els_pt_iocb() argument
3082 els_iocb->entry_type = ELS_IOCB_TYPE; in qla_els_pt_iocb()
3083 els_iocb->entry_count = 1; in qla_els_pt_iocb()
3084 els_iocb->sys_define = 0; in qla_els_pt_iocb()
3085 els_iocb->entry_status = 0; in qla_els_pt_iocb()
3086 els_iocb->handle = QLA_SKIP_HANDLE; in qla_els_pt_iocb()
3087 els_iocb->nport_handle = a->nport_handle; in qla_els_pt_iocb()
3088 els_iocb->rx_xchg_address = a->rx_xchg_address; in qla_els_pt_iocb()
3089 els_iocb->tx_dsd_count = cpu_to_le16(1); in qla_els_pt_iocb()
3090 els_iocb->vp_index = a->vp_idx; in qla_els_pt_iocb()
3091 els_iocb->sof_type = EST_SOFI3; in qla_els_pt_iocb()
3092 els_iocb->rx_dsd_count = cpu_to_le16(0); in qla_els_pt_iocb()
3093 els_iocb->opcode = a->els_opcode; in qla_els_pt_iocb()
3095 els_iocb->d_id[0] = a->did.b.al_pa; in qla_els_pt_iocb()
3096 els_iocb->d_id[1] = a->did.b.area; in qla_els_pt_iocb()
3097 els_iocb->d_id[2] = a->did.b.domain; in qla_els_pt_iocb()
3099 els_iocb->s_id[1] = vha->d_id.b.al_pa; in qla_els_pt_iocb()
3100 els_iocb->s_id[2] = vha->d_id.b.area; in qla_els_pt_iocb()
3101 els_iocb->s_id[0] = vha->d_id.b.domain; in qla_els_pt_iocb()
3103 els_iocb->control_flags = cpu_to_le16(a->control_flags); in qla_els_pt_iocb()
3105 els_iocb->tx_byte_count = cpu_to_le32(a->tx_byte_count); in qla_els_pt_iocb()
3106 els_iocb->tx_len = cpu_to_le32(a->tx_len); in qla_els_pt_iocb()
3107 put_unaligned_le64(a->tx_addr, &els_iocb->tx_address); in qla_els_pt_iocb()
3109 els_iocb->rx_byte_count = cpu_to_le32(a->rx_byte_count); in qla_els_pt_iocb()
3110 els_iocb->rx_len = cpu_to_le32(a->rx_len); in qla_els_pt_iocb()
3111 put_unaligned_le64(a->rx_addr, &els_iocb->rx_address); in qla_els_pt_iocb()
3115 qla24xx_els_iocb(srb_t *sp, struct els_entry_24xx *els_iocb) in qla24xx_els_iocb() argument
3120 els_iocb->entry_type = ELS_IOCB_TYPE; in qla24xx_els_iocb()
3121 els_iocb->entry_count = 1; in qla24xx_els_iocb()
3122 els_iocb->sys_define = 0; in qla24xx_els_iocb()
3123 els_iocb->entry_status = 0; in qla24xx_els_iocb()
3124 els_iocb->handle = sp->handle; in qla24xx_els_iocb()
3125 els_iocb->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_els_iocb()
3126 els_iocb->tx_dsd_count = cpu_to_le16(bsg_job->request_payload.sg_cnt); in qla24xx_els_iocb()
3127 els_iocb->vp_index = sp->vha->vp_idx; in qla24xx_els_iocb()
3128 els_iocb->sof_type = EST_SOFI3; in qla24xx_els_iocb()
3129 els_iocb->rx_dsd_count = cpu_to_le16(bsg_job->reply_payload.sg_cnt); in qla24xx_els_iocb()
3131 els_iocb->opcode = in qla24xx_els_iocb()
3135 els_iocb->d_id[0] = sp->fcport->d_id.b.al_pa; in qla24xx_els_iocb()
3136 els_iocb->d_id[1] = sp->fcport->d_id.b.area; in qla24xx_els_iocb()
3137 els_iocb->d_id[2] = sp->fcport->d_id.b.domain; in qla24xx_els_iocb()
3138 els_iocb->control_flags = 0; in qla24xx_els_iocb()
3139 els_iocb->rx_byte_count = in qla24xx_els_iocb()
3141 els_iocb->tx_byte_count = in qla24xx_els_iocb()
3145 &els_iocb->tx_address); in qla24xx_els_iocb()
3146 els_iocb->tx_len = cpu_to_le32(sg_dma_len in qla24xx_els_iocb()
3150 &els_iocb->rx_address); in qla24xx_els_iocb()
3151 els_iocb->rx_len = cpu_to_le32(sg_dma_len in qla24xx_els_iocb()