/linux-master/drivers/firmware/efi/libstub/ |
H A D | gop.c | 142 u32 max_mode, cur_mode; local 147 cur_mode = efi_table_attr(mode, mode); 148 if (cmdline.mode == cur_mode) 149 return cur_mode; 154 return cur_mode; 161 return cur_mode; 170 return cur_mode; 196 u32 max_mode, cur_mode; local 203 cur_mode = efi_table_attr(mode, mode); 213 return cur_mode; 254 u32 max_mode, cur_mode, best_mode, area; local 317 u32 max_mode, cur_mode; local 388 u32 cur_mode, new_mode; local [all...] |
/linux-master/drivers/media/i2c/ |
H A D | imx208.c | 284 const struct imx208_mode *cur_mode; member in struct:imx208 459 imx208->cur_mode->height + ctrl->val); 554 imx208_mode_to_pad_format(imx208, imx208->cur_mode, fmt); 595 imx208->cur_mode = mode; 601 vblank_def = imx208->cur_mode->vts_def - 602 imx208->cur_mode->height; 603 vblank_min = imx208->cur_mode->vts_min - 604 imx208->cur_mode->height; 606 IMX208_VTS_MAX - imx208->cur_mode->height, 611 - imx208->cur_mode [all...] |
H A D | ov9734.c | 336 const struct ov9734_mode *cur_mode; member in struct:ov9734 486 exposure_max = ov9734->cur_mode->height + ctrl->val - 516 ov9734->cur_mode->height + ctrl->val); 540 const struct ov9734_mode *cur_mode; local 551 cur_mode = ov9734->cur_mode; 564 vblank_min = cur_mode->vts_min - cur_mode->height; 565 vblank_max = OV9734_VTS_MAX - cur_mode->height; 566 vblank_default = cur_mode [all...] |
H A D | ov01a10.c | 289 const struct ov01a10_mode *cur_mode; member in struct:ov01a10 459 exposure_max = ov01a10->cur_mode->height + ctrl->val - 487 ov01a10->cur_mode->height + ctrl->val); 522 const struct ov01a10_mode *cur_mode; local 536 cur_mode = ov01a10->cur_mode; 551 vblank_min = cur_mode->vts_min - cur_mode->height; 552 vblank_max = OV01A10_VTS_MAX - cur_mode->height; 553 vblank_default = cur_mode [all...] |
H A D | og01a1b.c | 433 const struct og01a1b_mode *cur_mode; member in struct:og01a1b 545 exposure_max = og01a1b->cur_mode->height + ctrl->val - 578 og01a1b->cur_mode->height + ctrl->val); 629 og01a1b->cur_mode->vts_min - 630 og01a1b->cur_mode->height, 632 og01a1b->cur_mode->height, 1, 633 og01a1b->cur_mode->vts_def - 634 og01a1b->cur_mode->height); 635 h_blank = to_pixels_per_line(og01a1b->cur_mode->hts, 636 og01a1b->cur_mode [all...] |
H A D | hi846.c | 1170 struct mutex mutex; /* protect cur_mode, streaming and chip access */ 1171 const struct hi846_mode *cur_mode; member in struct:hi846 1197 return hi846->cur_mode->link_freq_index; 1348 exposure_max = hi846->cur_mode->height + ctrl->val - 1371 frame_len = hi846->cur_mode->frame_len; 1392 hi846->cur_mode->height + ctrl->val, &ret); 1442 hi846->cur_mode->frame_len - 1443 hi846->cur_mode->height, 1445 hi846->cur_mode->height, 1, 1446 hi846->cur_mode [all...] |
H A D | imx258.c | 617 const struct imx258_mode *cur_mode; member in struct:imx258 868 imx258_update_pad_format(imx258->cur_mode, fmt); 913 imx258->cur_mode = mode; 920 vblank_def = imx258->cur_mode->vts_def - 921 imx258->cur_mode->height; 922 vblank_min = imx258->cur_mode->vts_min - 923 imx258->cur_mode->height; 926 IMX258_VTS_MAX - imx258->cur_mode->height, 1, 931 - imx258->cur_mode->width; 949 link_freq_index = imx258->cur_mode [all...] |
H A D | hi556.c | 637 const struct hi556_mode *cur_mode; member in struct:hi556 779 exposure_max = hi556->cur_mode->height + ctrl->val - 810 hi556->cur_mode->height + ctrl->val); 858 hi556->cur_mode->fll_min - 859 hi556->cur_mode->height, 861 hi556->cur_mode->height, 1, 862 hi556->cur_mode->fll_def - 863 hi556->cur_mode->height); 865 h_blank = hi556->cur_mode->llp - hi556->cur_mode [all...] |
H A D | ov2740.c | 531 const struct ov2740_mode *cur_mode; member in struct:ov2740 703 exposure_max = ov2740->cur_mode->height + ctrl->val - 733 ov2740->cur_mode->height + ctrl->val); 757 const struct ov2740_mode *cur_mode; local 768 cur_mode = ov2740->cur_mode; 783 vblank_min = cur_mode->vts_min - cur_mode->height; 784 vblank_max = cur_mode->vts_max - cur_mode [all...] |
H A D | ov5675.c | 511 const struct ov5675_mode *cur_mode; member in struct:ov5675 710 exposure_max = ov5675->cur_mode->height + ctrl->val - 747 ov5675->cur_mode->height + ctrl->val + 805 ov5675->cur_mode->vts_min - ov5675->cur_mode->height, 806 OV5675_VTS_MAX - ov5675->cur_mode->height, 1, 807 ov5675->cur_mode->vts_def - ov5675->cur_mode->height); 808 h_blank = to_pixels_per_line(ov5675->cur_mode->hts, 809 ov5675->cur_mode [all...] |
H A D | tw9900.c | 86 const struct tw9900_mode *cur_mode; member in struct:tw9900 194 tw9900_fill_fmt(tw9900->cur_mode, mbus_fmt); 214 tw9900_fill_fmt(tw9900->cur_mode, mbus_fmt); 286 tw9900->cur_mode->reg_list, 287 tw9900->cur_mode->n_regs); 354 tw9900->cur_mode = mode; 397 *std = tw9900->cur_mode->std; 665 tw9900->cur_mode = &supported_modes[0];
|
H A D | ov9282.c | 165 * @cur_mode: Pointer to current selected sensor mode 187 const struct ov9282_mode *cur_mode; member in struct:ov9282 668 ov9282->vblank + ov9282->cur_mode->height); 673 ov9282->cur_mode->height - 694 lpfr = ov9282->vblank + ov9282->cur_mode->height; 705 (ctrl->val + ov9282->cur_mode->width) >> 1); 820 ov9282_fill_pad_format(ov9282, ov9282->cur_mode, ov9282->code, 868 ov9282->cur_mode = mode; 907 return &ov9282->cur_mode->crop; 987 reg_list = &ov9282->cur_mode [all...] |
H A D | ov13b10.c | 648 const struct ov13b10_mode *cur_mode; member in struct:ov13b10 899 max = ov13b->cur_mode->height + ctrl->val - 8; 931 ov13b->cur_mode->height 1009 ov13b10_update_pad_format(ov13b->cur_mode, fmt); 1058 ov13b->cur_mode = mode; 1065 vblank_def = ov13b->cur_mode->vts_def - 1066 ov13b->cur_mode->height; 1067 vblank_min = ov13b->cur_mode->vts_min - 1068 ov13b->cur_mode->height; 1071 - ov13b->cur_mode [all...] |
H A D | imx412.c | 128 * @cur_mode: Pointer to current selected sensor mode 149 const struct imx412_mode *cur_mode; member in struct:imx412 548 lpfr = imx412->vblank + imx412->cur_mode->height; 600 imx412->vblank + imx412->cur_mode->height); 605 imx412->cur_mode->height - 727 imx412_fill_pad_format(imx412, imx412->cur_mode, fmt); 764 imx412->cur_mode = mode; 803 reg_list = &imx412->cur_mode->reg_list; 1084 const struct imx412_mode *mode = imx412->cur_mode; 1207 imx412->cur_mode [all...] |
H A D | imx335.c | 150 * @cur_mode: Pointer to current selected sensor mode 174 const struct imx335_mode *cur_mode; member in struct:imx335 531 lpfr = imx335->vblank + imx335->cur_mode->height; 626 imx335->vblank + imx335->cur_mode->height); 631 imx335->cur_mode->height - 778 imx335_fill_pad_format(imx335, imx335->cur_mode, fmt); 820 imx335->cur_mode = mode; 924 reg_list = &imx335->cur_mode->reg_list; 1210 const struct imx335_mode *mode = imx335->cur_mode; 1334 imx335->cur_mode [all...] |
H A D | ov08d10.c | 534 const struct ov08d10_mode *cur_mode; member in struct:ov08d10 732 cur_vts = ov08d10->cur_mode->vts_def; 859 exposure_max = ov08d10->cur_mode->height + ctrl->val - 942 ov08d10->cur_mode->data_lanes); 948 mode = ov08d10->cur_mode; 1021 link_freq_index = ov08d10->cur_mode->link_freq_index; 1050 reg_list = &ov08d10->cur_mode->reg_list; 1151 ov08d10->cur_mode = mode; 1155 ov08d10->cur_mode->data_lanes); 1168 ov08d10->cur_mode [all...] |
H A D | ov13858.c | 1043 const struct ov13858_mode *cur_mode; member in struct:ov13858 1156 try_fmt->width = ov13858->cur_mode->width; 1157 try_fmt->height = ov13858->cur_mode->height; 1220 max = ov13858->cur_mode->height + ctrl->val - 8; 1252 ov13858->cur_mode->height 1324 ov13858_update_pad_format(ov13858->cur_mode, fmt); 1373 ov13858->cur_mode = mode; 1380 vblank_def = ov13858->cur_mode->vts_def - 1381 ov13858->cur_mode->height; 1382 vblank_min = ov13858->cur_mode [all...] |
H A D | ov8856.c | 1433 const struct ov8856_mode *cur_mode; member in struct:ov8856 1828 exposure_max = ov8856->cur_mode->height + ctrl->val - 1859 ov8856->cur_mode->height + ctrl->val); 1913 ov8856->cur_mode->data_lanes), 1, 1916 ov8856->cur_mode->data_lanes)); 1919 ov8856->cur_mode->vts_min - ov8856->cur_mode->height, 1920 OV8856_VTS_MAX - ov8856->cur_mode->height, 1, 1921 ov8856->cur_mode->vts_def - 1922 ov8856->cur_mode [all...] |
H A D | ov5670.c | 1870 const struct ov5670_mode *cur_mode; member in struct:ov5670 2043 max = ov5670->cur_mode->height + ctrl->val - 8; 2071 ov5670->cur_mode->height + ctrl->val); 2137 vblank_max = OV5670_VTS_MAX - ov5670->cur_mode->height; 2138 vblank_def = ov5670->cur_mode->vts_def - ov5670->cur_mode->height; 2139 vblank_min = ov5670->cur_mode->vts_min - ov5670->cur_mode->height; 2146 OV5670_FIXED_PPL - ov5670->cur_mode->width, 2147 OV5670_FIXED_PPL - ov5670->cur_mode [all...] |
H A D | ov08x40.c | 1295 const struct ov08x40_mode *cur_mode; member in struct:ov08x40 1581 max = ((ov08x->cur_mode->height + ctrl->val) << 1582 ov08x->cur_mode->exposure_shift) - 1583 ov08x->cur_mode->exposure_margin; 1608 exp = (ctrl->val << ov08x->cur_mode->exposure_shift) - 1609 ov08x->cur_mode->exposure_margin; 1616 fll = ((ov08x->cur_mode->height + ctrl->val) << 1617 ov08x->cur_mode->exposure_shift); 1698 ov08x40_update_pad_format(ov08x->cur_mode, fmt); 1748 ov08x->cur_mode [all...] |
H A D | imx334.c | 137 * @cur_mode: Pointer to current selected sensor mode 159 const struct imx334_mode *cur_mode; member in struct:imx334 664 lpfr = imx334->vblank + imx334->cur_mode->height; 716 imx334->vblank + imx334->cur_mode->height); 721 imx334->cur_mode->height - 886 imx334_fill_pad_format(imx334, imx334->cur_mode, fmt); 925 } else if (imx334->cur_mode != mode || imx334->cur_code != fmt->format.code) { 929 imx334->cur_mode = mode; 954 imx334_fill_pad_format(imx334, imx334->cur_mode, &fmt); 993 reg_list = &imx334->cur_mode [all...] |
H A D | ov4689.c | 102 struct mutex mutex; /* lock to protect ctrls and cur_mode */ 106 const struct ov4689_mode *cur_mode; member in struct:ov4689 374 ov4689_fill_fmt(ov4689->cur_mode, mbus_fmt); 387 ov4689_fill_fmt(ov4689->cur_mode, mbus_fmt); 438 const struct ov4689_mode *mode = to_ov4689(sd)->cur_mode; 476 ov4689->cur_mode->reg_list); 649 max_expo = ov4689->cur_mode->height + ctrl->val - 4; 682 ctrl->val + ov4689->cur_mode->height); 715 mode = ov4689->cur_mode; 885 ov4689->cur_mode [all...] |
/linux-master/drivers/gpu/drm/panel/ |
H A D | panel-novatek-nt35950.c | 60 int cur_mode; member in struct:nt35950 252 if (mode_data[nt->cur_mode].is_video_mode) 254 if (mode_data[nt->cur_mode].enable_sram) 290 nt->cur_mode = nt35950_get_current_mode(nt); 298 ret = nt35950_set_data_compression(nt, mode_data[nt->cur_mode].compression); 302 ret = nt35950_set_scale_mode(nt, mode_data[nt->cur_mode].scaler_mode); 306 ret = nt35950_set_scaler(nt, mode_data[nt->cur_mode].scaler_on);
|
/linux-master/drivers/video/fbdev/ |
H A D | cg14.c | 276 int cur_mode, mode, ret = 0; local 309 cur_mode = sbus_readb(®s->mcr); 310 cur_mode &= ~CG14_MCR_PIXMODE_MASK; 313 cur_mode |= (CG14_MCR_PIXMODE_32 << 318 cur_mode |= (CG14_MCR_PIXMODE_16 << 330 sbus_writeb(cur_mode, ®s->mcr);
|
/linux-master/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_mpc.c | 137 uint32_t cur_mode; local 157 MPC_OCSC_TEST_DEBUG_DATA_OCSC_MODE, &cur_mode); 159 if (cur_mode != MPC_OUTPUT_CSC_COEF_A) 191 uint32_t cur_mode; local 215 MPC_OCSC_TEST_DEBUG_DATA_OCSC_MODE, &cur_mode); 217 if (cur_mode != MPC_OUTPUT_CSC_COEF_A)
|