| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A D | gt9760s.c | 241 static unsigned int gt9760s_move_time(struct gt9760s_device *dev_vcm, unsigned int move_pos) in gt9760s_move_time() 316 struct gt9760s_device *dev_vcm = sd_to_vcm_dev(sd); in gt9760s_init() local 348 static int gt9760s_get_pos(struct gt9760s_device *dev_vcm, u32 *cur_pos) in gt9760s_get_pos() 380 static int gt9760s_set_pos(struct gt9760s_device *dev_vcm, u32 dest_pos) in gt9760s_set_pos() 415 struct gt9760s_device *dev_vcm = to_vcm_dev(ctrl); in gt9760s_get_ctrl() local 425 struct gt9760s_device *dev_vcm = to_vcm_dev(ctrl); in gt9760s_set_ctrl() local 502 static void gt9760s_update_vcm_cfg(struct gt9760s_device *dev_vcm) in gt9760s_update_vcm_cfg() 532 struct gt9760s_device *dev_vcm = sd_to_vcm_dev(sd); in gt9760s_ioctl() local 615 static void gt9760s_subdev_cleanup(struct gt9760s_device *dev_vcm) in gt9760s_subdev_cleanup() 623 static int gt9760s_init_controls(struct gt9760s_device *dev_vcm) in gt9760s_init_controls() [all …]
|
| H A D | dw9763.c | 149 static unsigned int dw9763_move_time_div(struct dw9763_device *dev_vcm, in dw9763_move_time_div() 182 static unsigned int dw9763_move_time(struct dw9763_device *dev_vcm, in dw9763_move_time() 214 static int dw9763_set_dac(struct dw9763_device *dev_vcm, in dw9763_set_dac() 241 static int dw9763_get_dac(struct dw9763_device *dev_vcm, unsigned int *cur_dac) in dw9763_get_dac() 262 static int dw9763_get_pos(struct dw9763_device *dev_vcm, in dw9763_get_pos() 291 static int dw9763_set_pos(struct dw9763_device *dev_vcm, in dw9763_set_pos() 318 struct dw9763_device *dev_vcm = to_dw9763_vcm(ctrl); in dw9763_get_ctrl() local 328 struct dw9763_device *dev_vcm = to_dw9763_vcm(ctrl); in dw9763_set_ctrl() local 401 static void dw9763_update_vcm_cfg(struct dw9763_device *dev_vcm) in dw9763_update_vcm_cfg() 430 struct dw9763_device *dev_vcm = sd_to_dw9763_vcm(sd); in dw9763_ioctl() local [all …]
|
| H A D | dw9800w.c | 147 static unsigned int dw9800w_move_time_div(struct dw9800w_device *dev_vcm, in dw9800w_move_time_div() 181 static unsigned int dw9800w_move_time(struct dw9800w_device *dev_vcm, in dw9800w_move_time() 216 static int dw9800w_get_pos(struct dw9800w_device *dev_vcm, in dw9800w_get_pos() 245 static int dw9800w_set_pos(struct dw9800w_device *dev_vcm, in dw9800w_set_pos() 285 struct dw9800w_device *dev_vcm = to_dw9800w_vcm(ctrl); in dw9800w_get_ctrl() local 295 struct dw9800w_device *dev_vcm = to_dw9800w_vcm(ctrl); in dw9800w_set_ctrl() local 376 static void dw9800w_update_vcm_cfg(struct dw9800w_device *dev_vcm) in dw9800w_update_vcm_cfg() 405 struct dw9800w_device *dev_vcm = sd_to_dw9800w_vcm(sd); in dw9800w_ioctl() local 457 struct dw9800w_device *dev_vcm = sd_to_dw9800w_vcm(sd); in dw9800w_compat_ioctl32() local 524 static int dw9800w_init_controls(struct dw9800w_device *dev_vcm) in dw9800w_init_controls() [all …]
|
| H A D | aw8601.c | 142 static unsigned int aw8601_move_time_div(struct aw8601_device *dev_vcm, in aw8601_move_time_div() 176 static unsigned int aw8601_move_time(struct aw8601_device *dev_vcm, in aw8601_move_time() 207 static int aw8601_get_pos(struct aw8601_device *dev_vcm, in aw8601_get_pos() 239 static int aw8601_set_pos(struct aw8601_device *dev_vcm, in aw8601_set_pos() 280 struct aw8601_device *dev_vcm = to_aw8601_vcm(ctrl); in aw8601_get_ctrl() local 290 struct aw8601_device *dev_vcm = to_aw8601_vcm(ctrl); in aw8601_set_ctrl() local 368 static void aw8601_update_vcm_cfg(struct aw8601_device *dev_vcm) in aw8601_update_vcm_cfg() 393 struct aw8601_device *dev_vcm = sd_to_aw8601_vcm(sd); in aw8601_ioctl() local 529 static int aw8601_init_controls(struct aw8601_device *dev_vcm) in aw8601_init_controls() 699 struct aw8601_device *dev_vcm = sd_to_aw8601_vcm(sd); in aw8601_init() local [all …]
|
| H A D | dw9714.c | 354 static unsigned int dw9714_move_time(struct dw9714_device *dev_vcm, in dw9714_move_time() 432 static int dw9714_get_dac(struct dw9714_device *dev_vcm, unsigned int *cur_dac) in dw9714_get_dac() 463 static int dw9714_set_dac(struct dw9714_device *dev_vcm, in dw9714_set_dac() 515 static int dw9714_get_pos(struct dw9714_device *dev_vcm, in dw9714_get_pos() 546 static int dw9714_set_pos(struct dw9714_device *dev_vcm, in dw9714_set_pos() 575 struct dw9714_device *dev_vcm = to_dw9714_vcm(ctrl); in dw9714_get_ctrl() local 585 struct dw9714_device *dev_vcm = to_dw9714_vcm(ctrl); in dw9714_set_ctrl() local 726 struct dw9714_device *dev_vcm = sd_to_dw9714_vcm(sd); in dw9714_open() local 761 struct dw9714_device *dev_vcm = sd_to_dw9714_vcm(sd); in dw9714_close() local 792 static void dw9714_update_vcm_cfg(struct dw9714_device *dev_vcm) in dw9714_update_vcm_cfg() [all …]
|
| H A D | cn3927v.c | 372 static unsigned int cn3927v_move_time(struct cn3927v_device *dev_vcm, in cn3927v_move_time() 450 static int cn3927v_get_dac(struct cn3927v_device *dev_vcm, unsigned int *cur_dac) in cn3927v_get_dac() 481 static int cn3927v_set_dac(struct cn3927v_device *dev_vcm, in cn3927v_set_dac() 533 static int cn3927v_get_pos(struct cn3927v_device *dev_vcm, in cn3927v_get_pos() 565 static int cn3927v_set_pos(struct cn3927v_device *dev_vcm, in cn3927v_set_pos() 594 struct cn3927v_device *dev_vcm = to_cn3927v_vcm(ctrl); in cn3927v_get_ctrl() local 604 struct cn3927v_device *dev_vcm = to_cn3927v_vcm(ctrl); in cn3927v_set_ctrl() local 662 struct cn3927v_device *dev_vcm = sd_to_cn3927v_vcm(sd); in cn3927v_open() local 708 struct cn3927v_device *dev_vcm = sd_to_cn3927v_vcm(sd); in cn3927v_close() local 756 static void cn3927v_update_vcm_cfg(struct cn3927v_device *dev_vcm) in cn3927v_update_vcm_cfg() [all …]
|
| H A D | fp5510.c | 152 static int __fp5510_power_on(struct fp5510_device *dev_vcm) in __fp5510_power_on() 162 static int __fp5510_power_off(struct fp5510_device *dev_vcm) in __fp5510_power_off() 254 static unsigned int fp5510_move_time(struct fp5510_device *dev_vcm, in fp5510_move_time() 336 static int fp5510_get_pos(struct fp5510_device *dev_vcm, in fp5510_get_pos() 369 static int fp5510_set_pos(struct fp5510_device *dev_vcm, in fp5510_set_pos() 407 struct fp5510_device *dev_vcm = to_fp5510_vcm(ctrl); in fp5510_get_ctrl() local 417 struct fp5510_device *dev_vcm = to_fp5510_vcm(ctrl); in fp5510_set_ctrl() local 490 static void fp5510_update_vcm_cfg(struct fp5510_device *dev_vcm) in fp5510_update_vcm_cfg() 632 static int fp5510_init_controls(struct fp5510_device *dev_vcm) in fp5510_init_controls()
|
| H A D | vm149c.c | 147 struct vm149c_device *dev_vcm, in vm149c_get_pos() 181 struct vm149c_device *dev_vcm, in vm149c_set_pos() 217 struct vm149c_device *dev_vcm = to_vm149c_vcm(ctrl); in vm149c_get_ctrl() local 227 struct vm149c_device *dev_vcm = to_vm149c_vcm(ctrl); in vm149c_set_ctrl() local 302 static void vm149c_update_vcm_cfg(struct vm149c_device *dev_vcm) in vm149c_update_vcm_cfg() 428 static int vm149c_init_controls(struct vm149c_device *dev_vcm) in vm149c_init_controls()
|
| H A D | ak7375.c | 75 struct ak7375_device *dev_vcm = to_ak7375_vcm(ctrl); in ak7375_set_ctrl() local 122 static int ak7375_init_controls(struct ak7375_device *dev_vcm) in ak7375_init_controls()
|
| H A D | dw9807-vcm.c | 114 struct dw9807_device *dev_vcm = container_of(ctrl->handler, in dw9807_set_ctrl() local 165 static int dw9807_init_controls(struct dw9807_device *dev_vcm) in dw9807_init_controls()
|