Lines Matching refs:m_sg

205 	struct mvumi_sgl *m_sg = (struct mvumi_sgl *) sgl_p;  in mvumi_make_sgl()  local
222 m_sg->baseaddr_l = cpu_to_le32(lower_32_bits(busaddr)); in mvumi_make_sgl()
223 m_sg->baseaddr_h = cpu_to_le32(upper_32_bits(busaddr)); in mvumi_make_sgl()
224 m_sg->flags = 0; in mvumi_make_sgl()
225 m_sg->size = cpu_to_le32(sg_dma_len(&sg[i])); in mvumi_make_sgl()
227 m_sg->flags |= SGD_EOT; in mvumi_make_sgl()
229 m_sg++; in mvumi_make_sgl()
238 m_sg->baseaddr_l = cpu_to_le32(lower_32_bits(busaddr)); in mvumi_make_sgl()
239 m_sg->baseaddr_h = cpu_to_le32(upper_32_bits(busaddr)); in mvumi_make_sgl()
240 m_sg->flags = SGD_EOT; in mvumi_make_sgl()
241 m_sg->size = cpu_to_le32(scsi_bufflen(scmd)); in mvumi_make_sgl()
251 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 = SGD_EOT; in mvumi_internal_cmd_sgl()
271 m_sg->size = cpu_to_le32(size); in mvumi_internal_cmd_sgl()
313 struct mvumi_sgl *m_sg; in mvumi_delete_internal_cmd() local
319 m_sg = (struct mvumi_sgl *) &cmd->frame->payload[0]; in mvumi_delete_internal_cmd()
320 size = m_sg->size; in mvumi_delete_internal_cmd()
322 phy_addr = (dma_addr_t) m_sg->baseaddr_l | in mvumi_delete_internal_cmd()
323 (dma_addr_t) ((m_sg->baseaddr_h << 16) << 16); in mvumi_delete_internal_cmd()