Lines Matching defs:sensor

481 static inline bool ov5640_is_csi2(const struct ov5640_dev *sensor)  in ov5640_is_csi2()
487 ov5640_formats(struct ov5640_dev *sensor) in ov5640_formats()
494 ov5640_code_to_pixfmt(struct ov5640_dev *sensor, u32 code) in ov5640_code_to_pixfmt()
507 static u32 ov5640_code_to_bpp(struct ov5640_dev *sensor, u32 code) in ov5640_code_to_bpp()
1141 ov5640_timings(const struct ov5640_dev *sensor, in ov5640_timings()
1150 static int ov5640_init_slave_id(struct ov5640_dev *sensor) in ov5640_init_slave_id()
1178 static int ov5640_write_reg(struct ov5640_dev *sensor, u16 reg, u8 val) in ov5640_write_reg()
1204 static int ov5640_read_reg(struct ov5640_dev *sensor, u16 reg, u8 *val) in ov5640_read_reg()
1235 static int ov5640_read_reg16(struct ov5640_dev *sensor, u16 reg, u16 *val) in ov5640_read_reg16()
1251 static int ov5640_write_reg16(struct ov5640_dev *sensor, u16 reg, u16 val) in ov5640_write_reg16()
1262 static int ov5640_mod_reg(struct ov5640_dev *sensor, u16 reg, in ov5640_mod_reg()
1376 static unsigned long ov5640_compute_sys_clk(struct ov5640_dev *sensor, in ov5640_compute_sys_clk()
1389 static unsigned long ov5640_calc_sys_clk(struct ov5640_dev *sensor, in ov5640_calc_sys_clk()
1454 static int ov5640_set_mipi_pclk(struct ov5640_dev *sensor) in ov5640_set_mipi_pclk()
1550 static u32 ov5640_calc_pixel_rate(struct ov5640_dev *sensor) in ov5640_calc_pixel_rate()
1562 static unsigned long ov5640_calc_pclk(struct ov5640_dev *sensor, in ov5640_calc_pclk()
1579 static int ov5640_set_dvp_pclk(struct ov5640_dev *sensor) in ov5640_set_dvp_pclk()
1624 static int ov5640_set_jpeg_timings(struct ov5640_dev *sensor, in ov5640_set_jpeg_timings()
1648 static int ov5640_set_timings(struct ov5640_dev *sensor, in ov5640_set_timings()
1714 static void ov5640_load_regs(struct ov5640_dev *sensor, in ov5640_load_regs()
1747 static int ov5640_set_autoexposure(struct ov5640_dev *sensor, bool on) in ov5640_set_autoexposure()
1754 static int ov5640_get_exposure(struct ov5640_dev *sensor) in ov5640_get_exposure()
1776 static int ov5640_set_exposure(struct ov5640_dev *sensor, u32 exposure) in ov5640_set_exposure()
1797 static int ov5640_get_gain(struct ov5640_dev *sensor) in ov5640_get_gain()
1809 static int ov5640_set_gain(struct ov5640_dev *sensor, int gain) in ov5640_set_gain()
1815 static int ov5640_set_autogain(struct ov5640_dev *sensor, bool on) in ov5640_set_autogain()
1821 static int ov5640_set_stream_dvp(struct ov5640_dev *sensor, bool on) in ov5640_set_stream_dvp()
1828 static int ov5640_set_stream_mipi(struct ov5640_dev *sensor, bool on) in ov5640_set_stream_mipi()
1858 static int ov5640_get_sysclk(struct ov5640_dev *sensor) in ov5640_get_sysclk()
1909 static int ov5640_set_night_mode(struct ov5640_dev *sensor) in ov5640_set_night_mode()
1922 static int ov5640_get_hts(struct ov5640_dev *sensor) in ov5640_get_hts()
1934 static int ov5640_get_vts(struct ov5640_dev *sensor) in ov5640_get_vts()
1945 static int ov5640_set_vts(struct ov5640_dev *sensor, int vts) in ov5640_set_vts()
1950 static int ov5640_get_light_freq(struct ov5640_dev *sensor) in ov5640_get_light_freq()
1991 static int ov5640_set_bandingfilter(struct ov5640_dev *sensor) in ov5640_set_bandingfilter()
2041 static int ov5640_set_ae_target(struct ov5640_dev *sensor, int target) in ov5640_set_ae_target()
2074 static int ov5640_get_binning(struct ov5640_dev *sensor) in ov5640_get_binning()
2086 static int ov5640_set_binning(struct ov5640_dev *sensor, bool enable) in ov5640_set_binning()
2107 static int ov5640_set_virtual_channel(struct ov5640_dev *sensor) in ov5640_set_virtual_channel()
2129 ov5640_find_mode(struct ov5640_dev *sensor, int width, int height, bool nearest) in ov5640_find_mode()
2149 static int ov5640_set_mode_exposure_calc(struct ov5640_dev *sensor, in ov5640_set_mode_exposure_calc()
2310 static int ov5640_set_mode_direct(struct ov5640_dev *sensor, in ov5640_set_mode_direct()
2321 static int ov5640_set_mode(struct ov5640_dev *sensor) in ov5640_set_mode()
2411 static int ov5640_restore_mode(struct ov5640_dev *sensor) in ov5640_restore_mode()
2433 static void ov5640_power(struct ov5640_dev *sensor, bool enable) in ov5640_power()
2452 static void ov5640_powerup_sequence(struct ov5640_dev *sensor) in ov5640_powerup_sequence()
2479 static int ov5640_set_power_on(struct ov5640_dev *sensor) in ov5640_set_power_on()
2515 static void ov5640_set_power_off(struct ov5640_dev *sensor) in ov5640_set_power_off()
2522 static int ov5640_set_power_mipi(struct ov5640_dev *sensor, bool on) in ov5640_set_power_mipi()
2577 static int ov5640_set_power_dvp(struct ov5640_dev *sensor, bool on) in ov5640_set_power_dvp()
2698 static int ov5640_set_power(struct ov5640_dev *sensor, bool on) in ov5640_set_power()
2747 static int ov5640_try_frame_interval(struct ov5640_dev *sensor, in ov5640_try_frame_interval()
2791 struct ov5640_dev *sensor = to_ov5640_dev(sd); in ov5640_get_fmt() local
2816 struct ov5640_dev *sensor = to_ov5640_dev(sd); in ov5640_try_fmt_internal() local
2853 static void __v4l2_ctrl_vblank_update(struct ov5640_dev *sensor, u32 vblank) in __v4l2_ctrl_vblank_update()
2863 static int ov5640_update_pixel_rate(struct ov5640_dev *sensor) in ov5640_update_pixel_rate()
2954 struct ov5640_dev *sensor = to_ov5640_dev(sd); in ov5640_set_fmt() local
3000 struct ov5640_dev *sensor = to_ov5640_dev(sd); in ov5640_get_selection() local
3035 static int ov5640_set_framefmt(struct ov5640_dev *sensor, in ov5640_set_framefmt()
3091 static int ov5640_set_ctrl_hue(struct ov5640_dev *sensor, int value) in ov5640_set_ctrl_hue()
3108 static int ov5640_set_ctrl_contrast(struct ov5640_dev *sensor, int value) in ov5640_set_ctrl_contrast()
3126 static int ov5640_set_ctrl_saturation(struct ov5640_dev *sensor, int value) in ov5640_set_ctrl_saturation()
3148 static int ov5640_set_ctrl_white_balance(struct ov5640_dev *sensor, int awb) in ov5640_set_ctrl_white_balance()
3170 static int ov5640_set_ctrl_exposure(struct ov5640_dev *sensor, in ov5640_set_ctrl_exposure()
3203 static int ov5640_set_ctrl_gain(struct ov5640_dev *sensor, bool auto_gain) in ov5640_set_ctrl_gain()
3251 static int ov5640_set_ctrl_test_pattern(struct ov5640_dev *sensor, int value) in ov5640_set_ctrl_test_pattern()
3257 static int ov5640_set_ctrl_light_freq(struct ov5640_dev *sensor, int value) in ov5640_set_ctrl_light_freq()
3272 static int ov5640_set_ctrl_hflip(struct ov5640_dev *sensor, int value) in ov5640_set_ctrl_hflip()
3294 static int ov5640_set_ctrl_vflip(struct ov5640_dev *sensor, int value) in ov5640_set_ctrl_vflip()
3309 static int ov5640_set_ctrl_vblank(struct ov5640_dev *sensor, int value) in ov5640_set_ctrl_vblank()
3321 struct ov5640_dev *sensor = to_ov5640_dev(sd); in ov5640_g_volatile_ctrl() local
3353 struct ov5640_dev *sensor = to_ov5640_dev(sd); in ov5640_s_ctrl() local
3431 static int ov5640_init_controls(struct ov5640_dev *sensor) in ov5640_init_controls()
3550 struct ov5640_dev *sensor = to_ov5640_dev(sd); in ov5640_enum_frame_size() local
3583 struct ov5640_dev *sensor = to_ov5640_dev(sd); in ov5640_enum_frame_interval() local
3611 struct ov5640_dev *sensor = to_ov5640_dev(sd); in ov5640_g_frame_interval() local
3623 struct ov5640_dev *sensor = to_ov5640_dev(sd); in ov5640_s_frame_interval() local
3675 struct ov5640_dev *sensor = to_ov5640_dev(sd); in ov5640_enum_mbus_code() local
3697 struct ov5640_dev *sensor = to_ov5640_dev(sd); in ov5640_s_stream() local
3751 struct ov5640_dev *sensor = to_ov5640_dev(sd); in ov5640_init_cfg() local
3795 static int ov5640_get_regulators(struct ov5640_dev *sensor) in ov5640_get_regulators()
3807 static int ov5640_check_chip_id(struct ov5640_dev *sensor) in ov5640_check_chip_id()
3833 struct ov5640_dev *sensor; in ov5640_probe() local
3968 struct ov5640_dev *sensor = to_ov5640_dev(sd); in ov5640_remove() local