Searched refs:fd_update_log (Results 1 – 1 of 1) sorted by relevance
200 int fd_update, fd_update_log, fd_capsule; in main() local222 fd_update_log = open("/dev/acpi_pfr_telemetry0", O_RDWR); in main()223 if (fd_update_log < 0) { in main()236 close(fd_update_log); in main()242 ret = ioctl(fd_update_log, PFRT_LOG_IOC_GET_DATA_INFO, &data_info); in main()246 close(fd_update_log); in main()251 ret = ioctl(fd_update_log, PFRT_LOG_IOC_GET_INFO, &info); in main()255 close(fd_update_log); in main()303 ret = ioctl(fd_update_log, PFRT_LOG_IOC_SET_INFO, &info); in main()307 close(fd_update_log); in main()[all …]