Searched refs:ufmfw_ufm_fd (Results 1 – 1 of 1) sorted by relevance
66 static int ufmfw_ufm_fd = -1; variable153 if (ioctl(ufmfw_ufm_fd, UFM_IOC_READIMG, &rimg) != 0) { in fw_readfw()370 if (ioctl(ufmfw_ufm_fd, UFM_IOC_GETCAPS, &caps) != 0) { in ufmfw_di_walk_cb()389 if (ioctl(ufmfw_ufm_fd, UFM_IOC_REPORTSZ, &bufsz) != 0) { in ufmfw_di_walk_cb()408 if (ioctl(ufmfw_ufm_fd, UFM_IOC_REPORT, &rep) != 0) { in ufmfw_di_walk_cb()599 ufmfw_ufm_fd = open("/dev/ufm", O_RDONLY); in ufmfw_init()600 if (ufmfw_ufm_fd < 0) { in ufmfw_init()620 if (ufmfw_ufm_fd >= 0) { in ufmfw_fini()621 (void) close(ufmfw_ufm_fd); in ufmfw_fini()