Searched refs:qmc_chan (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/include/soc/fsl/qe/ |
D | qmc.h | 16 struct qmc_chan; 18 struct qmc_chan *qmc_chan_get_byphandle(struct device_node *np, const char *phandle_name); 19 void qmc_chan_put(struct qmc_chan *chan); 20 struct qmc_chan *devm_qmc_chan_get_byphandle(struct device *dev, struct device_node *np, 38 int qmc_chan_get_info(struct qmc_chan *chan, struct qmc_chan_info *info); 54 int qmc_chan_set_param(struct qmc_chan *chan, const struct qmc_chan_param *param); 56 int qmc_chan_write_submit(struct qmc_chan *chan, dma_addr_t addr, size_t length, 59 int qmc_chan_read_submit(struct qmc_chan *chan, dma_addr_t addr, size_t length, 67 int qmc_chan_start(struct qmc_chan *chan, int direction); 68 int qmc_chan_stop(struct qmc_chan *chan, int direction); [all …]
|
/Linux-v6.6/drivers/soc/fsl/qe/ |
D | qmc.c | 174 struct qmc_chan { struct 218 struct qmc_chan *chans[64]; argument 257 int qmc_chan_get_info(struct qmc_chan *chan, struct qmc_chan_info *info) in qmc_chan_get_info() 279 int qmc_chan_set_param(struct qmc_chan *chan, const struct qmc_chan_param *param) in qmc_chan_set_param() 316 int qmc_chan_write_submit(struct qmc_chan *chan, dma_addr_t addr, size_t length, in qmc_chan_write_submit() 371 static void qmc_chan_write_done(struct qmc_chan *chan) in qmc_chan_write_done() 423 int qmc_chan_read_submit(struct qmc_chan *chan, dma_addr_t addr, size_t length, in qmc_chan_read_submit() 486 static void qmc_chan_read_done(struct qmc_chan *chan) in qmc_chan_read_done() 542 static int qmc_chan_command(struct qmc_chan *chan, u8 qmc_opcode) in qmc_chan_command() 547 static int qmc_chan_stop_rx(struct qmc_chan *chan) in qmc_chan_stop_rx() [all …]
|
/Linux-v6.6/sound/soc/fsl/ |
D | fsl_qmc_audio.c | 24 struct qmc_chan *qmc_chan; member 91 ret = qmc_chan_write_submit(prtd->qmc_dai->qmc_chan, in qmc_audio_pcm_write_complete() 120 ret = qmc_chan_read_submit(prtd->qmc_dai->qmc_chan, in qmc_audio_pcm_read_complete() 146 ret = qmc_chan_write_submit(prtd->qmc_dai->qmc_chan, in qmc_audio_pcm_trigger() 161 ret = qmc_chan_write_submit(prtd->qmc_dai->qmc_chan, in qmc_audio_pcm_trigger() 171 ret = qmc_chan_read_submit(prtd->qmc_dai->qmc_chan, in qmc_audio_pcm_trigger() 186 ret = qmc_chan_read_submit(prtd->qmc_dai->qmc_chan, in qmc_audio_pcm_trigger() 487 ret = qmc_chan_set_param(qmc_dai->qmc_chan, &chan_param); in qmc_dai_hw_params() 518 ret = qmc_chan_start(qmc_dai->qmc_chan, direction); in qmc_dai_trigger() 524 ret = qmc_chan_stop(qmc_dai->qmc_chan, direction); in qmc_dai_trigger() [all …]
|