Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 2423) sorted by relevance

12345678910>>...97

/linux-6.6.21/drivers/gpu/drm/
Ddrm_fourcc.c147 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… in __drm_format_info()
157 { .format = DRM_FORMAT_D1, .depth = 1, .num_planes = 1, in __drm_format_info()
159 { .format = DRM_FORMAT_D2, .depth = 2, .num_planes = 1, in __drm_format_info()
161 { .format = DRM_FORMAT_D4, .depth = 4, .num_planes = 1, in __drm_format_info()
163 …{ .format = DRM_FORMAT_D8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info()
164 { .format = DRM_FORMAT_R1, .depth = 1, .num_planes = 1, in __drm_format_info()
[all …]
/linux-6.6.21/drivers/media/platform/renesas/vsp1/
Dvsp1_rwpf.c66 struct v4l2_mbus_framefmt *format; in vsp1_rwpf_set_format() local
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()
91 format->code = fmt->format.code; in vsp1_rwpf_set_format()
92 fmt->format = *format; in vsp1_rwpf_set_format()
96 format->code = fmt->format.code; in vsp1_rwpf_set_format()
97 format->width = clamp_t(unsigned int, fmt->format.width, in vsp1_rwpf_set_format()
[all …]
Dvsp1_drm.c69 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()
100 __func__, format.format.width, format.format.height, in vsp1_du_insert_uif()
101 format.format.code); in vsp1_du_insert_uif()
124 struct v4l2_subdev_format format = { in vsp1_du_pipeline_setup_rpf() local
136 format.pad = RWPF_PAD_SINK; in vsp1_du_pipeline_setup_rpf()
137 format.format.width = crop->width + crop->left; in vsp1_du_pipeline_setup_rpf()
[all …]
/linux-6.6.21/drivers/acpi/acpica/
Dutprint.c318 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 == '0') { in vsnprintf()
359 } else if (*format == '+') { in vsnprintf()
361 } else if (*format == ' ') { in vsnprintf()
363 } else if (*format == '-') { in vsnprintf()
[all …]
Dutxferror.c35 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-6.6.21/drivers/staging/media/omap4iss/
Diss_ipipe.c85 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()
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()
279 struct v4l2_mbus_framefmt format; in ipipe_enum_frame_size() local
284 format.code = fse->code; in ipipe_enum_frame_size()
[all …]
Diss_ipipeif.c125 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()
382 struct v4l2_mbus_framefmt *format; in ipipeif_try_format() local
407 format = __ipipeif_get_format(ipipeif, sd_state, in ipipeif_try_format()
[all …]
Diss_resizer.c442 struct v4l2_mbus_framefmt *format; in resizer_try_format() local
465 format = __resizer_get_format(resizer, sd_state, in resizer_try_format()
468 memcpy(fmt, format, sizeof(*fmt)); in resizer_try_format()
501 struct v4l2_mbus_framefmt *format; in resizer_enum_mbus_code() local
512 format = __resizer_get_format(resizer, sd_state, in resizer_enum_mbus_code()
517 code->code = format->code; in resizer_enum_mbus_code()
521 switch (format->code) { in resizer_enum_mbus_code()
547 struct v4l2_mbus_framefmt format; in resizer_enum_frame_size() local
552 format.code = fse->code; in resizer_enum_frame_size()
553 format.width = 1; in resizer_enum_frame_size()
[all …]
/linux-6.6.21/scripts/gdb/linux/
Dtimerlist.py38 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(i)
[all …]
/linux-6.6.21/drivers/media/platform/xilinx/
Dxilinx-vip.c60 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()
83 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_get_format_by_fourcc() local
85 if (format->fourcc == fourcc) in xvip_get_format_by_fourcc()
86 return format; in xvip_get_format_by_fourcc()
124 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_of_get_format() local
126 if (format->vf_code != vf_code || format->width != width) in xvip_of_get_format()
130 strcmp(pattern, format->pattern)) in xvip_of_get_format()
133 return format; in xvip_of_get_format()
[all …]
/linux-6.6.21/drivers/media/v4l2-core/
Dv4l2-common.c234 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 =… in v4l2_format_info()
239 …{ .format = V4L2_PIX_FMT_RGB24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info()
240 …{ .format = V4L2_PIX_FMT_HSV24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info()
241 …{ .format = V4L2_PIX_FMT_BGR32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info()
242 …{ .format = V4L2_PIX_FMT_XBGR32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info()
243 …{ .format = V4L2_PIX_FMT_BGRX32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info()
244 …{ .format = V4L2_PIX_FMT_RGB32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info()
245 …{ .format = V4L2_PIX_FMT_XRGB32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info()
246 …{ .format = V4L2_PIX_FMT_RGBX32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info()
[all …]
/linux-6.6.21/drivers/usb/atm/
Dusbatm.h29 #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-6.6.21/drivers/staging/media/atomisp/pci/camera/util/src/
Dutil.c26 enum atomisp_input_format format, in ia_css_util_input_format_bpp() argument
31 switch (format) { in ia_css_util_input_format_bpp()
151 bool ia_css_util_is_input_format_raw(enum atomisp_input_format format) in ia_css_util_is_input_format_raw() argument
153 return ((format == ATOMISP_INPUT_FORMAT_RAW_6) || in ia_css_util_is_input_format_raw()
154 (format == ATOMISP_INPUT_FORMAT_RAW_7) || in ia_css_util_is_input_format_raw()
155 (format == ATOMISP_INPUT_FORMAT_RAW_8) || in ia_css_util_is_input_format_raw()
156 (format == ATOMISP_INPUT_FORMAT_RAW_10) || in ia_css_util_is_input_format_raw()
157 (format == ATOMISP_INPUT_FORMAT_RAW_12)); in ia_css_util_is_input_format_raw()
164 bool ia_css_util_is_input_format_yuv(enum atomisp_input_format format) in ia_css_util_is_input_format_yuv() argument
166 return format == ATOMISP_INPUT_FORMAT_YUV420_8_LEGACY || in ia_css_util_is_input_format_yuv()
[all …]
/linux-6.6.21/drivers/gpu/drm/renesas/shmobile/
Dshmob_drm_plane.c26 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()
85 format |= LDBBSIFR_SWPL; in __shmob_drm_plane_setup()
[all …]
/linux-6.6.21/drivers/gpu/drm/tegra/
Dplane.c64 copy->format = state->format; in tegra_plane_atomic_duplicate_state()
108 uint32_t format, in tegra_plane_format_mod_supported() argument
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()
326 int tegra_plane_format(u32 fourcc, u32 *format, u32 *swap) in tegra_plane_format() argument
334 *format = WIN_COLOR_DEPTH_B4G4R4A4; in tegra_plane_format()
338 *format = WIN_COLOR_DEPTH_B5G5R5A1; in tegra_plane_format()
342 *format = WIN_COLOR_DEPTH_B5G6R5; in tegra_plane_format()
[all …]
/linux-6.6.21/tools/power/cpupower/po/
Dka.po75 #, c-format
84 #, c-format
93 #, c-format
98 #, c-format
103 #, c-format
109 #, c-format
114 #, c-format
121 #, c-format
128 #, c-format
137 #, c-format
[all …]
/linux-6.6.21/drivers/gpu/drm/imx/dcss/
Ddcss-plane.c71 u32 format, in dcss_plane_format_mod_supported() argument
76 switch (format) { in dcss_plane_format_mod_supported()
104 static bool dcss_plane_can_rotate(const struct drm_format_info *format, in dcss_plane_can_rotate() argument
111 if (!format->is_yuv && linear_format) in dcss_plane_can_rotate()
114 else if (!format->is_yuv && in dcss_plane_can_rotate()
119 else if (format->is_yuv && linear_format && in dcss_plane_can_rotate()
120 (format->format == DRM_FORMAT_NV12 || in dcss_plane_can_rotate()
121 format->format == DRM_FORMAT_NV21)) in dcss_plane_can_rotate()
170 fb->format->format)) { in dcss_plane_atomic_check()
187 if (!dcss_plane_can_rotate(fb->format, in dcss_plane_atomic_check()
[all …]
/linux-6.6.21/net/bluetooth/
Dlib.c209 void bt_info(const char *format, ...) in bt_info() argument
214 va_start(args, format); in bt_info()
216 vaf.fmt = format; in bt_info()
225 void bt_warn(const char *format, ...) in bt_warn() argument
230 va_start(args, format); in bt_warn()
232 vaf.fmt = format; in bt_warn()
241 void bt_err(const char *format, ...) in bt_err() argument
246 va_start(args, format); in bt_err()
248 vaf.fmt = format; in bt_err()
270 void bt_dbg(const char *format, ...) in bt_dbg() argument
[all …]
/linux-6.6.21/include/net/
Dnet_debug.h12 const char *format, ...);
14 void netdev_emerg(const struct net_device *dev, const char *format, ...);
16 void netdev_alert(const struct net_device *dev, const char *format, ...);
18 void netdev_crit(const struct net_device *dev, const char *format, ...);
20 void netdev_err(const struct net_device *dev, const char *format, ...);
22 void netdev_warn(const struct net_device *dev, const char *format, ...);
24 void netdev_notice(const struct net_device *dev, const char *format, ...);
26 void netdev_info(const struct net_device *dev, const char *format, ...);
55 #define netdev_dbg(__dev, format, args...) \ argument
57 dynamic_netdev_dbg(__dev, format, ##args); \
[all …]
/linux-6.6.21/drivers/gpu/drm/omapdrm/
Domap_fb.c54 const struct drm_format_info *format; member
85 const struct drm_format_info *format, int n, int x, int y) in get_linear_addr() argument
92 + (x * format->cpp[n] / (n == 0 ? 1 : format->hsub)) in get_linear_addr()
93 + (y * fb->pitches[n] / (n == 0 ? 1 : format->vsub)); in get_linear_addr()
141 const struct drm_format_info *format = omap_fb->format; in omap_framebuffer_update_scanout() local
144 info->fourcc = fb->format->format; in omap_framebuffer_update_scanout()
172 if (fb->format->format == DRM_FORMAT_UYVY || in omap_framebuffer_update_scanout()
173 fb->format->format == DRM_FORMAT_YUYV) { in omap_framebuffer_update_scanout()
205 info->paddr = get_linear_addr(fb, format, 0, x, y); in omap_framebuffer_update_scanout()
212 info->screen_width /= format->cpp[0]; in omap_framebuffer_update_scanout()
[all …]
/linux-6.6.21/tools/power/x86/intel_pstate_tracer/
Dintel_pstate_tracer.py96 … 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-6.6.21/drivers/media/test-drivers/vimc/
Dvimc-capture.c19 struct v4l2_pix_format format; member
72 *fmt = vcapture->format; in vimc_capture_get_format()
80 f->fmt.pix = vcapture->format; in vimc_capture_g_fmt_vid_cap()
88 struct v4l2_pix_format *format = &f->fmt.pix; in vimc_capture_try_fmt_vid_cap() local
91 format->width = clamp_t(u32, format->width, VIMC_FRAME_MIN_WIDTH, in vimc_capture_try_fmt_vid_cap()
93 format->height = clamp_t(u32, format->height, VIMC_FRAME_MIN_HEIGHT, in vimc_capture_try_fmt_vid_cap()
97 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_capture_try_fmt_vid_cap()
99 format->pixelformat = fmt_default.pixelformat; in vimc_capture_try_fmt_vid_cap()
100 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_capture_try_fmt_vid_cap()
103 format->bytesperline = format->width * vpix->bpp; in vimc_capture_try_fmt_vid_cap()
[all …]
/linux-6.6.21/sound/core/
Dpcm_misc.c45 static bool valid_format(snd_pcm_format_t format) in valid_format() argument
47 return (INT)format >= 0 && (INT)format <= (INT)SNDRV_PCM_FORMAT_LAST; in valid_format()
264 int snd_pcm_format_signed(snd_pcm_format_t format) in snd_pcm_format_signed() argument
267 if (!valid_format(format)) in snd_pcm_format_signed()
269 val = pcm_formats[(INT)format].signd; in snd_pcm_format_signed()
283 int snd_pcm_format_unsigned(snd_pcm_format_t format) in snd_pcm_format_unsigned() argument
287 val = snd_pcm_format_signed(format); in snd_pcm_format_unsigned()
300 int snd_pcm_format_linear(snd_pcm_format_t format) in snd_pcm_format_linear() argument
302 return snd_pcm_format_signed(format) >= 0; in snd_pcm_format_linear()
313 int snd_pcm_format_little_endian(snd_pcm_format_t format) in snd_pcm_format_little_endian() argument
[all …]
/linux-6.6.21/sound/core/oss/
Dpcm_plugin.c51 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 width = snd_pcm_format_physical_width(format->format); in snd_pcm_plugin_alloc()
65 size = array3_size(frames, format->channels, width); in snd_pcm_plugin_alloc()
83 for (channel = 0; channel < format->channels; channel++, c++) { in snd_pcm_plugin_alloc()
89 c->area.step = format->channels * width; in snd_pcm_plugin_alloc()
92 if (snd_BUG_ON(size % format->channels)) in snd_pcm_plugin_alloc()
94 size /= format->channels; in snd_pcm_plugin_alloc()
95 for (channel = 0; channel < format->channels; channel++, c++) { in snd_pcm_plugin_alloc()
[all …]
/linux-6.6.21/drivers/hwmon/pmbus/
Dbel-pfe.c33 .format[PSC_VOLTAGE_IN] = linear,
34 .format[PSC_VOLTAGE_OUT] = linear,
35 .format[PSC_CURRENT_IN] = linear,
36 .format[PSC_CURRENT_OUT] = linear,
37 .format[PSC_POWER] = linear,
38 .format[PSC_TEMPERATURE] = linear,
39 .format[PSC_FAN] = linear,
53 .format[PSC_VOLTAGE_IN] = linear,
54 .format[PSC_VOLTAGE_OUT] = linear,
55 .format[PSC_CURRENT_IN] = linear,
[all …]

12345678910>>...97