Lines Matching refs:cur_mode
616 const struct imx258_mode *cur_mode; member
871 imx258_update_pad_format(imx258->cur_mode, fmt); in __imx258_get_pad_format()
916 imx258->cur_mode = mode; in imx258_set_pad_format()
923 vblank_def = imx258->cur_mode->vts_def - in imx258_set_pad_format()
924 imx258->cur_mode->height; in imx258_set_pad_format()
925 vblank_min = imx258->cur_mode->vts_min - in imx258_set_pad_format()
926 imx258->cur_mode->height; in imx258_set_pad_format()
929 IMX258_VTS_MAX - imx258->cur_mode->height, 1, in imx258_set_pad_format()
934 - imx258->cur_mode->width; in imx258_set_pad_format()
952 link_freq_index = imx258->cur_mode->link_freq_index; in imx258_start_streaming()
961 reg_list = &imx258->cur_mode->reg_list; in imx258_start_streaming()
1184 vblank_def = imx258->cur_mode->vts_def - imx258->cur_mode->height; in imx258_init_controls()
1185 vblank_min = imx258->cur_mode->vts_min - imx258->cur_mode->height; in imx258_init_controls()
1189 IMX258_VTS_MAX - imx258->cur_mode->height, 1, in imx258_init_controls()
1197 IMX258_PPL_DEFAULT - imx258->cur_mode->width, in imx258_init_controls()
1198 IMX258_PPL_DEFAULT - imx258->cur_mode->width, in imx258_init_controls()
1200 IMX258_PPL_DEFAULT - imx258->cur_mode->width); in imx258_init_controls()
1301 imx258->cur_mode = &supported_modes[0]; in imx258_probe()