Lines Matching refs:cur_mode
1171 const struct hi846_mode *cur_mode; member
1197 return hi846->cur_mode->link_freq_index; in hi846_get_link_freq_index()
1348 exposure_max = hi846->cur_mode->height + ctrl->val - in hi846_set_ctrl()
1370 frame_len = hi846->cur_mode->frame_len; in hi846_set_ctrl()
1391 hi846->cur_mode->height + ctrl->val, &ret); in hi846_set_ctrl()
1441 hi846->cur_mode->frame_len - in hi846_init_controls()
1442 hi846->cur_mode->height, in hi846_init_controls()
1444 hi846->cur_mode->height, 1, in hi846_init_controls()
1445 hi846->cur_mode->frame_len - in hi846_init_controls()
1446 hi846->cur_mode->height); in hi846_init_controls()
1448 h_blank = hi846->cur_mode->llp - hi846->cur_mode->width; in hi846_init_controls()
1462 exposure_max = hi846->cur_mode->frame_len - HI846_EXPOSURE_MAX_MARGIN; in hi846_init_controls()
1507 dummy_lines = (frame_length > hi846->cur_mode->frame_len) ? in hi846_set_video_mode()
1508 (frame_length - hi846->cur_mode->frame_len) : 0; in hi846_set_video_mode()
1510 frame_length = hi846->cur_mode->frame_len + dummy_lines; in hi846_set_video_mode()
1537 ret = hi846_write_reg_list(hi846, &hi846->cur_mode->reg_list_config); in hi846_start_streaming()
1545 &hi846->cur_mode->reg_list_2lane); in hi846_start_streaming()
1548 &hi846->cur_mode->reg_list_4lane); in hi846_start_streaming()
1554 hi846_set_video_mode(hi846, hi846->cur_mode->fps); in hi846_start_streaming()
1733 if (!hi846->cur_mode->reg_list_2lane.num_of_regs) { in hi846_set_format()
1739 if (!hi846->cur_mode->reg_list_4lane.num_of_regs) { in hi846_set_format()
1755 hi846->cur_mode = in hi846_set_format()
1760 hi846->cur_mode->width, hi846->cur_mode->height); in hi846_set_format()
1762 tgt_fps = hi846->cur_mode->fps; in hi846_set_format()
1765 mf->width = hi846->cur_mode->width; in hi846_set_format()
1766 mf->height = hi846->cur_mode->height; in hi846_set_format()
1775 vblank_def = hi846->cur_mode->frame_len - hi846->cur_mode->height; in hi846_set_format()
1777 hi846->cur_mode->frame_len - in hi846_set_format()
1778 hi846->cur_mode->height, in hi846_set_format()
1779 HI846_FLL_MAX - hi846->cur_mode->height, 1, in hi846_set_format()
1783 h_blank = hi846->cur_mode->llp - hi846->cur_mode->width; in hi846_set_format()
1816 mf->width = hi846->cur_mode->width; in hi846_get_format()
1817 mf->height = hi846->cur_mode->height; in hi846_get_format()
1878 sel->r = hi846->cur_mode->crop; in hi846_get_selection()
1907 mf->width = hi846->cur_mode->width; in hi846_init_cfg()
1908 mf->height = hi846->cur_mode->height; in hi846_init_cfg()
2106 hi846->cur_mode = &supported_modes[0]; in hi846_probe()