Searched refs:fsl_asrc_pair (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/sound/soc/fsl/ |
D | fsl_asrc_common.h | 38 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);
|
D | fsl_asrc_dma.c | 46 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() 308 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_hw_free() 333 struct fsl_asrc_pair *pair; in fsl_asrc_dma_startup() 351 pair->private = (void *)pair + sizeof(struct fsl_asrc_pair); in fsl_asrc_dma_startup() 405 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_shutdown() 426 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_pcm_pointer()
|
D | fsl_easrc.c | 172 static int fsl_easrc_set_rs_ratio(struct fsl_asrc_pair *ctx) in fsl_easrc_set_rs_ratio() 218 static void fsl_easrc_normalize_rates(struct fsl_asrc_pair *ctx) in fsl_easrc_normalize_rates() 476 struct fsl_asrc_pair *ctx; in fsl_easrc_prefilter_config() 710 static int fsl_easrc_max_ch_for_slot(struct fsl_asrc_pair *ctx, in fsl_easrc_max_ch_for_slot() 743 static int fsl_easrc_config_one_slot(struct fsl_asrc_pair *ctx, in fsl_easrc_config_one_slot() 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() 1042 static int fsl_easrc_process_format(struct fsl_asrc_pair *ctx, in fsl_easrc_process_format() 1125 static int fsl_easrc_set_ctx_format(struct fsl_asrc_pair *ctx, in fsl_easrc_set_ctx_format() [all …]
|
D | fsl_asrc.c | 214 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() 283 static void fsl_asrc_set_watermarks(struct fsl_asrc_pair *pair, u32 in, u32 out) in fsl_asrc_set_watermarks() 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() 377 static int fsl_asrc_config_pair(struct fsl_asrc_pair *pair, bool use_ideal_rate) in fsl_asrc_config_pair() 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() [all …]
|