Lines Matching refs:s5k5baf

287 struct s5k5baf {  struct
403 return &container_of(ctrl->handler, struct s5k5baf, ctrls.handler)->sd; in ctrl_to_sd()
411 static inline struct s5k5baf *to_s5k5baf(struct v4l2_subdev *sd) in to_s5k5baf()
414 return container_of(sd, struct s5k5baf, cis_sd); in to_s5k5baf()
416 return container_of(sd, struct s5k5baf, sd); in to_s5k5baf()
419 static u16 s5k5baf_i2c_read(struct s5k5baf *state, u16 addr) in s5k5baf_i2c_read()
448 static void s5k5baf_i2c_write(struct s5k5baf *state, u16 addr, u16 val) in s5k5baf_i2c_write()
466 static u16 s5k5baf_read(struct s5k5baf *state, u16 addr) in s5k5baf_read()
472 static void s5k5baf_write(struct s5k5baf *state, u16 addr, u16 val) in s5k5baf_write()
478 static void s5k5baf_write_arr_seq(struct s5k5baf *state, u16 addr, in s5k5baf_write_arr_seq()
527 static void s5k5baf_write_nseq(struct s5k5baf *state, const u16 *nseq) in s5k5baf_write_nseq()
540 static void s5k5baf_synchronize(struct s5k5baf *state, int timeout, u16 addr) in s5k5baf_synchronize()
557 static u16 *s5k5baf_fw_get_seq(struct s5k5baf *state, u16 seq_id) in s5k5baf_fw_get_seq()
576 static void s5k5baf_hw_patch(struct s5k5baf *state) in s5k5baf_hw_patch()
584 static void s5k5baf_hw_set_clocks(struct s5k5baf *state) in s5k5baf_hw_set_clocks()
609 static void s5k5baf_hw_set_ccm(struct s5k5baf *state) in s5k5baf_hw_set_ccm()
618 static void s5k5baf_hw_set_cis(struct s5k5baf *state) in s5k5baf_hw_set_cis()
630 static void s5k5baf_hw_sync_cfg(struct s5k5baf *state) in s5k5baf_hw_sync_cfg()
640 static void s5k5baf_hw_set_mirror(struct s5k5baf *state) in s5k5baf_hw_set_mirror()
649 static void s5k5baf_hw_set_alg(struct s5k5baf *state, u16 alg, bool enable) in s5k5baf_hw_set_alg()
671 static void s5k5baf_hw_set_awb(struct s5k5baf *state, int awb) in s5k5baf_hw_set_awb()
686 static void s5k5baf_hw_set_user_exposure(struct s5k5baf *state, int exposure) in s5k5baf_hw_set_user_exposure()
694 static void s5k5baf_hw_set_user_gain(struct s5k5baf *state, int gain) in s5k5baf_hw_set_user_gain()
700 static void s5k5baf_hw_set_auto_exposure(struct s5k5baf *state, int value) in s5k5baf_hw_set_auto_exposure()
713 static void s5k5baf_hw_set_anti_flicker(struct s5k5baf *state, int v) in s5k5baf_hw_set_anti_flicker()
725 static void s5k5baf_hw_set_colorfx(struct s5k5baf *state, int val) in s5k5baf_hw_set_colorfx()
754 static int s5k5baf_clear_error(struct s5k5baf *state) in s5k5baf_clear_error()
762 static int s5k5baf_hw_set_video_bus(struct s5k5baf *state) in s5k5baf_hw_set_video_bus()
777 static u16 s5k5baf_get_cfg_error(struct s5k5baf *state) in s5k5baf_get_cfg_error()
785 static void s5k5baf_hw_set_fiv(struct s5k5baf *state, u16 fiv) in s5k5baf_hw_set_fiv()
791 static void s5k5baf_hw_find_min_fiv(struct s5k5baf *state) in s5k5baf_hw_find_min_fiv()
824 static void s5k5baf_hw_validate_cfg(struct s5k5baf *state) in s5k5baf_hw_validate_cfg()
858 static int s5k5baf_hw_set_crop_rects(struct s5k5baf *state) in s5k5baf_hw_set_crop_rects()
914 static void s5k5baf_hw_set_config(struct s5k5baf *state) in s5k5baf_hw_set_config()
930 static void s5k5baf_hw_set_test_pattern(struct s5k5baf *state, int id) in s5k5baf_hw_set_test_pattern()
938 static void s5k5baf_gpio_assert(struct s5k5baf *state, int id) in s5k5baf_gpio_assert()
945 static void s5k5baf_gpio_deassert(struct s5k5baf *state, int id) in s5k5baf_gpio_deassert()
952 static int s5k5baf_power_on(struct s5k5baf *state) in s5k5baf_power_on()
983 static int s5k5baf_power_off(struct s5k5baf *state) in s5k5baf_power_off()
1005 static void s5k5baf_hw_init(struct s5k5baf *state) in s5k5baf_hw_init()
1018 static void s5k5baf_initialize_data(struct s5k5baf *state) in s5k5baf_initialize_data()
1026 static int s5k5baf_load_setfile(struct s5k5baf *state) in s5k5baf_load_setfile()
1049 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_set_power()
1095 static void s5k5baf_hw_set_stream(struct s5k5baf *state, int enable) in s5k5baf_hw_set_stream()
1102 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_s_stream()
1135 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_g_frame_interval()
1145 static void s5k5baf_set_frame_interval(struct s5k5baf *state, in s5k5baf_set_frame_interval()
1172 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_s_frame_interval()
1281 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_get_fmt()
1312 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_set_fmt()
1375 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_get_selection()
1466 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_set_selection()
1551 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_s_ctrl()
1628 static int s5k5baf_initialize_ctrls(struct s5k5baf *state) in s5k5baf_initialize_ctrls()
1723 static int s5k5baf_check_fw_revision(struct s5k5baf *state) in s5k5baf_check_fw_revision()
1748 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_registered()
1765 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_unregistered()
1794 static int s5k5baf_configure_gpios(struct s5k5baf *state) in s5k5baf_configure_gpios()
1837 static int s5k5baf_parse_device_node(struct s5k5baf *state, struct device *dev) in s5k5baf_parse_device_node()
1889 static int s5k5baf_configure_subdevs(struct s5k5baf *state, in s5k5baf_configure_subdevs()
1933 static int s5k5baf_configure_regulators(struct s5k5baf *state) in s5k5baf_configure_regulators()
1951 struct s5k5baf *state; in s5k5baf_probe()
2018 struct s5k5baf *state = to_s5k5baf(sd); in s5k5baf_remove()