Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/fsl/
H A Dfsl_asrc_common.h38 struct fsl_asrc_pair { struct
89 struct fsl_asrc_pair *pair[PAIR_CTX_NUM];
96 struct dma_chan *(*get_dma_channel)(struct fsl_asrc_pair *pair, bool dir);
97 int (*request_pair)(int channels, struct fsl_asrc_pair *pair);
98 void (*release_pair)(struct fsl_asrc_pair *pair);
H A Dfsl_asrc_dma.c46 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_complete()
60 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_prepare_and_submit()
101 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_trigger()
138 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_hw_params()
313 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_hw_free()
338 struct fsl_asrc_pair *pair; in fsl_asrc_dma_startup()
356 pair->private = (void *)pair + sizeof(struct fsl_asrc_pair); in fsl_asrc_dma_startup()
410 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_shutdown()
431 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_pcm_pointer()
H A Dfsl_asrc.c214 static int fsl_asrc_request_pair(int channels, struct fsl_asrc_pair *pair) in fsl_asrc_request_pair()
258 static void fsl_asrc_release_pair(struct fsl_asrc_pair *pair) in fsl_asrc_release_pair()
304 static u32 fsl_asrc_cal_asrck_divisor(struct fsl_asrc_pair *pair, u32 div) in fsl_asrc_cal_asrck_divisor()
323 static int fsl_asrc_set_ideal_ratio(struct fsl_asrc_pair *pair, in fsl_asrc_set_ideal_ratio()
582 static void fsl_asrc_start_pair(struct fsl_asrc_pair *pair) in fsl_asrc_start_pair()
616 static void fsl_asrc_stop_pair(struct fsl_asrc_pair *pair) in fsl_asrc_stop_pair()
631 static struct dma_chan *fsl_asrc_get_dma_channel(struct fsl_asrc_pair *pair, in fsl_asrc_get_dma_channel()
661 struct fsl_asrc_pair *pair, in fsl_asrc_select_clk()
704 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dai_hw_params()
751 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dai_hw_free()
[all …]
H A Dfsl_easrc.c172 static int fsl_easrc_set_rs_ratio(struct fsl_asrc_pair *ctx) in fsl_easrc_set_rs_ratio()
476 struct fsl_asrc_pair *ctx; in fsl_easrc_prefilter_config()
864 struct fsl_asrc_pair *ctx = easrc->pair[ctx_id]; in fsl_easrc_config_slot()
927 struct fsl_asrc_pair *ctx = easrc->pair[ctx_id]; in fsl_easrc_release_slot()
967 struct fsl_asrc_pair *ctx; in fsl_easrc_config_context()
1310 static int fsl_easrc_start_context(struct fsl_asrc_pair *ctx) in fsl_easrc_start_context()
1328 static int fsl_easrc_stop_context(struct fsl_asrc_pair *ctx) in fsl_easrc_stop_context()
1413 struct fsl_asrc_pair *ctx = runtime->private_data; in fsl_easrc_trigger()
1445 struct fsl_asrc_pair *ctx = runtime->private_data; in fsl_easrc_hw_params()
1518 struct fsl_asrc_pair *ctx = runtime->private_data; in fsl_easrc_hw_free()
[all …]