| /OK3568_Linux_fs/kernel/drivers/firmware/efi/libstub/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A D | gc2093.c | 146 const struct gc2093_mode *cur_mode; member 558 const struct gc2093_mode *mode = gc2093->cur_mode; in gc2093_modify_fps_info() 576 max = gc2093->cur_mode->height + ctrl->val - 4; in gc2093_set_ctrl() 588 if (gc2093->cur_mode->hdr_mode != NO_HDR) in gc2093_set_ctrl() 597 if (gc2093->cur_mode->hdr_mode != NO_HDR) in gc2093_set_ctrl() 603 vts = gc2093->cur_mode->height + ctrl->val; in gc2093_set_ctrl() 656 mode = gc2093->cur_mode; in gc2093_initialize_controls() 910 hdr_cfg->hdr_mode = gc2093->cur_mode->hdr_mode; in gc2093_ioctl() 914 w = gc2093->cur_mode->width; in gc2093_ioctl() 915 h = gc2093->cur_mode->height; in gc2093_ioctl() [all …]
|
| H A D | imx577.c | 208 const struct imx577_mode *cur_mode; member 1167 imx577->cur_mode = mode; in imx577_set_fmt() 1168 imx577->cur_vts = imx577->cur_mode->vts_def; in imx577_set_fmt() 1194 const struct imx577_mode *mode = imx577->cur_mode; in imx577_get_fmt() 1227 code->code = imx577->cur_mode->bus_fmt; in imx577_enum_mbus_code() 1269 const struct imx577_mode *mode = imx577->cur_mode; in imx577_g_frame_interval() 1329 if (imx577->cur_mode->hdr_mode == HDR_X2) { in imx577_set_hdrae() 1435 ch_info->vc = imx577->cur_mode->vc[ch_info->index]; in imx577_get_channel_info() 1436 ch_info->width = imx577->cur_mode->width; in imx577_get_channel_info() 1437 ch_info->height = imx577->cur_mode->height; in imx577_get_channel_info() [all …]
|
| H A D | sc850sl.c | 171 const struct sc850sl_mode *cur_mode; member 538 sc850sl->cur_mode = mode; in sc850sl_change_mode() 539 sc850sl->cur_vts = sc850sl->cur_mode->vts_def; in sc850sl_change_mode() 594 const struct sc850sl_mode *mode = sc850sl->cur_mode; in sc850sl_get_fmt() 627 code->code = sc850sl->cur_mode->bus_fmt; in sc850sl_enum_mbus_code() 672 const struct sc850sl_mode *mode = sc850sl->cur_mode; in sc850sl_g_frame_interval() 686 const struct sc850sl_mode *mode = sc850sl->cur_mode; in sc850sl_g_mbus_config() 780 ch_info->vc = sc850sl->cur_mode->vc[ch_info->index]; in sc850sl_get_channel_info() 781 ch_info->width = sc850sl->cur_mode->width; in sc850sl_get_channel_info() 782 ch_info->height = sc850sl->cur_mode->height; in sc850sl_get_channel_info() [all …]
|
| H A D | imx415.c | 226 const struct imx415_mode *cur_mode; member 1095 imx415->cur_mode = mode; in imx415_change_mode() 1096 imx415->cur_vts = imx415->cur_mode->vts_def; in imx415_change_mode() 1154 const struct imx415_mode *mode = imx415->cur_mode; in imx415_get_fmt() 1217 const struct imx415_mode *mode = imx415->cur_mode; in imx415_g_frame_interval() 1228 const struct imx415_mode *mode = imx415->cur_mode; in imx415_g_mbus_config() 1343 if (imx415->cur_mode->height == 2192) in imx415_set_hdrae_3frame() 1356 if (imx415->cur_mode->height == 2192) in imx415_set_hdrae_3frame() 1396 if (imx415->cur_mode->height == 2192) in imx415_set_hdrae_3frame() 1538 if (imx415->cur_mode->hdr_mode == HDR_X2) { in imx415_set_hdrae() [all …]
|
| H A D | sc4238.c | 165 const struct sc4238_mode *cur_mode; member 1565 sc4238->cur_mode = mode; in sc4238_set_fmt() 1591 const struct sc4238_mode *mode = sc4238->cur_mode; in sc4238_get_fmt() 1624 code->code = sc4238->cur_mode->bus_fmt; in sc4238_enum_mbus_code() 1670 const struct sc4238_mode *mode = sc4238->cur_mode; in sc4238_g_frame_interval() 1684 const struct sc4238_mode *mode = sc4238->cur_mode; in sc4238_g_mbus_config() 1800 if (sc4238->cur_mode->hdr_mode == HDR_X2) { in sc4238_set_hdrae() 1887 ch_info->vc = sc4238->cur_mode->vc[ch_info->index]; in sc4238_get_channel_info() 1888 ch_info->width = sc4238->cur_mode->width; in sc4238_get_channel_info() 1889 ch_info->height = sc4238->cur_mode->height; in sc4238_get_channel_info() [all …]
|
| H A D | sc500ai.c | 171 const struct sc500ai_mode *cur_mode; member 580 sc500ai->cur_mode = mode; in sc500ai_set_fmt() 607 const struct sc500ai_mode *mode = sc500ai->cur_mode; in sc500ai_get_fmt() 641 code->code = sc500ai->cur_mode->bus_fmt; in sc500ai_enum_mbus_code() 668 const struct sc500ai_mode *mode = sc500ai->cur_mode; in sc500ai_g_frame_interval() 682 const struct sc500ai_mode *mode = sc500ai->cur_mode; in sc500ai_g_mbus_config() 825 if (sc500ai->cur_mode->hdr_mode == HDR_X2) { in sc500ai_set_hdrae() 915 ch_info->vc = sc500ai->cur_mode->vc[ch_info->index]; in sc500ai_get_channel_info() 916 ch_info->width = sc500ai->cur_mode->width; in sc500ai_get_channel_info() 917 ch_info->height = sc500ai->cur_mode->height; in sc500ai_get_channel_info() [all …]
|
| H A D | sc200ai.c | 172 const struct sc200ai_mode *cur_mode; member 930 if (sc200ai->cur_mode->hdr_mode == HDR_X2) { in sc200ai_set_hdrae() 1020 sc200ai->cur_mode = mode; in sc200ai_set_fmt() 1042 const struct sc200ai_mode *mode = sc200ai->cur_mode; in sc200ai_get_fmt() 1076 code->code = sc200ai->cur_mode->bus_fmt; in sc200ai_enum_mbus_code() 1120 const struct sc200ai_mode *mode = sc200ai->cur_mode; in sc200ai_g_frame_interval() 1134 const struct sc200ai_mode *mode = sc200ai->cur_mode; in sc200ai_g_mbus_config() 1164 ch_info->vc = sc200ai->cur_mode->vc[ch_info->index]; in sc200ai_get_channel_info() 1165 ch_info->width = sc200ai->cur_mode->width; in sc200ai_get_channel_info() 1166 ch_info->height = sc200ai->cur_mode->height; in sc200ai_get_channel_info() [all …]
|
| H A D | sc3336.c | 159 const struct sc3336_mode *cur_mode; member 714 sc3336->cur_mode = mode; in sc3336_set_fmt() 742 const struct sc3336_mode *mode = sc3336->cur_mode; in sc3336_get_fmt() 776 code->code = sc3336->cur_mode->bus_fmt; in sc3336_enum_mbus_code() 820 const struct sc3336_mode *mode = sc3336->cur_mode; in sc3336_g_frame_interval() 834 const struct sc3336_mode *mode = sc3336->cur_mode; in sc3336_g_mbus_config() 876 hdr->hdr_mode = sc3336->cur_mode->hdr_mode; in sc3336_ioctl() 880 w = sc3336->cur_mode->width; in sc3336_ioctl() 881 h = sc3336->cur_mode->height; in sc3336_ioctl() 886 sc3336->cur_mode = &supported_modes[i]; in sc3336_ioctl() [all …]
|
| H A D | imx492.c | 164 const struct imx492_mode *cur_mode; member 847 imx492->cur_mode = mode; in imx492_set_fmt() 855 imx492->cur_vts = imx492->cur_mode->vts_def; in imx492_set_fmt() 872 const struct imx492_mode *mode = imx492->cur_mode; in imx492_get_fmt() 905 code->code = imx492->cur_mode->bus_fmt; in imx492_enum_mbus_code() 934 const struct imx492_mode *mode = imx492->cur_mode; in imx492_g_frame_interval() 945 const struct imx492_mode *mode = imx492->cur_mode; in imx492_g_mbus_config() 987 ch_info->vc = imx492->cur_mode->vc[ch_info->index]; in imx492_get_channel_info() 988 ch_info->width = imx492->cur_mode->width; in imx492_get_channel_info() 989 ch_info->height = imx492->cur_mode->height; in imx492_get_channel_info() [all …]
|
| H A D | imx586.c | 187 const struct imx586_mode *cur_mode; member 1019 imx586->cur_mode = mode; in imx586_set_fmt() 1048 const struct imx586_mode *mode = imx586->cur_mode; in imx586_get_fmt() 1090 code->code = imx586->cur_mode->bus_fmt; in imx586_enum_mbus_code() 1134 const struct imx586_mode *mode = imx586->cur_mode; in imx586_g_frame_interval() 1145 const struct imx586_mode *mode = imx586->cur_mode; in imx586_g_mbus_config() 1261 const struct imx586_mode *mode = imx586->cur_mode; in imx586_get_channel_info() 1274 ch_info->vc = imx586->cur_mode->vc[ch_info->index]; in imx586_get_channel_info() 1275 ch_info->width = imx586->cur_mode->width; in imx586_get_channel_info() 1276 ch_info->height = imx586->cur_mode->height; in imx586_get_channel_info() [all …]
|
| H A D | s5kjn1.c | 168 const struct s5kjn1_mode *cur_mode; member 1090 s5kjn1->cur_mode = mode; in s5kjn1_set_fmt() 1128 const struct s5kjn1_mode *mode = s5kjn1->cur_mode; in s5kjn1_get_fmt() 1157 code->code = s5kjn1->cur_mode->bus_fmt; in s5kjn1_enum_mbus_code() 1200 const struct s5kjn1_mode *mode = s5kjn1->cur_mode; in s5kjn1_g_frame_interval() 1319 const struct s5kjn1_mode *mode = s5kjn1->cur_mode; in s5kjn1_get_channel_info() 1332 ch_info->vc = s5kjn1->cur_mode->vc[ch_info->index]; in s5kjn1_get_channel_info() 1333 ch_info->width = s5kjn1->cur_mode->width; in s5kjn1_get_channel_info() 1334 ch_info->height = s5kjn1->cur_mode->height; in s5kjn1_get_channel_info() 1335 ch_info->bus_fmt = s5kjn1->cur_mode->bus_fmt; in s5kjn1_get_channel_info() [all …]
|
| H A D | imx347.c | 193 const struct imx347_mode *cur_mode; member 899 imx347->cur_mode = mode; in imx347_set_fmt() 907 imx347->cur_vts = imx347->cur_mode->vts_def; in imx347_set_fmt() 952 const struct imx347_mode *mode = imx347->cur_mode; in imx347_get_fmt() 985 code->code = imx347->cur_mode->bus_fmt; in imx347_enum_mbus_code() 1014 const struct imx347_mode *mode = imx347->cur_mode; in imx347_g_frame_interval() 1025 const struct imx347_mode *mode = imx347->cur_mode; in imx347_g_mbus_config() 1094 if (imx347->cur_mode->hdr_mode == HDR_X2) { in imx347_set_hdrae() 1315 hdr->hdr_mode = imx347->cur_mode->hdr_mode; in imx347_ioctl() 1319 w = imx347->cur_mode->width; in imx347_ioctl() [all …]
|
| H A D | sc301iot.c | 165 const struct SC301IOT_mode *cur_mode; member 1083 if (SC301IOT->cur_mode->hdr_mode == HDR_X2) { in SC301IOT_set_hdrae() 1177 SC301IOT->cur_mode = mode; in SC301IOT_set_fmt() 1199 const struct SC301IOT_mode *mode = SC301IOT->cur_mode; in SC301IOT_get_fmt() 1232 code->code = SC301IOT->cur_mode->bus_fmt; in SC301IOT_enum_mbus_code() 1276 const struct SC301IOT_mode *mode = SC301IOT->cur_mode; in SC301IOT_g_frame_interval() 1290 const struct SC301IOT_mode *mode = SC301IOT->cur_mode; in SC301IOT_g_mbus_config() 1321 ch_info->vc = SC301IOT->cur_mode->vc[ch_info->index]; in SC301IOT_get_channel_info() 1322 ch_info->width = SC301IOT->cur_mode->width; in SC301IOT_get_channel_info() 1323 ch_info->height = SC301IOT->cur_mode->height; in SC301IOT_get_channel_info() [all …]
|
| H A D | sc2336.c | 152 const struct sc2336_mode *cur_mode; member 556 sc2336->cur_mode = mode; in sc2336_set_fmt() 583 const struct sc2336_mode *mode = sc2336->cur_mode; in sc2336_get_fmt() 617 code->code = sc2336->cur_mode->bus_fmt; in sc2336_enum_mbus_code() 661 const struct sc2336_mode *mode = sc2336->cur_mode; in sc2336_g_frame_interval() 673 const struct sc2336_mode *mode = sc2336->cur_mode; in sc2336_g_mbus_config() 715 hdr->hdr_mode = sc2336->cur_mode->hdr_mode; in sc2336_ioctl() 719 w = sc2336->cur_mode->width; in sc2336_ioctl() 720 h = sc2336->cur_mode->height; in sc2336_ioctl() 725 sc2336->cur_mode = &supported_modes[i]; in sc2336_ioctl() [all …]
|
| H A D | imx378.c | 175 const struct imx378_mode *cur_mode; member 1964 imx378->cur_mode = mode; in imx378_set_fmt() 1973 if (imx378->cur_mode->bus_fmt == MEDIA_BUS_FMT_SRGGB10_1X10) { in imx378_set_fmt() 1976 } else if (imx378->cur_mode->bus_fmt == in imx378_set_fmt() 1998 const struct imx378_mode *mode = imx378->cur_mode; in imx378_get_fmt() 2040 code->code = imx378->cur_mode->bus_fmt; in imx378_enum_mbus_code() 2084 const struct imx378_mode *mode = imx378->cur_mode; in imx378_g_frame_interval() 2095 const struct imx378_mode *mode = imx378->cur_mode; in imx378_g_mbus_config() 2142 hdr->hdr_mode = imx378->cur_mode->hdr_mode; in imx378_ioctl() 2146 w = imx378->cur_mode->width; in imx378_ioctl() [all …]
|
| H A D | ov2740.c | 331 const struct ov2740_mode *cur_mode; member 468 exposure_max = ov2740->cur_mode->height + ctrl->val - in ov2740_set_ctrl() 498 ov2740->cur_mode->height + ctrl->val); in ov2740_set_ctrl() 522 const struct ov2740_mode *cur_mode; in ov2740_init_controls() local 534 cur_mode = ov2740->cur_mode; in ov2740_init_controls() 549 vblank_min = cur_mode->vts_min - cur_mode->height; in ov2740_init_controls() 550 vblank_max = OV2740_VTS_MAX - cur_mode->height; in ov2740_init_controls() 551 vblank_default = cur_mode->vts_def - cur_mode->height; in ov2740_init_controls() 556 h_blank = to_pixels_per_line(cur_mode->hts, cur_mode->link_freq_index); in ov2740_init_controls() 557 h_blank -= cur_mode->width; in ov2740_init_controls() [all …]
|
| H A D | sc4210.c | 185 const struct sc4210_mode *cur_mode; member 1557 sc4210->cur_mode = mode; in sc4210_set_fmt() 1584 const struct sc4210_mode *mode = sc4210->cur_mode; in sc4210_get_fmt() 1618 code->code = sc4210->cur_mode->bus_fmt; in sc4210_enum_mbus_code() 1647 const struct sc4210_mode *mode = sc4210->cur_mode; in sc4210_g_frame_interval() 1661 const struct sc4210_mode *mode = sc4210->cur_mode; in sc4210_g_mbus_config() 1781 if (sc4210->cur_mode->hdr_mode == HDR_X2) { in sc4210_set_hdrae() 1860 ch_info->vc = sc4210->cur_mode->vc[ch_info->index]; in sc4210_get_channel_info() 1861 ch_info->width = sc4210->cur_mode->width; in sc4210_get_channel_info() 1862 ch_info->height = sc4210->cur_mode->height; in sc4210_get_channel_info() [all …]
|
| H A D | ov50c40.c | 182 const struct ov50c40_mode *cur_mode; member 6038 ov50c40->cur_mode = mode; in ov50c40_set_fmt() 6066 const struct ov50c40_mode *mode = ov50c40->cur_mode; in ov50c40_get_fmt() 6095 code->code = ov50c40->cur_mode->bus_fmt; in ov50c40_enum_mbus_code() 6138 const struct ov50c40_mode *mode = ov50c40->cur_mode; in ov50c40_g_frame_interval() 6257 const struct ov50c40_mode *mode = ov50c40->cur_mode; in ov50c40_get_channel_info() 6270 ch_info->vc = ov50c40->cur_mode->vc[ch_info->index]; in ov50c40_get_channel_info() 6271 ch_info->width = ov50c40->cur_mode->width; in ov50c40_get_channel_info() 6272 ch_info->height = ov50c40->cur_mode->height; in ov50c40_get_channel_info() 6273 ch_info->bus_fmt = ov50c40->cur_mode->bus_fmt; in ov50c40_get_channel_info() [all …]
|
| H A D | sc530ai.c | 189 const struct sc530ai_mode *cur_mode; member 860 sc530ai->cur_mode = mode; in sc530ai_set_fmt() 888 const struct sc530ai_mode *mode = sc530ai->cur_mode; in sc530ai_get_fmt() 922 code->code = sc530ai->cur_mode->bus_fmt; in sc530ai_enum_mbus_code() 951 const struct sc530ai_mode *mode = sc530ai->cur_mode; in sc530ai_g_frame_interval() 965 const struct sc530ai_mode *mode = sc530ai->cur_mode; in sc530ai_g_mbus_config() 1065 if (sc530ai->cur_mode->hdr_mode == HDR_X2) { in sc530ai_set_hdrae() 1136 ch_info->vc = sc530ai->cur_mode->vc[ch_info->index]; in sc530ai_get_channel_info() 1137 ch_info->width = sc530ai->cur_mode->width; in sc530ai_get_channel_info() 1138 ch_info->height = sc530ai->cur_mode->height; in sc530ai_get_channel_info() [all …]
|
| H A D | gc4023.c | 143 const struct gc4023_mode *cur_mode; member 533 gc4023->cur_mode = mode; in gc4023_set_fmt() 561 const struct gc4023_mode *mode = gc4023->cur_mode; in gc4023_get_fmt() 590 code->code = gc4023->cur_mode->bus_fmt; in gc4023_enum_mbus_code() 721 const struct gc4023_mode *mode = gc4023->cur_mode; in gc4023_g_frame_interval() 732 const struct gc4023_mode *mode = gc4023->cur_mode; in gc4023_g_mbus_config() 765 ch_info->vc = gc4023->cur_mode->vc[ch_info->index]; in gc4023_get_channel_info() 766 ch_info->width = gc4023->cur_mode->width; in gc4023_get_channel_info() 767 ch_info->height = gc4023->cur_mode->height; in gc4023_get_channel_info() 768 ch_info->bus_fmt = gc4023->cur_mode->bus_fmt; in gc4023_get_channel_info() [all …]
|
| H A D | gc3003.c | 143 const struct gc3003_mode *cur_mode; member 920 gc3003->cur_mode = mode; in gc3003_set_fmt() 949 const struct gc3003_mode *mode = gc3003->cur_mode; in gc3003_get_fmt() 978 code->code = gc3003->cur_mode->bus_fmt; in gc3003_enum_mbus_code() 1056 const struct gc3003_mode *mode = gc3003->cur_mode; in gc3003_g_frame_interval() 1067 const struct gc3003_mode *mode = gc3003->cur_mode; in gc3003_g_mbus_config() 1095 ch_info->vc = gc3003->cur_mode->vc[ch_info->index]; in gc3003_get_channel_info() 1096 ch_info->width = gc3003->cur_mode->width; in gc3003_get_channel_info() 1097 ch_info->height = gc3003->cur_mode->height; in gc3003_get_channel_info() 1098 ch_info->bus_fmt = gc3003->cur_mode->bus_fmt; in gc3003_get_channel_info() [all …]
|
| H A D | ov4688.c | 149 const struct ov4688_mode *cur_mode; member 883 ov4688->cur_mode = mode; in ov4688_set_fmt() 903 const struct ov4688_mode *mode = ov4688->cur_mode; in ov4688_get_fmt() 937 code->code = ov4688->cur_mode->bus_fmt; in ov4688_enum_mbus_code() 977 const struct ov4688_mode *mode = ov4688->cur_mode; in ov4688_g_frame_interval() 988 const struct ov4688_mode *mode = ov4688->cur_mode; in ov4688_g_mbus_config() 1029 hdr->hdr_mode = ov4688->cur_mode->hdr_mode; in ov4688_ioctl() 1033 w = ov4688->cur_mode->width; in ov4688_ioctl() 1034 h = ov4688->cur_mode->height; in ov4688_ioctl() 1039 ov4688->cur_mode = &supported_modes[i]; in ov4688_ioctl() [all …]
|
| H A D | sc5336.c | 148 const struct sc5336_mode *cur_mode; member 579 sc5336->cur_mode = mode; in sc5336_set_fmt() 600 const struct sc5336_mode *mode = sc5336->cur_mode; in sc5336_get_fmt() 634 code->code = sc5336->cur_mode->bus_fmt; in sc5336_enum_mbus_code() 678 const struct sc5336_mode *mode = sc5336->cur_mode; in sc5336_g_frame_interval() 693 const struct sc5336_mode *mode = sc5336->cur_mode; in sc5336_g_mbus_config() 734 hdr->hdr_mode = sc5336->cur_mode->hdr_mode; in sc5336_ioctl() 738 w = sc5336->cur_mode->width; in sc5336_ioctl() 739 h = sc5336->cur_mode->height; in sc5336_ioctl() 744 sc5336->cur_mode = &supported_modes[i]; in sc5336_ioctl() [all …]
|
| H A D | sc230ai.c | 174 const struct sc230ai_mode *cur_mode; member 785 sc230ai->cur_mode = mode; in sc230ai_set_fmt() 811 const struct sc230ai_mode *mode = sc230ai->cur_mode; in sc230ai_get_fmt() 845 code->code = sc230ai->cur_mode->bus_fmt; in sc230ai_enum_mbus_code() 889 const struct sc230ai_mode *mode = sc230ai->cur_mode; in sc230ai_g_frame_interval() 903 const struct sc230ai_mode *mode = sc230ai->cur_mode; in sc230ai_g_mbus_config() 944 hdr->hdr_mode = sc230ai->cur_mode->hdr_mode; in sc230ai_ioctl() 948 w = sc230ai->cur_mode->width; in sc230ai_ioctl() 949 h = sc230ai->cur_mode->height; in sc230ai_ioctl() 954 sc230ai->cur_mode = &supported_modes[i]; in sc230ai_ioctl() [all …]
|