Searched refs:qmc_chan (Results 1 – 4 of 4) sorted by relevance
/linux/include/soc/fsl/qe/ |
H A D | qmc.h | 17 struct qmc_chan; 21 struct qmc_chan *qmc_chan_get_byphandles_index(struct device_node *np, 24 struct qmc_chan *devm_qmc_chan_get_byphandles_index(struct device *dev, 29 static inline struct qmc_chan *qmc_chan_get_byphandle(struct device_node *np, in qmc_chan_get_byphandle() 35 static inline struct qmc_chan *devm_qmc_chan_get_byphandle(struct device *dev, in devm_qmc_chan_get_byphandle() 42 struct qmc_chan *qmc_chan_get_bychild(struct device_node *np); 43 void qmc_chan_put(struct qmc_chan *chan); 45 struct qmc_chan *devm_qmc_chan_get_bychild(struct device *dev, struct device_node *np); 62 int qmc_chan_get_info(struct qmc_chan *chan, struct qmc_chan_info *info); 71 int qmc_chan_get_ts_info(struct qmc_chan *chan, struct qmc_chan_ts_info *ts_info); [all …]
|
/linux/drivers/soc/fsl/qe/ |
H A D | qmc.c | 205 struct qmc_chan { struct 271 struct qmc_chan *chans[64]; 327 int qmc_chan_get_info(struct qmc_chan *chan, struct qmc_chan_info *info) in qmc_chan_get_info() 354 int qmc_chan_get_ts_info(struct qmc_chan *chan, struct qmc_chan_ts_info *ts_info) in qmc_chan_get_ts_info() 371 int qmc_chan_set_ts_info(struct qmc_chan *chan, const struct qmc_chan_ts_info *ts_info) in qmc_chan_set_ts_info() 405 int qmc_chan_set_param(struct qmc_chan *chan, const struct qmc_chan_param *param) in qmc_chan_set_param() 442 int qmc_chan_write_submit(struct qmc_chan *chan, dma_addr_t addr, size_t length, in qmc_chan_write_submit() 497 static void qmc_chan_write_done(struct qmc_chan *chan) in qmc_chan_write_done() 549 int qmc_chan_read_submit(struct qmc_chan *chan, dma_addr_t addr, size_t length, in qmc_chan_read_submit() 618 static void qmc_chan_read_done(struct qmc_chan *chan) in qmc_chan_read_done() [all …]
|
/linux/drivers/net/wan/ |
H A D | fsl_qmc_hdlc.c | 38 struct qmc_chan *qmc_chan; member 315 ret = qmc_chan_read_submit(qmc_hdlc->qmc_chan, desc->dma_addr, desc->dma_size, in qmc_hdlc_recv_queue() 366 ret = qmc_chan_write_submit(qmc_hdlc->qmc_chan, desc->dma_addr, desc->dma_size, in qmc_hdlc_xmit_queue() 492 ret = qmc_chan_get_ts_info(qmc_hdlc->qmc_chan, &ts_info); in qmc_hdlc_set_iface() 501 ret = qmc_chan_set_ts_info(qmc_hdlc->qmc_chan, &ts_info); in qmc_hdlc_set_iface() 597 ret = qmc_chan_set_param(qmc_hdlc->qmc_chan, &chan_param); in qmc_hdlc_open() 615 ret = qmc_chan_start(qmc_hdlc->qmc_chan, QMC_CHAN_ALL); in qmc_hdlc_open() 626 qmc_chan_reset(qmc_hdlc->qmc_chan, QMC_CHAN_ALL); in qmc_hdlc_open() 647 qmc_chan_stop(qmc_hdlc->qmc_chan, QMC_CHAN_ALL); in qmc_hdlc_close() 648 qmc_chan_reset(qmc_hdlc->qmc_chan, QMC_CHAN_ALL); in qmc_hdlc_close() [all …]
|
/linux/sound/soc/fsl/ |
H A D | fsl_qmc_audio.c | 23 struct qmc_chan *qmc_chan; member 131 ret = qmc_chan_write_submit(prtd->qmc_dai->chans[i].qmc_chan, in qmc_audio_pcm_write_submit() 187 ret = qmc_chan_read_submit(prtd->qmc_dai->chans[i].qmc_chan, in qmc_audio_pcm_read_submit() 644 ret = qmc_chan_set_param(qmc_dai->chans[i].qmc_chan, &chan_param); in qmc_dai_hw_params() 688 ret = qmc_chan_start(qmc_dai->chans[i].qmc_chan, direction); in qmc_dai_trigger() 697 ret_tmp = qmc_chan_stop(qmc_dai->chans[i].qmc_chan, direction); in qmc_dai_trigger() 703 ret_tmp = qmc_chan_reset(qmc_dai->chans[i].qmc_chan, direction); in qmc_dai_trigger() 715 ret_tmp = qmc_chan_stop(qmc_dai->chans[i].qmc_chan, direction); in qmc_dai_trigger() 731 qmc_chan_stop(qmc_dai->chans[i].qmc_chan, direction); in qmc_dai_trigger() 732 qmc_chan_reset(qmc_dai->chans[i].qmc_chan, direction); in qmc_dai_trigger() [all …]
|