/Linux-v5.4/drivers/gpu/drm/ |
D | drm_fourcc.c | 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 >> 16) & 0xff), in drm_get_format_name() 145 printable_char((format >> 24) & 0x7f), in drm_get_format_name() 146 format & DRM_FORMAT_BIG_ENDIAN ? "big" : "little", in drm_get_format_name() 147 format); in drm_get_format_name() 157 const struct drm_format_info *__drm_format_info(u32 format) in __drm_format_info() argument 160 …{ .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info() 161 …{ .format = DRM_FORMAT_RGB332, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub… in __drm_format_info() [all …]
|
/Linux-v5.4/drivers/media/platform/vsp1/ |
D | vsp1_rwpf.c | 65 struct v4l2_mbus_framefmt *format; in vsp1_rwpf_set_format() local 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() 89 format->code = fmt->format.code; in vsp1_rwpf_set_format() 90 fmt->format = *format; in vsp1_rwpf_set_format() 94 format->code = fmt->format.code; in vsp1_rwpf_set_format() 95 format->width = clamp_t(unsigned int, fmt->format.width, in vsp1_rwpf_set_format() [all …]
|
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() 100 __func__, format.format.width, format.format.height, in vsp1_du_insert_uif() 101 format.format.code); in vsp1_du_insert_uif() 122 struct v4l2_subdev_format format; in vsp1_du_pipeline_setup_rpf() local [all …]
|
D | vsp1_hsit.c | 69 struct v4l2_mbus_framefmt *format; in hsit_set_format() local 80 format = vsp1_entity_get_pad_format(&hsit->entity, config, fmt->pad); in hsit_set_format() 87 fmt->format = *format; in hsit_set_format() 91 format->code = hsit->inverse ? MEDIA_BUS_FMT_AHSV8888_1X32 in hsit_set_format() 93 format->width = clamp_t(unsigned int, fmt->format.width, in hsit_set_format() 95 format->height = clamp_t(unsigned int, fmt->format.height, in hsit_set_format() 97 format->field = V4L2_FIELD_NONE; in hsit_set_format() 98 format->colorspace = V4L2_COLORSPACE_SRGB; in hsit_set_format() 100 fmt->format = *format; in hsit_set_format() 103 format = vsp1_entity_get_pad_format(&hsit->entity, config, in hsit_set_format() [all …]
|
/Linux-v5.4/drivers/acpi/acpica/ |
D | utprint.c | 318 int vsnprintf(char *string, acpi_size size, const char *format, va_list args) in vsnprintf() argument 337 for (; *format; ++format) { in vsnprintf() 338 if (*format != '%') { in vsnprintf() 339 pos = acpi_ut_bound_string_output(pos, end, *format); in vsnprintf() 349 ++format; in vsnprintf() 350 if (*format == '#') { in vsnprintf() 352 } else if (*format == '0') { in vsnprintf() 354 } else if (*format == '+') { in vsnprintf() 356 } else if (*format == ' ') { in vsnprintf() 358 } else if (*format == '-') { in vsnprintf() [all …]
|
D | utxferror.c | 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() 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_list); in ACPI_EXPORT_SYMBOL() 109 acpi_warning(const char *module_name, u32 line_number, const char *format, ...) in ACPI_EXPORT_SYMBOL() 116 va_start(arg_list, format); in ACPI_EXPORT_SYMBOL() 117 acpi_os_vprintf(format, arg_list); in ACPI_EXPORT_SYMBOL() 138 void ACPI_INTERNAL_VAR_XFACE acpi_info(const char *format, ...) in ACPI_EXPORT_SYMBOL() [all …]
|
/Linux-v5.4/drivers/staging/media/omap4iss/ |
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() 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() 277 struct v4l2_mbus_framefmt format; in ipipe_enum_frame_size() local 282 format.code = fse->code; in ipipe_enum_frame_size() [all …]
|
D | iss_ipipeif.c | 125 struct v4l2_mbus_framefmt *format; in ipipeif_configure() local 131 format = &ipipeif->formats[IPIPEIF_PAD_SINK]; 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() 381 struct v4l2_mbus_framefmt *format; in ipipeif_try_format() local 406 format = __ipipeif_get_format(ipipeif, cfg, IPIPEIF_PAD_SINK, in ipipeif_try_format() [all …]
|
D | iss_resizer.c | 441 struct v4l2_mbus_framefmt *format; in resizer_try_format() local 464 format = __resizer_get_format(resizer, cfg, RESIZER_PAD_SINK, in resizer_try_format() 466 memcpy(fmt, format, sizeof(*fmt)); in resizer_try_format() 499 struct v4l2_mbus_framefmt *format; in resizer_enum_mbus_code() local 510 format = __resizer_get_format(resizer, cfg, RESIZER_PAD_SINK, in resizer_enum_mbus_code() 514 code->code = format->code; in resizer_enum_mbus_code() 518 switch (format->code) { in resizer_enum_mbus_code() 544 struct v4l2_mbus_framefmt format; in resizer_enum_frame_size() local 549 format.code = fse->code; in resizer_enum_frame_size() 550 format.width = 1; in resizer_enum_frame_size() [all …]
|
/Linux-v5.4/drivers/media/v4l2-core/ |
D | v4l2-common.c | 235 const struct v4l2_format_info *v4l2_format_info(u32 format) in v4l2_format_info() argument 239 …{ .format = V4L2_PIX_FMT_BGR24, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .hdiv … in v4l2_format_info() 240 …{ .format = V4L2_PIX_FMT_RGB24, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .hdiv … in v4l2_format_info() 241 …{ .format = V4L2_PIX_FMT_HSV24, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .hdiv … in v4l2_format_info() 242 …{ .format = V4L2_PIX_FMT_BGR32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv … in v4l2_format_info() 243 …{ .format = V4L2_PIX_FMT_XBGR32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv … in v4l2_format_info() 244 …{ .format = V4L2_PIX_FMT_BGRX32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv … in v4l2_format_info() 245 …{ .format = V4L2_PIX_FMT_RGB32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv … in v4l2_format_info() 246 …{ .format = V4L2_PIX_FMT_XRGB32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv … in v4l2_format_info() 247 …{ .format = V4L2_PIX_FMT_RGBX32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv … in v4l2_format_info() [all …]
|
/Linux-v5.4/drivers/gpu/drm/tegra/ |
D | plane.c | 55 copy->format = state->format; in tegra_plane_atomic_duplicate_state() 74 uint32_t format, in tegra_plane_format_mod_supported() argument 77 const struct drm_format_info *info = drm_format_info(format); in tegra_plane_format_mod_supported() 123 int tegra_plane_format(u32 fourcc, u32 *format, u32 *swap) in tegra_plane_format() argument 131 *format = WIN_COLOR_DEPTH_B4G4R4A4; in tegra_plane_format() 135 *format = WIN_COLOR_DEPTH_B5G5R5A1; in tegra_plane_format() 139 *format = WIN_COLOR_DEPTH_B5G6R5; in tegra_plane_format() 143 *format = WIN_COLOR_DEPTH_A1B5G5R5; in tegra_plane_format() 147 *format = WIN_COLOR_DEPTH_B8G8R8A8; in tegra_plane_format() 151 *format = WIN_COLOR_DEPTH_R8G8B8A8; in tegra_plane_format() [all …]
|
/Linux-v5.4/scripts/gdb/linux/ |
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(i) [all …]
|
/Linux-v5.4/drivers/media/platform/xilinx/ |
D | xilinx-vip.c | 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() 81 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_get_format_by_fourcc() local 83 if (format->fourcc == fourcc) in xvip_get_format_by_fourcc() 84 return format; in xvip_get_format_by_fourcc() 122 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_of_get_format() local 124 if (format->vf_code != vf_code || format->width != width) in xvip_of_get_format() 128 strcmp(pattern, format->pattern)) in xvip_of_get_format() 131 return format; in xvip_of_get_format() [all …]
|
/Linux-v5.4/drivers/media/platform/vimc/ |
D | vimc-common.c | 278 v4l2_fill_mbus_format(&fmt->format, &vdev_fmt, vpix->code); in vimc_get_mbus_format() 304 source_fmt.format.width, source_fmt.format.height, in vimc_link_validate() 305 source_fmt.format.code, source_fmt.format.colorspace, in vimc_link_validate() 306 source_fmt.format.quantization, source_fmt.format.xfer_func, in vimc_link_validate() 307 source_fmt.format.ycbcr_enc, in vimc_link_validate() 310 sink_fmt.format.width, sink_fmt.format.height, in vimc_link_validate() 311 sink_fmt.format.code, sink_fmt.format.colorspace, in vimc_link_validate() 312 sink_fmt.format.quantization, sink_fmt.format.xfer_func, in vimc_link_validate() 313 sink_fmt.format.ycbcr_enc); in vimc_link_validate() 316 if (source_fmt.format.width != sink_fmt.format.width in vimc_link_validate() [all …]
|
D | vimc-capture.c | 25 struct v4l2_pix_format format; member 77 *fmt = vcap->format; in vimc_cap_get_format() 85 f->fmt.pix = vcap->format; in vimc_cap_g_fmt_vid_cap() 93 struct v4l2_pix_format *format = &f->fmt.pix; in vimc_cap_try_fmt_vid_cap() local 96 format->width = clamp_t(u32, format->width, VIMC_FRAME_MIN_WIDTH, in vimc_cap_try_fmt_vid_cap() 98 format->height = clamp_t(u32, format->height, VIMC_FRAME_MIN_HEIGHT, in vimc_cap_try_fmt_vid_cap() 102 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_cap_try_fmt_vid_cap() 104 format->pixelformat = fmt_default.pixelformat; in vimc_cap_try_fmt_vid_cap() 105 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_cap_try_fmt_vid_cap() 108 format->bytesperline = format->width * vpix->bpp; in vimc_cap_try_fmt_vid_cap() [all …]
|
/Linux-v5.4/drivers/usb/atm/ |
D | usbatm.h | 29 #define usb_err(instance, format, arg...) \ argument 30 dev_err(&(instance)->usb_intf->dev , format , ## arg) 31 #define usb_info(instance, format, arg...) \ argument 32 dev_info(&(instance)->usb_intf->dev , format , ## arg) 33 #define usb_warn(instance, format, arg...) \ argument 34 dev_warn(&(instance)->usb_intf->dev , format , ## arg) 35 #define usb_dbg(instance, format, arg...) \ argument 36 dev_dbg(&(instance)->usb_intf->dev , format , ## arg) 39 #define atm_printk(level, instance, format, arg...) \ argument 40 printk(level "ATM dev %d: " format , \ [all …]
|
/Linux-v5.4/drivers/gpu/drm/shmobile/ |
D | shmob_drm_plane.c | 26 const struct shmob_drm_format_info *format; member 46 bpp = splane->format->yuv ? 8 : splane->format->bpp; in shmob_drm_plane_compute_base() 51 if (splane->format->yuv) { in shmob_drm_plane_compute_base() 52 bpp = splane->format->bpp - 8; in shmob_drm_plane_compute_base() 64 u32 format; in __shmob_drm_plane_setup() local 67 format = LDBBSIFR_EN | (splane->alpha << LDBBSIFR_LAY_SHIFT); in __shmob_drm_plane_setup() 69 switch (splane->format->fourcc) { in __shmob_drm_plane_setup() 74 format |= LDBBSIFR_SWPL | LDBBSIFR_SWPW; in __shmob_drm_plane_setup() 80 format |= LDBBSIFR_SWPL | LDBBSIFR_SWPW | LDBBSIFR_SWPB; in __shmob_drm_plane_setup() 84 format |= LDBBSIFR_SWPL; in __shmob_drm_plane_setup() [all …]
|
/Linux-v5.4/sound/core/ |
D | pcm_misc.c | 259 int snd_pcm_format_signed(snd_pcm_format_t format) in snd_pcm_format_signed() argument 262 if ((INT)format < 0 || (INT)format > (INT)SNDRV_PCM_FORMAT_LAST) in snd_pcm_format_signed() 264 if ((val = pcm_formats[(INT)format].signd) < 0) in snd_pcm_format_signed() 277 int snd_pcm_format_unsigned(snd_pcm_format_t format) in snd_pcm_format_unsigned() argument 281 val = snd_pcm_format_signed(format); in snd_pcm_format_unsigned() 294 int snd_pcm_format_linear(snd_pcm_format_t format) in snd_pcm_format_linear() argument 296 return snd_pcm_format_signed(format) >= 0; in snd_pcm_format_linear() 307 int snd_pcm_format_little_endian(snd_pcm_format_t format) in snd_pcm_format_little_endian() argument 310 if ((INT)format < 0 || (INT)format > (INT)SNDRV_PCM_FORMAT_LAST) in snd_pcm_format_little_endian() 312 if ((val = pcm_formats[(INT)format].le) < 0) in snd_pcm_format_little_endian() [all …]
|
/Linux-v5.4/tools/power/x86/intel_pstate_tracer/ |
D | intel_pstate_tracer.py | 96 … 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… 116 … {:d}:{:d} with linespoints linestyle 1 axis x1y2 title "performance",\\'.format(C_SAMPLE, C_CORE)) 117 …{:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-busy",\\'.format(C_SAMPLE, C_SCALED… 118 …ng {:d}:{:d} with linespoints linestyle 3 axis x1y2 title "io-boost",\\'.format(C_SAMPLE, C_BOOST)) 119 … '" 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(testname, cpu_index, datetim… 135 …{:d}:{:d} with linespoints linestyle 1 axis x1y2 title "performance",\\'.format(C_ELAPSED, C_CORE)) [all …]
|
/Linux-v5.4/sound/core/oss/ |
D | pcm_plugin.c | 51 struct snd_pcm_plugin_format *format; in snd_pcm_plugin_alloc() local 58 format = &plugin->src_format; in snd_pcm_plugin_alloc() 60 format = &plugin->dst_format; in snd_pcm_plugin_alloc() 62 if ((width = snd_pcm_format_physical_width(format->format)) < 0) in snd_pcm_plugin_alloc() 64 size = frames * format->channels * width; in snd_pcm_plugin_alloc() 79 for (channel = 0; channel < format->channels; channel++, c++) { in snd_pcm_plugin_alloc() 85 c->area.step = format->channels * width; in snd_pcm_plugin_alloc() 88 if (snd_BUG_ON(size % format->channels)) in snd_pcm_plugin_alloc() 90 size /= format->channels; in snd_pcm_plugin_alloc() 91 for (channel = 0; channel < format->channels; channel++, c++) { in snd_pcm_plugin_alloc() [all …]
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/calcs/ |
D | custom_float.c | 31 const struct custom_float_format *format, in build_custom_float() argument 36 uint32_t exp_offset = (1 << (format->exponenta_bits - 1)) - 1; in build_custom_float() 40 (1LL << (format->mantissa_bits + 1)) - 1, in build_custom_float() 41 1LL << format->mantissa_bits); in build_custom_float() 57 *negative = format->sign; in build_custom_float() 115 format->mantissa_bits); in build_custom_float() 123 const struct custom_float_format *format, in setup_custom_float() argument 139 (1 << (format->mantissa_bits + 1)) - 1; in setup_custom_float() 142 (1 << (format->exponenta_bits + 1)) - 1; in setup_custom_float() 156 while (i < format->mantissa_bits) { in setup_custom_float() [all …]
|
/Linux-v5.4/drivers/gpu/drm/omapdrm/ |
D | omap_fb.c | 52 const struct drm_format_info *format; member 83 const struct drm_format_info *format, int n, int x, int y) in get_linear_addr() argument 90 + (x * format->cpp[n] / (n == 0 ? 1 : format->hsub)) in get_linear_addr() 91 + (y * fb->pitches[n] / (n == 0 ? 1 : format->vsub)); in get_linear_addr() 137 const struct drm_format_info *format = omap_fb->format; in omap_framebuffer_update_scanout() local 141 info->fourcc = fb->format->format; in omap_framebuffer_update_scanout() 169 if (fb->format->format == DRM_FORMAT_UYVY || in omap_framebuffer_update_scanout() 170 fb->format->format == DRM_FORMAT_YUYV) { in omap_framebuffer_update_scanout() 202 info->paddr = get_linear_addr(fb, format, 0, x, y); in omap_framebuffer_update_scanout() 209 info->screen_width /= format->cpp[0]; in omap_framebuffer_update_scanout() [all …]
|
/Linux-v5.4/tools/power/cpupower/po/ |
D | fr.po | 73 #, c-format 80 #, c-format 87 #, c-format 92 #, c-format 97 #, c-format 102 #, c-format 107 #, c-format 112 #, c-format 117 #, c-format 124 #, c-format [all …]
|
D | cs.po | 76 #, c-format 83 #, c-format 90 #, c-format 95 #, c-format 100 #, c-format 105 #, c-format 110 #, c-format 115 #, c-format 120 #, c-format 127 #, c-format [all …]
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | core.h | 65 #define mlx5_fpga_dbg(__adev, format, ...) \ argument 66 mlx5_core_dbg((__adev)->mdev, "FPGA: %s:%d:(pid %d): " format, \ 69 #define mlx5_fpga_err(__adev, format, ...) \ argument 70 mlx5_core_err((__adev)->mdev, "FPGA: %s:%d:(pid %d): " format, \ 73 #define mlx5_fpga_warn(__adev, format, ...) \ argument 74 mlx5_core_warn((__adev)->mdev, "FPGA: %s:%d:(pid %d): " format, \ 77 #define mlx5_fpga_warn_ratelimited(__adev, format, ...) \ argument 79 format, __func__, __LINE__, ##__VA_ARGS__) 81 #define mlx5_fpga_notice(__adev, format, ...) \ argument 82 mlx5_core_info((__adev)->mdev, "FPGA: " format, ##__VA_ARGS__) [all …]
|