/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_fourcc.c | 4 * DRM core format related functions 38 * Computes a drm fourcc pixel format code for the given @bpp/@depth values. 114 * Computes a drm fourcc pixel format code for the given @bpp/@depth values. 144 * Internal function to query information for a given format. See 147 const struct drm_format_info *__drm_format_info(u32 format) in __drm_format_info() argument 150 { .format = DRM_FORMAT_C1, .depth = 1, .num_planes = 1, in __drm_format_info() 152 { .format = DRM_FORMAT_C2, .depth = 2, .num_planes = 1, in __drm_format_info() 154 { .format = DRM_FORMAT_C4, .depth = 4, .num_planes = 1, in __drm_format_info() 156 { .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1, .is_color_indexed = true }, in __drm_format_info() 157 { .format in __drm_format_info() 336 drm_format_info(u32 format) drm_format_info() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_fourcc.c | 4 * DRM core format related functions 43 * Computes a drm fourcc pixel format code for the given @bpp/@depth values. 104 * Computes a drm fourcc pixel format code for the given @bpp/@depth values. 134 * drm_get_format_name - fill a string with a drm fourcc format's name 135 * @format: format to compute name of 138 const char *drm_get_format_name(uint32_t format, struct drm_format_name_buf *buf) in drm_get_format_name() argument 142 printable_char(format & 0xff), in drm_get_format_name() 143 printable_char((format >> 8) & 0xff), in drm_get_format_name() 144 printable_char((format >> 1 in drm_get_format_name() 157 __drm_format_info(u32 format) __drm_format_info() argument 319 drm_format_info(u32 format) drm_format_info() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
H A D | vsp1_drm.c | 69 struct v4l2_subdev_format format; in vsp1_du_insert_uif() local 85 memset(&format, 0, sizeof(format)); in vsp1_du_insert_uif() 86 format.which = V4L2_SUBDEV_FORMAT_ACTIVE; in vsp1_du_insert_uif() 87 format.pad = prev_pad; in vsp1_du_insert_uif() 89 ret = v4l2_subdev_call(&prev->subdev, pad, get_fmt, NULL, &format); in vsp1_du_insert_uif() 93 format.pad = UIF_PAD_SINK; in vsp1_du_insert_uif() 95 ret = v4l2_subdev_call(&uif->subdev, pad, set_fmt, NULL, &format); in vsp1_du_insert_uif() 99 dev_dbg(vsp1->dev, "%s: set format %ux%u (%x) on UIF sink\n", in vsp1_du_insert_uif() 100 __func__, format in vsp1_du_insert_uif() 122 struct v4l2_subdev_format format; vsp1_du_pipeline_setup_rpf() local 232 struct v4l2_subdev_format format = { vsp1_du_pipeline_setup_brx() local 480 struct v4l2_subdev_format format = { 0, }; vsp1_du_pipeline_setup_output() local [all...] |
H A D | vsp1_rwpf.c | 65 struct v4l2_mbus_framefmt *format; in vsp1_rwpf_set_format() local 76 /* Default to YUV if the requested format is not supported. */ in vsp1_rwpf_set_format() 77 if (fmt->format.code != MEDIA_BUS_FMT_ARGB8888_1X32 && in vsp1_rwpf_set_format() 78 fmt->format.code != MEDIA_BUS_FMT_AHSV8888_1X32 && in vsp1_rwpf_set_format() 79 fmt->format.code != MEDIA_BUS_FMT_AYUV8_1X32) in vsp1_rwpf_set_format() 80 fmt->format.code = MEDIA_BUS_FMT_AYUV8_1X32; in vsp1_rwpf_set_format() 82 format = vsp1_entity_get_pad_format(&rwpf->entity, config, fmt->pad); in vsp1_rwpf_set_format() 86 * The RWPF performs format conversion but can't scale, only the in vsp1_rwpf_set_format() 87 * format code can be changed on the source pad. in vsp1_rwpf_set_format() 89 format in vsp1_rwpf_set_format() 136 struct v4l2_mbus_framefmt *format; vsp1_rwpf_get_selection() local 184 struct v4l2_mbus_framefmt *format; vsp1_rwpf_set_selection() local [all...] |
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | utprint.c | 309 * format - Standard printf format 318 int vsnprintf(char *string, acpi_size size, const char *format, va_list args) in vsnprintf() argument 342 for (; *format; ++format) { in vsnprintf() 343 if (*format != '%') { in vsnprintf() 344 pos = acpi_ut_bound_string_output(pos, end, *format); in vsnprintf() 354 ++format; in vsnprintf() 355 if (*format == '#') { in vsnprintf() 357 } else if (*format in vsnprintf() 571 snprintf(char *string, acpi_size size, const char *format, ...) snprintf() argument 596 sprintf(char *string, const char *format, ...) sprintf() argument 622 vprintf(const char *format, va_list args) vprintf() argument 649 printf(const char *format, ...) printf() argument 675 vfprintf(FILE * file, const char *format, va_list args) vfprintf() argument 703 fprintf(FILE * file, const char *format, ...) fprintf() argument [all...] |
H A D | utxferror.c | 27 * format - Printf format string + additional args 35 acpi_error(const char *module_name, u32 line_number, const char *format, ...) in acpi_error() argument 42 va_start(arg_list, format); in acpi_error() 43 acpi_os_vprintf(format, arg_list); in acpi_error() 59 * format - Printf format string + additional args in ACPI_EXPORT_SYMBOL() 69 u32 line_number, acpi_status status, const char *format, ...) in ACPI_EXPORT_SYMBOL() 85 va_start(arg_list, format); in ACPI_EXPORT_SYMBOL() 86 acpi_os_vprintf(format, arg_lis in ACPI_EXPORT_SYMBOL() [all...] |
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | utprint.c | 309 * format - Standard printf format 318 int vsnprintf(char *string, acpi_size size, const char *format, va_list args) in vsnprintf() argument 342 for (; *format; ++format) { in vsnprintf() 343 if (*format != '%') { in vsnprintf() 344 pos = acpi_ut_bound_string_output(pos, end, *format); in vsnprintf() 354 ++format; in vsnprintf() 355 if (*format == '#') { in vsnprintf() 357 } else if (*format in vsnprintf() 571 snprintf(char *string, acpi_size size, const char *format, ...) snprintf() argument 596 sprintf(char *string, const char *format, ...) sprintf() argument 622 vprintf(const char *format, va_list args) vprintf() argument 649 printf(const char *format, ...) printf() argument 675 vfprintf(FILE * file, const char *format, va_list args) vfprintf() argument 703 fprintf(FILE * file, const char *format, ...) fprintf() argument [all...] |
H A D | utxferror.c | 27 * format - Printf format string + additional args 35 acpi_error(const char *module_name, u32 line_number, const char *format, ...) in acpi_error() argument 42 va_start(arg_list, format); in acpi_error() 43 acpi_os_vprintf(format, arg_list); in acpi_error() 59 * format - Printf format string + additional args in ACPI_EXPORT_SYMBOL() 69 u32 line_number, acpi_status status, const char *format, ...) in ACPI_EXPORT_SYMBOL() 85 va_start(arg_list, format); in ACPI_EXPORT_SYMBOL() 86 acpi_os_vprintf(format, arg_lis in ACPI_EXPORT_SYMBOL() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_drm.c | 69 struct v4l2_subdev_format format = { in vsp1_du_insert_uif() local 87 format.pad = prev_pad; in vsp1_du_insert_uif() 89 ret = v4l2_subdev_call(&prev->subdev, pad, get_fmt, NULL, &format); in vsp1_du_insert_uif() 93 format.pad = UIF_PAD_SINK; in vsp1_du_insert_uif() 95 ret = v4l2_subdev_call(&uif->subdev, pad, set_fmt, NULL, &format); in vsp1_du_insert_uif() 99 dev_dbg(vsp1->dev, "%s: set format %ux%u (%x) on UIF sink\n", in vsp1_du_insert_uif() 100 __func__, format.format.width, format.format in vsp1_du_insert_uif() 124 struct v4l2_subdev_format format = { vsp1_du_pipeline_setup_rpf() local 232 struct v4l2_subdev_format format = { vsp1_du_pipeline_setup_brx() local 484 struct v4l2_subdev_format format = { vsp1_du_pipeline_setup_output() local [all...] |
H A D | vsp1_rwpf.c | 66 struct v4l2_mbus_framefmt *format; in vsp1_rwpf_set_format() local 78 /* Default to YUV if the requested format is not supported. */ in vsp1_rwpf_set_format() 79 if (fmt->format.code != MEDIA_BUS_FMT_ARGB8888_1X32 && in vsp1_rwpf_set_format() 80 fmt->format.code != MEDIA_BUS_FMT_AHSV8888_1X32 && in vsp1_rwpf_set_format() 81 fmt->format.code != MEDIA_BUS_FMT_AYUV8_1X32) in vsp1_rwpf_set_format() 82 fmt->format.code = MEDIA_BUS_FMT_AYUV8_1X32; in vsp1_rwpf_set_format() 84 format = vsp1_entity_get_pad_format(&rwpf->entity, config, fmt->pad); in vsp1_rwpf_set_format() 88 * The RWPF performs format conversion but can't scale, only the in vsp1_rwpf_set_format() 89 * format code can be changed on the source pad. in vsp1_rwpf_set_format() 91 format in vsp1_rwpf_set_format() 138 struct v4l2_mbus_framefmt *format; vsp1_rwpf_get_selection() local 187 struct v4l2_mbus_framefmt *format; vsp1_rwpf_set_selection() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/omap4iss/ |
H A D | iss_ipipe.c | 85 struct v4l2_mbus_framefmt *format; in ipipe_configure() local 88 format = &ipipe->formats[IPIPE_PAD_SINK]; in ipipe_configure() 101 (format->height - 2) & IPIPE_SRC_VSZ_MASK); in ipipe_configure() 103 (format->width - 1) & IPIPE_SRC_HSZ_MASK); in ipipe_configure() 115 format = &ipipe->formats[IPIPE_PAD_SOURCE_VP]; in ipipe_configure() 189 * ipipe_try_format - Try video format on a pad 202 struct v4l2_mbus_framefmt *format; in ipipe_try_format() local 225 format = __ipipe_get_format(ipipe, cfg, IPIPE_PAD_SINK, which); in ipipe_try_format() 226 memcpy(fmt, format, sizeof(*fmt)); in ipipe_try_format() 239 * ipipe_enum_mbus_code - Handle pixel format enumeratio 277 struct v4l2_mbus_framefmt format; ipipe_enum_frame_size() local 316 struct v4l2_mbus_framefmt *format; ipipe_get_format() local 340 struct v4l2_mbus_framefmt *format; ipipe_set_format() local 387 struct v4l2_subdev_format format; ipipe_init_formats() local [all...] |
H A D | iss_ipipeif.c | 125 struct v4l2_mbus_framefmt *format; in ipipeif_configure() local 131 format = &ipipeif->formats[IPIPEIF_PAD_SINK]; in ipipeif_configure() 137 /* Select ISIF/IPIPEIF input format */ in ipipeif_configure() 138 switch (format->code) { in ipipeif_configure() 182 info = omap4iss_video_format_info(format->code); in ipipeif_configure() 195 (format->width - 1) & ISIF_LNH_MASK); in ipipeif_configure() 197 (format->height - 1) & ISIF_LNV_MASK); in ipipeif_configure() 201 format->height - 1); in ipipeif_configure() 204 format = &ipipeif->formats[IPIPEIF_PAD_SOURCE_ISIF_SF]; in ipipeif_configure() 369 * ipipeif_try_format - Try video format o 381 struct v4l2_mbus_framefmt *format; ipipeif_try_format() local 449 struct v4l2_mbus_framefmt *format; ipipeif_enum_mbus_code() local 483 struct v4l2_mbus_framefmt format; ipipeif_enum_frame_size() local 522 struct v4l2_mbus_framefmt *format; ipipeif_get_format() local 546 struct v4l2_mbus_framefmt *format; ipipeif_set_format() local 603 struct v4l2_subdev_format format; ipipeif_init_formats() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/omap4iss/ |
H A D | iss_ipipe.c | 85 struct v4l2_mbus_framefmt *format; in ipipe_configure() local 88 format = &ipipe->formats[IPIPE_PAD_SINK]; in ipipe_configure() 101 (format->height - 2) & IPIPE_SRC_VSZ_MASK); in ipipe_configure() 103 (format->width - 1) & IPIPE_SRC_HSZ_MASK); in ipipe_configure() 115 format = &ipipe->formats[IPIPE_PAD_SOURCE_VP]; in ipipe_configure() 190 * ipipe_try_format - Try video format on a pad 203 struct v4l2_mbus_framefmt *format; in ipipe_try_format() local 226 format = __ipipe_get_format(ipipe, sd_state, IPIPE_PAD_SINK, in ipipe_try_format() 228 memcpy(fmt, format, sizeof(*fmt)); in ipipe_try_format() 241 * ipipe_enum_mbus_code - Handle pixel format enumeratio 279 struct v4l2_mbus_framefmt format; ipipe_enum_frame_size() local 318 struct v4l2_mbus_framefmt *format; ipipe_get_format() local 342 struct v4l2_mbus_framefmt *format; ipipe_set_format() local 390 struct v4l2_subdev_format format; ipipe_init_formats() local [all...] |
H A D | iss_ipipeif.c | 125 struct v4l2_mbus_framefmt *format; in ipipeif_configure() local 131 format = &ipipeif->formats[IPIPEIF_PAD_SINK]; in ipipeif_configure() 137 /* Select ISIF/IPIPEIF input format */ in ipipeif_configure() 138 switch (format->code) { in ipipeif_configure() 182 info = omap4iss_video_format_info(format->code); in ipipeif_configure() 195 (format->width - 1) & ISIF_LNH_MASK); in ipipeif_configure() 197 (format->height - 1) & ISIF_LNV_MASK); in ipipeif_configure() 201 format->height - 1); in ipipeif_configure() 204 format = &ipipeif->formats[IPIPEIF_PAD_SOURCE_ISIF_SF]; in ipipeif_configure() 370 * ipipeif_try_format - Try video format o 382 struct v4l2_mbus_framefmt *format; ipipeif_try_format() local 452 struct v4l2_mbus_framefmt *format; ipipeif_enum_mbus_code() local 487 struct v4l2_mbus_framefmt format; ipipeif_enum_frame_size() local 526 struct v4l2_mbus_framefmt *format; ipipeif_get_format() local 550 struct v4l2_mbus_framefmt *format; ipipeif_set_format() local 610 struct v4l2_subdev_format format; ipipeif_init_formats() local [all...] |
/kernel/linux/linux-5.10/scripts/gdb/linux/ |
H A D | timerlist.py | 38 text = " #{}: <{}>, {}, ".format(idx, timer, function) 39 text += "S:{:02x}\n".format(int(timer['state'])) 40 text += " # expires at {}-{} nsecs [in {} to {} nsecs]\n".format( 56 text = " .base: {}\n".format(base.address) 57 text += " .index: {}\n".format(base['index']) 59 text += " .resolution: {} nsecs\n".format(constants.LX_hrtimer_resolution) 61 text += " .get_time: {}\n".format(base['get_time']) 63 text += " .offset: {} nsecs\n".format(base['offset']) 75 text = "cpu: {}\n".format(cpu) 77 text += " clock {}:\n".format( [all...] |
/kernel/linux/linux-6.6/scripts/gdb/linux/ |
H A D | timerlist.py | 38 text = " #{}: <{}>, {}, ".format(idx, timer, function) 39 text += "S:{:02x}\n".format(int(timer['state'])) 40 text += " # expires at {}-{} nsecs [in {} to {} nsecs]\n".format( 55 text = " .base: {}\n".format(base.address) 56 text += " .index: {}\n".format(base['index']) 58 text += " .resolution: {} nsecs\n".format(constants.LX_hrtimer_resolution) 60 text += " .get_time: {}\n".format(base['get_time']) 62 text += " .offset: {} nsecs\n".format(base['offset']) 74 text = "cpu: {}\n".format(cpu) 76 text += " clock {}:\n".format( [all...] |
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
H A D | v4l2-common.c | 234 const struct v4l2_format_info *v4l2_format_info(u32 format) in v4l2_format_info() argument 238 { .format = V4L2_PIX_FMT_BGR24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info() 239 { .format = V4L2_PIX_FMT_RGB24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info() 240 { .format = V4L2_PIX_FMT_HSV24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info() 241 { .format = V4L2_PIX_FMT_BGR32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info() 242 { .format = V4L2_PIX_FMT_XBGR32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info() 243 { .format = V4L2_PIX_FMT_BGRX32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info() 244 { .format = V4L2_PIX_FMT_RGB32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info() 245 { .format = V4L2_PIX_FMT_XRGB32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info() 246 { .format in v4l2_format_info() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/ |
H A D | plane.c | 64 copy->format = state->format; in tegra_plane_atomic_duplicate_state() 108 uint32_t format, in tegra_plane_format_mod_supported() 111 const struct drm_format_info *info = drm_format_info(format); in tegra_plane_format_mod_supported() 145 for (i = 0; i < state->base.fb->format->num_planes; i++) { in tegra_dc_pin() 193 for (i = 0; i < state->base.fb->format->num_planes; i++) { in tegra_dc_unpin() 246 fmt = state->fb->format; in tegra_plane_calculate_memory_bandwidth() 250 * Note that real memory bandwidth vary depending on format and in tegra_plane_calculate_memory_bandwidth() 326 int tegra_plane_format(u32 fourcc, u32 *format, u32 *swap) in tegra_plane_format() argument 334 *format in tegra_plane_format() 107 tegra_plane_format_mod_supported(struct drm_plane *plane, uint32_t format, uint64_t modifier) tegra_plane_format_mod_supported() argument 476 tegra_plane_format_is_indexed(unsigned int format) tegra_plane_format_is_indexed() argument 489 tegra_plane_format_is_yuv(unsigned int format, unsigned int *planes, unsigned int *bpc) tegra_plane_format_is_yuv() argument 540 __drm_format_has_alpha(u32 format) __drm_format_has_alpha() argument 593 unsigned int format; tegra_plane_setup_opacity() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/atm/ |
H A D | usbatm.h | 29 #define usb_err(instance, format, arg...) \ 30 dev_err(&(instance)->usb_intf->dev , format , ## arg) 31 #define usb_info(instance, format, arg...) \ 32 dev_info(&(instance)->usb_intf->dev , format , ## arg) 33 #define usb_warn(instance, format, arg...) \ 34 dev_warn(&(instance)->usb_intf->dev , format , ## arg) 35 #define usb_dbg(instance, format, arg...) \ 36 dev_dbg(&(instance)->usb_intf->dev , format , ## arg) 39 #define atm_printk(level, instance, format, arg...) \ 40 printk(level "ATM dev %d: " format , \ [all...] |
/kernel/linux/linux-6.6/drivers/usb/atm/ |
H A D | usbatm.h | 29 #define usb_err(instance, format, arg...) \ 30 dev_err(&(instance)->usb_intf->dev , format , ## arg) 31 #define usb_info(instance, format, arg...) \ 32 dev_info(&(instance)->usb_intf->dev , format , ## arg) 33 #define usb_warn(instance, format, arg...) \ 34 dev_warn(&(instance)->usb_intf->dev , format , ## arg) 35 #define usb_dbg(instance, format, arg...) \ 36 dev_dbg(&(instance)->usb_intf->dev , format , ## arg) 39 #define atm_printk(level, instance, format, arg...) \ 40 printk(level "ATM dev %d: " format , \ [all...] |
/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | v4l2-common.c | 234 const struct v4l2_format_info *v4l2_format_info(u32 format) in v4l2_format_info() argument 238 { .format = V4L2_PIX_FMT_BGR24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info() 239 { .format = V4L2_PIX_FMT_RGB24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info() 240 { .format = V4L2_PIX_FMT_HSV24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info() 241 { .format = V4L2_PIX_FMT_BGR32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info() 242 { .format = V4L2_PIX_FMT_XBGR32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info() 243 { .format = V4L2_PIX_FMT_BGRX32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info() 244 { .format = V4L2_PIX_FMT_RGB32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info() 245 { .format = V4L2_PIX_FMT_XRGB32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info() 246 { .format in v4l2_format_info() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/xilinx/ |
H A D | xilinx-vip.c | 46 * xvip_get_format_by_code - Retrieve format information for a media bus code 47 * @code: the format media bus code 49 * Return: a pointer to the format information structure corresponding to the 50 * given V4L2 media bus format @code, or ERR_PTR if no corresponding format can 58 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_get_format_by_code() local 60 if (format->code == code) in xvip_get_format_by_code() 61 return format; in xvip_get_format_by_code() 69 * xvip_get_format_by_fourcc - Retrieve format information for a 4CC 70 * @fourcc: the format 81 const struct xvip_video_format *format = &xvip_video_formats[i]; xvip_get_format_by_fourcc() local 122 const struct xvip_video_format *format = &xvip_video_formats[i]; xvip_of_get_format() local 147 xvip_set_format_size(struct v4l2_mbus_framefmt *format, const struct v4l2_subdev_format *fmt) xvip_set_format_size() argument 252 struct v4l2_mbus_framefmt *format; xvip_enum_mbus_code() local 290 struct v4l2_mbus_framefmt *format; xvip_enum_frame_size() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/xilinx/ |
H A D | xilinx-vip.c | 48 * xvip_get_format_by_code - Retrieve format information for a media bus code 49 * @code: the format media bus code 51 * Return: a pointer to the format information structure corresponding to the 52 * given V4L2 media bus format @code, or ERR_PTR if no corresponding format can 60 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_get_format_by_code() local 62 if (format->code == code) in xvip_get_format_by_code() 63 return format; in xvip_get_format_by_code() 71 * xvip_get_format_by_fourcc - Retrieve format information for a 4CC 72 * @fourcc: the format 83 const struct xvip_video_format *format = &xvip_video_formats[i]; xvip_get_format_by_fourcc() local 124 const struct xvip_video_format *format = &xvip_video_formats[i]; xvip_of_get_format() local 149 xvip_set_format_size(struct v4l2_mbus_framefmt *format, const struct v4l2_subdev_format *fmt) xvip_set_format_size() argument 252 struct v4l2_mbus_framefmt *format; xvip_enum_mbus_code() local 290 struct v4l2_mbus_framefmt *format; xvip_enum_frame_size() local [all...] |
/kernel/linux/linux-5.10/tools/power/x86/intel_pstate_tracer/ |
H A D | intel_pstate_tracer.py | 93 print(' *.png - a variety of PNG format plot files created from the trace contents and the additional calculations.') 96 print(' Maximum number of CPUs is {0:d}. If there are more the script will abort with an error.'.format(MAX_CPUS)) 103 file_name = 'cpu{:0>3}.csv'.format(cpu_index) 110 g_plot('set title "{} : cpu perf busy vs. sample : CPU {:0>3} : {:%F %H:%M}"'.format(testname, cpu_index, datetime.now())) 116 g_plot('plot "' + file_name + '" using {:d}:{:d} with linespoints linestyle 1 axis x1y2 title "performance",\\'.format(C_SAMPLE, C_CORE)) 117 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-busy",\\'.format(C_SAMPLE, C_SCALED)) 118 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 3 axis x1y2 title "io-boost",\\'.format(C_SAMPLE, C_BOOST)) 119 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 4 axis x1y1 title "P-State"'.format(C_SAMPLE, C_TO)) 124 file_name = 'cpu{:0>3}.csv'.format(cpu_index) 131 g_plot('set title "{} : perf busy : CPU {:0>3} : {:%F %H:%M}"'.format(testnam [all...] |
/kernel/linux/linux-6.6/tools/power/x86/intel_pstate_tracer/ |
H A D | intel_pstate_tracer.py | 93 print(' *.png - a variety of PNG format plot files created from the trace contents and the additional calculations.') 96 print(' Maximum number of CPUs is {0:d}. If there are more the script will abort with an error.'.format(MAX_CPUS)) 103 file_name = 'cpu{:0>3}.csv'.format(cpu_index) 110 g_plot('set title "{} : cpu perf busy vs. sample : CPU {:0>3} : {:%F %H:%M}"'.format(testname, cpu_index, datetime.now())) 116 g_plot('plot "' + file_name + '" using {:d}:{:d} with linespoints linestyle 1 axis x1y2 title "performance",\\'.format(C_SAMPLE, C_CORE)) 117 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-busy",\\'.format(C_SAMPLE, C_SCALED)) 118 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 3 axis x1y2 title "io-boost",\\'.format(C_SAMPLE, C_BOOST)) 119 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 4 axis x1y1 title "P-State"'.format(C_SAMPLE, C_TO)) 124 file_name = 'cpu{:0>3}.csv'.format(cpu_index) 131 g_plot('set title "{} : perf busy : CPU {:0>3} : {:%F %H:%M}"'.format(testnam [all...] |