Home
last modified time | relevance | path

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

/hardware/knowles/athletico/sound_trigger_hal/tests/
Dcrash_trigger_test.c41 FILE *dev_node; member
113 if((smd->dev_node = fopen(DEV_NODE, "rw")) == NULL) { in main()
130 err = ioctl(fileno(smd->dev_node), SCRIPT_TRIGGER, (unsigned long) &script_id); in main()
140 if (smd->dev_node) { in main()
141 fclose(smd->dev_node); in main()
Dsensor_param_test.c36 FILE *dev_node; member
91 err = ioctl(fileno(smd->dev_node), MODULE_SENSOR_SET_PARAM, (unsigned long) &sp); in set_param()
113 err = ioctl(fileno(smd->dev_node), MODULE_SENSOR_GET_PARAM, (unsigned long) &sp); in get_param()
183 if((smd->dev_node = fopen(DEV_NODE, "rw")) == NULL) { in main()
196 if (smd->dev_node) { in main()
197 fclose(smd->dev_node); in main()
Doslo_iaxxx_sensor_control.c37 if ((smd->dev_node = fopen(IAXXX_DEV_NODE, "rw")) == NULL) { in iaxxx_sensor_mgr_init()
53 if (smd->dev_node) { in iaxxx_sensor_mgr_deinit()
54 fclose(smd->dev_node); in iaxxx_sensor_mgr_deinit()
80 err = ioctl(fileno(smd->dev_node), MODULE_SENSOR_SET_PARAM, (unsigned long)&sp); in oslo_driver_set_param()
103 err = ioctl(fileno(smd->dev_node), MODULE_SENSOR_GET_PARAM, (unsigned long)&sp); in oslo_driver_get_param()
136 err = ioctl(fileno(smd->dev_node), MODULE_SENSOR_WRITE_PARAM_BLK, (unsigned long)&spb); in oslo_driver_set_param_blk()
155 rc = ioctl(fileno(smd->dev_node), IAXXX_SENSOR_MODE_STATS, (unsigned long)stats); in oslo_driver_get_stats()
Dget_pwr_stats.c21 FILE *dev_node; member
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()
129 if (pwr->dev_node) { in main()
130 fclose(pwr->dev_node); in main()
Doslo_iaxxx_sensor_control.h186 FILE *dev_node; member
/hardware/knowles/athletico/sound_trigger_hal/
Diaxxx_odsp_hw.c38 FILE *dev_node; member
60 ioh->dev_node = fopen(DEV_NODE, "rw"); in iaxxx_odsp_init()
61 if (ioh->dev_node == NULL) { in iaxxx_odsp_init()
90 if (odsp_hw_hdl->dev_node) { in iaxxx_odsp_deinit()
91 fclose(odsp_hw_hdl->dev_node); in iaxxx_odsp_deinit()
134 err = ioctl(fileno(odsp_hw_hdl->dev_node), in iaxxx_odsp_package_load()
171 err = ioctl(fileno(odsp_hw_hdl->dev_node), in iaxxx_odsp_package_unload()
217 err = ioctl(fileno(odsp_hw_hdl->dev_node), in iaxxx_odsp_plugin_get_package_version()
265 err = ioctl(fileno(odsp_hw_hdl->dev_node), in iaxxx_odsp_plugin_get_plugin_version()
319 err = ioctl(fileno(odsp_hw_hdl->dev_node), in iaxxx_odsp_plugin_create()
[all …]
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_ucm.c541 struct snd_ucm_ident_node *dev_node = NULL; in check_devices_for_voice_call() local
556 if ((dev_node = in check_devices_for_voice_call()
559 if (dev_node->capability == CAP_RX && dev_node->active == 1) { in check_devices_for_voice_call()
561 } else if (dev_node->capability == CAP_TX && dev_node->active == 1) { in check_devices_for_voice_call()