Lines Matching refs:sport_handle

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()
290 struct sport_device *sport_handle; in asoc_bfin_ac97_probe() local
306 sport_handle = sport_init(pdev, 2, sizeof(struct ac97_frame), in asoc_bfin_ac97_probe()
308 if (!sport_handle) { in asoc_bfin_ac97_probe()
315 ret = sport_set_multichannel(sport_handle, 16, 0x3FF, 0x3FF, 1); in asoc_bfin_ac97_probe()
317 ret = sport_set_multichannel(sport_handle, 16, 0x1F, 0x1F, 1); in asoc_bfin_ac97_probe()
325 ret = sport_config_rx(sport_handle, IRFS, 0xF, 0, (16*16-1)); in asoc_bfin_ac97_probe()
332 ret = sport_config_tx(sport_handle, ITFS, 0xF, 0, (16*16-1)); in asoc_bfin_ac97_probe()
352 ac97_sport_handle = sport_handle; in asoc_bfin_ac97_probe()
357 sport_done(sport_handle); in asoc_bfin_ac97_probe()
366 struct sport_device *sport_handle = platform_get_drvdata(pdev); in asoc_bfin_ac97_remove() local
369 sport_done(sport_handle); in asoc_bfin_ac97_remove()