Home
last modified time | relevance | path

Searched refs:hifi_dsp_fd (Results 1 – 3 of 3) sorted by relevance

/device/linaro/hikey/hifi/debug-hifi/
Ddebug-hifi.c34 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/
Dxa_playback.c297 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/
Daudio_hw.c104 int hifi_dsp_fd; member
428 if (adev->hifi_dsp_fd >= 0) { in out_write()
817 if (adev->hifi_dsp_fd >= 0) in adev_close()
818 close(adev->hifi_dsp_fd); in adev_close()
864 adev->hifi_dsp_fd = open(HIFI_DSP_MISC_DRIVER, O_WRONLY, 0); in adev_open()
865 if (adev->hifi_dsp_fd < 0) { in adev_open()