ov13b10
struct ov13b10 *ov13b = to_ov13b10(sd);
static int ov13b10_do_get_pad_format(struct ov13b10 *ov13b,
struct ov13b10 *ov13b = to_ov13b10(sd);
struct ov13b10 *ov13b = to_ov13b10(sd);
static int ov13b10_identify_module(struct ov13b10 *ov13b)
struct ov13b10 *ov13b10 = to_ov13b10(sd);
gpiod_set_value_cansleep(ov13b10->reset, 1);
if (ov13b10->avdd)
regulator_disable(ov13b10->avdd);
clk_disable_unprepare(ov13b10->img_clk);
struct ov13b10 *ov13b10 = to_ov13b10(sd);
ret = clk_prepare_enable(ov13b10->img_clk);
if (ov13b10->avdd) {
ret = regulator_enable(ov13b10->avdd);
clk_disable_unprepare(ov13b10->img_clk);
gpiod_set_value_cansleep(ov13b10->reset, 0);
static int ov13b10_start_streaming(struct ov13b10 *ov13b)
static int ov13b10_stop_streaming(struct ov13b10 *ov13b)
struct ov13b10 *ov13b = to_ov13b10(sd);
static int ov13b10_init_controls(struct ov13b10 *ov13b)
static void ov13b10_free_controls(struct ov13b10 *ov13b)
static int ov13b10_get_pm_resources(struct ov13b10 *ov13b)
static int ov13b10_check_hwcfg(struct ov13b10 *ov13b)
struct ov13b10 *ov13b;
struct ov13b10 *ov13b = to_ov13b10(sd);
#define to_ov13b10(_sd) container_of(_sd, struct ov13b10, sd)
static int ov13b10_read_reg(struct ov13b10 *ov13b,
static int ov13b10_write_reg(struct ov13b10 *ov13b,
static int ov13b10_write_regs(struct ov13b10 *ov13b,
static int ov13b10_write_reg_list(struct ov13b10 *ov13b,
struct ov13b10 *ov13b = to_ov13b10(sd);
static int ov13b10_update_digital_gain(struct ov13b10 *ov13b, u32 d_gain)
static int ov13b10_enable_test_pattern(struct ov13b10 *ov13b, u32 pattern)
static int ov13b10_set_ctrl_hflip(struct ov13b10 *ov13b, u32 ctrl_val)
static int ov13b10_set_ctrl_vflip(struct ov13b10 *ov13b, u32 ctrl_val)
struct ov13b10 *ov13b = container_of(ctrl->handler,
struct ov13b10, ctrl_handler);