Lines Matching refs:ov13b10

574 struct ov13b10 {  struct
604 #define to_ov13b10(_sd) container_of(_sd, struct ov13b10, sd) argument
607 static int ov13b10_read_reg(struct ov13b10 *ov13b, in ov13b10_read_reg()
643 static int ov13b10_write_reg(struct ov13b10 *ov13b, in ov13b10_write_reg()
672 static int ov13b10_write_regs(struct ov13b10 *ov13b, in ov13b10_write_regs()
694 static int ov13b10_write_reg_list(struct ov13b10 *ov13b, in ov13b10_write_reg_list()
704 struct ov13b10 *ov13b = to_ov13b10(sd); in ov13b10_open()
723 static int ov13b10_update_digital_gain(struct ov13b10 *ov13b, u32 d_gain) in ov13b10_update_digital_gain()
751 static int ov13b10_enable_test_pattern(struct ov13b10 *ov13b, u32 pattern) in ov13b10_enable_test_pattern()
773 static int ov13b10_set_ctrl_hflip(struct ov13b10 *ov13b, u32 ctrl_val) in ov13b10_set_ctrl_hflip()
804 static int ov13b10_set_ctrl_vflip(struct ov13b10 *ov13b, u32 ctrl_val) in ov13b10_set_ctrl_vflip()
837 struct ov13b10 *ov13b = container_of(ctrl->handler, in ov13b10_set_ctrl()
838 struct ov13b10, ctrl_handler); in ov13b10_set_ctrl()
947 static int ov13b10_do_get_pad_format(struct ov13b10 *ov13b, in ov13b10_do_get_pad_format()
968 struct ov13b10 *ov13b = to_ov13b10(sd); in ov13b10_get_pad_format()
983 struct ov13b10 *ov13b = to_ov13b10(sd); in ov13b10_set_pad_format()
1037 static int ov13b10_identify_module(struct ov13b10 *ov13b) in ov13b10_identify_module()
1065 struct ov13b10 *ov13b10 = to_ov13b10(sd); in ov13b10_power_off() local
1067 gpiod_set_value_cansleep(ov13b10->reset, 1); in ov13b10_power_off()
1069 if (ov13b10->avdd) in ov13b10_power_off()
1070 regulator_disable(ov13b10->avdd); in ov13b10_power_off()
1072 clk_disable_unprepare(ov13b10->img_clk); in ov13b10_power_off()
1080 struct ov13b10 *ov13b10 = to_ov13b10(sd); in ov13b10_power_on() local
1083 ret = clk_prepare_enable(ov13b10->img_clk); in ov13b10_power_on()
1089 if (ov13b10->avdd) { in ov13b10_power_on()
1090 ret = regulator_enable(ov13b10->avdd); in ov13b10_power_on()
1093 clk_disable_unprepare(ov13b10->img_clk); in ov13b10_power_on()
1098 gpiod_set_value_cansleep(ov13b10->reset, 0); in ov13b10_power_on()
1105 static int ov13b10_start_streaming(struct ov13b10 *ov13b) in ov13b10_start_streaming()
1151 static int ov13b10_stop_streaming(struct ov13b10 *ov13b) in ov13b10_stop_streaming()
1159 struct ov13b10 *ov13b = to_ov13b10(sd); in ov13b10_set_stream()
1202 struct ov13b10 *ov13b = to_ov13b10(sd); in ov13b10_suspend()
1215 struct ov13b10 *ov13b = to_ov13b10(sd); in ov13b10_resume()
1264 static int ov13b10_init_controls(struct ov13b10 *ov13b) in ov13b10_init_controls()
1374 static void ov13b10_free_controls(struct ov13b10 *ov13b) in ov13b10_free_controls()
1383 struct ov13b10 *ov13b = to_ov13b10(sd); in ov13b10_get_pm_resources()
1480 struct ov13b10 *ov13b; in ov13b10_probe()
1572 struct ov13b10 *ov13b = to_ov13b10(sd); in ov13b10_remove()