Home
last modified time | relevance | path

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

/hardware/knowles/athletico/sound_trigger_hal/tests/
Doslo_package_test.c157 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()
268 err = ioctl(fileno(odsp_node), ODSP_EVENT_SUBSCRIBE, (unsigned long)&ei); in main()
300 err = ioctl(fileno(odsp_node), ODSP_EVENT_UNSUBSCRIBE, (unsigned long)&ei); in main()
[all …]
Dtunnel_test_sensor.c106 err = ioctl(fileno(tun_dev), FLICKER_ROUTE_SETUP, NULL); in main()
115 err = ioctl(fileno(tun_dev), FLICKER_TUNNEL_SETUP, &tm); in main()
124 err = ioctl(fileno(tun_dev), FLICKER_TUNNEL_SETUP, &tm); in main()
307 err = ioctl(fileno(tun_dev), FLICKER_TUNNEL_TERMINATE, &tm); in main()
316 err = ioctl(fileno(tun_dev), FLICKER_TUNNEL_TERMINATE, &tm); in main()
322 err = ioctl(fileno(tun_dev), FLICKER_ROUTE_TERMINATE, NULL); in main()
Dspi_reliability_test.c90 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()
Doslo_iaxxx_sensor_control.c80 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()
Dsensor_param_test.c91 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()
Dcrash_trigger_test.c130 err = ioctl(fileno(smd->dev_node), SCRIPT_TRIGGER, (unsigned long) &script_id); in main()
Dget_pwr_stats.c90 err = ioctl(fileno(pwr->dev_node), IAXXX_POWER_STATS_COUNT, &pwr_stats_count); in main()
Dcrash_event_logger.c212 fd = fileno(fp); in split_crash_dump_file()
432 fd = fileno(fp); in ssr_split_crash_dump_file()
/hardware/knowles/athletico/sound_trigger_hal/
Diaxxx_odsp_hw.c134 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()
377 err = ioctl(fileno(odsp_hw_hdl->dev_node), in iaxxx_odsp_plugin_set_creation_config()
416 err = ioctl(fileno(odsp_hw_hdl->dev_node), in iaxxx_odsp_plugin_destroy()
454 err = ioctl(fileno(odsp_hw_hdl->dev_node), in iaxxx_odsp_plugin_enable()
492 err = ioctl(fileno(odsp_hw_hdl->dev_node), in iaxxx_odsp_plugin_disable()
530 err = ioctl(fileno(odsp_hw_hdl->dev_node), in iaxxx_odsp_plugin_reset()
[all …]
/hardware/google/gfxstream/guest/android-emu/android/utils/
Ddebug.c142 out_fd = fileno(stdout); in stdio_disable()
143 err_fd = fileno(stderr); in stdio_disable()
157 out_fd = fileno(stdout); in stdio_enable()
158 err_fd = fileno(stderr); in stdio_enable()
/hardware/google/gfxstream/guest/mesa/src/util/
Dfossilize_db.c193 int fd = fileno(f); in lock_file_with_timeout()
260 flock(fileno(foz_db->file[file_idx]), LOCK_UN); in load_foz_dbs()
277 flock(fileno(foz_db->file[file_idx]), LOCK_UN); in load_foz_dbs()
339 if (fstat(fileno(db_file), &new_file_stat) == -1) in check_file_already_loaded()
345 if (fstat(fileno(foz_db->file[i]), &loaded_file_stat) == -1) in check_file_already_loaded()
681 flock(fileno(foz_db->file[0]), LOCK_UN); in foz_write_entry()
744 flock(fileno(foz_db->file[0]), LOCK_UN); in foz_write_entry()
752 flock(fileno(foz_db->file[0]), LOCK_UN); in foz_write_entry()
Dmesa_cache_db.c90 return !ftruncate(fileno(file), pos); in mesa_db_truncate()
98 if (flock(fileno(db->cache.file), LOCK_EX) == -1) in mesa_db_lock()
101 if (flock(fileno(db->index.file), LOCK_EX) == -1) in mesa_db_lock()
107 flock(fileno(db->cache.file), LOCK_UN); in mesa_db_lock()
117 flock(fileno(db->index.file), LOCK_UN); in mesa_db_unlock()
118 flock(fileno(db->cache.file), LOCK_UN); in mesa_db_unlock()
/hardware/google/aemu/snapshot/
DTextureLoader.cpp70 if (base::getFileSize(fileno(mStream.get()), &size)) { in readIndex()
/hardware/google/gfxstream/host/apigen-codec-common/X11/
DXw32defs.h31 # define fileno _fileno macro
/hardware/nxp/nfc/pn8x/halimpl/utils/
DNfccPowerTracker.cpp431 if (!flock(fileno(fp), LOCK_EX | LOCK_NB)) return true; in TryLockFile()
446 void NfccPowerTracker::UnlockFile(FILE* fp) { flock(fileno(fp), LOCK_UN); } in UnlockFile()
/hardware/google/camera/common/hal/tests/
Dcamera_device_tests.cc128 EXPECT_EQ(device->DumpState(fileno(f)), OK); in TEST()
Dhal_camera_metadata_tests.cc192 hal_metadata->Dump(fileno(f), MetadataDumpVerbosity::kAllInformation, in SetGetMetadata()
/hardware/google/gfxstream/guest/mesa/src/vulkan/overlay-layer/
Dmesa-overlay-control.py47 if fd != self.sock.fileno():
/hardware/google/gfxstream/scripts/print_gfx_logs/
Dprint_gfx_logs.py192 with mmap.mmap(f.fileno(), 0) as mm:
/hardware/qcom/audio/legacy/libalsa-intf/
Darec.c396 fd = fileno(stdout); in rec_raw()
433 fd = fileno(stdout); in rec_wav()
Daplay.c478 fd = fileno(stdin); in play_raw()
506 fd = fileno(stdin); in play_wav()