Lines Matching refs:m_sg
208 struct mvumi_sgl *m_sg = (struct mvumi_sgl *) sgl_p; in mvumi_make_sgl() local
225 m_sg->baseaddr_l = cpu_to_le32(lower_32_bits(busaddr)); in mvumi_make_sgl()
226 m_sg->baseaddr_h = cpu_to_le32(upper_32_bits(busaddr)); in mvumi_make_sgl()
227 m_sg->flags = 0; in mvumi_make_sgl()
228 sgd_setsz(mhba, m_sg, cpu_to_le32(sg_dma_len(&sg[i]))); in mvumi_make_sgl()
230 m_sg->flags |= 1U << mhba->eot_flag; in mvumi_make_sgl()
232 sgd_inc(mhba, m_sg); in mvumi_make_sgl()
241 m_sg->baseaddr_l = cpu_to_le32(lower_32_bits(busaddr)); in mvumi_make_sgl()
242 m_sg->baseaddr_h = cpu_to_le32(upper_32_bits(busaddr)); in mvumi_make_sgl()
243 m_sg->flags = 1U << mhba->eot_flag; in mvumi_make_sgl()
244 sgd_setsz(mhba, m_sg, cpu_to_le32(scsi_bufflen(scmd))); in mvumi_make_sgl()
254 struct mvumi_sgl *m_sg; in mvumi_internal_cmd_sgl() local
265 m_sg = (struct mvumi_sgl *) &cmd->frame->payload[0]; in mvumi_internal_cmd_sgl()
269 m_sg->baseaddr_l = cpu_to_le32(lower_32_bits(phy_addr)); in mvumi_internal_cmd_sgl()
270 m_sg->baseaddr_h = cpu_to_le32(upper_32_bits(phy_addr)); in mvumi_internal_cmd_sgl()
271 m_sg->flags = 1U << mhba->eot_flag; in mvumi_internal_cmd_sgl()
272 sgd_setsz(mhba, m_sg, cpu_to_le32(size)); in mvumi_internal_cmd_sgl()
316 struct mvumi_sgl *m_sg; in mvumi_delete_internal_cmd() local
322 m_sg = (struct mvumi_sgl *) &cmd->frame->payload[0]; in mvumi_delete_internal_cmd()
323 sgd_getsz(mhba, m_sg, size); in mvumi_delete_internal_cmd()
325 phy_addr = (dma_addr_t) m_sg->baseaddr_l | in mvumi_delete_internal_cmd()
326 (dma_addr_t) ((m_sg->baseaddr_h << 16) << 16); in mvumi_delete_internal_cmd()