Lines Matching refs:sh_desc
287 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_start_xfer() local
291 sh_desc->hw.tcr, sh_desc->hw.sar, sh_desc->hw.dar); in sh_dmae_start_xfer()
293 dmae_set_reg(sh_chan, &sh_desc->hw); in sh_dmae_start_xfer()
381 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_desc_setup() local
387 sh_desc->hw.sar = src; in sh_dmae_desc_setup()
388 sh_desc->hw.dar = dst; in sh_dmae_desc_setup()
389 sh_desc->hw.tcr = *len; in sh_dmae_desc_setup()
420 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_get_partial() local
422 return sh_desc->hw.tcr - in sh_dmae_get_partial()
458 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_desc_completed() local
464 (sh_desc->hw.dar + sh_desc->hw.tcr) == dar_buf) || in sh_dmae_desc_completed()
466 (sh_desc->hw.sar + sh_desc->hw.tcr) == sar_buf); in sh_dmae_desc_completed()