Lines Matching refs:s5k5baf
286 struct s5k5baf { struct
402 return &container_of(ctrl->handler, struct s5k5baf, ctrls.handler)->sd; in ctrl_to_sd()
410 static inline struct s5k5baf *to_s5k5baf(struct v4l2_subdev *sd) in to_s5k5baf()
413 return container_of(sd, struct s5k5baf, cis_sd); in to_s5k5baf()
415 return container_of(sd, struct s5k5baf, sd); in to_s5k5baf()
418 static u16 s5k5baf_i2c_read(struct s5k5baf *state, u16 addr) in s5k5baf_i2c_read()
447 static void s5k5baf_i2c_write(struct s5k5baf *state, u16 addr, u16 val) in s5k5baf_i2c_write()
465 static u16 s5k5baf_read(struct s5k5baf *state, u16 addr) in s5k5baf_read()
471 static void s5k5baf_write(struct s5k5baf *state, u16 addr, u16 val) in s5k5baf_write()
477 static void s5k5baf_write_arr_seq(struct s5k5baf *state, u16 addr, in s5k5baf_write_arr_seq()
526 static void s5k5baf_write_nseq(struct s5k5baf *state, const u16 *nseq) in s5k5baf_write_nseq()
539 static void s5k5baf_synchronize(struct s5k5baf *state, int timeout, u16 addr) in s5k5baf_synchronize()
556 static u16 *s5k5baf_fw_get_seq(struct s5k5baf *state, u16 seq_id) in s5k5baf_fw_get_seq()
575 static void s5k5baf_hw_patch(struct s5k5baf *state) in s5k5baf_hw_patch()
583 static void s5k5baf_hw_set_clocks(struct s5k5baf *state) in s5k5baf_hw_set_clocks()
608 static void s5k5baf_hw_set_ccm(struct s5k5baf *state) in s5k5baf_hw_set_ccm()
617 static void s5k5baf_hw_set_cis(struct s5k5baf *state) in s5k5baf_hw_set_cis()
629 static void s5k5baf_hw_sync_cfg(struct s5k5baf *state) in s5k5baf_hw_sync_cfg()
639 static void s5k5baf_hw_set_mirror(struct s5k5baf *state) in s5k5baf_hw_set_mirror()
648 static void s5k5baf_hw_set_alg(struct s5k5baf *state, u16 alg, bool enable) in s5k5baf_hw_set_alg()
670 static void s5k5baf_hw_set_awb(struct s5k5baf *state, int awb) in s5k5baf_hw_set_awb()
685 static void s5k5baf_hw_set_user_exposure(struct s5k5baf *state, int exposure) in s5k5baf_hw_set_user_exposure()
693 static void s5k5baf_hw_set_user_gain(struct s5k5baf *state, int gain) in s5k5baf_hw_set_user_gain()
699 static void s5k5baf_hw_set_auto_exposure(struct s5k5baf *state, int value) in s5k5baf_hw_set_auto_exposure()
712 static void s5k5baf_hw_set_anti_flicker(struct s5k5baf *state, int v) in s5k5baf_hw_set_anti_flicker()
724 static void s5k5baf_hw_set_colorfx(struct s5k5baf *state, int val) in s5k5baf_hw_set_colorfx()
753 static int s5k5baf_clear_error(struct s5k5baf *state) in s5k5baf_clear_error()
761 static int s5k5baf_hw_set_video_bus(struct s5k5baf *state) in s5k5baf_hw_set_video_bus()
776 static u16 s5k5baf_get_cfg_error(struct s5k5baf *state) in s5k5baf_get_cfg_error()
784 static void s5k5baf_hw_set_fiv(struct s5k5baf *state, u16 fiv) in s5k5baf_hw_set_fiv()
790 static void s5k5baf_hw_find_min_fiv(struct s5k5baf *state) in s5k5baf_hw_find_min_fiv()
823 static void s5k5baf_hw_validate_cfg(struct s5k5baf *state) in s5k5baf_hw_validate_cfg()
857 static int s5k5baf_hw_set_crop_rects(struct s5k5baf *state) in s5k5baf_hw_set_crop_rects()
913 static void s5k5baf_hw_set_config(struct s5k5baf *state) in s5k5baf_hw_set_config()
929 static void s5k5baf_hw_set_test_pattern(struct s5k5baf *state, int id) in s5k5baf_hw_set_test_pattern()
937 static void s5k5baf_gpio_assert(struct s5k5baf *state, int id) in s5k5baf_gpio_assert()
944 static void s5k5baf_gpio_deassert(struct s5k5baf *state, int id) in s5k5baf_gpio_deassert()
951 static int s5k5baf_power_on(struct s5k5baf *state) in s5k5baf_power_on()
982 static int s5k5baf_power_off(struct s5k5baf *state) in s5k5baf_power_off()
1004 static void s5k5baf_hw_init(struct s5k5baf *state) in s5k5baf_hw_init()
1017 static void s5k5baf_initialize_data(struct s5k5baf *state) in s5k5baf_initialize_data()
1025 static int s5k5baf_load_setfile(struct s5k5baf *state) in s5k5baf_load_setfile()
1048 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_set_power()
1094 static void s5k5baf_hw_set_stream(struct s5k5baf *state, int enable) in s5k5baf_hw_set_stream()
1101 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_s_stream()
1134 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_g_frame_interval()
1144 static void s5k5baf_set_frame_interval(struct s5k5baf *state, in s5k5baf_set_frame_interval()
1171 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_s_frame_interval()
1280 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_get_fmt()
1311 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_set_fmt()
1374 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_get_selection()
1465 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_set_selection()
1550 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_s_ctrl()
1627 static int s5k5baf_initialize_ctrls(struct s5k5baf *state) in s5k5baf_initialize_ctrls()
1722 static int s5k5baf_check_fw_revision(struct s5k5baf *state) in s5k5baf_check_fw_revision()
1747 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_registered()
1764 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_unregistered()
1793 static int s5k5baf_configure_gpios(struct s5k5baf *state) in s5k5baf_configure_gpios()
1836 static int s5k5baf_parse_device_node(struct s5k5baf *state, struct device *dev) in s5k5baf_parse_device_node()
1888 static int s5k5baf_configure_subdevs(struct s5k5baf *state, in s5k5baf_configure_subdevs()
1932 static int s5k5baf_configure_regulators(struct s5k5baf *state) in s5k5baf_configure_regulators()
1950 struct s5k5baf *state; in s5k5baf_probe()
2017 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_remove()