    slave_info.power_setting_array.power_down_setting =
      (struct msm_sensor_power_setting *)&slave_info.power_setting_array.power_down_setting_a[0];
    sensor_init_cfg_data sensor_init_cfg = {.cfgtype = CFG_SINIT_PROBE, .cfg.setting = &slave_info};
    err = ioctl(sensorinit_fd, VIDIOC_MSM_SENSOR_INIT_CFG, &sensor_init_cfg);
    LOG("sensor init cfg (rear): %d", err);
    assert(err >= 0);
  
    struct msm_camera_sensor_slave_info slave_info2 = {0};
    if (s->device == DEVICE_LP3) {
      slave_info2 = (struct msm_camera_sensor_slave_info){
 
</s> remove   // init rear sensor
 </s> add   // init road camera sensor </s> remove   } else if (s->front.camera_id == CAMERA_ID_S5K3P8SP) {
    // init front camera
 </s> add   } else if (s->driver_cam.camera_id == CAMERA_ID_S5K3P8SP) {
    // init driver camera </s> remove   if (rear && s->device != DEVICE_LP3) {
 </s> add   if (is_road_cam && s->device != DEVICE_LP3) { </s> remove   if (rear) {
 </s> add   if (is_road_cam) { </s> remove   s->rear.isp_fd = s->front.isp_fd = s->wide.isp_fd = s->isp_fd;
 </s> add   s->road_cam.isp_fd = s->driver_cam.isp_fd = s->wide_road_cam.isp_fd = s->isp_fd;
  LOG("sensor init cfg (road camera): %d", err);
    slave_info.power_setting_array.power_down_setting =
      (struct msm_sensor_power_setting *)&slave_info.power_setting_array.power_down_setting_a[0];
    sensor_init_cfg_data sensor_init_cfg = {.cfgtype = CFG_SINIT_PROBE, .cfg.setting = &slave_info};
    err = ioctl(sensorinit_fd, VIDIOC_MSM_SENSOR_INIT_CFG, &sensor_init_cfg);
  LOG("sensor init cfg (road camera): %d", err);
    assert(err >= 0);
  
    struct msm_camera_sensor_slave_info slave_info2 = {0};
    if (s->device == DEVICE_LP3) {
      slave_info2 = (struct msm_camera_sensor_slave_info){
keep keep keep keep replace keep keep keep keep keep
 camerad: rename variables&functions to follow new convention (#20096)

* rename CameraState variables to follow new convention

* continue

* rename camera_process functions

* qcom:rename exposure related variables

* continue

* update commments

* bool real -> bool is_road_cam

* rename sm_front -> sm

* remove paramater tname from start_process_thread

* rename rhd_front to is_rhd

* remove unused varialble name from struct CameraInfo

* rename env_send_xxx

* rename cap_front to cap_driver,cap_rear to cap_road

* rename xxx_camera_process to process_xxx_camera

* update snapshot.py 
selfdrive/camerad/cameras/camera_qcom.cc