Lines Matching defs:ov13b10
574 struct ov13b10 {
604 #define to_ov13b10(_sd) container_of(_sd, struct ov13b10, sd)
607 static int ov13b10_read_reg(struct ov13b10 *ov13b,
643 static int ov13b10_write_reg(struct ov13b10 *ov13b,
672 static int ov13b10_write_regs(struct ov13b10 *ov13b,
694 static int ov13b10_write_reg_list(struct ov13b10 *ov13b,
704 struct ov13b10 *ov13b = to_ov13b10(sd);
723 static int ov13b10_update_digital_gain(struct ov13b10 *ov13b, u32 d_gain)
751 static int ov13b10_enable_test_pattern(struct ov13b10 *ov13b, u32 pattern)
773 static int ov13b10_set_ctrl_hflip(struct ov13b10 *ov13b, u32 ctrl_val)
804 static int ov13b10_set_ctrl_vflip(struct ov13b10 *ov13b, u32 ctrl_val)
837 struct ov13b10 *ov13b = container_of(ctrl->handler,
838 struct ov13b10, ctrl_handler);
947 static int ov13b10_do_get_pad_format(struct ov13b10 *ov13b,
968 struct ov13b10 *ov13b = to_ov13b10(sd);
983 struct ov13b10 *ov13b = to_ov13b10(sd);
1037 static int ov13b10_identify_module(struct ov13b10 *ov13b)
1065 struct ov13b10 *ov13b10 = to_ov13b10(sd);
1067 gpiod_set_value_cansleep(ov13b10->reset, 1);
1069 if (ov13b10->avdd)
1070 regulator_disable(ov13b10->avdd);
1072 clk_disable_unprepare(ov13b10->img_clk);
1080 struct ov13b10 *ov13b10 = to_ov13b10(sd);
1083 ret = clk_prepare_enable(ov13b10->img_clk);
1089 if (ov13b10->avdd) {
1090 ret = regulator_enable(ov13b10->avdd);
1093 clk_disable_unprepare(ov13b10->img_clk);
1098 gpiod_set_value_cansleep(ov13b10->reset, 0);
1105 static int ov13b10_start_streaming(struct ov13b10 *ov13b)
1151 static int ov13b10_stop_streaming(struct ov13b10 *ov13b)
1159 struct ov13b10 *ov13b = to_ov13b10(sd);
1202 struct ov13b10 *ov13b = to_ov13b10(sd);
1215 struct ov13b10 *ov13b = to_ov13b10(sd);
1264 static int ov13b10_init_controls(struct ov13b10 *ov13b)
1374 static void ov13b10_free_controls(struct ov13b10 *ov13b)
1383 struct ov13b10 *ov13b = to_ov13b10(sd);
1480 struct ov13b10 *ov13b;
1575 struct ov13b10 *ov13b = to_ov13b10(sd);
1600 .name = "ov13b10",
1612 MODULE_DESCRIPTION("Omnivision ov13b10 sensor driver");