Home
last modified time | relevance | path

Searched refs:odsp_node (Results 1 – 2 of 2) sorted by relevance

/hardware/knowles/athletico/sound_trigger_hal/tests/
Doslo_package_test.c110 FILE *odsp_node = NULL; in main() local
134 if((odsp_node = fopen(ODSP_NODE, "rw")) == NULL) { in main()
157 err = ioctl(fileno(odsp_node), ODSP_LOAD_PACKAGE, (unsigned long)&pkg_info); in main()
171 err = ioctl(fileno(odsp_node), ODSP_LOAD_PACKAGE, (unsigned long)&pkg_info); in main()
188 err = ioctl(fileno(odsp_node), ODSP_PLG_SET_CREATE_CFG, (unsigned long)&pcc); in main()
201 err = ioctl(fileno(odsp_node), ODSP_PLG_CREATE, (unsigned long)&pi); in main()
214 err = ioctl(fileno(odsp_node), ODSP_PLG_CREATE, (unsigned long)&pi); in main()
225 err = ioctl(fileno(odsp_node), ODSP_PLG_SET_EVENT, (unsigned long)&se); in main()
240 err = ioctl(fileno(odsp_node), ODSP_EVENT_SUBSCRIBE, (unsigned long)&ei); in main()
254 err = ioctl(fileno(odsp_node), ODSP_EVENT_SUBSCRIBE, (unsigned long)&ei); in main()
[all …]
Dspi_reliability_test.c43 FILE *odsp_node = NULL; in main() local
80 if((odsp_node = fopen(ODSP_NODE, "rw")) == NULL) { in main()
90 err = ioctl(fileno(odsp_node), ODSP_LOAD_PACKAGE, (unsigned long) &pkg_info); in main()
103 err = ioctl(fileno(odsp_node), ODSP_PLG_CREATE, (unsigned long) &pi); in main()
116 err = ioctl(fileno(odsp_node), ODSP_PLG_SET_PARAM_BLK, &ppb); in main()
129 err = ioctl(fileno(odsp_node), ODSP_PLG_GET_PARAM_BLK, &ppb); in main()
151 if (odsp_node) in main()
152 fclose(odsp_node); in main()