Lines Matching refs:preset
256 struct s5k6aa_preset *preset; member
313 struct s5k6aa_preset *preset = &s5k6aa->presets[0]; in s5k6aa_presets_data_init() local
317 preset->mbus_fmt.width = S5K6AA_OUT_WIDTH_DEF; in s5k6aa_presets_data_init()
318 preset->mbus_fmt.height = S5K6AA_OUT_HEIGHT_DEF; in s5k6aa_presets_data_init()
319 preset->mbus_fmt.code = s5k6aa_formats[0].code; in s5k6aa_presets_data_init()
320 preset->index = i; in s5k6aa_presets_data_init()
321 preset->clk_id = 0; in s5k6aa_presets_data_init()
322 preset++; in s5k6aa_presets_data_init()
326 s5k6aa->preset = &s5k6aa->presets[0]; in s5k6aa_presets_data_init()
467 int index = s5k6aa->preset->index; in s5k6aa_set_mirror()
629 struct s5k6aa_preset *preset) in s5k6aa_set_output_framefmt() argument
632 int fmt_index = s5k6aa_get_pixfmt_index(s5k6aa, &preset->mbus_fmt); in s5k6aa_set_output_framefmt()
635 ret = s5k6aa_write(client, REG_P_OUT_WIDTH(preset->index), in s5k6aa_set_output_framefmt()
636 preset->mbus_fmt.width); in s5k6aa_set_output_framefmt()
638 ret = s5k6aa_write(client, REG_P_OUT_HEIGHT(preset->index), in s5k6aa_set_output_framefmt()
639 preset->mbus_fmt.height); in s5k6aa_set_output_framefmt()
641 ret = s5k6aa_write(client, REG_P_FMT(preset->index), in s5k6aa_set_output_framefmt()
732 struct s5k6aa_preset *preset) in s5k6aa_set_prev_config() argument
735 int idx = preset->index; in s5k6aa_set_prev_config()
744 ret = s5k6aa_set_output_framefmt(s5k6aa, preset); in s5k6aa_set_prev_config()
753 preset->clk_id); in s5k6aa_set_prev_config()
923 ret = s5k6aa_set_prev_config(s5k6aa, s5k6aa->preset); in s5k6aa_s_stream()
949 struct v4l2_mbus_framefmt *mbus_fmt = &s5k6aa->preset->mbus_fmt; in __s5k6aa_set_frame_interval()
1108 fmt->format = s5k6aa->preset->mbus_fmt; in s5k6aa_get_fmt()
1119 struct s5k6aa_preset *preset = s5k6aa->preset; in s5k6aa_set_fmt() local
1134 mf = &preset->mbus_fmt; in s5k6aa_set_fmt()
1207 mf = &s5k6aa->preset->mbus_fmt; in s5k6aa_set_selection()
1270 idx = s5k6aa->preset->index; in s5k6aa_s_ctrl()