1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef __UAPI_LINUX_MSM_CAMSENSOR_SDK_H 20 #define __UAPI_LINUX_MSM_CAMSENSOR_SDK_H 21 #include <linux/videodev2.h> 22 #define KVERSION 0x1 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 #define MAX_POWER_CONFIG 12 25 #define GPIO_OUT_LOW (0 << 1) 26 #define GPIO_OUT_HIGH (1 << 1) 27 #define CSI_EMBED_DATA 0x12 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 #define CSI_RESERVED_DATA_0 0x13 30 #define CSI_YUV422_8 0x1E 31 #define CSI_RAW8 0x2A 32 #define CSI_RAW10 0x2B 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 #define CSI_RAW12 0x2C 35 #define CSI_DECODE_6BIT 0 36 #define CSI_DECODE_8BIT 1 37 #define CSI_DECODE_10BIT 2 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 #define CSI_DECODE_12BIT 3 40 #define CSI_DECODE_DPCM_10_6_10 4 41 #define CSI_DECODE_DPCM_10_8_10 5 42 #define MAX_CID 16 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 #define I2C_SEQ_REG_DATA_MAX 1024 45 #define I2C_REG_DATA_MAX (8 * 1024) 46 #define MSM_V4L2_PIX_FMT_META v4l2_fourcc('M', 'E', 'T', 'A') 47 #define MSM_V4L2_PIX_FMT_SBGGR14 v4l2_fourcc('B', 'G', '1', '4') 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 #define MSM_V4L2_PIX_FMT_SGBRG14 v4l2_fourcc('G', 'B', '1', '4') 50 #define MSM_V4L2_PIX_FMT_SGRBG14 v4l2_fourcc('B', 'A', '1', '4') 51 #define MSM_V4L2_PIX_FMT_SRGGB14 v4l2_fourcc('R', 'G', '1', '4') 52 #define MAX_ACTUATOR_REG_TBL_SIZE 8 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 #define MAX_ACTUATOR_REGION 5 55 #define NUM_ACTUATOR_DIR 2 56 #define MAX_ACTUATOR_SCENARIO 8 57 #define MAX_ACT_MOD_NAME_SIZE 32 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 #define MAX_ACT_NAME_SIZE 32 60 #define MAX_ACTUATOR_INIT_SET 120 61 #define MAX_I2C_REG_SET 12 62 #define MAX_LED_TRIGGERS 3 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 #define MSM_EEPROM_MEMORY_MAP_MAX_SIZE 80 65 #define MSM_EEPROM_MAX_MEM_MAP_CNT 8 66 enum msm_sensor_camera_id_t { 67 CAMERA_0, 68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69 CAMERA_1, 70 CAMERA_2, 71 CAMERA_3, 72 MAX_CAMERAS, 73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74 }; 75 enum i2c_freq_mode_t { 76 I2C_STANDARD_MODE, 77 I2C_FAST_MODE, 78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79 I2C_CUSTOM_MODE, 80 I2C_CUSTOM1_MODE, 81 I2C_CUSTOM2_MODE, 82 I2C_FAST_PLUS_MODE, 83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84 I2C_MAX_MODES, 85 }; 86 enum camb_position_t { 87 BACK_CAMERA_B, 88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89 FRONT_CAMERA_B, 90 AUX_CAMERA_B = 0x100, 91 INVALID_CAMERA_B, 92 }; 93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 94 enum msm_sensor_power_seq_type_t { 95 SENSOR_CLK, 96 SENSOR_GPIO, 97 SENSOR_VREG, 98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 99 SENSOR_I2C_MUX, 100 SENSOR_I2C, 101 }; 102 enum msm_camera_i2c_reg_addr_type { 103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 104 MSM_CAMERA_I2C_BYTE_ADDR = 1, 105 MSM_CAMERA_I2C_WORD_ADDR, 106 MSM_CAMERA_I2C_3B_ADDR, 107 MSM_CAMERA_I2C_ADDR_TYPE_MAX, 108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 109 }; 110 enum msm_camera_i2c_data_type { 111 MSM_CAMERA_I2C_BYTE_DATA = 1, 112 MSM_CAMERA_I2C_WORD_DATA, 113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 114 MSM_CAMERA_I2C_DWORD_DATA, 115 MSM_CAMERA_I2C_SET_BYTE_MASK, 116 MSM_CAMERA_I2C_UNSET_BYTE_MASK, 117 MSM_CAMERA_I2C_SET_WORD_MASK, 118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 119 MSM_CAMERA_I2C_UNSET_WORD_MASK, 120 MSM_CAMERA_I2C_SET_BYTE_WRITE_MASK_DATA, 121 MSM_CAMERA_I2C_DATA_TYPE_MAX, 122 }; 123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 124 enum msm_sensor_power_seq_gpio_t { 125 SENSOR_GPIO_RESET, 126 SENSOR_GPIO_STANDBY, 127 SENSOR_GPIO_AF_PWDM, 128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 129 SENSOR_GPIO_VIO, 130 SENSOR_GPIO_VANA, 131 SENSOR_GPIO_VDIG, 132 SENSOR_GPIO_VAF, 133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 134 SENSOR_GPIO_FL_EN, 135 SENSOR_GPIO_FL_NOW, 136 SENSOR_GPIO_FL_RESET, 137 SENSOR_GPIO_CUSTOM1, 138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 139 SENSOR_GPIO_CUSTOM2, 140 SENSOR_GPIO_MAX, 141 }; 142 enum msm_camera_vreg_name_t { 143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 144 CAM_VDIG, 145 CAM_VIO, 146 CAM_VANA, 147 CAM_VAF, 148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 149 CAM_V_CUSTOM1, 150 CAM_V_CUSTOM2, 151 CAM_VREG_MAX, 152 }; 153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 154 enum msm_sensor_clk_type_t { 155 SENSOR_CAM_MCLK, 156 SENSOR_CAM_CLK, 157 SENSOR_CAM_CLK_MAX, 158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 159 }; 160 enum camerab_mode_t { 161 CAMERA_MODE_2D_B = (1 << 0), 162 CAMERA_MODE_3D_B = (1 << 1), 163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 164 CAMERA_MODE_INVALID = (1 << 2), 165 }; 166 enum msm_actuator_data_type { 167 MSM_ACTUATOR_BYTE_DATA = 1, 168 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 169 MSM_ACTUATOR_WORD_DATA, 170 }; 171 enum msm_actuator_addr_type { 172 MSM_ACTUATOR_BYTE_ADDR = 1, 173 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 174 MSM_ACTUATOR_WORD_ADDR, 175 }; 176 enum msm_actuator_write_type { 177 MSM_ACTUATOR_WRITE_HW_DAMP, 178 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 179 MSM_ACTUATOR_WRITE_DAC, 180 MSM_ACTUATOR_WRITE, 181 MSM_ACTUATOR_WRITE_DIR_REG, 182 MSM_ACTUATOR_POLL, 183 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 184 MSM_ACTUATOR_READ_WRITE, 185 }; 186 enum msm_actuator_i2c_operation { 187 MSM_ACT_WRITE = 0, 188 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 189 MSM_ACT_POLL, 190 }; 191 enum actuator_type { 192 ACTUATOR_VCM, 193 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 194 ACTUATOR_PIEZO, 195 ACTUATOR_HVCM, 196 ACTUATOR_BIVCM, 197 }; 198 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 199 enum msm_flash_driver_type { 200 FLASH_DRIVER_PMIC, 201 FLASH_DRIVER_I2C, 202 FLASH_DRIVER_GPIO, 203 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 204 FLASH_DRIVER_DEFAULT 205 }; 206 enum msm_flash_cfg_type_t { 207 CFG_FLASH_INIT, 208 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 209 CFG_FLASH_RELEASE, 210 CFG_FLASH_OFF, 211 CFG_FLASH_LOW, 212 CFG_FLASH_HIGH, 213 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 214 }; 215 enum msm_sensor_output_format_t { 216 MSM_SENSOR_BAYER, 217 MSM_SENSOR_YCBCR, 218 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 219 MSM_SENSOR_META, 220 }; 221 struct msm_sensor_power_setting { 222 enum msm_sensor_power_seq_type_t seq_type; 223 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 224 unsigned short seq_val; 225 long config_val; 226 unsigned short delay; 227 void * data[10]; 228 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 229 }; 230 struct msm_sensor_power_setting_array { 231 struct msm_sensor_power_setting power_setting_a[MAX_POWER_CONFIG]; 232 struct msm_sensor_power_setting * power_setting; 233 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 234 unsigned short size; 235 struct msm_sensor_power_setting power_down_setting_a[MAX_POWER_CONFIG]; 236 struct msm_sensor_power_setting * power_down_setting; 237 unsigned short size_down; 238 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 239 }; 240 enum msm_camera_i2c_operation { 241 MSM_CAM_WRITE = 0, 242 MSM_CAM_POLL, 243 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 244 MSM_CAM_READ, 245 }; 246 struct msm_sensor_i2c_sync_params { 247 unsigned int cid; 248 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 249 int csid; 250 unsigned short line; 251 unsigned short delay; 252 }; 253 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 254 struct msm_camera_reg_settings_t { 255 uint16_t reg_addr; 256 enum msm_camera_i2c_reg_addr_type addr_type; 257 uint16_t reg_data; 258 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 259 enum msm_camera_i2c_data_type data_type; 260 enum msm_camera_i2c_operation i2c_operation; 261 uint16_t delay; 262 }; 263 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 264 struct msm_eeprom_mem_map_t { 265 int slave_addr; 266 struct msm_camera_reg_settings_t mem_settings[MSM_EEPROM_MEMORY_MAP_MAX_SIZE]; 267 int memory_map_size; 268 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 269 }; 270 struct msm_eeprom_memory_map_array { 271 struct msm_eeprom_mem_map_t memory_map[MSM_EEPROM_MAX_MEM_MAP_CNT]; 272 uint32_t msm_size_of_max_mappings; 273 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 274 }; 275 struct msm_sensor_init_params { 276 int modes_supported; 277 enum camb_position_t position; 278 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 279 unsigned int sensor_mount_angle; 280 }; 281 struct msm_sensor_id_info_t { 282 unsigned short sensor_id_reg_addr; 283 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 284 unsigned short sensor_id; 285 unsigned short sensor_id_mask; 286 }; 287 struct msm_camera_sensor_slave_info { 288 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 289 char sensor_name[32]; 290 char eeprom_name[32]; 291 char actuator_name[32]; 292 char ois_name[32]; 293 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 294 char flash_name[32]; 295 enum msm_sensor_camera_id_t camera_id; 296 unsigned short slave_addr; 297 enum i2c_freq_mode_t i2c_freq_mode; 298 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 299 enum msm_camera_i2c_reg_addr_type addr_type; 300 struct msm_sensor_id_info_t sensor_id_info; 301 struct msm_sensor_power_setting_array power_setting_array; 302 unsigned char is_init_params_valid; 303 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 304 struct msm_sensor_init_params sensor_init_params; 305 enum msm_sensor_output_format_t output_format; 306 }; 307 struct msm_camera_i2c_reg_array { 308 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 309 unsigned short reg_addr; 310 unsigned short reg_data; 311 unsigned int delay; 312 }; 313 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 314 struct msm_camera_i2c_reg_setting { 315 struct msm_camera_i2c_reg_array * reg_setting; 316 unsigned short size; 317 enum msm_camera_i2c_reg_addr_type addr_type; 318 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 319 enum msm_camera_i2c_data_type data_type; 320 unsigned short delay; 321 }; 322 struct msm_camera_csid_vc_cfg { 323 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 324 unsigned char cid; 325 unsigned char dt; 326 unsigned char decode_format; 327 }; 328 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 329 struct msm_camera_csid_lut_params { 330 unsigned char num_cid; 331 struct msm_camera_csid_vc_cfg vc_cfg_a[MAX_CID]; 332 struct msm_camera_csid_vc_cfg * vc_cfg[MAX_CID]; 333 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 334 }; 335 struct msm_camera_csid_params { 336 unsigned char lane_cnt; 337 unsigned short lane_assign; 338 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 339 unsigned char phy_sel; 340 unsigned int csi_clk; 341 struct msm_camera_csid_lut_params lut_params; 342 unsigned char csi_3p_sel; 343 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 344 }; 345 struct msm_camera_csid_testmode_parms { 346 unsigned int num_bytes_per_line; 347 unsigned int num_lines; 348 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 349 unsigned int h_blanking_count; 350 unsigned int v_blanking_count; 351 unsigned int payload_mode; 352 }; 353 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 354 struct msm_camera_csiphy_params { 355 unsigned char lane_cnt; 356 unsigned char settle_cnt; 357 unsigned short lane_mask; 358 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 359 unsigned char combo_mode; 360 unsigned char csid_core; 361 unsigned int csiphy_clk; 362 unsigned char csi_3phase; 363 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 364 }; 365 struct msm_camera_i2c_seq_reg_array { 366 unsigned short reg_addr; 367 unsigned char reg_data[I2C_SEQ_REG_DATA_MAX]; 368 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 369 unsigned short reg_data_size; 370 }; 371 struct msm_camera_i2c_seq_reg_setting { 372 struct msm_camera_i2c_seq_reg_array * reg_setting; 373 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 374 unsigned short size; 375 enum msm_camera_i2c_reg_addr_type addr_type; 376 unsigned short delay; 377 }; 378 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 379 struct msm_actuator_reg_params_t { 380 enum msm_actuator_write_type reg_write_type; 381 unsigned int hw_mask; 382 unsigned short reg_addr; 383 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 384 unsigned short hw_shift; 385 unsigned short data_shift; 386 unsigned short data_type; 387 unsigned short addr_type; 388 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 389 unsigned short reg_data; 390 unsigned short delay; 391 }; 392 struct damping_params_t { 393 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 394 unsigned int damping_step; 395 unsigned int damping_delay; 396 unsigned int hw_params; 397 }; 398 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 399 struct region_params_t { 400 unsigned short step_bound[2]; 401 unsigned short code_per_step; 402 unsigned int qvalue; 403 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 404 }; 405 struct reg_settings_t { 406 unsigned short reg_addr; 407 enum msm_camera_i2c_reg_addr_type addr_type; 408 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 409 unsigned short reg_data; 410 enum msm_camera_i2c_data_type data_type; 411 enum msm_actuator_i2c_operation i2c_operation; 412 unsigned int delay; 413 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 414 }; 415 struct msm_camera_i2c_reg_setting_array { 416 struct msm_camera_i2c_reg_array reg_setting_a[MAX_I2C_REG_SET]; 417 unsigned short size; 418 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 419 enum msm_camera_i2c_reg_addr_type addr_type; 420 enum msm_camera_i2c_data_type data_type; 421 unsigned short delay; 422 }; 423 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 424 #endif 425 426