• Home
  • Raw
  • Download

Lines Matching refs:md

70 	struct milbeaut_xdmac_desc *md;  member
100 mc->md = NULL; in milbeaut_xdmac_next_desc()
106 mc->md = to_milbeaut_xdmac_desc(vd); in milbeaut_xdmac_next_desc()
108 return mc->md; in milbeaut_xdmac_next_desc()
113 struct milbeaut_xdmac_desc *md) in milbeaut_chan_start() argument
118 val = md->len - 1; in milbeaut_chan_start()
121 val = md->src; in milbeaut_chan_start()
124 val = md->dst; in milbeaut_chan_start()
152 struct milbeaut_xdmac_desc *md; in milbeaut_xdmac_start() local
154 md = milbeaut_xdmac_next_desc(mc); in milbeaut_xdmac_start()
155 if (md) in milbeaut_xdmac_start()
156 milbeaut_chan_start(mc, md); in milbeaut_xdmac_start()
162 struct milbeaut_xdmac_desc *md; in milbeaut_xdmac_interrupt() local
171 md = mc->md; in milbeaut_xdmac_interrupt()
172 if (!md) in milbeaut_xdmac_interrupt()
175 vchan_cookie_complete(&md->vd); in milbeaut_xdmac_interrupt()
193 struct milbeaut_xdmac_desc *md; in milbeaut_xdmac_prep_memcpy() local
195 md = kzalloc(sizeof(*md), GFP_NOWAIT); in milbeaut_xdmac_prep_memcpy()
196 if (!md) in milbeaut_xdmac_prep_memcpy()
199 md->len = len; in milbeaut_xdmac_prep_memcpy()
200 md->src = src; in milbeaut_xdmac_prep_memcpy()
201 md->dst = dst; in milbeaut_xdmac_prep_memcpy()
203 return vchan_tx_prep(vc, &md->vd, flags); in milbeaut_xdmac_prep_memcpy()
223 if (mc->md) { in milbeaut_xdmac_terminate_all()
224 vchan_terminate_vdesc(&mc->md->vd); in milbeaut_xdmac_terminate_all()
225 mc->md = NULL; in milbeaut_xdmac_terminate_all()
250 if (vchan_issue_pending(vc) && !mc->md) in milbeaut_xdmac_issue_pending()