Lines Matching defs:state
422 static u16 s5k5baf_i2c_read(struct s5k5baf *state, u16 addr) in s5k5baf_i2c_read()
451 static void s5k5baf_i2c_write(struct s5k5baf *state, u16 addr, u16 val) in s5k5baf_i2c_write()
469 static u16 s5k5baf_read(struct s5k5baf *state, u16 addr) in s5k5baf_read()
475 static void s5k5baf_write(struct s5k5baf *state, u16 addr, u16 val) in s5k5baf_write()
481 static void s5k5baf_write_arr_seq(struct s5k5baf *state, u16 addr, in s5k5baf_write_arr_seq()
515 #define s5k5baf_write_seq(state, addr, seq...) \ argument
530 static void s5k5baf_write_nseq(struct s5k5baf *state, const u16 *nseq) in s5k5baf_write_nseq()
543 static void s5k5baf_synchronize(struct s5k5baf *state, int timeout, u16 addr) in s5k5baf_synchronize()
560 static u16 *s5k5baf_fw_get_seq(struct s5k5baf *state, u16 seq_id) in s5k5baf_fw_get_seq()
579 static void s5k5baf_hw_patch(struct s5k5baf *state) in s5k5baf_hw_patch()
587 static void s5k5baf_hw_set_clocks(struct s5k5baf *state) in s5k5baf_hw_set_clocks()
612 static void s5k5baf_hw_set_ccm(struct s5k5baf *state) in s5k5baf_hw_set_ccm()
621 static void s5k5baf_hw_set_cis(struct s5k5baf *state) in s5k5baf_hw_set_cis()
633 static void s5k5baf_hw_sync_cfg(struct s5k5baf *state) in s5k5baf_hw_sync_cfg()
643 static void s5k5baf_hw_set_mirror(struct s5k5baf *state) in s5k5baf_hw_set_mirror()
652 static void s5k5baf_hw_set_alg(struct s5k5baf *state, u16 alg, bool enable) in s5k5baf_hw_set_alg()
674 static void s5k5baf_hw_set_awb(struct s5k5baf *state, int awb) in s5k5baf_hw_set_awb()
689 static void s5k5baf_hw_set_user_exposure(struct s5k5baf *state, int exposure) in s5k5baf_hw_set_user_exposure()
697 static void s5k5baf_hw_set_user_gain(struct s5k5baf *state, int gain) in s5k5baf_hw_set_user_gain()
703 static void s5k5baf_hw_set_auto_exposure(struct s5k5baf *state, int value) in s5k5baf_hw_set_auto_exposure()
716 static void s5k5baf_hw_set_anti_flicker(struct s5k5baf *state, int v) in s5k5baf_hw_set_anti_flicker()
728 static void s5k5baf_hw_set_colorfx(struct s5k5baf *state, int val) in s5k5baf_hw_set_colorfx()
757 static int s5k5baf_clear_error(struct s5k5baf *state) in s5k5baf_clear_error()
765 static int s5k5baf_hw_set_video_bus(struct s5k5baf *state) in s5k5baf_hw_set_video_bus()
780 static u16 s5k5baf_get_cfg_error(struct s5k5baf *state) in s5k5baf_get_cfg_error()
788 static void s5k5baf_hw_set_fiv(struct s5k5baf *state, u16 fiv) in s5k5baf_hw_set_fiv()
794 static void s5k5baf_hw_find_min_fiv(struct s5k5baf *state) in s5k5baf_hw_find_min_fiv()
827 static void s5k5baf_hw_validate_cfg(struct s5k5baf *state) in s5k5baf_hw_validate_cfg()
861 static int s5k5baf_hw_set_crop_rects(struct s5k5baf *state) in s5k5baf_hw_set_crop_rects()
917 static void s5k5baf_hw_set_config(struct s5k5baf *state) in s5k5baf_hw_set_config()
933 static void s5k5baf_hw_set_test_pattern(struct s5k5baf *state, int id) in s5k5baf_hw_set_test_pattern()
941 static void s5k5baf_gpio_assert(struct s5k5baf *state, int id) in s5k5baf_gpio_assert()
948 static void s5k5baf_gpio_deassert(struct s5k5baf *state, int id) in s5k5baf_gpio_deassert()
955 static int s5k5baf_power_on(struct s5k5baf *state) in s5k5baf_power_on()
986 static int s5k5baf_power_off(struct s5k5baf *state) in s5k5baf_power_off()
1008 static void s5k5baf_hw_init(struct s5k5baf *state) in s5k5baf_hw_init()
1021 static void s5k5baf_initialize_data(struct s5k5baf *state) in s5k5baf_initialize_data()
1029 static int s5k5baf_load_setfile(struct s5k5baf *state) in s5k5baf_load_setfile()
1052 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_set_power() local
1098 static void s5k5baf_hw_set_stream(struct s5k5baf *state, int enable) in s5k5baf_hw_set_stream()
1105 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_s_stream() local
1138 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_g_frame_interval() local
1148 static void s5k5baf_set_frame_interval(struct s5k5baf *state, in s5k5baf_set_frame_interval()
1175 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_s_frame_interval() local
1284 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_get_fmt() local
1315 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_set_fmt() local
1378 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_get_selection() local
1469 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_set_selection() local
1554 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_s_ctrl() local
1631 static int s5k5baf_initialize_ctrls(struct s5k5baf *state) in s5k5baf_initialize_ctrls()
1726 static int s5k5baf_check_fw_revision(struct s5k5baf *state) in s5k5baf_check_fw_revision()
1751 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_registered() local
1768 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_unregistered() local
1797 static int s5k5baf_configure_gpios(struct s5k5baf *state) in s5k5baf_configure_gpios()
1840 static int s5k5baf_parse_device_node(struct s5k5baf *state, struct device *dev) in s5k5baf_parse_device_node()
1890 static int s5k5baf_configure_subdevs(struct s5k5baf *state, in s5k5baf_configure_subdevs()
1934 static int s5k5baf_configure_regulators(struct s5k5baf *state) in s5k5baf_configure_regulators()
1953 struct s5k5baf *state; in s5k5baf_probe() local
2020 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_remove() local