/linux-6.1.9/drivers/firmware/efi/libstub/ |
D | gop.c | 142 u32 max_mode, cur_mode; in choose_mode_modenum() local 147 cur_mode = efi_table_attr(mode, mode); in choose_mode_modenum() 148 if (cmdline.mode == cur_mode) in choose_mode_modenum() 149 return cur_mode; in choose_mode_modenum() 154 return cur_mode; in choose_mode_modenum() 161 return cur_mode; in choose_mode_modenum() 170 return cur_mode; in choose_mode_modenum() 196 u32 max_mode, cur_mode; in choose_mode_res() local 203 cur_mode = efi_table_attr(mode, mode); in choose_mode_res() 213 return cur_mode; in choose_mode_res() [all …]
|
/linux-6.1.9/drivers/media/i2c/ |
D | ov5670.c | 1829 const struct ov5670_mode *cur_mode; member 1948 try_fmt->width = ov5670->cur_mode->width; in ov5670_open() 1949 try_fmt->height = ov5670->cur_mode->height; in ov5670_open() 2015 max = ov5670->cur_mode->height + ctrl->val - 8; in ov5670_set_ctrl() 2043 ov5670->cur_mode->height + ctrl->val); in ov5670_set_ctrl() 2096 vblank_max = OV5670_VTS_MAX - ov5670->cur_mode->height; in ov5670_init_controls() 2097 vblank_def = ov5670->cur_mode->vts_def - ov5670->cur_mode->height; in ov5670_init_controls() 2098 vblank_min = ov5670->cur_mode->vts_min - ov5670->cur_mode->height; in ov5670_init_controls() 2105 OV5670_FIXED_PPL - ov5670->cur_mode->width, in ov5670_init_controls() 2106 OV5670_FIXED_PPL - ov5670->cur_mode->width, 1, in ov5670_init_controls() [all …]
|
D | hi846.c | 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() [all …]
|
D | imx208.c | 284 const struct imx208_mode *cur_mode; member 462 imx208->cur_mode->height + ctrl->val); in imx208_set_ctrl() 558 imx208_mode_to_pad_format(imx208, imx208->cur_mode, fmt); in __imx208_get_pad_format() 599 imx208->cur_mode = mode; in imx208_set_pad_format() 605 vblank_def = imx208->cur_mode->vts_def - in imx208_set_pad_format() 606 imx208->cur_mode->height; in imx208_set_pad_format() 607 vblank_min = imx208->cur_mode->vts_min - in imx208_set_pad_format() 608 imx208->cur_mode->height; in imx208_set_pad_format() 610 IMX208_VTS_MAX - imx208->cur_mode->height, in imx208_set_pad_format() 615 - imx208->cur_mode->width; in imx208_set_pad_format() [all …]
|
D | imx258.c | 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() [all …]
|
D | ov9734.c | 336 const struct ov9734_mode *cur_mode; member 489 exposure_max = ov9734->cur_mode->height + ctrl->val - in ov9734_set_ctrl() 519 ov9734->cur_mode->height + ctrl->val); in ov9734_set_ctrl() 543 const struct ov9734_mode *cur_mode; in ov9734_init_controls() local 554 cur_mode = ov9734->cur_mode; in ov9734_init_controls() 567 vblank_min = cur_mode->vts_min - cur_mode->height; in ov9734_init_controls() 568 vblank_max = OV9734_VTS_MAX - cur_mode->height; in ov9734_init_controls() 569 vblank_default = cur_mode->vts_def - cur_mode->height; in ov9734_init_controls() 573 h_blank = to_pixels_per_line(cur_mode->hts, cur_mode->link_freq_index); in ov9734_init_controls() 574 h_blank -= cur_mode->width; in ov9734_init_controls() [all …]
|
D | og01a1b.c | 433 const struct og01a1b_mode *cur_mode; member 548 exposure_max = og01a1b->cur_mode->height + ctrl->val - in og01a1b_set_ctrl() 581 og01a1b->cur_mode->height + ctrl->val); in og01a1b_set_ctrl() 632 og01a1b->cur_mode->vts_min - in og01a1b_init_controls() 633 og01a1b->cur_mode->height, in og01a1b_init_controls() 635 og01a1b->cur_mode->height, 1, in og01a1b_init_controls() 636 og01a1b->cur_mode->vts_def - in og01a1b_init_controls() 637 og01a1b->cur_mode->height); in og01a1b_init_controls() 638 h_blank = to_pixels_per_line(og01a1b->cur_mode->hts, in og01a1b_init_controls() 639 og01a1b->cur_mode->link_freq_index) - in og01a1b_init_controls() [all …]
|
D | hi556.c | 491 const struct hi556_mode *cur_mode; member 636 exposure_max = hi556->cur_mode->height + ctrl->val - in hi556_set_ctrl() 667 hi556->cur_mode->height + ctrl->val); in hi556_set_ctrl() 715 hi556->cur_mode->fll_min - in hi556_init_controls() 716 hi556->cur_mode->height, in hi556_init_controls() 718 hi556->cur_mode->height, 1, in hi556_init_controls() 719 hi556->cur_mode->fll_def - in hi556_init_controls() 720 hi556->cur_mode->height); in hi556_init_controls() 722 h_blank = hi556->cur_mode->llp - hi556->cur_mode->width; in hi556_init_controls() 736 exposure_max = hi556->cur_mode->fll_def - HI556_EXPOSURE_MAX_MARGIN; in hi556_init_controls() [all …]
|
D | hi847.c | 2183 const struct hi847_mode *cur_mode; member 2349 if (hi847->cur_mode->width == 3264) { in hi847_grbg_shift() 2421 exposure_max = hi847->cur_mode->height + ctrl->val - in hi847_set_ctrl() 2452 hi847->cur_mode->height + ctrl->val); in hi847_set_ctrl() 2508 hi847->cur_mode->fll_min - in hi847_init_controls() 2509 hi847->cur_mode->height, in hi847_init_controls() 2511 hi847->cur_mode->height, 1, in hi847_init_controls() 2512 hi847->cur_mode->fll_def - in hi847_init_controls() 2513 hi847->cur_mode->height); in hi847_init_controls() 2515 h_blank = hi847->cur_mode->llp - hi847->cur_mode->width; in hi847_init_controls() [all …]
|
D | ov2740.c | 338 const struct ov2740_mode *cur_mode; member 521 exposure_max = ov2740->cur_mode->height + ctrl->val - in ov2740_set_ctrl() 551 ov2740->cur_mode->height + ctrl->val); in ov2740_set_ctrl() 575 const struct ov2740_mode *cur_mode; in ov2740_init_controls() local 587 cur_mode = ov2740->cur_mode; in ov2740_init_controls() 602 vblank_min = cur_mode->vts_min - cur_mode->height; in ov2740_init_controls() 603 vblank_max = OV2740_VTS_MAX - cur_mode->height; in ov2740_init_controls() 604 vblank_default = cur_mode->vts_def - cur_mode->height; in ov2740_init_controls() 609 h_blank = to_pixels_per_line(cur_mode->hts, cur_mode->link_freq_index); in ov2740_init_controls() 610 h_blank -= cur_mode->width; in ov2740_init_controls() [all …]
|
D | ov8856.c | 1433 const struct ov8856_mode *cur_mode; member 1871 exposure_max = ov8856->cur_mode->height + ctrl->val - in ov8856_set_ctrl() 1902 ov8856->cur_mode->height + ctrl->val); in ov8856_set_ctrl() 1956 ov8856->cur_mode->data_lanes), 1, in ov8856_init_controls() 1959 ov8856->cur_mode->data_lanes)); in ov8856_init_controls() 1962 ov8856->cur_mode->vts_min - ov8856->cur_mode->height, in ov8856_init_controls() 1963 OV8856_VTS_MAX - ov8856->cur_mode->height, 1, in ov8856_init_controls() 1964 ov8856->cur_mode->vts_def - in ov8856_init_controls() 1965 ov8856->cur_mode->height); in ov8856_init_controls() 1967 ov8856->cur_mode->hts, in ov8856_init_controls() [all …]
|
D | ov13858.c | 1043 const struct ov13858_mode *cur_mode; member 1160 try_fmt->width = ov13858->cur_mode->width; in ov13858_open() 1161 try_fmt->height = ov13858->cur_mode->height; in ov13858_open() 1224 max = ov13858->cur_mode->height + ctrl->val - 8; in ov13858_set_ctrl() 1256 ov13858->cur_mode->height in ov13858_set_ctrl() 1329 ov13858_update_pad_format(ov13858->cur_mode, fmt); in ov13858_do_get_pad_format() 1378 ov13858->cur_mode = mode; in ov13858_set_pad_format() 1385 vblank_def = ov13858->cur_mode->vts_def - in ov13858_set_pad_format() 1386 ov13858->cur_mode->height; in ov13858_set_pad_format() 1387 vblank_min = ov13858->cur_mode->vts_min - in ov13858_set_pad_format() [all …]
|
D | ov5675.c | 496 const struct ov5675_mode *cur_mode; member 698 exposure_max = ov5675->cur_mode->height + ctrl->val - in ov5675_set_ctrl() 735 ov5675->cur_mode->height + ctrl->val + in ov5675_set_ctrl() 791 ov5675->cur_mode->vts_min - ov5675->cur_mode->height, in ov5675_init_controls() 792 OV5675_VTS_MAX - ov5675->cur_mode->height, 1, in ov5675_init_controls() 793 ov5675->cur_mode->vts_def - ov5675->cur_mode->height); in ov5675_init_controls() 794 h_blank = to_pixels_per_line(ov5675->cur_mode->hts, in ov5675_init_controls() 795 ov5675->cur_mode->link_freq_index) - ov5675->cur_mode->width; in ov5675_init_controls() 808 exposure_max = (ov5675->cur_mode->vts_def - OV5675_EXPOSURE_MAX_MARGIN); in ov5675_init_controls() 875 link_freq_index = ov5675->cur_mode->link_freq_index; in ov5675_start_streaming() [all …]
|
D | ov13b10.c | 585 const struct ov13b10_mode *cur_mode; member 837 max = ov13b->cur_mode->height + ctrl->val - 8; in ov13b10_set_ctrl() 869 ov13b->cur_mode->height in ov13b10_set_ctrl() 948 ov13b10_update_pad_format(ov13b->cur_mode, fmt); in ov13b10_do_get_pad_format() 997 ov13b->cur_mode = mode; in ov13b10_set_pad_format() 1004 vblank_def = ov13b->cur_mode->vts_def - in ov13b10_set_pad_format() 1005 ov13b->cur_mode->height; in ov13b10_set_pad_format() 1006 vblank_min = ov13b->cur_mode->vts_min - in ov13b10_set_pad_format() 1007 ov13b->cur_mode->height; in ov13b10_set_pad_format() 1010 - ov13b->cur_mode->height, in ov13b10_set_pad_format() [all …]
|
D | imx355.c | 115 const struct imx355_mode *cur_mode; member 1169 try_fmt->width = imx355->cur_mode->width; in imx355_open() 1170 try_fmt->height = imx355->cur_mode->height; in imx355_open() 1191 max = imx355->cur_mode->height + ctrl->val - 10; in imx355_set_ctrl() 1222 imx355->cur_mode->height + ctrl->val); in imx355_set_ctrl() 1311 imx355_update_pad_format(imx355, imx355->cur_mode, fmt); in imx355_do_get_pad_format() 1362 imx355->cur_mode = mode; in imx355_set_pad_format() 1367 height = imx355->cur_mode->height; in imx355_set_pad_format() 1368 vblank_def = imx355->cur_mode->fll_def - height; in imx355_set_pad_format() 1369 vblank_min = imx355->cur_mode->fll_min - height; in imx355_set_pad_format() [all …]
|
D | imx319.c | 129 const struct imx319_mode *cur_mode; member 1870 try_fmt->width = imx319->cur_mode->width; in imx319_open() 1871 try_fmt->height = imx319->cur_mode->height; in imx319_open() 1892 max = imx319->cur_mode->height + ctrl->val - 18; in imx319_set_ctrl() 1923 imx319->cur_mode->height + ctrl->val); in imx319_set_ctrl() 2012 imx319_update_pad_format(imx319, imx319->cur_mode, fmt); in imx319_do_get_pad_format() 2063 imx319->cur_mode = mode; in imx319_set_pad_format() 2068 height = imx319->cur_mode->height; in imx319_set_pad_format() 2069 vblank_def = imx319->cur_mode->fll_def - height; in imx319_set_pad_format() 2070 vblank_min = imx319->cur_mode->fll_min - height; in imx319_set_pad_format() [all …]
|
D | imx335.c | 141 const struct imx335_mode *cur_mode; member 398 lpfr = imx335->vblank + imx335->cur_mode->height; in imx335_update_exp_gain() 450 imx335->vblank + imx335->cur_mode->height); in imx335_set_ctrl() 455 imx335->cur_mode->height - in imx335_set_ctrl() 577 imx335_fill_pad_format(imx335, imx335->cur_mode, fmt); in imx335_get_pad_format() 614 imx335->cur_mode = mode; in imx335_set_pad_format() 653 reg_list = &imx335->cur_mode->reg_list; in imx335_start_streaming() 916 const struct imx335_mode *mode = imx335->cur_mode; in imx335_init_controls() 1034 imx335->cur_mode = &supported_mode; in imx335_probe() 1035 imx335->vblank = imx335->cur_mode->vblank; in imx335_probe()
|
D | imx412.c | 150 const struct imx412_mode *cur_mode; member 550 lpfr = imx412->vblank + imx412->cur_mode->height; in imx412_update_exp_gain() 602 imx412->vblank + imx412->cur_mode->height); in imx412_set_ctrl() 607 imx412->cur_mode->height - in imx412_set_ctrl() 729 imx412_fill_pad_format(imx412, imx412->cur_mode, fmt); in imx412_get_pad_format() 766 imx412->cur_mode = mode; in imx412_set_pad_format() 805 reg_list = &imx412->cur_mode->reg_list; in imx412_start_streaming() 1090 const struct imx412_mode *mode = imx412->cur_mode; in imx412_init_controls() 1208 imx412->cur_mode = &supported_mode; in imx412_probe() 1209 imx412->vblank = imx412->cur_mode->vblank; in imx412_probe()
|
D | imx334.c | 141 const struct imx334_mode *cur_mode; member 406 lpfr = imx334->vblank + imx334->cur_mode->height; in imx334_update_exp_gain() 458 imx334->vblank + imx334->cur_mode->height); in imx334_set_ctrl() 463 imx334->cur_mode->height - in imx334_set_ctrl() 586 imx334_fill_pad_format(imx334, imx334->cur_mode, fmt); in imx334_get_pad_format() 623 imx334->cur_mode = mode; in imx334_set_pad_format() 662 reg_list = &imx334->cur_mode->reg_list; in imx334_start_streaming() 922 const struct imx334_mode *mode = imx334->cur_mode; in imx334_init_controls() 1040 imx334->cur_mode = &supported_mode; in imx334_probe() 1041 imx334->vblank = imx334->cur_mode->vblank; in imx334_probe()
|
D | ov9282.c | 141 const struct ov9282_mode *cur_mode; member 409 lpfr = ov9282->vblank + ov9282->cur_mode->height; in ov9282_update_exp_gain() 460 ov9282->vblank + ov9282->cur_mode->height); in ov9282_set_ctrl() 465 ov9282->cur_mode->height - in ov9282_set_ctrl() 587 ov9282_fill_pad_format(ov9282, ov9282->cur_mode, fmt); in ov9282_get_pad_format() 624 ov9282->cur_mode = mode; in ov9282_set_pad_format() 663 reg_list = &ov9282->cur_mode->reg_list; in ov9282_start_streaming() 924 const struct ov9282_mode *mode = ov9282->cur_mode; in ov9282_init_controls() 1042 ov9282->cur_mode = &supported_mode; in ov9282_probe() 1043 ov9282->vblank = ov9282->cur_mode->vblank; in ov9282_probe()
|
D | ov08d10.c | 534 const struct ov08d10_mode *cur_mode; member 735 cur_vts = ov08d10->cur_mode->vts_def; in ov08d10_set_exposure() 862 exposure_max = ov08d10->cur_mode->height + ctrl->val - in ov08d10_set_ctrl() 945 ov08d10->cur_mode->data_lanes); in ov08d10_init_controls() 951 mode = ov08d10->cur_mode; in ov08d10_init_controls() 1019 link_freq_index = ov08d10->cur_mode->link_freq_index; in ov08d10_start_streaming() 1048 reg_list = &ov08d10->cur_mode->reg_list; in ov08d10_start_streaming() 1193 ov08d10->cur_mode = mode; in ov08d10_set_format() 1197 ov08d10->cur_mode->data_lanes); in ov08d10_set_format() 1210 ov08d10->cur_mode->data_lanes) in ov08d10_set_format() [all …]
|
D | ov2685.c | 100 const struct ov2685_mode *cur_mode; member 338 ov2685_fill_fmt(ov2685->cur_mode, mbus_fmt); in ov2685_set_fmt() 350 ov2685_fill_fmt(ov2685->cur_mode, mbus_fmt); in ov2685_get_fmt() 421 ret = ov2685_write_array(ov2685->client, ov2685->cur_mode->reg_list); in __ov2685_power_on() 541 max_expo = ov2685->cur_mode->height + ctrl->val - 4; in ov2685_set_ctrl() 564 ctrl->val + ov2685->cur_mode->height); in ov2685_set_ctrl() 619 mode = ov2685->cur_mode; in ov2685_initialize_controls() 722 ov2685->cur_mode = &supported_modes[0]; in ov2685_probe()
|
D | ov02a10.c | 126 const struct ov02a10_mode *cur_mode; member 315 ov02a10_fill_fmt(ov02a10->cur_mode, mbus_fmt); in ov02a10_set_fmt() 344 ov02a10_fill_fmt(ov02a10->cur_mode, mbus_fmt); in ov02a10_get_fmt() 469 reg_list = &ov02a10->cur_mode->reg_list; in __ov02a10_start_stream() 620 u32 vts = val + ov02a10->cur_mode->height - OV02A10_BASE_LINES; in ov02a10_set_vblank() 674 max_expo = ov02a10->cur_mode->height + ctrl->val - in ov02a10_set_ctrl() 747 mode = ov02a10->cur_mode; in ov02a10_initialize_controls() 926 ov02a10->cur_mode = &supported_modes[0]; in ov02a10_probe()
|
/linux-6.1.9/drivers/gpu/drm/panel/ |
D | panel-novatek-nt35950.c | 60 int cur_mode; member 261 if (mode_data[nt->cur_mode].is_video_mode) in nt35950_set_dispout() 263 if (mode_data[nt->cur_mode].enable_sram) in nt35950_set_dispout() 299 nt->cur_mode = nt35950_get_current_mode(nt); in nt35950_on() 307 ret = nt35950_set_data_compression(nt, mode_data[nt->cur_mode].compression); in nt35950_on() 311 ret = nt35950_set_scale_mode(nt, mode_data[nt->cur_mode].scaler_mode); in nt35950_on() 315 ret = nt35950_set_scaler(nt, mode_data[nt->cur_mode].scaler_on); in nt35950_on()
|
/linux-6.1.9/drivers/video/fbdev/ |
D | cg14.c | 282 int cur_mode, mode, ret = 0; in cg14_ioctl() local 315 cur_mode = sbus_readb(®s->mcr); in cg14_ioctl() 316 cur_mode &= ~CG14_MCR_PIXMODE_MASK; in cg14_ioctl() 319 cur_mode |= (CG14_MCR_PIXMODE_32 << in cg14_ioctl() 324 cur_mode |= (CG14_MCR_PIXMODE_16 << in cg14_ioctl() 336 sbus_writeb(cur_mode, ®s->mcr); in cg14_ioctl()
|