Lines Matching refs:els_iocb
2710 qla24xx_els_logo_iocb(srb_t *sp, struct els_entry_24xx *els_iocb) in qla24xx_els_logo_iocb() argument
2715 els_iocb->entry_type = ELS_IOCB_TYPE; in qla24xx_els_logo_iocb()
2716 els_iocb->entry_count = 1; in qla24xx_els_logo_iocb()
2717 els_iocb->sys_define = 0; in qla24xx_els_logo_iocb()
2718 els_iocb->entry_status = 0; in qla24xx_els_logo_iocb()
2719 els_iocb->handle = sp->handle; in qla24xx_els_logo_iocb()
2720 els_iocb->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_els_logo_iocb()
2721 els_iocb->tx_dsd_count = cpu_to_le16(1); in qla24xx_els_logo_iocb()
2722 els_iocb->vp_index = vha->vp_idx; in qla24xx_els_logo_iocb()
2723 els_iocb->sof_type = EST_SOFI3; in qla24xx_els_logo_iocb()
2724 els_iocb->rx_dsd_count = 0; in qla24xx_els_logo_iocb()
2725 els_iocb->opcode = elsio->u.els_logo.els_cmd; in qla24xx_els_logo_iocb()
2727 els_iocb->d_id[0] = sp->fcport->d_id.b.al_pa; in qla24xx_els_logo_iocb()
2728 els_iocb->d_id[1] = sp->fcport->d_id.b.area; in qla24xx_els_logo_iocb()
2729 els_iocb->d_id[2] = sp->fcport->d_id.b.domain; in qla24xx_els_logo_iocb()
2731 els_iocb->s_id[1] = vha->d_id.b.al_pa; in qla24xx_els_logo_iocb()
2732 els_iocb->s_id[2] = vha->d_id.b.area; in qla24xx_els_logo_iocb()
2733 els_iocb->s_id[0] = vha->d_id.b.domain; in qla24xx_els_logo_iocb()
2736 els_iocb->control_flags = 0; in qla24xx_els_logo_iocb()
2737 els_iocb->tx_byte_count = els_iocb->tx_len = in qla24xx_els_logo_iocb()
2740 &els_iocb->tx_address); in qla24xx_els_logo_iocb()
2741 els_iocb->rx_dsd_count = cpu_to_le16(1); in qla24xx_els_logo_iocb()
2742 els_iocb->rx_byte_count = els_iocb->rx_len = in qla24xx_els_logo_iocb()
2745 &els_iocb->rx_address); in qla24xx_els_logo_iocb()
2750 (uint8_t *)els_iocb, in qla24xx_els_logo_iocb()
2751 sizeof(*els_iocb)); in qla24xx_els_logo_iocb()
2753 els_iocb->control_flags = cpu_to_le16(1 << 13); in qla24xx_els_logo_iocb()
2754 els_iocb->tx_byte_count = in qla24xx_els_logo_iocb()
2757 &els_iocb->tx_address); in qla24xx_els_logo_iocb()
2758 els_iocb->tx_len = cpu_to_le32(sizeof(struct els_logo_payload)); in qla24xx_els_logo_iocb()
2760 els_iocb->rx_byte_count = 0; in qla24xx_els_logo_iocb()
2761 els_iocb->rx_address = 0; in qla24xx_els_logo_iocb()
2762 els_iocb->rx_len = 0; in qla24xx_els_logo_iocb()
2766 els_iocb, in qla24xx_els_logo_iocb()
2767 sizeof(*els_iocb)); in qla24xx_els_logo_iocb()
3054 qla24xx_els_iocb(srb_t *sp, struct els_entry_24xx *els_iocb) in qla24xx_els_iocb() argument
3059 els_iocb->entry_type = ELS_IOCB_TYPE; in qla24xx_els_iocb()
3060 els_iocb->entry_count = 1; in qla24xx_els_iocb()
3061 els_iocb->sys_define = 0; in qla24xx_els_iocb()
3062 els_iocb->entry_status = 0; in qla24xx_els_iocb()
3063 els_iocb->handle = sp->handle; in qla24xx_els_iocb()
3064 els_iocb->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_els_iocb()
3065 els_iocb->tx_dsd_count = cpu_to_le16(bsg_job->request_payload.sg_cnt); in qla24xx_els_iocb()
3066 els_iocb->vp_index = sp->vha->vp_idx; in qla24xx_els_iocb()
3067 els_iocb->sof_type = EST_SOFI3; in qla24xx_els_iocb()
3068 els_iocb->rx_dsd_count = cpu_to_le16(bsg_job->reply_payload.sg_cnt); in qla24xx_els_iocb()
3070 els_iocb->opcode = in qla24xx_els_iocb()
3074 els_iocb->d_id[0] = sp->fcport->d_id.b.al_pa; in qla24xx_els_iocb()
3075 els_iocb->d_id[1] = sp->fcport->d_id.b.area; in qla24xx_els_iocb()
3076 els_iocb->d_id[2] = sp->fcport->d_id.b.domain; in qla24xx_els_iocb()
3077 els_iocb->control_flags = 0; in qla24xx_els_iocb()
3078 els_iocb->rx_byte_count = in qla24xx_els_iocb()
3080 els_iocb->tx_byte_count = in qla24xx_els_iocb()
3084 &els_iocb->tx_address); in qla24xx_els_iocb()
3085 els_iocb->tx_len = cpu_to_le32(sg_dma_len in qla24xx_els_iocb()
3089 &els_iocb->rx_address); in qla24xx_els_iocb()
3090 els_iocb->rx_len = cpu_to_le32(sg_dma_len in qla24xx_els_iocb()