Lines Matching refs:m_sg
207 struct mvumi_sgl *m_sg = (struct mvumi_sgl *) sgl_p; in mvumi_make_sgl() local
224 m_sg->baseaddr_l = cpu_to_le32(lower_32_bits(busaddr)); in mvumi_make_sgl()
225 m_sg->baseaddr_h = cpu_to_le32(upper_32_bits(busaddr)); in mvumi_make_sgl()
226 m_sg->flags = 0; in mvumi_make_sgl()
227 sgd_setsz(mhba, m_sg, cpu_to_le32(sg_dma_len(&sg[i]))); in mvumi_make_sgl()
229 m_sg->flags |= 1U << mhba->eot_flag; in mvumi_make_sgl()
231 sgd_inc(mhba, m_sg); in mvumi_make_sgl()
240 m_sg->baseaddr_l = cpu_to_le32(lower_32_bits(busaddr)); in mvumi_make_sgl()
241 m_sg->baseaddr_h = cpu_to_le32(upper_32_bits(busaddr)); in mvumi_make_sgl()
242 m_sg->flags = 1U << mhba->eot_flag; in mvumi_make_sgl()
243 sgd_setsz(mhba, m_sg, cpu_to_le32(scsi_bufflen(scmd))); in mvumi_make_sgl()
253 struct mvumi_sgl *m_sg; in mvumi_internal_cmd_sgl() local
264 m_sg = (struct mvumi_sgl *) &cmd->frame->payload[0]; in mvumi_internal_cmd_sgl()
268 m_sg->baseaddr_l = cpu_to_le32(lower_32_bits(phy_addr)); in mvumi_internal_cmd_sgl()
269 m_sg->baseaddr_h = cpu_to_le32(upper_32_bits(phy_addr)); in mvumi_internal_cmd_sgl()
270 m_sg->flags = 1U << mhba->eot_flag; in mvumi_internal_cmd_sgl()
271 sgd_setsz(mhba, m_sg, cpu_to_le32(size)); in mvumi_internal_cmd_sgl()
315 struct mvumi_sgl *m_sg; in mvumi_delete_internal_cmd() local
321 m_sg = (struct mvumi_sgl *) &cmd->frame->payload[0]; in mvumi_delete_internal_cmd()
322 sgd_getsz(mhba, m_sg, size); in mvumi_delete_internal_cmd()
324 phy_addr = (dma_addr_t) m_sg->baseaddr_l | in mvumi_delete_internal_cmd()
325 (dma_addr_t) ((m_sg->baseaddr_h << 16) << 16); in mvumi_delete_internal_cmd()