Lines Matching refs:sport
89 struct sport_device *sport = runtime->private_data; in bf5xx_pcm_prepare() local
100 sport_set_tx_callback(sport, bf5xx_dma_irq, substream); in bf5xx_pcm_prepare()
101 sport_config_tx_dma(sport, runtime->dma_area, in bf5xx_pcm_prepare()
104 sport_set_rx_callback(sport, bf5xx_dma_irq, substream); in bf5xx_pcm_prepare()
105 sport_config_rx_dma(sport, runtime->dma_area, in bf5xx_pcm_prepare()
115 struct sport_device *sport = runtime->private_data; in bf5xx_pcm_trigger() local
122 sport_tx_start(sport); in bf5xx_pcm_trigger()
124 sport_rx_start(sport); in bf5xx_pcm_trigger()
130 sport_tx_stop(sport); in bf5xx_pcm_trigger()
132 sport_rx_stop(sport); in bf5xx_pcm_trigger()
145 struct sport_device *sport = runtime->private_data; in bf5xx_pcm_pointer() local
154 diff = sport_curr_offset_tx(sport); in bf5xx_pcm_pointer()
156 diff = sport_curr_offset_rx(sport); in bf5xx_pcm_pointer()