Lines Matching defs:mcasp

73 	struct davinci_mcasp *mcasp;  member
133 static inline void mcasp_set_bits(struct davinci_mcasp *mcasp, u32 offset, in mcasp_set_bits()
140 static inline void mcasp_clr_bits(struct davinci_mcasp *mcasp, u32 offset, in mcasp_clr_bits()
147 static inline void mcasp_mod_bits(struct davinci_mcasp *mcasp, u32 offset, in mcasp_mod_bits()
154 static inline void mcasp_set_reg(struct davinci_mcasp *mcasp, u32 offset, in mcasp_set_reg()
160 static inline u32 mcasp_get_reg(struct davinci_mcasp *mcasp, u32 offset) in mcasp_get_reg()
165 static void mcasp_set_ctl_reg(struct davinci_mcasp *mcasp, u32 ctl_reg, u32 val) in mcasp_set_ctl_reg()
182 static bool mcasp_is_synchronous(struct davinci_mcasp *mcasp) in mcasp_is_synchronous()
190 static inline void mcasp_set_clk_pdir(struct davinci_mcasp *mcasp, bool enable) in mcasp_set_clk_pdir()
202 static inline void mcasp_set_axr_pdir(struct davinci_mcasp *mcasp, bool enable) in mcasp_set_axr_pdir()
214 static void mcasp_start_rx(struct davinci_mcasp *mcasp) in mcasp_start_rx()
252 static void mcasp_start_tx(struct davinci_mcasp *mcasp) in mcasp_start_tx()
290 static void davinci_mcasp_start(struct davinci_mcasp *mcasp, int stream) in davinci_mcasp_start()
300 static void mcasp_stop_rx(struct davinci_mcasp *mcasp) in mcasp_stop_rx()
325 static void mcasp_stop_tx(struct davinci_mcasp *mcasp) in mcasp_stop_tx()
355 static void davinci_mcasp_stop(struct davinci_mcasp *mcasp, int stream) in davinci_mcasp_stop()
367 struct davinci_mcasp *mcasp = (struct davinci_mcasp *)data; in davinci_mcasp_tx_irq_handler() local
398 struct davinci_mcasp *mcasp = (struct davinci_mcasp *)data; in davinci_mcasp_rx_irq_handler() local
429 struct davinci_mcasp *mcasp = (struct davinci_mcasp *)data; in davinci_mcasp_common_irq_handler() local
444 struct davinci_mcasp *mcasp = snd_soc_dai_get_drvdata(cpu_dai); in davinci_mcasp_set_dai_fmt() local
612 static int __davinci_mcasp_set_clkdiv(struct davinci_mcasp *mcasp, int div_id, in __davinci_mcasp_set_clkdiv()
662 struct davinci_mcasp *mcasp = snd_soc_dai_get_drvdata(dai); in davinci_mcasp_set_clkdiv() local
670 struct davinci_mcasp *mcasp = snd_soc_dai_get_drvdata(dai); in davinci_mcasp_set_sysclk() local
711 static int davinci_mcasp_ch_constraint(struct davinci_mcasp *mcasp, int stream, in davinci_mcasp_ch_constraint()
733 static int davinci_mcasp_set_ch_constraints(struct davinci_mcasp *mcasp) in davinci_mcasp_set_ch_constraints()
760 struct davinci_mcasp *mcasp = snd_soc_dai_get_drvdata(dai); in davinci_mcasp_set_tdm_slot() local
791 static int davinci_config_channel_size(struct davinci_mcasp *mcasp, in davinci_config_channel_size()
856 static int mcasp_common_hw_param(struct davinci_mcasp *mcasp, int stream, in mcasp_common_hw_param()
986 static int mcasp_i2s_hw_param(struct davinci_mcasp *mcasp, int stream, in mcasp_i2s_hw_param()
1055 static int mcasp_dit_hw_param(struct davinci_mcasp *mcasp, in mcasp_dit_hw_param()
1122 static int davinci_mcasp_calc_clk_div(struct davinci_mcasp *mcasp, in davinci_mcasp_calc_clk_div()
1172 static inline u32 davinci_mcasp_tx_delay(struct davinci_mcasp *mcasp) in davinci_mcasp_tx_delay()
1180 static inline u32 davinci_mcasp_rx_delay(struct davinci_mcasp *mcasp) in davinci_mcasp_rx_delay()
1192 struct davinci_mcasp *mcasp = snd_soc_dai_get_drvdata(cpu_dai); in davinci_mcasp_delay() local
1212 struct davinci_mcasp *mcasp = snd_soc_dai_get_drvdata(cpu_dai); in davinci_mcasp_hw_params() local
1303 struct davinci_mcasp *mcasp = snd_soc_dai_get_drvdata(cpu_dai); in davinci_mcasp_trigger() local
1490 struct davinci_mcasp *mcasp = snd_soc_dai_get_drvdata(cpu_dai); in davinci_mcasp_startup() local
1610 struct davinci_mcasp *mcasp = snd_soc_dai_get_drvdata(cpu_dai); in davinci_mcasp_shutdown() local
1637 struct davinci_mcasp *mcasp = snd_soc_dai_get_drvdata(cpu_dai); in davinci_mcasp_iec958_get() local
1649 struct davinci_mcasp *mcasp = snd_soc_dai_get_drvdata(cpu_dai); in davinci_mcasp_iec958_put() local
1661 struct davinci_mcasp *mcasp = snd_soc_dai_get_drvdata(cpu_dai); in davinci_mcasp_iec958_con_mask_get() local
1685 static void davinci_mcasp_init_iec958_status(struct davinci_mcasp *mcasp) in davinci_mcasp_init_iec958_status()
1697 struct davinci_mcasp *mcasp = snd_soc_dai_get_drvdata(dai); in davinci_mcasp_dai_probe() local
1878 static bool davinci_mcasp_have_gpiochip(struct davinci_mcasp *mcasp) in davinci_mcasp_have_gpiochip()
1887 static int davinci_mcasp_get_config(struct davinci_mcasp *mcasp, in davinci_mcasp_get_config()
2024 static int davinci_mcasp_get_dma_type(struct davinci_mcasp *mcasp) in davinci_mcasp_get_dma_type()
2113 struct davinci_mcasp *mcasp = gpiochip_get_data(chip); in davinci_mcasp_gpio_request() local
2127 struct davinci_mcasp *mcasp = gpiochip_get_data(chip); in davinci_mcasp_gpio_free() local
2141 struct davinci_mcasp *mcasp = gpiochip_get_data(chip); in davinci_mcasp_gpio_direction_out() local
2164 struct davinci_mcasp *mcasp = gpiochip_get_data(chip); in davinci_mcasp_gpio_set() local
2175 struct davinci_mcasp *mcasp = gpiochip_get_data(chip); in davinci_mcasp_gpio_direction_in() local
2192 struct davinci_mcasp *mcasp = gpiochip_get_data(chip); in davinci_mcasp_gpio_get() local
2205 struct davinci_mcasp *mcasp = gpiochip_get_data(chip); in davinci_mcasp_gpio_get_direction() local
2228 static int davinci_mcasp_init_gpiochip(struct davinci_mcasp *mcasp) in davinci_mcasp_init_gpiochip()
2241 static inline int davinci_mcasp_init_gpiochip(struct davinci_mcasp *mcasp) in davinci_mcasp_init_gpiochip()
2251 struct davinci_mcasp *mcasp; in davinci_mcasp_probe() local
2479 struct davinci_mcasp *mcasp = dev_get_drvdata(dev); in davinci_mcasp_runtime_suspend() local
2505 struct davinci_mcasp *mcasp = dev_get_drvdata(dev); in davinci_mcasp_runtime_resume() local