Lines Matching refs:m_sg
193 struct mvumi_sgl *m_sg = (struct mvumi_sgl *) sgl_p; in mvumi_make_sgl() local
210 m_sg->baseaddr_l = cpu_to_le32(lower_32_bits(busaddr)); in mvumi_make_sgl()
211 m_sg->baseaddr_h = cpu_to_le32(upper_32_bits(busaddr)); in mvumi_make_sgl()
212 m_sg->flags = 0; in mvumi_make_sgl()
213 sgd_setsz(mhba, m_sg, cpu_to_le32(sg_dma_len(sg))); in mvumi_make_sgl()
215 m_sg->flags |= 1U << mhba->eot_flag; in mvumi_make_sgl()
217 sgd_inc(mhba, m_sg); in mvumi_make_sgl()
226 struct mvumi_sgl *m_sg; in mvumi_internal_cmd_sgl() local
238 m_sg = (struct mvumi_sgl *) &cmd->frame->payload[0]; in mvumi_internal_cmd_sgl()
242 m_sg->baseaddr_l = cpu_to_le32(lower_32_bits(phy_addr)); in mvumi_internal_cmd_sgl()
243 m_sg->baseaddr_h = cpu_to_le32(upper_32_bits(phy_addr)); in mvumi_internal_cmd_sgl()
244 m_sg->flags = 1U << mhba->eot_flag; in mvumi_internal_cmd_sgl()
245 sgd_setsz(mhba, m_sg, cpu_to_le32(size)); in mvumi_internal_cmd_sgl()
289 struct mvumi_sgl *m_sg; in mvumi_delete_internal_cmd() local
295 m_sg = (struct mvumi_sgl *) &cmd->frame->payload[0]; in mvumi_delete_internal_cmd()
296 sgd_getsz(mhba, m_sg, size); in mvumi_delete_internal_cmd()
298 phy_addr = (dma_addr_t) m_sg->baseaddr_l | in mvumi_delete_internal_cmd()
299 (dma_addr_t) ((m_sg->baseaddr_h << 16) << 16); in mvumi_delete_internal_cmd()