Home
last modified time | relevance | path

Searched refs:plchan (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/dma/
Damba-pl08x.c333 static int pl08x_request_mux(struct pl08x_dma_chan *plchan) in pl08x_request_mux() argument
335 const struct pl08x_platform_data *pd = plchan->host->pd; in pl08x_request_mux()
338 if (plchan->mux_use++ == 0 && pd->get_xfer_signal) { in pl08x_request_mux()
339 ret = pd->get_xfer_signal(plchan->cd); in pl08x_request_mux()
341 plchan->mux_use = 0; in pl08x_request_mux()
345 plchan->signal = ret; in pl08x_request_mux()
350 static void pl08x_release_mux(struct pl08x_dma_chan *plchan) in pl08x_release_mux() argument
352 const struct pl08x_platform_data *pd = plchan->host->pd; in pl08x_release_mux()
354 if (plchan->signal >= 0) { in pl08x_release_mux()
355 WARN_ON(plchan->mux_use == 0); in pl08x_release_mux()
[all …]