Lines Matching refs:omap_mcbsp

33 static void omap_mcbsp_write(struct omap_mcbsp *mcbsp, u16 reg, u32 val)  in omap_mcbsp_write()
46 static int omap_mcbsp_read(struct omap_mcbsp *mcbsp, u16 reg, bool from_cache) in omap_mcbsp_read()
59 static void omap_mcbsp_st_write(struct omap_mcbsp *mcbsp, u16 reg, u32 val) in omap_mcbsp_st_write()
64 static int omap_mcbsp_st_read(struct omap_mcbsp *mcbsp, u16 reg) in omap_mcbsp_st_read()
81 static void omap_mcbsp_dump_reg(struct omap_mcbsp *mcbsp) in omap_mcbsp_dump_reg()
115 struct omap_mcbsp *mcbsp = dev_id; in omap_mcbsp_irq_handler()
156 struct omap_mcbsp *mcbsp_tx = dev_id; in omap_mcbsp_tx_irq_handler()
174 struct omap_mcbsp *mcbsp_rx = dev_id; in omap_mcbsp_rx_irq_handler()
196 void omap_mcbsp_config(struct omap_mcbsp *mcbsp, in omap_mcbsp_config()
236 static int omap_mcbsp_dma_reg_params(struct omap_mcbsp *mcbsp, in omap_mcbsp_dma_reg_params()
256 static void omap_st_on(struct omap_mcbsp *mcbsp) in omap_st_on()
272 static void omap_st_off(struct omap_mcbsp *mcbsp) in omap_st_off()
286 static void omap_st_fir_write(struct omap_mcbsp *mcbsp, s16 *fir) in omap_st_fir_write()
312 static void omap_st_chgain(struct omap_mcbsp *mcbsp) in omap_st_chgain()
323 int omap_st_set_chgain(struct omap_mcbsp *mcbsp, int channel, s16 chgain) in omap_st_set_chgain()
346 int omap_st_get_chgain(struct omap_mcbsp *mcbsp, int channel, s16 *chgain) in omap_st_get_chgain()
366 static int omap_st_start(struct omap_mcbsp *mcbsp) in omap_st_start()
383 int omap_st_enable(struct omap_mcbsp *mcbsp) in omap_st_enable()
398 static int omap_st_stop(struct omap_mcbsp *mcbsp) in omap_st_stop()
412 int omap_st_disable(struct omap_mcbsp *mcbsp) in omap_st_disable()
428 int omap_st_is_enabled(struct omap_mcbsp *mcbsp) in omap_st_is_enabled()
443 void omap_mcbsp_set_tx_threshold(struct omap_mcbsp *mcbsp, u16 threshold) in omap_mcbsp_set_tx_threshold()
457 void omap_mcbsp_set_rx_threshold(struct omap_mcbsp *mcbsp, u16 threshold) in omap_mcbsp_set_rx_threshold()
469 u16 omap_mcbsp_get_tx_delay(struct omap_mcbsp *mcbsp) in omap_mcbsp_get_tx_delay()
487 u16 omap_mcbsp_get_rx_delay(struct omap_mcbsp *mcbsp) in omap_mcbsp_get_rx_delay()
506 int omap_mcbsp_request(struct omap_mcbsp *mcbsp) in omap_mcbsp_request()
582 void omap_mcbsp_free(struct omap_mcbsp *mcbsp) in omap_mcbsp_free()
632 void omap_mcbsp_start(struct omap_mcbsp *mcbsp, int tx, int rx) in omap_mcbsp_start()
689 void omap_mcbsp_stop(struct omap_mcbsp *mcbsp, int tx, int rx) in omap_mcbsp_stop()
727 int omap2_mcbsp_set_clks_src(struct omap_mcbsp *mcbsp, u8 fck_src_id) in omap2_mcbsp_set_clks_src()
770 struct omap_mcbsp *mcbsp = dev_get_drvdata(dev); \
779 struct omap_mcbsp *mcbsp = dev_get_drvdata(dev); \
806 struct omap_mcbsp *mcbsp = dev_get_drvdata(dev); in dma_op_mode_show()
828 struct omap_mcbsp *mcbsp = dev_get_drvdata(dev); in dma_op_mode_store()
868 struct omap_mcbsp *mcbsp = dev_get_drvdata(dev); in st_taps_show()
888 struct omap_mcbsp *mcbsp = dev_get_drvdata(dev); in st_taps_store()
932 static int omap_st_add(struct omap_mcbsp *mcbsp, struct resource *res) in omap_st_add()
960 struct omap_mcbsp *mcbsp = platform_get_drvdata(pdev); in omap_mcbsp_init()
1083 void omap_mcbsp_sysfs_remove(struct omap_mcbsp *mcbsp) in omap_mcbsp_sysfs_remove()