Lines Matching defs:dp

116 static void dai_ssp_update_bits(struct dai_intel_ssp *dp, uint32_t reg, uint32_t mask, uint32_t val)  in dai_ssp_update_bits()
190 static bool dai_ssp_is_mclk_source_in_use(struct dai_intel_ssp *dp) in dai_ssp_is_mclk_source_in_use()
213 static int dai_ssp_setup_initial_mclk_source(struct dai_intel_ssp *dp, uint32_t mclk_id, in dai_ssp_setup_initial_mclk_source()
271 static int dai_ssp_check_current_mclk_source(struct dai_intel_ssp *dp, uint16_t mclk_id, in dai_ssp_check_current_mclk_source()
315 static int dai_ssp_set_mclk_divider(struct dai_intel_ssp *dp, uint16_t mclk_id, uint32_t mdivr_val) in dai_ssp_set_mclk_divider()
337 static int dai_ssp_mn_set_mclk(struct dai_intel_ssp *dp, uint16_t mclk_id, uint32_t mclk_rate) in dai_ssp_mn_set_mclk()
374 static int dai_ssp_mn_set_mclk_blob(struct dai_intel_ssp *dp, uint32_t mdivc, uint32_t mdivr) in dai_ssp_mn_set_mclk_blob()
382 static void dai_ssp_mn_release_mclk(struct dai_intel_ssp *dp, uint32_t mclk_id) in dai_ssp_mn_release_mclk()
487 static int dai_ssp_find_bclk_source(struct dai_intel_ssp *dp, uint32_t bclk, uint32_t *scr_div, in dai_ssp_find_bclk_source()
526 static int dai_ssp_find_clk_ssp_index(struct dai_intel_ssp *dp, uint32_t src_enc) in dai_ssp_find_clk_ssp_index()
546 static bool dai_ssp_is_bclk_source_in_use(struct dai_intel_ssp *dp, enum bclk_source clk_src) in dai_ssp_is_bclk_source_in_use()
572 static int dai_ssp_setup_initial_bclk_mn_source(struct dai_intel_ssp *dp, uint32_t bclk, in dai_ssp_setup_initial_bclk_mn_source()
605 static void dai_ssp_reset_bclk_mn_source(struct dai_intel_ssp *dp) in dai_ssp_reset_bclk_mn_source()
636 static int dai_ssp_setup_current_bclk_mn_source(struct dai_intel_ssp *dp, uint32_t bclk, in dai_ssp_setup_current_bclk_mn_source()
664 static int dai_ssp_mn_set_bclk(struct dai_intel_ssp *dp, uint32_t dai_index, uint32_t bclk_rate, in dai_ssp_mn_set_bclk()
710 static void dai_ssp_mn_release_bclk(struct dai_intel_ssp *dp, uint32_t ssp_index) in dai_ssp_mn_release_bclk()
728 static void dai_ssp_mn_reset_bclk_divider(struct dai_intel_ssp *dp, uint32_t ssp_index) in dai_ssp_mn_reset_bclk_divider()
753 static inline void dai_ssp_pm_runtime_dis_ssp_clk_gating(struct dai_intel_ssp *dp, in dai_ssp_pm_runtime_dis_ssp_clk_gating()
771 static inline void dai_ssp_pm_runtime_en_ssp_clk_gating(struct dai_intel_ssp *dp, in dai_ssp_pm_runtime_en_ssp_clk_gating()
789 static void dai_ssp_pm_runtime_en_ssp_power(struct dai_intel_ssp *dp, uint32_t ssp_index) in dai_ssp_pm_runtime_en_ssp_power()
823 static void dai_ssp_pm_runtime_dis_ssp_power(struct dai_intel_ssp *dp, uint32_t ssp_index) in dai_ssp_pm_runtime_dis_ssp_power()
858 static void dai_ssp_program_channel_map(struct dai_intel_ssp *dp, in dai_ssp_program_channel_map()
924 static void dai_ssp_empty_tx_fifo(struct dai_intel_ssp *dp) in dai_ssp_empty_tx_fifo()
963 static void ssp_empty_rx_fifo_on_start(struct dai_intel_ssp *dp) in ssp_empty_rx_fifo_on_start()
999 static void ssp_empty_rx_fifo_on_stop(struct dai_intel_ssp *dp) in ssp_empty_rx_fifo_on_stop()
1046 static void ssp_empty_rx_fifo_on_start(struct dai_intel_ssp *dp) in ssp_empty_rx_fifo_on_start()
1077 static void ssp_empty_rx_fifo_on_stop(struct dai_intel_ssp *dp) in ssp_empty_rx_fifo_on_stop()
1122 static int dai_ssp_mclk_prepare_enable(struct dai_intel_ssp *dp) in dai_ssp_mclk_prepare_enable()
1144 static void dai_ssp_mclk_disable_unprepare(struct dai_intel_ssp *dp) in dai_ssp_mclk_disable_unprepare()
1157 static int dai_ssp_bclk_prepare_enable(struct dai_intel_ssp *dp) in dai_ssp_bclk_prepare_enable()
1225 static void dai_ssp_bclk_disable_unprepare(struct dai_intel_ssp *dp) in dai_ssp_bclk_disable_unprepare()
1238 static void dai_ssp_log_ssp_data(struct dai_intel_ssp *dp) in dai_ssp_log_ssp_data()
1254 static int dai_ssp_set_config_tplg(struct dai_intel_ssp *dp, const struct dai_config *config, in dai_ssp_set_config_tplg()
1926 static int dai_ssp_parse_tlv(struct dai_intel_ssp *dp, const uint8_t *aux_ptr, size_t aux_len) in dai_ssp_parse_tlv()
2016 static int dai_ssp_parse_aux_data(struct dai_intel_ssp *dp, const void *spec_config) in dai_ssp_parse_aux_data()
2047 static int dai_ssp_set_clock_control_ver_1_5(struct dai_intel_ssp *dp, in dai_ssp_set_clock_control_ver_1_5()
2064 static int dai_ssp_set_clock_control_ver_1(struct dai_intel_ssp *dp, in dai_ssp_set_clock_control_ver_1()
2076 static void dai_ssp_set_reg_config(struct dai_intel_ssp *dp, const struct dai_config *cfg, in dai_ssp_set_reg_config()
2124 static void dai_ssp_set_reg_config(struct dai_intel_ssp *dp, const struct dai_config *cfg, in dai_ssp_set_reg_config()
2183 static int dai_ssp_set_config_blob(struct dai_intel_ssp *dp, const struct dai_config *cfg, in dai_ssp_set_config_blob()
2246 static int dai_ssp_pre_start(struct dai_intel_ssp *dp) in dai_ssp_pre_start()
2275 static void dai_ssp_post_stop(struct dai_intel_ssp *dp) in dai_ssp_post_stop()
2293 static void dai_ssp_early_start(struct dai_intel_ssp *dp, int direction) in dai_ssp_early_start()
2321 static void dai_ssp_start(struct dai_intel_ssp *dp, int direction) in dai_ssp_start()
2375 static void dai_ssp_stop(struct dai_intel_ssp *dp, int direction) in dai_ssp_stop()
2432 static void dai_ssp_pause(struct dai_intel_ssp *dp, int direction) in dai_ssp_pause()
2446 struct dai_intel_ssp *dp = (struct dai_intel_ssp *)dev->data; in dai_ssp_trigger() local
2477 struct dai_intel_ssp *dp = (struct dai_intel_ssp *)dev->data; in dai_ssp_config_get() local
2508 struct dai_intel_ssp *dp = (struct dai_intel_ssp *)dev->data; in dai_ssp_config_set() local
2525 struct dai_intel_ssp *dp = (struct dai_intel_ssp *)dev->data; in dai_ssp_get_properties() local
2546 static void ssp_acquire_ip(struct dai_intel_ssp *dp) in ssp_acquire_ip()
2569 static void ssp_release_ip(struct dai_intel_ssp *dp) in ssp_release_ip()
2610 static int dai_ssp_probe(struct dai_intel_ssp *dp) in dai_ssp_probe()
2640 static int dai_ssp_remove(struct dai_intel_ssp *dp) in dai_ssp_remove()
2652 struct dai_intel_ssp *dp = (struct dai_intel_ssp *)dev->data; in ssp_pm_action() local
2674 struct dai_intel_ssp *dp = (struct dai_intel_ssp *)dev->data; in dai_intel_ssp_init_device() local
2691 struct dai_intel_ssp *dp = (struct dai_intel_ssp *)dev->data; in dai_ssp_dma_control_set() local