Home
last modified time | relevance | path

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

/hardware/knowles/athletico/sound_trigger_hal/tests/
Dget_pwr_stats.c51 struct ia_pwr_mgr * pwr = NULL; in main() local
74 pwr = (struct ia_pwr_mgr*) malloc(sizeof(struct ia_pwr_mgr)); in main()
75 if (NULL == pwr) { in main()
81 if((pwr->dev_node = fopen(DEV_NODE, "r")) == NULL) { in main()
90 err = ioctl(fileno(pwr->dev_node), IAXXX_POWER_STATS_COUNT, &pwr_stats_count); in main()
128 if (pwr) { in main()
129 if (pwr->dev_node) { in main()
130 fclose(pwr->dev_node); in main()
132 free(pwr); in main()
133 pwr = NULL; in main()