Searched refs:hifi_dsp_fd (Results 1 – 3 of 3) sorted by relevance
/device/linaro/hikey/hifi/debug-hifi/ |
D | debug-hifi.c | 34 int hifi_dsp_fd; in main() local 46 hifi_dsp_fd = open(HIFI_DSP_MISC_DRIVER, O_RDWR, 0); in main() 47 if (hifi_dsp_fd < 0) { in main() 59 ret = ioctl(hifi_dsp_fd, HIFI_MISC_IOCTL_DISPLAY_MSG, &dump_buf); in main() 67 close(hifi_dsp_fd); in main()
|
/device/linaro/hikey/hifi/xaf/host-apf/playback/ |
D | xa_playback.c | 297 int hifi_dsp_fd; 300 hifi_dsp_fd = open(HIFI_DSP_MISC_DRIVER, O_RDWR, 0); 301 if(hifi_dsp_fd < 0){ 348 if(hifi_dsp_fd) { 350 ioctl(hifi_dsp_fd,HIFI_MISC_IOCTL_PCM_GAIN, &pcmbuf); 364 close(hifi_dsp_fd);
|
/device/linaro/hikey/audio/ |
D | audio_hw.c | 104 int hifi_dsp_fd; member 423 if (adev->hifi_dsp_fd >= 0) { in out_write() 812 if (adev->hifi_dsp_fd >= 0) in adev_close() 813 close(adev->hifi_dsp_fd); in adev_close() 859 adev->hifi_dsp_fd = open(HIFI_DSP_MISC_DRIVER, O_WRONLY, 0); in adev_open() 860 if (adev->hifi_dsp_fd < 0) { in adev_open()
|