/linux-6.12.1/drivers/platform/x86/dell/ |
D | dell-pc.c | 234 int supported_modes; in thermal_init() local 241 ret = thermal_get_supported_modes(&supported_modes); in thermal_init() 244 if (!supported_modes) in thermal_init() 253 if (supported_modes & DELL_QUIET) in thermal_init() 255 if (supported_modes & DELL_COOL_BOTTOM) in thermal_init() 257 if (supported_modes & DELL_BALANCED) in thermal_init() 259 if (supported_modes & DELL_PERFORMANCE) in thermal_init()
|
/linux-6.12.1/drivers/gpu/drm/ |
D | drm_blend.c | 572 unsigned int supported_modes) in drm_plane_create_blend_mode_property() argument 586 if (WARN_ON((supported_modes & ~valid_mode_mask) || in drm_plane_create_blend_mode_property() 587 ((supported_modes & BIT(DRM_MODE_BLEND_PREMULTI)) == 0))) in drm_plane_create_blend_mode_property() 592 hweight32(supported_modes)); in drm_plane_create_blend_mode_property() 599 if (!(BIT(props[i].type) & supported_modes)) in drm_plane_create_blend_mode_property()
|
/linux-6.12.1/drivers/media/i2c/ |
D | ov5695.c | 642 static const struct ov5695_mode supported_modes[] = { variable 796 for (i = 0; i < ARRAY_SIZE(supported_modes); i++) { in ov5695_find_best_fit() 797 dist = ov5695_get_reso_dist(&supported_modes[i], framefmt); in ov5695_find_best_fit() 804 return &supported_modes[cur_best_fit]; in ov5695_find_best_fit() 877 if (fse->index >= ARRAY_SIZE(supported_modes)) in ov5695_enum_frame_sizes() 883 fse->min_width = supported_modes[fse->index].width; in ov5695_enum_frame_sizes() 884 fse->max_width = supported_modes[fse->index].width; in ov5695_enum_frame_sizes() 885 fse->max_height = supported_modes[fse->index].height; in ov5695_enum_frame_sizes() 886 fse->min_height = supported_modes[fse->index].height; in ov5695_enum_frame_sizes() 1043 const struct ov5695_mode *def_mode = &supported_modes[0]; in ov5695_open() [all …]
|
D | ov2740.c | 537 const struct ov2740_mode *supported_modes; member 774 ov2740->supported_modes->link_freq_index, in ov2740_init_controls() 779 pixel_rate = to_pixel_rate(ov2740->supported_modes->link_freq_index); in ov2740_init_controls() 1021 mode = v4l2_find_nearest_size(ov2740->supported_modes, in ov2740_set_format() 1066 const struct ov2740_mode *supported_modes = ov2740->supported_modes; in ov2740_enum_frame_size() local 1074 fse->min_width = supported_modes[fse->index].width; in ov2740_enum_frame_size() 1076 fse->min_height = supported_modes[fse->index].height; in ov2740_enum_frame_size() 1087 ov2740_update_pad_format(&ov2740->supported_modes[0], in ov2740_init_state() 1180 ov2740->supported_modes = supported_modes_360mhz; in ov2740_check_hwcfg() 1185 ov2740->supported_modes = supported_modes_180mhz; in ov2740_check_hwcfg() [all …]
|
D | ov2685.c | 244 static const struct ov2685_mode supported_modes[] = { variable 371 if (code->index >= ARRAY_SIZE(supported_modes)) in ov2685_enum_mbus_code() 385 if (index >= ARRAY_SIZE(supported_modes)) in ov2685_enum_frame_sizes() 390 fse->min_width = supported_modes[index].width; in ov2685_enum_frame_sizes() 391 fse->max_width = supported_modes[index].width; in ov2685_enum_frame_sizes() 392 fse->max_height = supported_modes[index].height; in ov2685_enum_frame_sizes() 393 fse->min_height = supported_modes[index].height; in ov2685_enum_frame_sizes() 552 ov2685_fill_fmt(&supported_modes[0], try_fmt); in ov2685_open() 784 ov2685->cur_mode = &supported_modes[0]; in ov2685_probe()
|
D | ov9734.c | 308 static const struct ov9734_mode supported_modes[] = { variable 692 mode = v4l2_find_nearest_size(supported_modes, in ov9734_set_format() 693 ARRAY_SIZE(supported_modes), width, in ov9734_set_format() 759 if (fse->index >= ARRAY_SIZE(supported_modes)) in ov9734_enum_frame_size() 765 fse->min_width = supported_modes[fse->index].width; in ov9734_enum_frame_size() 767 fse->min_height = supported_modes[fse->index].height; in ov9734_enum_frame_size() 778 ov9734_update_pad_format(&supported_modes[0], in ov9734_open() 924 ov9734->cur_mode = &supported_modes[0]; in ov9734_probe()
|
D | imx208.c | 245 static const struct imx208_mode supported_modes[] = { variable 401 try_fmt->width = supported_modes[0].width; in imx208_open() 402 try_fmt->height = supported_modes[0].height; in imx208_open() 522 if (fse->index >= ARRAY_SIZE(supported_modes)) in imx208_enum_frame_size() 528 fse->min_width = supported_modes[fse->index].width; in imx208_enum_frame_size() 530 fse->min_height = supported_modes[fse->index].height; in imx208_enum_frame_size() 588 mode = v4l2_find_nearest_size(supported_modes, in imx208_set_pad_format() 589 ARRAY_SIZE(supported_modes), width, height, in imx208_set_pad_format() 971 imx208->cur_mode = &supported_modes[0]; in imx208_probe()
|
D | imx415.c | 538 static const struct imx415_mode supported_modes[] = { variable 787 u64 pixel_rate = supported_modes[sensor->cur_mode].pixel_rate; in imx415_ctrls_init() 788 u64 lane_rate = supported_modes[sensor->cur_mode].lane_rate; in imx415_ctrls_init() 827 hblank = supported_modes[sensor->cur_mode].hmax_pix - in imx415_ctrls_init() 878 if (mode >= ARRAY_SIZE(supported_modes)) { in imx415_set_mode() 884 supported_modes[mode].reg_list.regs, in imx415_set_mode() 885 supported_modes[mode].reg_list.num_of_regs, in imx415_set_mode() 1304 for (j = 0; j < ARRAY_SIZE(supported_modes); ++j) { in imx415_parse_hw_config() 1305 if (sensor->num_data_lanes != supported_modes[j].lanes) in imx415_parse_hw_config() 1308 supported_modes[j].lane_rate) in imx415_parse_hw_config() [all …]
|
D | isl7998x.c | 464 static const struct isl7998x_mode supported_modes[] = { variable 484 &supported_modes[1] }, 487 &supported_modes[1] }, 490 &supported_modes[0] }, 493 &supported_modes[0] }, 496 &supported_modes[1] }, 499 &supported_modes[1] }, 502 &supported_modes[0] }, 505 &supported_modes[0] }, 508 &supported_modes[1] }, [all …]
|
D | ov01a10.c | 262 static const struct ov01a10_mode supported_modes[] = { variable 703 mode = v4l2_find_nearest_size(supported_modes, in ov01a10_set_format() 704 ARRAY_SIZE(supported_modes), width, in ov01a10_set_format() 764 if (fse->index >= ARRAY_SIZE(supported_modes) || in ov01a10_enum_frame_size() 768 fse->min_width = supported_modes[fse->index].width; in ov01a10_enum_frame_size() 770 fse->min_height = supported_modes[fse->index].height; in ov01a10_enum_frame_size() 886 ov01a10->cur_mode = &supported_modes[0]; in ov01a10_probe()
|
D | ov4689.c | 259 static const struct ov4689_mode supported_modes[] = { variable 360 if (fse->index >= ARRAY_SIZE(supported_modes)) in ov4689_enum_frame_sizes() 366 fse->min_width = supported_modes[fse->index].width; in ov4689_enum_frame_sizes() 367 fse->max_width = supported_modes[fse->index].width; in ov4689_enum_frame_sizes() 368 fse->max_height = supported_modes[fse->index].height; in ov4689_enum_frame_sizes() 369 fse->min_height = supported_modes[fse->index].height; in ov4689_enum_frame_sizes() 574 ov4689_fill_fmt(&supported_modes[OV4689_MODE_2688_1520], fmt); in ov4689_init_state() 910 ov4689->cur_mode = &supported_modes[OV4689_MODE_2688_1520]; in ov4689_probe()
|
D | og01a1b.c | 408 static const struct og01a1b_mode supported_modes[] = { variable 773 mode = v4l2_find_nearest_size(supported_modes, in og01a1b_set_format() 774 ARRAY_SIZE(supported_modes), width, in og01a1b_set_format() 840 if (fse->index >= ARRAY_SIZE(supported_modes)) in og01a1b_enum_frame_size() 846 fse->min_width = supported_modes[fse->index].width; in og01a1b_enum_frame_size() 848 fse->min_height = supported_modes[fse->index].height; in og01a1b_enum_frame_size() 859 og01a1b_update_pad_format(&supported_modes[0], in og01a1b_open() 1153 og01a1b->cur_mode = &supported_modes[0]; in og01a1b_probe()
|
D | hi847.c | 2141 static const struct hi847_mode supported_modes[] = { variable 2650 mode = v4l2_find_nearest_size(supported_modes, in hi847_set_format() 2651 ARRAY_SIZE(supported_modes), width, in hi847_set_format() 2719 if (fse->index >= ARRAY_SIZE(supported_modes)) in hi847_enum_frame_size() 2725 fse->min_width = supported_modes[fse->index].width; in hi847_enum_frame_size() 2727 fse->min_height = supported_modes[fse->index].height; in hi847_enum_frame_size() 2738 hi847_assign_pad_format(&supported_modes[0], in hi847_open() 2893 hi847->cur_mode = &supported_modes[0]; in hi847_probe()
|
D | gc2145.c | 486 static const struct gc2145_mode supported_modes[] = { variable 701 gc2145_update_pad_format(gc2145, &supported_modes[0], format, in gc2145_init_state() 707 *crop = supported_modes[0].crop; in gc2145_init_state() 761 if (fse->index >= ARRAY_SIZE(supported_modes)) in gc2145_enum_frame_size() 769 fse->min_width = supported_modes[fse->index].width; in gc2145_enum_frame_size() 771 fse->min_height = supported_modes[fse->index].height; in gc2145_enum_frame_size() 789 mode = v4l2_find_nearest_size(supported_modes, in gc2145_set_pad_format() 790 ARRAY_SIZE(supported_modes), in gc2145_set_pad_format() 796 mode == &supported_modes[GC2145_MODE_640X480]) in gc2145_set_pad_format() 797 mode = &supported_modes[GC2145_MODE_1280X720]; in gc2145_set_pad_format() [all …]
|
D | imx219.c | 288 static const struct imx219_mode supported_modes[] = { variable 467 const struct imx219_mode *mode = &supported_modes[0]; in imx219_init_controls() 796 if (fse->index >= ARRAY_SIZE(supported_modes)) in imx219_enum_frame_size() 803 fse->min_width = supported_modes[fse->index].width; in imx219_enum_frame_size() 805 fse->min_height = supported_modes[fse->index].height; in imx219_enum_frame_size() 821 mode = v4l2_find_nearest_size(supported_modes, in imx219_set_pad_format() 822 ARRAY_SIZE(supported_modes), in imx219_set_pad_format() 915 .width = supported_modes[0].width, in imx219_init_state() 916 .height = supported_modes[0].height, in imx219_init_state()
|
D | ov13858.c | 983 static const struct ov13858_mode supported_modes[] = { variable 1291 if (fse->index >= ARRAY_SIZE(supported_modes)) in ov13858_enum_frame_size() 1297 fse->min_width = supported_modes[fse->index].width; in ov13858_enum_frame_size() 1299 fse->min_height = supported_modes[fse->index].height; in ov13858_enum_frame_size() 1364 mode = v4l2_find_nearest_size(supported_modes, in ov13858_set_pad_format() 1365 ARRAY_SIZE(supported_modes), in ov13858_set_pad_format() 1685 ov13858->cur_mode = &supported_modes[0]; in ov13858_probe()
|
D | ov02a10.c | 258 static const struct ov02a10_mode supported_modes[] = { variable 370 if (fse->index >= ARRAY_SIZE(supported_modes)) in ov02a10_enum_frame_sizes() 373 fse->min_width = supported_modes[fse->index].width; in ov02a10_enum_frame_sizes() 374 fse->max_width = supported_modes[fse->index].width; in ov02a10_enum_frame_sizes() 375 fse->max_height = supported_modes[fse->index].height; in ov02a10_enum_frame_sizes() 376 fse->min_height = supported_modes[fse->index].height; in ov02a10_enum_frame_sizes() 928 ov02a10->cur_mode = &supported_modes[0]; in ov02a10_probe()
|
D | ov08x40.c | 1249 static const struct ov08x40_mode supported_modes[] = { variable 1437 const struct ov08x40_mode *default_mode = &supported_modes[0]; in ov08x40_open() 1665 if (fse->index >= ARRAY_SIZE(supported_modes)) in ov08x40_enum_frame_size() 1671 fse->min_width = supported_modes[fse->index].width; in ov08x40_enum_frame_size() 1673 fse->min_height = supported_modes[fse->index].height; in ov08x40_enum_frame_size() 1739 mode = v4l2_find_nearest_size(supported_modes, in ov08x40_set_pad_format() 1740 ARRAY_SIZE(supported_modes), in ov08x40_set_pad_format() 2153 ov08x->cur_mode = &supported_modes[0]; in ov08x40_probe()
|
D | ov5675.c | 468 static const struct ov5675_mode supported_modes[] = { variable 1031 mode = v4l2_find_nearest_size(supported_modes, in ov5675_set_format() 1032 ARRAY_SIZE(supported_modes), width, in ov5675_set_format() 1123 if (fse->index >= ARRAY_SIZE(supported_modes)) in ov5675_enum_frame_size() 1129 fse->min_width = supported_modes[fse->index].width; in ov5675_enum_frame_size() 1131 fse->min_height = supported_modes[fse->index].height; in ov5675_enum_frame_size() 1142 ov5675_update_pad_format(&supported_modes[0], in ov5675_open() 1322 ov5675->cur_mode = &supported_modes[0]; in ov5675_probe()
|
D | hi556.c | 552 static const struct hi556_mode supported_modes[] = { variable 1078 mode = v4l2_find_nearest_size(supported_modes, in hi556_set_format() 1079 ARRAY_SIZE(supported_modes), width, in hi556_set_format() 1146 if (fse->index >= ARRAY_SIZE(supported_modes)) in hi556_enum_frame_size() 1152 fse->min_width = supported_modes[fse->index].width; in hi556_enum_frame_size() 1154 fse->min_height = supported_modes[fse->index].height; in hi556_enum_frame_size() 1166 hi556_assign_pad_format(&supported_modes[0], in hi556_open() 1380 hi556->cur_mode = &supported_modes[0]; in hi556_probe()
|
D | imx319.c | 1664 static const struct imx319_mode supported_modes[] = { variable 1972 if (fse->index >= ARRAY_SIZE(supported_modes)) in imx319_enum_frame_size() 1982 fse->min_width = supported_modes[fse->index].width; in imx319_enum_frame_size() 1984 fse->min_height = supported_modes[fse->index].height; in imx319_enum_frame_size() 2052 mode = v4l2_find_nearest_size(supported_modes, in imx319_set_pad_format() 2053 ARRAY_SIZE(supported_modes), in imx319_set_pad_format() 2418 imx319->cur_mode = &supported_modes[0]; in imx319_probe()
|
D | imx355.c | 889 static const struct imx355_mode supported_modes[] = { variable 1270 if (fse->index >= ARRAY_SIZE(supported_modes)) in imx355_enum_frame_size() 1280 fse->min_width = supported_modes[fse->index].width; in imx355_enum_frame_size() 1282 fse->min_height = supported_modes[fse->index].height; in imx355_enum_frame_size() 1350 mode = v4l2_find_nearest_size(supported_modes, in imx355_set_pad_format() 1351 ARRAY_SIZE(supported_modes), in imx355_set_pad_format() 1712 imx355->cur_mode = &supported_modes[0]; in imx355_probe()
|
D | imx334.c | 481 static const struct imx334_mode supported_modes[] = { variable 827 if (fsize->index >= ARRAY_SIZE(supported_modes)) in imx334_enum_frame_size() 835 fsize->min_width = supported_modes[fsize->index].width; in imx334_enum_frame_size() 837 fsize->min_height = supported_modes[fsize->index].height; in imx334_enum_frame_size() 912 mode = v4l2_find_nearest_size(supported_modes, in imx334_set_pad_format() 913 ARRAY_SIZE(supported_modes), in imx334_set_pad_format() 1372 imx334->cur_mode = &supported_modes[__ffs(imx334->link_freq_bitmap)]; in imx334_probe()
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep_vf/ |
D | octep_vf_ethtool.c | 220 u32 advertised_modes, supported_modes; in octep_vf_get_link_ksettings() local 228 supported_modes = oct->link_info.supported_modes; in octep_vf_get_link_ksettings() 231 OCTEP_VF_SET_ETHTOOL_LINK_MODES_BITMAP(supported_modes, cmd, supported); in octep_vf_get_link_ksettings()
|
/linux-6.12.1/drivers/video/fbdev/omap2/omapfb/dss/ |
D | overlay.c | 79 ovl->supported_modes = in dss_init_overlays() 119 if ((ovl->supported_modes & info->color_mode) == 0) { in dss_ovl_simple_check()
|