Lines Matching refs:i2s_dai

61 struct i2s_dai {  struct
80 struct i2s_dai *pri_dai; argument
82 struct i2s_dai *sec_dai; argument
111 static inline bool is_secondary(struct i2s_dai *i2s) in is_secondary() argument
117 static inline bool is_slave(struct i2s_dai *i2s) in is_slave()
124 static inline bool tx_active(struct i2s_dai *i2s) in tx_active()
142 static inline struct i2s_dai *get_other_dai(struct i2s_dai *i2s) in get_other_dai()
148 static inline bool other_tx_active(struct i2s_dai *i2s) in other_tx_active()
150 struct i2s_dai *other = get_other_dai(i2s); in other_tx_active()
156 static inline bool any_tx_active(struct i2s_dai *i2s) in any_tx_active()
162 static inline bool rx_active(struct i2s_dai *i2s) in rx_active()
175 static inline bool other_rx_active(struct i2s_dai *i2s) in other_rx_active()
177 struct i2s_dai *other = get_other_dai(i2s); in other_rx_active()
183 static inline bool any_rx_active(struct i2s_dai *i2s) in any_rx_active()
189 static inline bool other_active(struct i2s_dai *i2s) in other_active()
195 static inline bool this_active(struct i2s_dai *i2s) in this_active()
201 static inline bool any_active(struct i2s_dai *i2s) in any_active()
206 static inline struct i2s_dai *to_info(struct snd_soc_dai *dai) in to_info()
211 static inline bool is_opened(struct i2s_dai *i2s) in is_opened()
219 static inline bool is_manager(struct i2s_dai *i2s) in is_manager()
228 static inline unsigned get_rfs(struct i2s_dai *i2s) in get_rfs()
247 static inline void set_rfs(struct i2s_dai *i2s, unsigned rfs) in set_rfs()
285 static inline unsigned get_bfs(struct i2s_dai *i2s) in get_bfs()
305 static inline void set_bfs(struct i2s_dai *i2s, unsigned bfs) in set_bfs()
356 static inline int get_blc(struct i2s_dai *i2s) in get_blc()
370 static void i2s_txctrl(struct i2s_dai *i2s, int on) in i2s_txctrl()
420 static void i2s_rxctrl(struct i2s_dai *i2s, int on) in i2s_rxctrl()
450 static inline void i2s_fifo(struct i2s_dai *i2s, u32 flush) in i2s_fifo()
477 struct i2s_dai *i2s = to_info(dai); in i2s_set_sysclk()
478 struct i2s_dai *other = get_other_dai(i2s); in i2s_set_sysclk()
590 struct i2s_dai *i2s = to_info(dai); in i2s_set_fmt()
678 struct i2s_dai *i2s = to_info(dai); in i2s_hw_params()
766 struct i2s_dai *i2s = to_info(dai); in i2s_startup()
767 struct i2s_dai *other = get_other_dai(i2s); in i2s_startup()
790 struct i2s_dai *i2s = to_info(dai); in i2s_shutdown()
791 struct i2s_dai *other = get_other_dai(i2s); in i2s_shutdown()
809 static int config_setup(struct i2s_dai *i2s) in config_setup()
811 struct i2s_dai *other = get_other_dai(i2s); in config_setup()
874 struct i2s_dai *i2s = to_info(rtd->cpu_dai); in i2s_trigger()
918 struct i2s_dai *i2s = to_info(dai); in i2s_set_clkdiv()
919 struct i2s_dai *other = get_other_dai(i2s); in i2s_set_clkdiv()
943 struct i2s_dai *i2s = to_info(dai); in i2s_delay()
961 struct i2s_dai *i2s = to_info(dai); in i2s_suspend()
972 struct i2s_dai *i2s = to_info(dai); in i2s_resume()
987 struct i2s_dai *i2s = to_info(dai); in samsung_i2s_dai_probe()
988 struct i2s_dai *other = get_other_dai(i2s); in samsung_i2s_dai_probe()
1029 struct i2s_dai *i2s = snd_soc_dai_get_drvdata(dai); in samsung_i2s_dai_remove()
1063 static struct i2s_dai *i2s_alloc_dai(struct platform_device *pdev, bool sec) in i2s_alloc_dai()
1065 struct i2s_dai *i2s; in i2s_alloc_dai()
1068 i2s = devm_kzalloc(&pdev->dev, sizeof(struct i2s_dai), GFP_KERNEL); in i2s_alloc_dai()
1126 struct i2s_dai *i2s = dev_get_drvdata(dev); in i2s_runtime_suspend()
1135 struct i2s_dai *i2s = dev_get_drvdata(dev); in i2s_runtime_resume()
1143 static void i2s_unregister_clocks(struct i2s_dai *i2s) in i2s_unregister_clocks()
1155 struct i2s_dai *i2s = dev_get_drvdata(&pdev->dev); in i2s_unregister_clock_provider()
1164 struct i2s_dai *i2s = dev_get_drvdata(dev); in i2s_register_clock_provider()
1226 struct i2s_dai *pri_dai, *sec_dai = NULL; in samsung_i2s_probe()
1379 struct i2s_dai *i2s, *other; in samsung_i2s_remove()