/linux-6.12.1/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.12.1/drivers/media/i2c/ |
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() 1371 frame_len = hi846->cur_mode->frame_len; in hi846_set_ctrl() 1392 hi846->cur_mode->height + ctrl->val, &ret); in hi846_set_ctrl() 1442 hi846->cur_mode->frame_len - in hi846_init_controls() 1443 hi846->cur_mode->height, in hi846_init_controls() 1445 hi846->cur_mode->height, 1, in hi846_init_controls() 1446 hi846->cur_mode->frame_len - in hi846_init_controls() 1447 hi846->cur_mode->height); in hi846_init_controls() [all …]
|
D | ov9734.c | 336 const struct ov9734_mode *cur_mode; member 486 exposure_max = ov9734->cur_mode->height + ctrl->val - in ov9734_set_ctrl() 516 ov9734->cur_mode->height + ctrl->val); in ov9734_set_ctrl() 540 const struct ov9734_mode *cur_mode; in ov9734_init_controls() local 551 cur_mode = ov9734->cur_mode; in ov9734_init_controls() 564 vblank_min = cur_mode->vts_min - cur_mode->height; in ov9734_init_controls() 565 vblank_max = OV9734_VTS_MAX - cur_mode->height; in ov9734_init_controls() 566 vblank_default = cur_mode->vts_def - cur_mode->height; in ov9734_init_controls() 570 h_blank = to_pixels_per_line(cur_mode->hts, cur_mode->link_freq_index); in ov9734_init_controls() 571 h_blank -= cur_mode->width; in ov9734_init_controls() [all …]
|
D | ov08x40.c | 1295 const struct ov08x40_mode *cur_mode; member 1581 max = ((ov08x->cur_mode->height + ctrl->val) << in ov08x40_set_ctrl() 1582 ov08x->cur_mode->exposure_shift) - in ov08x40_set_ctrl() 1583 ov08x->cur_mode->exposure_margin; in ov08x40_set_ctrl() 1608 exp = (ctrl->val << ov08x->cur_mode->exposure_shift) - in ov08x40_set_ctrl() 1609 ov08x->cur_mode->exposure_margin; in ov08x40_set_ctrl() 1616 fll = ((ov08x->cur_mode->height + ctrl->val) << in ov08x40_set_ctrl() 1617 ov08x->cur_mode->exposure_shift); in ov08x40_set_ctrl() 1698 ov08x40_update_pad_format(ov08x->cur_mode, fmt); in ov08x40_do_get_pad_format() 1748 ov08x->cur_mode = mode; in ov08x40_set_pad_format() [all …]
|
D | imx208.c | 284 const struct imx208_mode *cur_mode; member 459 imx208->cur_mode->height + ctrl->val); in imx208_set_ctrl() 554 imx208_mode_to_pad_format(imx208, imx208->cur_mode, fmt); in __imx208_get_pad_format() 595 imx208->cur_mode = mode; in imx208_set_pad_format() 601 vblank_def = imx208->cur_mode->vts_def - in imx208_set_pad_format() 602 imx208->cur_mode->height; in imx208_set_pad_format() 603 vblank_min = imx208->cur_mode->vts_min - in imx208_set_pad_format() 604 imx208->cur_mode->height; in imx208_set_pad_format() 606 IMX208_VTS_MAX - imx208->cur_mode->height, in imx208_set_pad_format() 611 - imx208->cur_mode->width; in imx208_set_pad_format() [all …]
|
D | ov01a10.c | 289 const struct ov01a10_mode *cur_mode; member 459 exposure_max = ov01a10->cur_mode->height + ctrl->val - in ov01a10_set_ctrl() 487 ov01a10->cur_mode->height + ctrl->val); in ov01a10_set_ctrl() 522 const struct ov01a10_mode *cur_mode; in ov01a10_init_controls() local 536 cur_mode = ov01a10->cur_mode; in ov01a10_init_controls() 551 vblank_min = cur_mode->vts_min - cur_mode->height; in ov01a10_init_controls() 552 vblank_max = OV01A10_VTS_MAX - cur_mode->height; in ov01a10_init_controls() 553 vblank_default = cur_mode->vts_def - cur_mode->height; in ov01a10_init_controls() 558 h_blank = cur_mode->hts - cur_mode->width; in ov01a10_init_controls() 572 exposure_max = cur_mode->vts_def - OV01A10_EXPOSURE_MAX_MARGIN; in ov01a10_init_controls() [all …]
|
D | ov5670.c | 1870 const struct ov5670_mode *cur_mode; member 2043 max = ov5670->cur_mode->height + ctrl->val - 8; in ov5670_set_ctrl() 2071 ov5670->cur_mode->height + ctrl->val); in ov5670_set_ctrl() 2137 vblank_max = OV5670_VTS_MAX - ov5670->cur_mode->height; in ov5670_init_controls() 2138 vblank_def = ov5670->cur_mode->vts_def - ov5670->cur_mode->height; in ov5670_init_controls() 2139 vblank_min = ov5670->cur_mode->vts_min - ov5670->cur_mode->height; in ov5670_init_controls() 2146 OV5670_FIXED_PPL - ov5670->cur_mode->width, in ov5670_init_controls() 2147 OV5670_FIXED_PPL - ov5670->cur_mode->width, 1, in ov5670_init_controls() 2148 OV5670_FIXED_PPL - ov5670->cur_mode->width); in ov5670_init_controls() 2163 exposure_max = ov5670->cur_mode->vts_def - 8; in ov5670_init_controls() [all …]
|
D | ov8856.c | 1433 const struct ov8856_mode *cur_mode; member 1828 exposure_max = ov8856->cur_mode->height + ctrl->val - in ov8856_set_ctrl() 1859 ov8856->cur_mode->height + ctrl->val); in ov8856_set_ctrl() 1913 ov8856->cur_mode->data_lanes), 1, in ov8856_init_controls() 1916 ov8856->cur_mode->data_lanes)); in ov8856_init_controls() 1919 ov8856->cur_mode->vts_min - ov8856->cur_mode->height, in ov8856_init_controls() 1920 OV8856_VTS_MAX - ov8856->cur_mode->height, 1, in ov8856_init_controls() 1921 ov8856->cur_mode->vts_def - in ov8856_init_controls() 1922 ov8856->cur_mode->height); in ov8856_init_controls() 1924 ov8856->cur_mode->hts, in ov8856_init_controls() [all …]
|
D | hi847.c | 2183 const struct hi847_mode *cur_mode; member 2346 if (hi847->cur_mode->width == 3264) { in hi847_grbg_shift() 2418 exposure_max = hi847->cur_mode->height + ctrl->val - in hi847_set_ctrl() 2449 hi847->cur_mode->height + ctrl->val); in hi847_set_ctrl() 2505 hi847->cur_mode->fll_min - in hi847_init_controls() 2506 hi847->cur_mode->height, in hi847_init_controls() 2508 hi847->cur_mode->height, 1, in hi847_init_controls() 2509 hi847->cur_mode->fll_def - in hi847_init_controls() 2510 hi847->cur_mode->height); in hi847_init_controls() 2512 h_blank = hi847->cur_mode->llp - hi847->cur_mode->width; in hi847_init_controls() [all …]
|
D | ov13858.c | 1043 const struct ov13858_mode *cur_mode; member 1156 try_fmt->width = ov13858->cur_mode->width; in ov13858_open() 1157 try_fmt->height = ov13858->cur_mode->height; in ov13858_open() 1220 max = ov13858->cur_mode->height + ctrl->val - 8; in ov13858_set_ctrl() 1252 ov13858->cur_mode->height in ov13858_set_ctrl() 1324 ov13858_update_pad_format(ov13858->cur_mode, fmt); in ov13858_do_get_pad_format() 1373 ov13858->cur_mode = mode; in ov13858_set_pad_format() 1380 vblank_def = ov13858->cur_mode->vts_def - in ov13858_set_pad_format() 1381 ov13858->cur_mode->height; in ov13858_set_pad_format() 1382 vblank_min = ov13858->cur_mode->vts_min - in ov13858_set_pad_format() [all …]
|
D | hi556.c | 645 const struct hi556_mode *cur_mode; member 787 exposure_max = hi556->cur_mode->height + ctrl->val - in hi556_set_ctrl() 818 hi556->cur_mode->height + ctrl->val); in hi556_set_ctrl() 866 hi556->cur_mode->fll_min - in hi556_init_controls() 867 hi556->cur_mode->height, in hi556_init_controls() 869 hi556->cur_mode->height, 1, in hi556_init_controls() 870 hi556->cur_mode->fll_def - in hi556_init_controls() 871 hi556->cur_mode->height); in hi556_init_controls() 873 h_blank = hi556->cur_mode->llp - hi556->cur_mode->width; in hi556_init_controls() 887 exposure_max = hi556->cur_mode->fll_def - HI556_EXPOSURE_MAX_MARGIN; in hi556_init_controls() [all …]
|
D | og01a1b.c | 442 const struct og01a1b_mode *cur_mode; member 554 exposure_max = og01a1b->cur_mode->height + ctrl->val - in og01a1b_set_ctrl() 587 og01a1b->cur_mode->height + ctrl->val); in og01a1b_set_ctrl() 638 og01a1b->cur_mode->vts_min - in og01a1b_init_controls() 639 og01a1b->cur_mode->height, in og01a1b_init_controls() 641 og01a1b->cur_mode->height, 1, in og01a1b_init_controls() 642 og01a1b->cur_mode->vts_def - in og01a1b_init_controls() 643 og01a1b->cur_mode->height); in og01a1b_init_controls() 644 h_blank = to_pixels_per_line(og01a1b->cur_mode->hts, in og01a1b_init_controls() 645 og01a1b->cur_mode->link_freq_index) - in og01a1b_init_controls() [all …]
|
D | imx258.c | 665 const struct imx258_mode *cur_mode; member 742 exposure_max = imx258->cur_mode->height + imx258->vblank->val - in imx258_adjust_exposure_range() 802 imx258->cur_mode->height + ctrl->val, NULL); in imx258_set_ctrl() 882 imx258_update_pad_format(imx258, imx258->cur_mode, fmt); in __imx258_get_pad_format() 928 imx258->cur_mode = mode; in imx258_set_pad_format() 940 vblank_def = imx258->cur_mode->vts_def - in imx258_set_pad_format() 941 imx258->cur_mode->height; in imx258_set_pad_format() 942 vblank_min = imx258->cur_mode->vts_min - in imx258_set_pad_format() 943 imx258->cur_mode->height; in imx258_set_pad_format() 946 IMX258_VTS_MAX - imx258->cur_mode->height, 1, in imx258_set_pad_format() [all …]
|
D | ov2740.c | 531 const struct ov2740_mode *cur_mode; member 703 exposure_max = ov2740->cur_mode->height + ctrl->val - in ov2740_set_ctrl() 733 ov2740->cur_mode->height + ctrl->val); in ov2740_set_ctrl() 757 const struct ov2740_mode *cur_mode; in ov2740_init_controls() local 768 cur_mode = ov2740->cur_mode; in ov2740_init_controls() 784 vblank_min = cur_mode->vts_min - cur_mode->height; in ov2740_init_controls() 785 vblank_max = cur_mode->vts_max - cur_mode->height; in ov2740_init_controls() 786 vblank_default = cur_mode->vts_def - cur_mode->height; in ov2740_init_controls() 791 h_blank = cur_mode->hts - cur_mode->width; in ov2740_init_controls() 804 exposure_max = cur_mode->vts_def - OV2740_EXPOSURE_MAX_MARGIN; in ov2740_init_controls() [all …]
|
D | ov5675.c | 511 const struct ov5675_mode *cur_mode; member 710 exposure_max = ov5675->cur_mode->height + ctrl->val - in ov5675_set_ctrl() 747 ov5675->cur_mode->height + ctrl->val + in ov5675_set_ctrl() 805 ov5675->cur_mode->vts_min - ov5675->cur_mode->height, in ov5675_init_controls() 806 OV5675_VTS_MAX - ov5675->cur_mode->height, 1, in ov5675_init_controls() 807 ov5675->cur_mode->vts_def - ov5675->cur_mode->height); in ov5675_init_controls() 808 h_blank = to_pixels_per_line(ov5675->cur_mode->hts, in ov5675_init_controls() 809 ov5675->cur_mode->link_freq_index) - ov5675->cur_mode->width; in ov5675_init_controls() 822 exposure_max = (ov5675->cur_mode->vts_def - OV5675_EXPOSURE_MAX_MARGIN); in ov5675_init_controls() 905 link_freq_index = ov5675->cur_mode->link_freq_index; in ov5675_start_streaming() [all …]
|
D | imx319.c | 128 const struct imx319_mode *cur_mode; member 1869 try_fmt->width = imx319->cur_mode->width; in imx319_open() 1870 try_fmt->height = imx319->cur_mode->height; in imx319_open() 1891 max = imx319->cur_mode->height + ctrl->val - 18; in imx319_set_ctrl() 1922 imx319->cur_mode->height + ctrl->val); in imx319_set_ctrl() 2010 imx319_update_pad_format(imx319, imx319->cur_mode, fmt); in imx319_do_get_pad_format() 2061 imx319->cur_mode = mode; in imx319_set_pad_format() 2066 height = imx319->cur_mode->height; in imx319_set_pad_format() 2067 vblank_def = imx319->cur_mode->fll_def - height; in imx319_set_pad_format() 2068 vblank_min = imx319->cur_mode->fll_min - height; in imx319_set_pad_format() [all …]
|
D | imx355.c | 114 const struct imx355_mode *cur_mode; member 1167 try_fmt->width = imx355->cur_mode->width; in imx355_open() 1168 try_fmt->height = imx355->cur_mode->height; in imx355_open() 1189 max = imx355->cur_mode->height + ctrl->val - 10; in imx355_set_ctrl() 1220 imx355->cur_mode->height + ctrl->val); in imx355_set_ctrl() 1308 imx355_update_pad_format(imx355, imx355->cur_mode, fmt); in imx355_do_get_pad_format() 1359 imx355->cur_mode = mode; in imx355_set_pad_format() 1364 height = imx355->cur_mode->height; in imx355_set_pad_format() 1365 vblank_def = imx355->cur_mode->fll_def - height; in imx355_set_pad_format() 1366 vblank_min = imx355->cur_mode->fll_min - height; in imx355_set_pad_format() [all …]
|
D | ov13b10.c | 648 const struct ov13b10_mode *cur_mode; member 899 max = ov13b->cur_mode->height + ctrl->val - 8; in ov13b10_set_ctrl() 931 ov13b->cur_mode->height in ov13b10_set_ctrl() 1009 ov13b10_update_pad_format(ov13b->cur_mode, fmt); in ov13b10_do_get_pad_format() 1058 ov13b->cur_mode = mode; in ov13b10_set_pad_format() 1065 vblank_def = ov13b->cur_mode->vts_def - in ov13b10_set_pad_format() 1066 ov13b->cur_mode->height; in ov13b10_set_pad_format() 1067 vblank_min = ov13b->cur_mode->vts_min - in ov13b10_set_pad_format() 1068 ov13b->cur_mode->height; in ov13b10_set_pad_format() 1071 - ov13b->cur_mode->height, in ov13b10_set_pad_format() [all …]
|
D | ov08d10.c | 534 const struct ov08d10_mode *cur_mode; member 732 cur_vts = ov08d10->cur_mode->vts_def; in ov08d10_set_exposure() 859 exposure_max = ov08d10->cur_mode->height + ctrl->val - in ov08d10_set_ctrl() 942 ov08d10->cur_mode->data_lanes); in ov08d10_init_controls() 948 mode = ov08d10->cur_mode; in ov08d10_init_controls() 1021 link_freq_index = ov08d10->cur_mode->link_freq_index; in ov08d10_start_streaming() 1050 reg_list = &ov08d10->cur_mode->reg_list; in ov08d10_start_streaming() 1151 ov08d10->cur_mode = mode; in ov08d10_set_format() 1155 ov08d10->cur_mode->data_lanes); in ov08d10_set_format() 1168 ov08d10->cur_mode->data_lanes) in ov08d10_set_format() [all …]
|
D | imx334.c | 159 const struct imx334_mode *cur_mode; member 664 lpfr = imx334->vblank + imx334->cur_mode->height; in imx334_update_exp_gain() 716 imx334->vblank + imx334->cur_mode->height); in imx334_set_ctrl() 721 imx334->cur_mode->height - in imx334_set_ctrl() 886 imx334_fill_pad_format(imx334, imx334->cur_mode, fmt); in imx334_get_pad_format() 925 } else if (imx334->cur_mode != mode || imx334->cur_code != fmt->format.code) { in imx334_set_pad_format() 929 imx334->cur_mode = mode; in imx334_set_pad_format() 954 imx334_fill_pad_format(imx334, imx334->cur_mode, &fmt); in imx334_init_state() 993 reg_list = &imx334->cur_mode->reg_list; in imx334_start_streaming() 1248 const struct imx334_mode *mode = imx334->cur_mode; in imx334_init_controls() [all …]
|
D | imx412.c | 149 const struct imx412_mode *cur_mode; member 548 lpfr = imx412->vblank + imx412->cur_mode->height; in imx412_update_exp_gain() 599 imx412->vblank + imx412->cur_mode->height); in imx412_set_ctrl() 604 imx412->cur_mode->height - in imx412_set_ctrl() 726 imx412_fill_pad_format(imx412, imx412->cur_mode, fmt); in imx412_get_pad_format() 763 imx412->cur_mode = mode; in imx412_set_pad_format() 802 reg_list = &imx412->cur_mode->reg_list; in imx412_start_streaming() 1083 const struct imx412_mode *mode = imx412->cur_mode; in imx412_init_controls() 1206 imx412->cur_mode = &supported_mode; in imx412_probe() 1207 imx412->vblank = imx412->cur_mode->vblank; in imx412_probe()
|
D | ov2685.c | 104 const struct ov2685_mode *cur_mode; member 350 ov2685_fill_fmt(ov2685->cur_mode, mbus_fmt); in ov2685_set_fmt() 362 ov2685_fill_fmt(ov2685->cur_mode, mbus_fmt); in ov2685_get_fmt() 403 const struct ov2685_mode *mode = ov2685->cur_mode; in __ov2685_get_pad_crop() 480 ret = ov2685_write_array(ov2685->client, ov2685->cur_mode->reg_list); in __ov2685_power_on() 594 max_expo = ov2685->cur_mode->height + ctrl->val - 4; in ov2685_set_ctrl() 617 ctrl->val + ov2685->cur_mode->height); in ov2685_set_ctrl() 673 mode = ov2685->cur_mode; in ov2685_initialize_controls() 784 ov2685->cur_mode = &supported_modes[0]; in ov2685_probe()
|
D | ov9282.c | 187 const struct ov9282_mode *cur_mode; member 668 ov9282->vblank + ov9282->cur_mode->height); in ov9282_set_ctrl() 673 ov9282->cur_mode->height - in ov9282_set_ctrl() 694 lpfr = ov9282->vblank + ov9282->cur_mode->height; in ov9282_set_ctrl() 705 (ctrl->val + ov9282->cur_mode->width) >> 1); in ov9282_set_ctrl() 820 ov9282_fill_pad_format(ov9282, ov9282->cur_mode, ov9282->code, in ov9282_get_pad_format() 868 ov9282->cur_mode = mode; in ov9282_set_pad_format() 907 return &ov9282->cur_mode->crop; in __ov9282_get_pad_crop() 987 reg_list = &ov9282->cur_mode->reg_list; in ov9282_start_streaming() 1291 const struct ov9282_mode *mode = ov9282->cur_mode; in ov9282_init_controls() [all …]
|
/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_hw_engine_group.c | 163 if (xe_vm_in_fault_mode(q->vm) && group->cur_mode == EXEC_MODE_DMA_FENCE) { in xe_hw_engine_group_add_exec_queue() 293 switch (group->cur_mode) { in switch_mode() 307 group->cur_mode = new_mode; in switch_mode() 330 *previous_mode = group->cur_mode; in xe_hw_engine_group_get_mode() 332 if (new_mode != group->cur_mode) { in xe_hw_engine_group_get_mode() 338 if (new_mode != group->cur_mode) { in xe_hw_engine_group_get_mode()
|
/linux-6.12.1/drivers/gpu/drm/panel/ |
D | panel-novatek-nt35950.c | 60 int cur_mode; member 224 if (mode_data[nt->cur_mode].is_video_mode) in nt35950_set_dispout() 226 if (mode_data[nt->cur_mode].enable_sram) in nt35950_set_dispout() 261 nt->cur_mode = nt35950_get_current_mode(nt); in nt35950_on() 266 nt35950_set_data_compression(&dsi_ctx, nt, mode_data[nt->cur_mode].compression); in nt35950_on() 267 nt35950_set_scale_mode(&dsi_ctx, mode_data[nt->cur_mode].scaler_mode); in nt35950_on() 268 nt35950_set_scaler(&dsi_ctx, mode_data[nt->cur_mode].scaler_on); in nt35950_on()
|