Lines Matching refs:iwrite
1736 struct sli4_fcp_iwrite64_wqe *iwrite = buf; in sli_fcp_iwrite64_wqe() local
1749 bptr = &iwrite->bde; in sli_fcp_iwrite64_wqe()
1751 iwrite->qosd_xbl_hlm_iod_dbde_wqes &= ~SLI4_IWR_WQE_XBL; in sli_fcp_iwrite64_wqe()
1753 iwrite->qosd_xbl_hlm_iod_dbde_wqes |= SLI4_IWR_WQE_DBDE; in sli_fcp_iwrite64_wqe()
1759 iwrite->qosd_xbl_hlm_iod_dbde_wqes |= SLI4_IWR_WQE_XBL; in sli_fcp_iwrite64_wqe()
1773 iwrite->fcp_cmd_buffer_length = cpu_to_le16(len); in sli_fcp_iwrite64_wqe()
1782 iwrite->payload_offset_length = cpu_to_le16(len); in sli_fcp_iwrite64_wqe()
1783 iwrite->total_transfer_length = cpu_to_le16(xfer_len); in sli_fcp_iwrite64_wqe()
1785 iwrite->initial_transfer_length = cpu_to_le16(min); in sli_fcp_iwrite64_wqe()
1787 iwrite->xri_tag = cpu_to_le16(xri); in sli_fcp_iwrite64_wqe()
1788 iwrite->context_tag = cpu_to_le16(rpi); in sli_fcp_iwrite64_wqe()
1790 iwrite->timer = timeout; in sli_fcp_iwrite64_wqe()
1792 iwrite->class_pu_byte |= 2 << SLI4_IWR_WQE_PU_SHFT; in sli_fcp_iwrite64_wqe()
1793 iwrite->class_pu_byte |= SLI4_GENERIC_CLASS_CLASS_3; in sli_fcp_iwrite64_wqe()
1794 iwrite->command = SLI4_WQE_FCP_IWRITE64; in sli_fcp_iwrite64_wqe()
1795 iwrite->dif_ct_bs_byte |= in sli_fcp_iwrite64_wqe()
1797 iwrite->dif_ct_bs_byte |= dif; in sli_fcp_iwrite64_wqe()
1798 iwrite->dif_ct_bs_byte |= bs << SLI4_IWR_WQE_BS_SHFT; in sli_fcp_iwrite64_wqe()
1800 iwrite->abort_tag = cpu_to_le32(xri); in sli_fcp_iwrite64_wqe()
1802 iwrite->request_tag = cpu_to_le16(tag); in sli_fcp_iwrite64_wqe()
1803 iwrite->len_loc1_byte |= SLI4_IWR_WQE_LEN_LOC_BIT1; in sli_fcp_iwrite64_wqe()
1804 iwrite->qosd_xbl_hlm_iod_dbde_wqes |= SLI4_IWR_WQE_LEN_LOC_BIT2; in sli_fcp_iwrite64_wqe()
1805 iwrite->cmd_type_byte |= SLI4_CMD_FCP_IWRITE64_WQE; in sli_fcp_iwrite64_wqe()
1806 iwrite->cq_id = cpu_to_le16(cq_id); in sli_fcp_iwrite64_wqe()
1809 bptr = &iwrite->first_data_bde; in sli_fcp_iwrite64_wqe()