Searched refs:sport_handle (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/sound/soc/blackfin/ |
D | bf5xx-i2s.c | 65 struct sport_device *sport_handle = snd_soc_dai_get_drvdata(cpu_dai); in bf5xx_i2s_set_dai_fmt() local 66 struct bf5xx_i2s_port *bf5xx_i2s = sport_handle->private_data; in bf5xx_i2s_set_dai_fmt() 113 struct sport_device *sport_handle = snd_soc_dai_get_drvdata(dai); in bf5xx_i2s_hw_params() local 114 struct bf5xx_i2s_port *bf5xx_i2s = sport_handle->private_data; in bf5xx_i2s_hw_params() 123 sport_handle->wdsize = 1; in bf5xx_i2s_hw_params() 128 sport_handle->wdsize = 2; in bf5xx_i2s_hw_params() 133 sport_handle->wdsize = 3; in bf5xx_i2s_hw_params() 138 sport_handle->wdsize = 4; in bf5xx_i2s_hw_params() 152 ret = sport_config_rx(sport_handle, bf5xx_i2s->rcr1, in bf5xx_i2s_hw_params() 159 ret = sport_config_tx(sport_handle, bf5xx_i2s->tcr1, in bf5xx_i2s_hw_params() [all …]
|
D | bf5xx-ac97.c | 124 struct sport_device *sport_handle = ac97_sport_handle; in bf5xx_ac97_read() local 130 if (sport_handle->tx_run || sport_handle->rx_run) { in bf5xx_ac97_read() 140 sport_send_and_recv(sport_handle, (unsigned char *)&out_frame, in bf5xx_ac97_read() 149 struct sport_device *sport_handle = ac97_sport_handle; in bf5xx_ac97_write() local 153 if (sport_handle->tx_run) { in bf5xx_ac97_write() 162 sport_send_and_recv(sport_handle, (unsigned char *)&frame, \ in bf5xx_ac97_write() 169 struct sport_device *sport_handle = ac97_sport_handle; in bf5xx_ac97_warm_reset() local 170 u16 gpio = P_IDENT(sport_handle->pin_req[3]); in bf5xx_ac97_warm_reset() 174 peripheral_free_list(sport_handle->pin_req); in bf5xx_ac97_warm_reset() 181 peripheral_request_list(sport_handle->pin_req, "soc-audio"); in bf5xx_ac97_warm_reset() [all …]
|
D | bf5xx-ac97-pcm.c | 246 struct sport_device *sport_handle = snd_soc_dai_get_drvdata(cpu_dai); in bf5xx_pcm_open() local 258 if (sport_handle != NULL) in bf5xx_pcm_open() 259 runtime->private_data = sport_handle; in bf5xx_pcm_open() 320 struct sport_device *sport_handle = snd_soc_dai_get_drvdata(cpu_dai); in bf5xx_pcm_preallocate_dma_buffer() local 342 sport_handle->tx_buf = buf->area; in bf5xx_pcm_preallocate_dma_buffer() 344 sport_handle->rx_buf = buf->area; in bf5xx_pcm_preallocate_dma_buffer() 352 if (!sport_handle->tx_dma_buf) { in bf5xx_pcm_preallocate_dma_buffer() 353 sport_handle->tx_dma_buf = dma_alloc_coherent(NULL, \ in bf5xx_pcm_preallocate_dma_buffer() 354 size, &sport_handle->tx_dma_phy, GFP_KERNEL); in bf5xx_pcm_preallocate_dma_buffer() 355 if (!sport_handle->tx_dma_buf) { in bf5xx_pcm_preallocate_dma_buffer() [all …]
|
D | bf5xx-i2s-pcm.c | 178 struct sport_device *sport_handle = snd_soc_dai_get_drvdata(cpu_dai); in bf5xx_pcm_open() local 199 if (sport_handle != NULL) { in bf5xx_pcm_open() 201 sport_handle->tx_buf = buf->area; in bf5xx_pcm_open() 203 sport_handle->rx_buf = buf->area; in bf5xx_pcm_open() 205 runtime->private_data = sport_handle; in bf5xx_pcm_open()
|