}
}
- for (i = 0; i < FIMC_IS_STREAM_COUNT; ++i) {
+ for (i = 0; i < FIMC_IS_SENSOR_COUNT; ++i) {
sensor = &core->sensor[i];
if (!test_bit(FIMC_IS_SENSOR_BACK_START, &sensor->state))
csi = (struct fimc_is_device_csi *)v4l2_get_subdevdata(sensor->subdev_csi);
/* checked single/dual camera */
- for (i = 0; i < FIMC_IS_STREAM_COUNT; i++)
+ for (i = 0; i < FIMC_IS_SENSOR_COUNT; i++)
if (test_bit(FIMC_IS_SENSOR_OPEN, &(core->sensor[i].state)))
sensor_cnt++;
FIMC_BUG(!csi);
/* checked single/dual camera */
- for (i = 0; i < FIMC_IS_STREAM_COUNT; i++)
+ for (i = 0; i < FIMC_IS_SENSOR_COUNT; i++)
if (test_bit(FIMC_IS_SENSOR_OPEN, &(core->sensor[i].state)))
sensor_cnt++;
struct v4l2_subdev *subdev_actuator = NULL;
struct fimc_is_actuator *actuator = NULL;
struct fimc_is_device_sensor *device = NULL;
- u32 sensor_id[FIMC_IS_STREAM_COUNT] = {0, };
+ u32 sensor_id[FIMC_IS_SENSOR_COUNT] = {0, };
struct device *dev;
struct device_node *dnode;
const u32 *sensor_id_spec;
struct fimc_is_cis *cis = NULL;
struct fimc_is_device_sensor *device = NULL;
struct fimc_is_device_sensor_peri *sensor_peri = NULL;
- u32 sensor_id[FIMC_IS_STREAM_COUNT] = {0, };
+ u32 sensor_id[FIMC_IS_SENSOR_COUNT] = {0, };
u32 sensor_id_len;
const u32 *sensor_id_spec;
char const *setfile;
struct fimc_is_cis *cis = NULL;
struct fimc_is_device_sensor *device = NULL;
struct fimc_is_device_sensor_peri *sensor_peri = NULL;
- u32 sensor_id[FIMC_IS_STREAM_COUNT] = {0, };
+ u32 sensor_id[FIMC_IS_SENSOR_COUNT] = {0, };
u32 sensor_id_len;
const u32 *sensor_id_spec;
char const *setfile;
struct fimc_is_cis *cis = NULL;
struct fimc_is_device_sensor *device = NULL;
struct fimc_is_device_sensor_peri *sensor_peri = NULL;
- u32 sensor_id[FIMC_IS_STREAM_COUNT] = {0, };
+ u32 sensor_id[FIMC_IS_SENSOR_COUNT] = {0, };
u32 sensor_id_len;
const u32 *sensor_id_spec;
char const *setfile;
struct fimc_is_cis *cis = NULL;
struct fimc_is_device_sensor *device = NULL;
struct fimc_is_device_sensor_peri *sensor_peri = NULL;
- u32 sensor_id[FIMC_IS_STREAM_COUNT] = {0, };
+ u32 sensor_id[FIMC_IS_SENSOR_COUNT] = {0, };
u32 sensor_id_len;
const u32 *sensor_id_spec;
char const *setfile;
struct fimc_is_cis *cis = NULL;
struct fimc_is_device_sensor *device = NULL;
struct fimc_is_device_sensor_peri *sensor_peri = NULL;
- u32 sensor_id[FIMC_IS_STREAM_COUNT] = {0, };
+ u32 sensor_id[FIMC_IS_SENSOR_COUNT] = {0, };
u32 sensor_id_len;
const u32 *sensor_id_spec;
char const *setfile;
struct fimc_is_cis *cis = NULL;
struct fimc_is_device_sensor *device = NULL;
struct fimc_is_device_sensor_peri *sensor_peri = NULL;
- u32 sensor_id[FIMC_IS_STREAM_COUNT] = {0, };
+ u32 sensor_id[FIMC_IS_SENSOR_COUNT] = {0, };
u32 sensor_id_len;
const u32 *sensor_id_spec;
char const *setfile;
struct fimc_is_cis *cis = NULL;
struct fimc_is_device_sensor *device = NULL;
struct fimc_is_device_sensor_peri *sensor_peri = NULL;
- u32 sensor_id[FIMC_IS_STREAM_COUNT] = {0, };
+ u32 sensor_id[FIMC_IS_SENSOR_COUNT] = {0, };
u32 sensor_id_len;
const u32 *sensor_id_spec;
char const *setfile;
struct fimc_is_cis *cis = NULL;
struct fimc_is_device_sensor *device = NULL;
struct fimc_is_device_sensor_peri *sensor_peri = NULL;
- u32 sensor_id[FIMC_IS_STREAM_COUNT] = {0, };
+ u32 sensor_id[FIMC_IS_SENSOR_COUNT] = {0, };
u32 sensor_id_len;
const u32 *sensor_id_spec;
char const *setfile;