Searched refs:sd_fd (Results 1 – 3 of 3) sorted by relevance
1517 int32_t sd_fd = -1; in get_num_of_cameras() local1597 sd_fd = open(subdev_name, O_RDWR); in get_num_of_cameras()1598 if (sd_fd < 0) { in get_num_of_cameras()1605 if (ioctl(sd_fd, VIDIOC_MSM_SENSOR_INIT_CFG, &cfg) < 0) { in get_num_of_cameras()1608 close(sd_fd); in get_num_of_cameras()
1787 int32_t sd_fd = -1; in get_num_of_cameras() local1858 sd_fd = open(subdev_name, O_RDWR); in get_num_of_cameras()1859 if (sd_fd < 0) { in get_num_of_cameras()1866 if (ioctl(sd_fd, VIDIOC_MSM_SENSOR_INIT_CFG, &cfg) < 0) { in get_num_of_cameras()1869 close(sd_fd); in get_num_of_cameras()