Home
last modified time | relevance | path

Searched refs:format (Results 1 – 200 of 1580) sorted by relevance

12345678

/linux-4.4.14/drivers/media/platform/vsp1/
Dvsp1_rwpf.c49 struct v4l2_mbus_framefmt *format; in vsp1_rwpf_enum_frame_size() local
51 format = vsp1_entity_get_pad_format(&rwpf->entity, cfg, fse->pad, in vsp1_rwpf_enum_frame_size()
54 if (fse->index || fse->code != format->code) in vsp1_rwpf_enum_frame_size()
66 fse->min_width = format->width; in vsp1_rwpf_enum_frame_size()
67 fse->max_width = format->width; in vsp1_rwpf_enum_frame_size()
68 fse->min_height = format->height; in vsp1_rwpf_enum_frame_size()
69 fse->max_height = format->height; in vsp1_rwpf_enum_frame_size()
93 fmt->format = *vsp1_entity_get_pad_format(&rwpf->entity, cfg, fmt->pad, in vsp1_rwpf_get_format()
103 struct v4l2_mbus_framefmt *format; in vsp1_rwpf_set_format() local
107 if (fmt->format.code != MEDIA_BUS_FMT_ARGB8888_1X32 && in vsp1_rwpf_set_format()
[all …]
Dvsp1_lif.c45 const struct v4l2_mbus_framefmt *format; in lif_s_stream() local
56 format = &lif->entity.formats[LIF_PAD_SOURCE]; in lif_s_stream()
58 obth = min(obth, (format->width + 1) / 2 * format->height - 4); in lif_s_stream()
66 (format->code == 0 ? VI6_LIF_CTRL_CFMT : 0) | in lif_s_stream()
92 struct v4l2_mbus_framefmt *format; in lif_enum_mbus_code() local
100 format = vsp1_entity_get_pad_format(&lif->entity, cfg, in lif_enum_mbus_code()
102 code->code = format->code; in lif_enum_mbus_code()
113 struct v4l2_mbus_framefmt *format; in lif_enum_frame_size() local
115 format = vsp1_entity_get_pad_format(&lif->entity, cfg, LIF_PAD_SINK, in lif_enum_frame_size()
118 if (fse->index || fse->code != format->code) in lif_enum_frame_size()
[all …]
Dvsp1_lut.c94 struct v4l2_mbus_framefmt *format; in lut_enum_mbus_code() local
108 format = vsp1_entity_get_pad_format(&lut->entity, cfg, in lut_enum_mbus_code()
110 code->code = format->code; in lut_enum_mbus_code()
121 struct v4l2_mbus_framefmt *format; in lut_enum_frame_size() local
123 format = vsp1_entity_get_pad_format(&lut->entity, cfg, in lut_enum_frame_size()
126 if (fse->index || fse->code != format->code) in lut_enum_frame_size()
138 fse->min_width = format->width; in lut_enum_frame_size()
139 fse->max_width = format->width; in lut_enum_frame_size()
140 fse->min_height = format->height; in lut_enum_frame_size()
141 fse->max_height = format->height; in lut_enum_frame_size()
[all …]
Dvsp1_hsit.c80 struct v4l2_mbus_framefmt *format; in hsit_enum_frame_size() local
82 format = vsp1_entity_get_pad_format(&hsit->entity, cfg, fse->pad, in hsit_enum_frame_size()
85 if (fse->index || fse->code != format->code) in hsit_enum_frame_size()
97 fse->min_width = format->width; in hsit_enum_frame_size()
98 fse->max_width = format->width; in hsit_enum_frame_size()
99 fse->min_height = format->height; in hsit_enum_frame_size()
100 fse->max_height = format->height; in hsit_enum_frame_size()
112 fmt->format = *vsp1_entity_get_pad_format(&hsit->entity, cfg, fmt->pad, in hsit_get_format()
123 struct v4l2_mbus_framefmt *format; in hsit_set_format() local
125 format = vsp1_entity_get_pad_format(&hsit->entity, cfg, fmt->pad, in hsit_set_format()
[all …]
Dvsp1_sru.c178 struct v4l2_mbus_framefmt *format; in sru_enum_mbus_code() local
192 format = vsp1_entity_get_pad_format(&sru->entity, cfg, in sru_enum_mbus_code()
194 code->code = format->code; in sru_enum_mbus_code()
205 struct v4l2_mbus_framefmt *format; in sru_enum_frame_size() local
207 format = vsp1_entity_get_pad_format(&sru->entity, cfg, in sru_enum_frame_size()
210 if (fse->index || fse->code != format->code) in sru_enum_frame_size()
219 fse->min_width = format->width; in sru_enum_frame_size()
220 fse->min_height = format->height; in sru_enum_frame_size()
221 if (format->width <= SRU_MAX_SIZE / 2 && in sru_enum_frame_size()
222 format->height <= SRU_MAX_SIZE / 2) { in sru_enum_frame_size()
[all …]
Dvsp1_bru.c74 struct v4l2_mbus_framefmt *format; in bru_s_stream() local
86 format = &bru->entity.formats[BRU_PAD_SOURCE]; in bru_s_stream()
97 flags = pipe->output ? pipe->output->video.format.flags : 0; in bru_s_stream()
104 (format->width << VI6_BRU_VIRRPF_SIZE_HSIZE_SHIFT) | in bru_s_stream()
105 (format->height << VI6_BRU_VIRRPF_SIZE_VSIZE_SHIFT)); in bru_s_stream()
128 premultiplied = bru->inputs[i].rpf->video.format.flags in bru_s_stream()
194 struct v4l2_mbus_framefmt *format; in bru_enum_mbus_code() local
205 format = vsp1_entity_get_pad_format(&bru->entity, cfg, in bru_enum_mbus_code()
207 code->code = format->code; in bru_enum_mbus_code()
251 fmt->format = *vsp1_entity_get_pad_format(&bru->entity, cfg, fmt->pad, in bru_get_format()
[all …]
Dvsp1_uds.c187 struct v4l2_mbus_framefmt *format; in uds_enum_mbus_code() local
195 format = vsp1_entity_get_pad_format(&uds->entity, cfg, in uds_enum_mbus_code()
197 code->code = format->code; in uds_enum_mbus_code()
208 struct v4l2_mbus_framefmt *format; in uds_enum_frame_size() local
210 format = vsp1_entity_get_pad_format(&uds->entity, cfg, in uds_enum_frame_size()
213 if (fse->index || fse->code != format->code) in uds_enum_frame_size()
222 uds_output_limits(format->width, &fse->min_width, in uds_enum_frame_size()
224 uds_output_limits(format->height, &fse->min_height, in uds_enum_frame_size()
236 fmt->format = *vsp1_entity_get_pad_format(&uds->entity, cfg, fmt->pad, in uds_get_format()
246 struct v4l2_mbus_framefmt *format; in uds_try_format() local
[all …]
Dvsp1_video.c188 if (video->fmtinfo->mbus != fmt.format.code || in vsp1_video_verify_format()
189 video->format.height != fmt.format.height || in vsp1_video_verify_format()
190 video->format.width != fmt.format.width) in vsp1_video_verify_format()
279 const struct v4l2_pix_format_mplane *format, in vsp1_video_format_adjust() argument
284 *adjust = *format; in vsp1_video_format_adjust()
287 if (format->width != adjust->width || in vsp1_video_format_adjust()
288 format->height != adjust->height || in vsp1_video_format_adjust()
289 format->pixelformat != adjust->pixelformat || in vsp1_video_format_adjust()
290 format->num_planes != adjust->num_planes) in vsp1_video_format_adjust()
293 for (i = 0; i < format->num_planes; ++i) { in vsp1_video_format_adjust()
[all …]
Dvsp1_rpf.c79 const struct v4l2_pix_format_mplane *format = &rpf->video.format; in rpf_s_stream() local
105 rpf->offsets[0] = crop->top * format->plane_fmt[0].bytesperline in rpf_s_stream()
107 pstride = format->plane_fmt[0].bytesperline in rpf_s_stream()
113 if (format->num_planes > 1) { in rpf_s_stream()
114 rpf->offsets[1] = crop->top * format->plane_fmt[1].bytesperline in rpf_s_stream()
116 pstride |= format->plane_fmt[1].bytesperline in rpf_s_stream()
122 if (format->num_planes > 2) in rpf_s_stream()
Dvsp1_entity.c93 struct v4l2_subdev_format format; in vsp1_entity_init_formats() local
97 memset(&format, 0, sizeof(format)); in vsp1_entity_init_formats()
99 format.pad = pad; in vsp1_entity_init_formats()
100 format.which = cfg ? V4L2_SUBDEV_FORMAT_TRY in vsp1_entity_init_formats()
103 v4l2_subdev_call(subdev, pad, set_fmt, cfg, &format); in vsp1_entity_init_formats()
/linux-4.4.14/drivers/staging/media/omap4iss/
Diss_ipipe.c89 struct v4l2_mbus_framefmt *format; in ipipe_configure() local
92 format = &ipipe->formats[IPIPE_PAD_SINK]; in ipipe_configure()
105 (format->height - 2) & IPIPE_SRC_VSZ_MASK); in ipipe_configure()
107 (format->width - 1) & IPIPE_SRC_HSZ_MASK); in ipipe_configure()
119 format = &ipipe->formats[IPIPE_PAD_SOURCE_VP]; in ipipe_configure()
206 struct v4l2_mbus_framefmt *format; in ipipe_try_format() local
229 format = __ipipe_get_format(ipipe, cfg, IPIPE_PAD_SINK, which); in ipipe_try_format()
230 memcpy(fmt, format, sizeof(*fmt)); in ipipe_try_format()
281 struct v4l2_mbus_framefmt format; in ipipe_enum_frame_size() local
286 format.code = fse->code; in ipipe_enum_frame_size()
[all …]
Diss_ipipeif.c129 struct v4l2_mbus_framefmt *format; in ipipeif_configure() local
135 format = &ipipeif->formats[IPIPEIF_PAD_SINK]; in ipipeif_configure()
142 switch (format->code) { in ipipeif_configure()
186 info = omap4iss_video_format_info(format->code); in ipipeif_configure()
199 (format->width - 1) & ISIF_LNH_MASK); in ipipeif_configure()
201 (format->height - 1) & ISIF_LNV_MASK); in ipipeif_configure()
205 format->height - 1); in ipipeif_configure()
208 format = &ipipeif->formats[IPIPEIF_PAD_SOURCE_ISIF_SF]; in ipipeif_configure()
385 struct v4l2_mbus_framefmt *format; in ipipeif_try_format() local
410 format = __ipipeif_get_format(ipipeif, cfg, IPIPEIF_PAD_SINK, in ipipeif_try_format()
[all …]
Diss_resizer.c445 struct v4l2_mbus_framefmt *format; in resizer_try_format() local
468 format = __resizer_get_format(resizer, cfg, RESIZER_PAD_SINK, in resizer_try_format()
470 memcpy(fmt, format, sizeof(*fmt)); in resizer_try_format()
503 struct v4l2_mbus_framefmt *format; in resizer_enum_mbus_code() local
514 format = __resizer_get_format(resizer, cfg, RESIZER_PAD_SINK, in resizer_enum_mbus_code()
518 code->code = format->code; in resizer_enum_mbus_code()
522 switch (format->code) { in resizer_enum_mbus_code()
548 struct v4l2_mbus_framefmt format; in resizer_enum_frame_size() local
553 format.code = fse->code; in resizer_enum_frame_size()
554 format.width = 1; in resizer_enum_frame_size()
[all …]
Diss_csi2.c850 struct v4l2_mbus_framefmt *format; in csi2_try_format() local
875 format = __csi2_get_format(csi2, cfg, CSI2_PAD_SINK, which); in csi2_try_format()
876 memcpy(fmt, format, sizeof(*fmt)); in csi2_try_format()
905 struct v4l2_mbus_framefmt *format; in csi2_enum_mbus_code() local
914 format = __csi2_get_format(csi2, cfg, CSI2_PAD_SINK, in csi2_enum_mbus_code()
919 code->code = format->code; in csi2_enum_mbus_code()
923 info = omap4iss_video_format_info(format->code); in csi2_enum_mbus_code()
924 if (info->uncompressed == format->code) in csi2_enum_mbus_code()
942 struct v4l2_mbus_framefmt format; in csi2_enum_frame_size() local
947 format.code = fse->code; in csi2_enum_frame_size()
[all …]
Diss_video.c235 struct v4l2_mbus_framefmt *format) in __iss_video_get_format() argument
257 *format = fmt.format; in __iss_video_get_format()
264 struct v4l2_mbus_framefmt format; in iss_video_check_format() local
268 ret = __iss_video_get_format(video, &format); in iss_video_check_format()
273 ret = iss_video_mbus_to_pix(video, &format, &pixfmt); in iss_video_check_format()
275 if (vfh->format.fmt.pix.pixelformat != pixfmt.pixelformat || in iss_video_check_format()
276 vfh->format.fmt.pix.height != pixfmt.height || in iss_video_check_format()
277 vfh->format.fmt.pix.width != pixfmt.width || in iss_video_check_format()
278 vfh->format.fmt.pix.bytesperline != pixfmt.bytesperline || in iss_video_check_format()
279 vfh->format.fmt.pix.sizeimage != pixfmt.sizeimage) in iss_video_check_format()
[all …]
/linux-4.4.14/drivers/acpi/acpica/
Dutprint.c358 acpi_size size, const char *format, va_list args) in acpi_ut_vsnprintf() argument
377 for (; *format; ++format) { in acpi_ut_vsnprintf()
378 if (*format != '%') { in acpi_ut_vsnprintf()
379 pos = acpi_ut_bound_string_output(pos, end, *format); in acpi_ut_vsnprintf()
389 ++format; in acpi_ut_vsnprintf()
390 if (*format == '#') { in acpi_ut_vsnprintf()
392 } else if (*format == '0') { in acpi_ut_vsnprintf()
394 } else if (*format == '+') { in acpi_ut_vsnprintf()
396 } else if (*format == ' ') { in acpi_ut_vsnprintf()
398 } else if (*format == '-') { in acpi_ut_vsnprintf()
[all …]
Dutxferror.c71 acpi_error(const char *module_name, u32 line_number, const char *format, ...) in acpi_error() argument
78 va_start(arg_list, format); in acpi_error()
79 acpi_os_vprintf(format, arg_list); in acpi_error()
105 u32 line_number, acpi_status status, const char *format, ...) in ACPI_EXPORT_SYMBOL()
120 va_start(arg_list, format); in ACPI_EXPORT_SYMBOL()
121 acpi_os_vprintf(format, arg_list); in ACPI_EXPORT_SYMBOL()
144 acpi_warning(const char *module_name, u32 line_number, const char *format, ...) in ACPI_EXPORT_SYMBOL()
151 va_start(arg_list, format); in ACPI_EXPORT_SYMBOL()
152 acpi_os_vprintf(format, arg_list); in ACPI_EXPORT_SYMBOL()
178 acpi_info(const char *module_name, u32 line_number, const char *format, ...) in ACPI_EXPORT_SYMBOL()
[all …]
Duterror.c78 u8 node_flags, const char *format, ...) in acpi_ut_predefined_warning() argument
92 va_start(arg_list, format); in acpi_ut_predefined_warning()
93 acpi_os_vprintf(format, arg_list); in acpi_ut_predefined_warning()
120 char *pathname, u8 node_flags, const char *format, ...) in acpi_ut_predefined_info() argument
134 va_start(arg_list, format); in acpi_ut_predefined_info()
135 acpi_os_vprintf(format, arg_list); in acpi_ut_predefined_info()
163 u8 node_flags, const char *format, ...) in acpi_ut_predefined_bios_error() argument
177 va_start(arg_list, format); in acpi_ut_predefined_bios_error()
178 acpi_os_vprintf(format, arg_list); in acpi_ut_predefined_bios_error()
Dutdebug.c166 u32 component_id, const char *format, ...) in acpi_debug_print() argument
214 va_start(args, format); in acpi_debug_print()
215 acpi_os_vprintf(format, args); in acpi_debug_print()
244 u32 component_id, const char *format, ...) in ACPI_EXPORT_SYMBOL()
254 va_start(args, format); in ACPI_EXPORT_SYMBOL()
255 acpi_os_vprintf(format, args); in ACPI_EXPORT_SYMBOL()
608 void ACPI_INTERNAL_VAR_XFACE acpi_log_error(const char *format, ...) in ACPI_EXPORT_SYMBOL()
612 va_start(args, format); in ACPI_EXPORT_SYMBOL()
613 (void)acpi_ut_file_vprintf(ACPI_FILE_ERR, format, args); in ACPI_EXPORT_SYMBOL()
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_debug.h210 #define __CDEBUG(cdls, mask, format, ...) \ argument
218 libcfs_debug_msg(&msgdata, format, ## __VA_ARGS__); \
222 #define CDEBUG(mask, format, ...) __CDEBUG(NULL, mask, format, ## __VA_ARGS__) argument
224 #define CDEBUG_LIMIT(mask, format, ...) \ argument
228 __CDEBUG(&cdls, mask, format, ## __VA_ARGS__); \
231 #define CWARN(format, ...) CDEBUG_LIMIT(D_WARNING, format, ## __VA_ARGS__) argument
232 #define CERROR(format, ...) CDEBUG_LIMIT(D_ERROR, format, ## __VA_ARGS__) argument
233 #define CNETERR(format, a...) CDEBUG_LIMIT(D_NETERROR, format, ## a) argument
234 #define CEMERG(format, ...) CDEBUG_LIMIT(D_EMERG, format, ## __VA_ARGS__) argument
236 #define LCONSOLE(mask, format, ...) CDEBUG(D_CONSOLE | (mask), format, ## __VA_ARGS__) argument
[all …]
/linux-4.4.14/drivers/media/platform/xilinx/
Dxilinx-vip.c61 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_get_format_by_code() local
63 if (format->code == code) in xvip_get_format_by_code()
64 return format; in xvip_get_format_by_code()
84 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_get_format_by_fourcc() local
86 if (format->fourcc == fourcc) in xvip_get_format_by_fourcc()
87 return format; in xvip_get_format_by_fourcc()
125 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_of_get_format() local
127 if (format->vf_code != vf_code || format->width != width) in xvip_of_get_format()
131 strcmp(pattern, format->pattern)) in xvip_of_get_format()
134 return format; in xvip_of_get_format()
[all …]
Dxilinx-dma.c77 if (dma->fmtinfo->code != fmt.format.code || in xvip_dma_verify_format()
78 dma->format.height != fmt.format.height || in xvip_dma_verify_format()
79 dma->format.width != fmt.format.width || in xvip_dma_verify_format()
80 dma->format.colorspace != fmt.format.colorspace) in xvip_dma_verify_format()
307 vb2_set_plane_payload(&buf->buf.vb2_buf, 0, dma->format.sizeimage); in xvip_dma_complete()
320 if (fmt && fmt->fmt.pix.sizeimage < dma->format.sizeimage) in xvip_dma_queue_setup()
325 sizes[0] = fmt ? fmt->fmt.pix.sizeimage : dma->format.sizeimage; in xvip_dma_queue_setup()
366 dma->sgl[0].size = dma->format.width * dma->fmtinfo->bpp; in xvip_dma_buffer_queue()
367 dma->sgl[0].icg = dma->format.bytesperline - dma->sgl[0].size; in xvip_dma_buffer_queue()
368 dma->xt.numf = dma->format.height; in xvip_dma_buffer_queue()
[all …]
Dxilinx-tpg.c276 fmt->format = *__xtpg_get_pad_format(xtpg, cfg, fmt->pad, fmt->which); in xtpg_get_format()
295 fmt->format = *__format; in xtpg_set_format()
301 bayer_phase = xtpg_get_bayer_phase(fmt->format.code); in xtpg_set_format()
303 __format->code = fmt->format.code; in xtpg_set_format()
308 fmt->format = *__format; in xtpg_set_format()
313 *__format = fmt->format; in xtpg_set_format()
327 struct v4l2_mbus_framefmt *format; in xtpg_enum_frame_size() local
329 format = v4l2_subdev_get_try_format(subdev, cfg, fse->pad); in xtpg_enum_frame_size()
331 if (fse->index || fse->code != format->code) in xtpg_enum_frame_size()
343 fse->min_width = format->width; in xtpg_enum_frame_size()
[all …]
Dxilinx-vip.h129 void xvip_set_format_size(struct v4l2_mbus_framefmt *format,
194 const struct v4l2_mbus_framefmt *format) in xvip_set_frame_size() argument
197 (format->height << XVIP_ACTIVE_VSIZE_SHIFT) | in xvip_set_frame_size()
198 (format->width << XVIP_ACTIVE_HSIZE_SHIFT)); in xvip_set_frame_size()
202 struct v4l2_mbus_framefmt *format) in xvip_get_frame_size() argument
207 format->width = (reg & XVIP_ACTIVE_HSIZE_MASK) >> in xvip_get_frame_size()
209 format->height = (reg & XVIP_ACTIVE_VSIZE_MASK) >> in xvip_get_frame_size()
/linux-4.4.14/drivers/usb/atm/
Dusbatm.h43 #define usb_err(instance, format, arg...) \ argument
44 dev_err(&(instance)->usb_intf->dev , format , ## arg)
45 #define usb_info(instance, format, arg...) \ argument
46 dev_info(&(instance)->usb_intf->dev , format , ## arg)
47 #define usb_warn(instance, format, arg...) \ argument
48 dev_warn(&(instance)->usb_intf->dev , format , ## arg)
49 #define usb_dbg(instance, format, arg...) \ argument
50 dev_dbg(&(instance)->usb_intf->dev , format , ## arg)
53 #define atm_printk(level, instance, format, arg...) \ argument
54 printk(level "ATM dev %d: " format , \
[all …]
/linux-4.4.14/drivers/staging/rdma/ehca/
Dehca_tools.h69 #define ehca_dbg(ib_dev, format, arg...) \ argument
73 "PU%04x EHCA_DBG:%s " format "\n", \
78 #define ehca_info(ib_dev, format, arg...) \ argument
79 dev_info((ib_dev)->dma_device, "PU%04x EHCA_INFO:%s " format "\n", \
82 #define ehca_warn(ib_dev, format, arg...) \ argument
83 dev_warn((ib_dev)->dma_device, "PU%04x EHCA_WARN:%s " format "\n", \
86 #define ehca_err(ib_dev, format, arg...) \ argument
87 dev_err((ib_dev)->dma_device, "PU%04x EHCA_ERR:%s " format "\n", \
91 #define ehca_gen_dbg(format, arg...) \ argument
94 printk(KERN_DEBUG "PU%04x EHCA_DBG:%s " format "\n", \
[all …]
/linux-4.4.14/sound/core/
Dpcm_misc.c239 int snd_pcm_format_signed(snd_pcm_format_t format) in snd_pcm_format_signed() argument
242 if ((INT)format < 0 || (INT)format > (INT)SNDRV_PCM_FORMAT_LAST) in snd_pcm_format_signed()
244 if ((val = pcm_formats[(INT)format].signd) < 0) in snd_pcm_format_signed()
258 int snd_pcm_format_unsigned(snd_pcm_format_t format) in snd_pcm_format_unsigned() argument
262 val = snd_pcm_format_signed(format); in snd_pcm_format_unsigned()
276 int snd_pcm_format_linear(snd_pcm_format_t format) in snd_pcm_format_linear() argument
278 return snd_pcm_format_signed(format) >= 0; in snd_pcm_format_linear()
290 int snd_pcm_format_little_endian(snd_pcm_format_t format) in snd_pcm_format_little_endian() argument
293 if ((INT)format < 0 || (INT)format > (INT)SNDRV_PCM_FORMAT_LAST) in snd_pcm_format_little_endian()
295 if ((val = pcm_formats[(INT)format].le) < 0) in snd_pcm_format_little_endian()
[all …]
Dmisc.c67 const char *format, ...) in __snd_printk() argument
81 va_start(args, format); in __snd_printk()
83 vaf.fmt = format; in __snd_printk()
86 kern_level = printk_get_level(format); in __snd_printk()
88 const char *end_of_header = printk_skip_level(format); in __snd_printk()
89 memcpy(verbose_fmt, format, end_of_header - format); in __snd_printk()
96 vprintk(format, args); in __snd_printk()
/linux-4.4.14/tools/power/cpupower/po/
Dde.po73 #, 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 …]
Dfr.po73 #, 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 …]
Dit.po73 #, 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 …]
Dcs.po76 #, 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 …]
Dpt.po71 #, c-format
78 #, c-format
85 #, c-format
90 #, c-format
95 #, c-format
100 #, c-format
105 #, c-format
110 #, c-format
115 #, c-format
122 #, c-format
[all …]
/linux-4.4.14/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 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 …]
Droute.c28 snd_pcm_uframes_t frames, snd_pcm_format_t format) in zero_areas() argument
33 snd_pcm_area_silence(&dvp->area, 0, frames, format); in zero_areas()
41 snd_pcm_uframes_t frames, snd_pcm_format_t format) in copy_area() argument
44 snd_pcm_area_copy(&src_channel->area, 0, &dst_channel->area, 0, frames, format); in copy_area()
54 snd_pcm_format_t format; in route_transfer() local
64 format = plugin->dst_format.format; in route_transfer()
69 copy_area(src_channels, dvp, frames, format); in route_transfer()
76 copy_area(src_channels, dvp, frames, format); in route_transfer()
81 zero_areas(dvp, ndsts - dst, frames, format); in route_transfer()
98 if (snd_BUG_ON(src_format->format != dst_format->format)) in snd_pcm_plugin_build_route()
Dmulaw.c183 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in mulaw_decode()
229 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in mulaw_encode()
277 static void init_data(struct mulaw_priv *data, snd_pcm_format_t format) in init_data() argument
280 data->cvt_endian = snd_pcm_format_big_endian(format) > 0; in init_data()
282 data->cvt_endian = snd_pcm_format_little_endian(format) > 0; in init_data()
284 if (!snd_pcm_format_signed(format)) in init_data()
286 data->native_bytes = snd_pcm_format_physical_width(format) / 8; in init_data()
288 if (snd_pcm_format_little_endian(format)) { in init_data()
294 snd_pcm_format_width(format) / 8; in init_data()
306 struct snd_pcm_plugin_format *format; in snd_pcm_plugin_build_mulaw() local
[all …]
Dio.c113 struct snd_pcm_plugin_format format; in snd_pcm_plugin_build_io() local
121 format.format = params_format(params); in snd_pcm_plugin_build_io()
122 format.rate = params_rate(params); in snd_pcm_plugin_build_io()
123 format.channels = params_channels(params); in snd_pcm_plugin_build_io()
125 &format, &format, in snd_pcm_plugin_build_io()
126 sizeof(void *) * format.channels, in snd_pcm_plugin_build_io()
Dcopy.c49 snd_pcm_area_silence(&dst_channels->area, 0, frames, plugin->dst_format.format); in copy_transfer()
54 …d_pcm_area_copy(&src_channels->area, 0, &dst_channels->area, 0, frames, plugin->src_format.format); in copy_transfer()
74 if (snd_BUG_ON(src_format->format != dst_format->format)) in snd_pcm_plugin_build_copy()
81 width = snd_pcm_format_physical_width(src_format->format); in snd_pcm_plugin_build_copy()
Dpcm_plugin.h49 snd_pcm_format_t format; member
128 snd_pcm_format_t snd_pcm_plug_slave_format(snd_pcm_format_t format,
150 size_t samples, snd_pcm_format_t format);
155 size_t samples, snd_pcm_format_t format);
175 static inline int snd_pcm_plug_slave_format(int format, struct snd_mask *format_mask) { return form… in snd_pcm_plug_slave_format() argument
Dlinear.c70 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in convert()
164 if (snd_BUG_ON(!snd_pcm_format_linear(src_format->format) || in snd_pcm_plugin_build_linear()
165 !snd_pcm_format_linear(dst_format->format))) in snd_pcm_plugin_build_linear()
174 init_data(data, src_format->format, dst_format->format); in snd_pcm_plugin_build_linear()
/linux-4.4.14/drivers/gpu/drm/shmobile/
Dshmob_drm_plane.c32 const struct shmob_drm_format_info *format; member
52 bpp = splane->format->yuv ? 8 : splane->format->bpp; in shmob_drm_plane_compute_base()
57 if (splane->format->yuv) { in shmob_drm_plane_compute_base()
58 bpp = splane->format->bpp - 8; in shmob_drm_plane_compute_base()
70 u32 format; in __shmob_drm_plane_setup() local
73 format = LDBBSIFR_EN | (splane->alpha << LDBBSIFR_LAY_SHIFT); in __shmob_drm_plane_setup()
75 switch (splane->format->fourcc) { in __shmob_drm_plane_setup()
80 format |= LDBBSIFR_SWPL | LDBBSIFR_SWPW; in __shmob_drm_plane_setup()
86 format |= LDBBSIFR_SWPL | LDBBSIFR_SWPW | LDBBSIFR_SWPB; in __shmob_drm_plane_setup()
90 format |= LDBBSIFR_SWPL; in __shmob_drm_plane_setup()
[all …]
Dshmob_drm_kms.c109 const struct shmob_drm_format_info *format; in shmob_drm_fb_create() local
111 format = shmob_drm_format_info(mode_cmd->pixel_format); in shmob_drm_fb_create()
112 if (format == NULL) { in shmob_drm_fb_create()
124 if (format->yuv) { in shmob_drm_fb_create()
125 unsigned int chroma_cpp = format->bpp == 24 ? 2 : 1; in shmob_drm_fb_create()
Dshmob_drm_crtc.c168 const struct shmob_drm_format_info *format; in shmob_drm_crtc_start() local
177 format = shmob_drm_format_info(crtc->primary->fb->pixel_format); in shmob_drm_crtc_start()
178 if (WARN_ON(format == NULL)) in shmob_drm_crtc_start()
222 lcdc_write(sdev, LDDFR, format->lddfr | LDDFR_CF1); in shmob_drm_crtc_start()
225 if (format->yuv) in shmob_drm_crtc_start()
230 switch (format->fourcc) { in shmob_drm_crtc_start()
312 bpp = scrtc->format->yuv ? 8 : scrtc->format->bpp; in shmob_drm_crtc_compute_base()
317 if (scrtc->format->yuv) { in shmob_drm_crtc_compute_base()
318 bpp = scrtc->format->bpp - 8; in shmob_drm_crtc_compute_base()
339 if (scrtc->format->yuv) in shmob_drm_crtc_update_base()
[all …]
/linux-4.4.14/include/asm-generic/
Dbug.h94 #define WARN(condition, format...) ({ \ argument
97 __WARN_printf(format); \
102 #define WARN_TAINT(condition, taint, format...) ({ \ argument
105 __WARN_printf_taint(taint, format); \
119 #define WARN_ONCE(condition, format...) ({ \ argument
124 if (WARN(!__warned, format)) \
129 #define WARN_TAINT_ONCE(condition, taint, format...) ({ \ argument
134 if (WARN_TAINT(!__warned, taint, format)) \
156 #define WARN(condition, format...) ({ \ argument
158 no_printk(format); \
[all …]
/linux-4.4.14/tools/perf/ui/
Dutil.c8 static int perf_stdio__error(const char *format, va_list args) in perf_stdio__error() argument
11 vfprintf(stderr, format, args); in perf_stdio__error()
15 static int perf_stdio__warning(const char *format, va_list args) in perf_stdio__warning() argument
18 vfprintf(stderr, format, args); in perf_stdio__warning()
31 int ui__error(const char *format, ...) in ui__error() argument
36 va_start(args, format); in ui__error()
37 ret = perf_eops->error(format, args); in ui__error()
43 int ui__warning(const char *format, ...) in ui__warning() argument
48 va_start(args, format); in ui__warning()
49 ret = perf_eops->warning(format, args); in ui__warning()
/linux-4.4.14/net/bluetooth/
Dlib.c138 void bt_info(const char *format, ...) in bt_info() argument
143 va_start(args, format); in bt_info()
145 vaf.fmt = format; in bt_info()
154 void bt_warn(const char *format, ...) in bt_warn() argument
159 va_start(args, format); in bt_warn()
161 vaf.fmt = format; in bt_warn()
170 void bt_err(const char *format, ...) in bt_err() argument
175 va_start(args, format); in bt_err()
177 vaf.fmt = format; in bt_err()
186 void bt_err_ratelimited(const char *format, ...) in bt_err_ratelimited() argument
[all …]
/linux-4.4.14/drivers/media/platform/omap3isp/
Dispccp2.c289 u32 val, format; in ccp2_lcx_config() local
291 switch (config->format) { in ccp2_lcx_config()
293 format = ISPCCP2_LCx_CTRL_FORMAT_RAW8_DPCM10_VP; in ccp2_lcx_config()
297 format = ISPCCP2_LCx_CTRL_FORMAT_RAW10_VP; /* RAW10+VP */ in ccp2_lcx_config()
311 ISPCCP2_LCx_CTRL_FORMAT_MASK_15_0, format); in ccp2_lcx_config()
318 ISPCCP2_LCx_CTRL_FORMAT_MASK, format); in ccp2_lcx_config()
351 struct v4l2_mbus_framefmt *format; in ccp2_if_configure() local
371 format = &ccp2->formats[CCP2_PAD_SINK]; in ccp2_if_configure()
375 ccp2->if_cfg.format = format->code; in ccp2_if_configure()
376 ccp2->if_cfg.data_size = format->height; in ccp2_if_configure()
[all …]
Dispccdc.c138 struct v4l2_mbus_framefmt *format; in ccdc_lsc_validate_config() local
164 format = __ccdc_get_format(ccdc, NULL, CCDC_PAD_SINK, in ccdc_lsc_validate_config()
166 input_width = format->width; in ccdc_lsc_validate_config()
167 input_height = format->height; in ccdc_lsc_validate_config()
265 const struct v4l2_mbus_framefmt *format = in __ccdc_lsc_enable() local
269 if ((format->code != MEDIA_BUS_FMT_SGRBG10_1X10) && in __ccdc_lsc_enable()
270 (format->code != MEDIA_BUS_FMT_SRGGB10_1X10) && in __ccdc_lsc_enable()
271 (format->code != MEDIA_BUS_FMT_SBGGR10_1X10) && in __ccdc_lsc_enable()
272 (format->code != MEDIA_BUS_FMT_SGBRG10_1X10)) in __ccdc_lsc_enable()
810 struct v4l2_mbus_framefmt *format; in ccdc_config_vp() local
[all …]
Dispcsi2.c853 struct v4l2_mbus_framefmt *format; in csi2_try_format() local
878 format = __csi2_get_format(csi2, cfg, CSI2_PAD_SINK, which); in csi2_try_format()
879 memcpy(fmt, format, sizeof(*fmt)); in csi2_try_format()
908 struct v4l2_mbus_framefmt *format; in csi2_enum_mbus_code() local
917 format = __csi2_get_format(csi2, cfg, CSI2_PAD_SINK, in csi2_enum_mbus_code()
922 code->code = format->code; in csi2_enum_mbus_code()
926 info = omap3isp_video_format_info(format->code); in csi2_enum_mbus_code()
927 if (info->uncompressed == format->code) in csi2_enum_mbus_code()
945 struct v4l2_mbus_framefmt format; in csi2_enum_frame_size() local
950 format.code = fse->code; in csi2_enum_frame_size()
[all …]
Dispvideo.c271 __isp_video_get_format(struct isp_video *video, struct v4l2_format *format) in __isp_video_get_format() argument
292 format->type = video->type; in __isp_video_get_format()
293 return isp_video_mbus_to_pix(video, &fmt.format, &format->fmt.pix); in __isp_video_get_format()
299 struct v4l2_format format; in isp_video_check_format() local
302 memcpy(&format, &vfh->format, sizeof(format)); in isp_video_check_format()
303 ret = __isp_video_get_format(video, &format); in isp_video_check_format()
307 if (vfh->format.fmt.pix.pixelformat != format.fmt.pix.pixelformat || in isp_video_check_format()
308 vfh->format.fmt.pix.height != format.fmt.pix.height || in isp_video_check_format()
309 vfh->format.fmt.pix.width != format.fmt.pix.width || in isp_video_check_format()
310 vfh->format.fmt.pix.bytesperline != format.fmt.pix.bytesperline || in isp_video_check_format()
[all …]
Dispresizer.c1381 struct v4l2_mbus_framefmt *format; in resizer_try_format() local
1398 format = __resizer_get_format(res, cfg, RESZ_PAD_SINK, which); in resizer_try_format()
1399 fmt->code = format->code; in resizer_try_format()
1422 struct v4l2_mbus_framefmt *format; in resizer_enum_mbus_code() local
1433 format = __resizer_get_format(res, cfg, RESZ_PAD_SINK, in resizer_enum_mbus_code()
1435 code->code = format->code; in resizer_enum_mbus_code()
1446 struct v4l2_mbus_framefmt format; in resizer_enum_frame_size() local
1451 format.code = fse->code; in resizer_enum_frame_size()
1452 format.width = 1; in resizer_enum_frame_size()
1453 format.height = 1; in resizer_enum_frame_size()
[all …]
Disppreview.c1067 const struct v4l2_mbus_framefmt *format = &prev->formats[PREV_PAD_SINK]; in preview_config_input_size() local
1075 if (format->code != MEDIA_BUS_FMT_Y8_1X8 && in preview_config_input_size()
1076 format->code != MEDIA_BUS_FMT_Y10_1X10) { in preview_config_input_size()
1318 params->cfa.format = OMAP3ISP_CFAFMT_BAYER; in preview_init_params()
1385 struct v4l2_mbus_framefmt *format; in preview_configure() local
1397 format = &prev->formats[PREV_PAD_SINK]; in preview_configure()
1398 info = omap3isp_video_format_info(format->code); in preview_configure()
1408 preview_config_inlineoffset(prev, ALIGN(format->width, 0x20) * in preview_configure()
1414 format = &prev->formats[PREV_PAD_SOURCE]; in preview_configure()
1432 ALIGN(format->width, 0x10) * 2); in preview_configure()
[all …]
/linux-4.4.14/drivers/pci/hotplug/
Dpciehp.h47 #define dbg(format, arg...) \ argument
50 printk(KERN_DEBUG "%s: " format, MY_NAME , ## arg); \
52 #define err(format, arg...) \ argument
53 printk(KERN_ERR "%s: " format, MY_NAME , ## arg)
54 #define info(format, arg...) \ argument
55 printk(KERN_INFO "%s: " format, MY_NAME , ## arg)
56 #define warn(format, arg...) \ argument
57 printk(KERN_WARNING "%s: " format, MY_NAME , ## arg)
59 #define ctrl_dbg(ctrl, format, arg...) \ argument
63 format, ## arg); \
[all …]
Drpaphp.h50 #define dbg(format, arg...) \ argument
53 printk(KERN_DEBUG "%s: " format, \
56 #define err(format, arg...) printk(KERN_ERR "%s: " format, MY_NAME , ## arg) argument
57 #define info(format, arg...) printk(KERN_INFO "%s: " format, MY_NAME , ## arg) argument
58 #define warn(format, arg...) printk(KERN_WARNING "%s: " format, MY_NAME , ## arg) argument
Dshpchp.h50 #define dbg(format, arg...) \ argument
53 printk(KERN_DEBUG "%s: " format, MY_NAME , ## arg); \
55 #define err(format, arg...) \ argument
56 printk(KERN_ERR "%s: " format, MY_NAME , ## arg)
57 #define info(format, arg...) \ argument
58 printk(KERN_INFO "%s: " format, MY_NAME , ## arg)
59 #define warn(format, arg...) \ argument
60 printk(KERN_WARNING "%s: " format, MY_NAME , ## arg)
62 #define ctrl_dbg(ctrl, format, arg...) \ argument
66 format, ## arg); \
[all …]
Dcpcihp_generic.c54 #define dbg(format, arg...) \ argument
57 printk (KERN_DEBUG "%s: " format "\n", \
60 #define err(format, arg...) printk(KERN_ERR "%s: " format "\n", MY_NAME , ## arg) argument
61 #define info(format, arg...) printk(KERN_INFO "%s: " format "\n", MY_NAME , ## arg) argument
62 #define warn(format, arg...) printk(KERN_WARNING "%s: " format "\n", MY_NAME , ## arg) argument
Dcpcihp_zt5550.c49 #define dbg(format, arg...) \ argument
52 printk (KERN_DEBUG "%s: " format "\n", \
55 #define err(format, arg...) printk(KERN_ERR "%s: " format "\n", MY_NAME , ## arg) argument
56 #define info(format, arg...) printk(KERN_INFO "%s: " format "\n", MY_NAME , ## arg) argument
57 #define warn(format, arg...) printk(KERN_WARNING "%s: " format "\n", MY_NAME , ## arg) argument
Dpcihp_skeleton.c51 #define dbg(format, arg...) \ argument
54 printk(KERN_DEBUG "%s: " format "\n", \
57 #define err(format, arg...) printk(KERN_ERR "%s: " format "\n", MY_NAME , ## arg) argument
58 #define info(format, arg...) printk(KERN_INFO "%s: " format "\n", MY_NAME , ## arg) argument
59 #define warn(format, arg...) printk(KERN_WARNING "%s: " format "\n", MY_NAME , ## arg) argument
Dcpci_hotplug_pci.c38 #define dbg(format, arg...) \ argument
41 printk (KERN_DEBUG "%s: " format "\n", \
44 #define err(format, arg...) printk(KERN_ERR "%s: " format "\n", MY_NAME , ## arg) argument
45 #define info(format, arg...) printk(KERN_INFO "%s: " format "\n", MY_NAME , ## arg) argument
46 #define warn(format, arg...) printk(KERN_WARNING "%s: " format "\n", MY_NAME , ## arg) argument
Dacpi_pcihp.c40 #define err(format, arg...) printk(KERN_ERR "%s: " format , MY_NAME , ## arg) argument
41 #define info(format, arg...) printk(KERN_INFO "%s: " format , MY_NAME , ## arg) argument
42 #define warn(format, arg...) printk(KERN_WARNING "%s: " format , MY_NAME , ## arg) argument
/linux-4.4.14/drivers/staging/media/davinci_vpfe/
Ddm365_resizer.c85 struct v4l2_mbus_framefmt *format, in resizer_validate_output_image_format() argument
88 if (format->code != MEDIA_BUS_FMT_UYVY8_2X8 && in resizer_validate_output_image_format()
89 format->code != MEDIA_BUS_FMT_Y8_1X8 && in resizer_validate_output_image_format()
90 format->code != MEDIA_BUS_FMT_UV8_1X8 && in resizer_validate_output_image_format()
91 format->code != MEDIA_BUS_FMT_YDYUYDYV8_1X16 && in resizer_validate_output_image_format()
92 format->code != MEDIA_BUS_FMT_SGRBG12_1X12) { in resizer_validate_output_image_format()
93 dev_err(dev, "Invalid Mbus format, %d\n", format->code); in resizer_validate_output_image_format()
96 if (!format->width || !format->height) { in resizer_validate_output_image_format()
100 resizer_calculate_line_length(format->code, format->width, in resizer_validate_output_image_format()
101 format->height, in_line_len, in_line_len_c); in resizer_validate_output_image_format()
[all …]
Ddm365_isif.c231 struct v4l2_pix_format format; in isif_config_format() local
234 v4l2_fill_pix_format(&format, &vpfe_dev->vpfe_isif.formats[pad]); in isif_config_format()
235 mbus_to_pix(&vpfe_dev->vpfe_isif.formats[pad], &format); in isif_config_format()
237 if (isif_set_pixel_format(vpfe_isif, format.pixelformat) < 0) { in isif_config_format()
246 vpfe_isif->crop.width = format.width; in isif_config_format()
247 vpfe_isif->crop.height = format.height; in isif_config_format()
288 unsigned int width = fmt->format.width; in isif_try_format()
289 unsigned int height = fmt->format.height; in isif_try_format()
293 if (fmt->format.code == isif_fmts[i]) in isif_try_format()
299 fmt->format.code = MEDIA_BUS_FMT_YUYV8_2X8; in isif_try_format()
[all …]
Ddm365_ipipeif.c590 fmt->format = ipipeif->formats[fmt->pad]; in ipipeif_get_format()
592 fmt->format = *(v4l2_subdev_get_try_format(sd, cfg, fmt->pad)); in ipipeif_get_format()
648 struct v4l2_mbus_framefmt format; in ipipeif_enum_frame_size() local
653 format.code = fse->code; in ipipeif_enum_frame_size()
654 format.width = 1; in ipipeif_enum_frame_size()
655 format.height = 1; in ipipeif_enum_frame_size()
656 ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); in ipipeif_enum_frame_size()
657 fse->min_width = format.width; in ipipeif_enum_frame_size()
658 fse->min_height = format.height; in ipipeif_enum_frame_size()
660 if (format.code != fse->code) in ipipeif_enum_frame_size()
[all …]
Ddm365_ipipe.c1487 struct v4l2_mbus_framefmt *format; in ipipe_set_format() local
1489 format = __ipipe_get_format(ipipe, cfg, fmt->pad, fmt->which); in ipipe_set_format()
1490 if (format == NULL) in ipipe_set_format()
1493 ipipe_try_format(ipipe, cfg, fmt->pad, &fmt->format, fmt->which); in ipipe_set_format()
1494 *format = fmt->format; in ipipe_set_format()
1502 ipipe->formats[fmt->pad] = fmt->format; in ipipe_set_format()
1505 ipipe->formats[fmt->pad] = fmt->format; in ipipe_set_format()
1525 fmt->format = ipipe->formats[fmt->pad]; in ipipe_get_format()
1527 fmt->format = *(v4l2_subdev_get_try_format(sd, cfg, fmt->pad)); in ipipe_get_format()
1543 struct v4l2_mbus_framefmt format; in ipipe_enum_frame_size() local
[all …]
/linux-4.4.14/drivers/memstick/host/
Dr592.h160 #define message(format, ...) \ argument
161 printk(KERN_INFO DRV_NAME ": " format "\n", ## __VA_ARGS__)
163 #define __dbg(level, format, ...) \ argument
167 ": " format "\n", ## __VA_ARGS__); \
171 #define dbg(format, ...) __dbg(1, format, ## __VA_ARGS__) argument
172 #define dbg_verbose(format, ...) __dbg(2, format, ## __VA_ARGS__) argument
173 #define dbg_reg(format, ...) __dbg(3, format, ## __VA_ARGS__) argument
/linux-4.4.14/drivers/base/regmap/
Dregmap.c103 if (map->format.format_write) in regmap_readable()
117 if (!map->format.format_write && !regmap_readable(map, reg)) in regmap_volatile()
574 map->format.reg_bytes = DIV_ROUND_UP(config->reg_bits, 8); in __regmap_init()
575 map->format.pad_bytes = config->pad_bits / 8; in __regmap_init()
576 map->format.val_bytes = DIV_ROUND_UP(config->val_bits, 8); in __regmap_init()
577 map->format.buf_size = DIV_ROUND_UP(config->reg_bits + in __regmap_init()
642 map->format.format_write = regmap_format_2_6_write; in __regmap_init()
652 map->format.format_write = regmap_format_4_12_write; in __regmap_init()
662 map->format.format_write = regmap_format_7_9_write; in __regmap_init()
672 map->format.format_write = regmap_format_10_14_write; in __regmap_init()
[all …]
/linux-4.4.14/drivers/input/serio/
Di8042.h70 #define dbg(format, arg...) \ argument
73 printk(KERN_DEBUG KBUILD_MODNAME ": [%d] " format, \
77 #define filter_dbg(filter, data, format, args...) \ argument
83 dbg("%02x " format, data, ##args); \
85 dbg("** " format, ##args); \
89 #define dbg(format, arg...) \ argument
92 printk(KERN_DEBUG pr_fmt(format), ##arg); \
95 #define filter_dbg(filter, data, format, args...) do { } while (0) argument
/linux-4.4.14/drivers/media/i2c/
Dadv7511.c945 struct v4l2_mbus_framefmt *format) in adv7511_fill_format() argument
947 memset(format, 0, sizeof(*format)); in adv7511_fill_format()
949 format->width = state->dv_timings.bt.width; in adv7511_fill_format()
950 format->height = state->dv_timings.bt.height; in adv7511_fill_format()
951 format->field = V4L2_FIELD_NONE; in adv7511_fill_format()
956 struct v4l2_subdev_format *format) in adv7511_get_fmt() argument
960 if (format->pad != 0) in adv7511_get_fmt()
963 adv7511_fill_format(state, &format->format); in adv7511_get_fmt()
965 if (format->which == V4L2_SUBDEV_FORMAT_TRY) { in adv7511_get_fmt()
968 fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad); in adv7511_get_fmt()
[all …]
Dmt9t001.c128 struct v4l2_mbus_framefmt format; member
254 return &mt9t001->format; in __mt9t001_get_pad_format()
280 struct v4l2_mbus_framefmt *format = &mt9t001->format; in mt9t001_s_stream() local
298 hratio = DIV_ROUND_CLOSEST(crop->width, format->width); in mt9t001_s_stream()
299 vratio = DIV_ROUND_CLOSEST(crop->height, format->height); in mt9t001_s_stream()
357 struct v4l2_subdev_format *format) in mt9t001_get_format() argument
361 format->format = *__mt9t001_get_pad_format(mt9t001, cfg, format->pad, in mt9t001_get_format()
362 format->which); in mt9t001_get_format()
368 struct v4l2_subdev_format *format) in mt9t001_set_format() argument
378 __crop = __mt9t001_get_pad_crop(mt9t001, cfg, format->pad, in mt9t001_set_format()
[all …]
Dmt9v032.c238 struct v4l2_mbus_framefmt format; member
384 return &mt9v032->format; in __mt9v032_get_pad_format()
481 struct v4l2_subdev_format *format) in mt9v032_get_format() argument
485 format->format = *__mt9v032_get_pad_format(mt9v032, cfg, format->pad, in mt9v032_get_format()
486 format->which); in mt9v032_get_format()
516 struct v4l2_subdev_format *format) in mt9v032_set_format() argument
526 __crop = __mt9v032_get_pad_crop(mt9v032, cfg, format->pad, in mt9v032_set_format()
527 format->which); in mt9v032_set_format()
530 width = clamp(ALIGN(format->format.width, 2), in mt9v032_set_format()
534 height = clamp(ALIGN(format->format.height, 2), in mt9v032_set_format()
[all …]
Dmt9p031.c126 struct v4l2_mbus_framefmt format; member
386 struct v4l2_mbus_framefmt *format = &mt9p031->format; in mt9p031_set_params() local
418 xskip = DIV_ROUND_CLOSEST(crop->width, format->width); in mt9p031_set_params()
419 yskip = DIV_ROUND_CLOSEST(crop->height, format->height); in mt9p031_set_params()
485 code->code = mt9p031->format.code; in mt9p031_enum_mbus_code()
495 if (fse->index >= 8 || fse->code != mt9p031->format.code) in mt9p031_enum_frame_size()
515 return &mt9p031->format; in __mt9p031_get_pad_format()
541 fmt->format = *__mt9p031_get_pad_format(mt9p031, cfg, fmt->pad, in mt9p031_get_format()
548 struct v4l2_subdev_format *format) in mt9p031_set_format() argument
558 __crop = __mt9p031_get_pad_crop(mt9p031, cfg, format->pad, in mt9p031_set_format()
[all …]
Ds5k6a3.c64 struct v4l2_mbus_framefmt format; member
132 return &sensor->format; in __s5k6a3_get_format()
142 s5k6a3_try_format(&fmt->format); in s5k6a3_set_fmt()
148 *mf = fmt->format; in s5k6a3_set_fmt()
164 fmt->format = *mf; in s5k6a3_get_fmt()
177 struct v4l2_mbus_framefmt *format = v4l2_subdev_get_try_format(sd, fh->pad, 0); in s5k6a3_open() local
179 *format = s5k6a3_formats[0]; in s5k6a3_open()
180 format->width = S5K6A3_DEFAULT_WIDTH; in s5k6a3_open()
181 format->height = S5K6A3_DEFAULT_HEIGHT; in s5k6a3_open()
331 sensor->format.code = s5k6a3_formats[0].code; in s5k6a3_probe()
[all …]
Dtvp514x.c128 struct v4l2_mbus_framefmt format; member
912 struct v4l2_subdev_format *format) in tvp514x_get_pad_format() argument
915 __u32 which = format->which; in tvp514x_get_pad_format()
917 if (format->pad) in tvp514x_get_pad_format()
921 format->format = decoder->format; in tvp514x_get_pad_format()
925 format->format.code = MEDIA_BUS_FMT_YUYV8_2X8; in tvp514x_get_pad_format()
926 format->format.width = tvp514x_std_list[decoder->current_std].width; in tvp514x_get_pad_format()
927 format->format.height = tvp514x_std_list[decoder->current_std].height; in tvp514x_get_pad_format()
928 format->format.colorspace = V4L2_COLORSPACE_SMPTE170M; in tvp514x_get_pad_format()
929 format->format.field = V4L2_FIELD_INTERLACED; in tvp514x_get_pad_format()
[all …]
Dadv7170.c278 struct v4l2_subdev_format *format) in adv7170_get_fmt() argument
280 struct v4l2_mbus_framefmt *mf = &format->format; in adv7170_get_fmt()
283 if (format->pad) in adv7170_get_fmt()
301 struct v4l2_subdev_format *format) in adv7170_set_fmt() argument
303 struct v4l2_mbus_framefmt *mf = &format->format; in adv7170_set_fmt()
307 if (format->pad) in adv7170_set_fmt()
325 if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) in adv7170_set_fmt()
Dadv7175.c316 struct v4l2_subdev_format *format) in adv7175_get_fmt() argument
318 struct v4l2_mbus_framefmt *mf = &format->format; in adv7175_get_fmt()
321 if (format->pad) in adv7175_get_fmt()
339 struct v4l2_subdev_format *format) in adv7175_set_fmt() argument
341 struct v4l2_mbus_framefmt *mf = &format->format; in adv7175_set_fmt()
345 if (format->pad) in adv7175_set_fmt()
363 if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) in adv7175_set_fmt()
Dadv7180.c650 struct v4l2_subdev_format *format) in adv7180_get_pad_format() argument
654 if (format->which == V4L2_SUBDEV_FORMAT_TRY) { in adv7180_get_pad_format()
655 format->format = *v4l2_subdev_get_try_format(sd, cfg, 0); in adv7180_get_pad_format()
657 adv7180_mbus_fmt(sd, &format->format); in adv7180_get_pad_format()
658 format->format.field = state->field; in adv7180_get_pad_format()
666 struct v4l2_subdev_format *format) in adv7180_set_pad_format() argument
671 switch (format->format.field) { in adv7180_set_pad_format()
674 format->format.field = V4L2_FIELD_INTERLACED; in adv7180_set_pad_format()
677 format->format.field = V4L2_FIELD_INTERLACED; in adv7180_set_pad_format()
681 if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) { in adv7180_set_pad_format()
[all …]
Dov2659.c224 struct v4l2_mbus_framefmt format; member
963 static void ov2659_get_default_format(struct v4l2_mbus_framefmt *format) in ov2659_get_default_format() argument
965 format->width = ov2659_framesizes[2].width; in ov2659_get_default_format()
966 format->height = ov2659_framesizes[2].height; in ov2659_get_default_format()
967 format->colorspace = V4L2_COLORSPACE_SRGB; in ov2659_get_default_format()
968 format->code = ov2659_formats[0].code; in ov2659_get_default_format()
969 format->field = V4L2_FIELD_NONE; in ov2659_get_default_format()
1054 fmt->format = *mf; in ov2659_get_fmt()
1063 fmt->format = ov2659->format; in ov2659_get_fmt()
1067 ov2659->format.code, ov2659->format.width, in ov2659_get_fmt()
[all …]
Dadv7183.c436 struct v4l2_subdev_format *format) in adv7183_set_fmt() argument
439 struct v4l2_mbus_framefmt *fmt = &format->format; in adv7183_set_fmt()
441 if (format->pad) in adv7183_set_fmt()
455 if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) in adv7183_set_fmt()
464 struct v4l2_subdev_format *format) in adv7183_get_fmt() argument
468 if (format->pad) in adv7183_get_fmt()
471 format->format = decoder->fmt; in adv7183_get_fmt()
615 fmt.format.width = 720; in adv7183_probe()
616 fmt.format.height = 576; in adv7183_probe()
Dmt9m032.c162 struct v4l2_mbus_framefmt format; member
383 return &sensor->format; in __mt9m032_get_pad_format()
396 fmt->format = *__mt9m032_get_pad_format(sensor, cfg, fmt->which); in mt9m032_get_pad_format()
417 fmt->format = *__mt9m032_get_pad_format(sensor, cfg, fmt->which); in mt9m032_set_pad_format()
446 struct v4l2_mbus_framefmt *format; in mt9m032_set_pad_selection() local
484 format = __mt9m032_get_pad_format(sensor, cfg, sel->which); in mt9m032_set_pad_selection()
485 format->width = rect.width; in mt9m032_set_pad_selection()
486 format->height = rect.height; in mt9m032_set_pad_selection()
766 sensor->format.width = sensor->crop.width; in mt9m032_probe()
767 sensor->format.height = sensor->crop.height; in mt9m032_probe()
[all …]
Dadv7842.c107 const struct adv7842_format_info *format; member
2000 struct v4l2_mbus_framefmt *format) in adv7842_fill_format() argument
2002 memset(format, 0, sizeof(*format)); in adv7842_fill_format()
2004 format->width = state->timings.bt.width; in adv7842_fill_format()
2005 format->height = state->timings.bt.height; in adv7842_fill_format()
2006 format->field = V4L2_FIELD_NONE; in adv7842_fill_format()
2007 format->colorspace = V4L2_COLORSPACE_SRGB; in adv7842_fill_format()
2010 format->colorspace = (state->timings.bt.height <= 576) ? in adv7842_fill_format()
2048 return op_ch_sel[state->pdata.bus_order][state->format->op_ch_sel >> 5]; in adv7842_op_ch_sel()
2056 state->format->rgb_out ? ADV7842_RGB_OUT : 0); in adv7842_setup_format()
[all …]
/linux-4.4.14/tools/virtio/linux/
Dkernel.h40 #define __printf(a,b) __attribute__((format(printf,a,b)))
98 #define pr_err(format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument
100 #define pr_debug(format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument
102 #define pr_debug(format, ...) do {} while (0) argument
104 #define dev_err(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument
105 #define dev_warn(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument
/linux-4.4.14/drivers/gpu/drm/omapdrm/
Domap_fb.c31 struct format { struct
41 static const struct format formats[] = { argument
90 const struct format *format; member
137 const struct format *format, int n, int x, int y) in get_linear_addr() argument
142 (x * format->planes[n].stride_bpp) + in get_linear_addr()
143 (y * plane->pitch / format->planes[n].sub_y); in get_linear_addr()
154 const struct format *format = omap_fb->format; in omap_framebuffer_update_scanout() local
158 info->color_mode = format->dss_format; in omap_framebuffer_update_scanout()
226 info->paddr = get_linear_addr(plane, format, 0, x, y); in omap_framebuffer_update_scanout()
232 info->screen_width /= format->planes[0].stride_bpp; in omap_framebuffer_update_scanout()
[all …]
/linux-4.4.14/sound/usb/
Dformat.c46 unsigned int format, void *_fmt) in parse_audio_format_i_type() argument
57 format = 1 << format; in parse_audio_format_i_type()
66 if (format & UAC2_FORMAT_TYPE_I_RAW_DATA) in parse_audio_format_i_type()
69 format <<= 1; in parse_audio_format_i_type()
75 (format == 0 || format == (1 << UAC_FORMAT_TYPE_I_UNDEFINED))) { in parse_audio_format_i_type()
79 format = 1 << UAC_FORMAT_TYPE_I_PCM; in parse_audio_format_i_type()
81 if (format & (1 << UAC_FORMAT_TYPE_I_PCM)) { in parse_audio_format_i_type()
121 if (format & (1 << UAC_FORMAT_TYPE_I_PCM8)) { in parse_audio_format_i_type()
129 if (format & (1 << UAC_FORMAT_TYPE_I_IEEE_FLOAT)) { in parse_audio_format_i_type()
132 if (format & (1 << UAC_FORMAT_TYPE_I_ALAW)) { in parse_audio_format_i_type()
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/e1000/
De1000.h338 #define e_dbg(format, arg...) \ argument
339 netdev_dbg(e1000_get_hw_dev(hw), format, ## arg)
340 #define e_err(msglvl, format, arg...) \ argument
341 netif_err(adapter, msglvl, adapter->netdev, format, ## arg)
342 #define e_info(msglvl, format, arg...) \ argument
343 netif_info(adapter, msglvl, adapter->netdev, format, ## arg)
344 #define e_warn(msglvl, format, arg...) \ argument
345 netif_warn(adapter, msglvl, adapter->netdev, format, ## arg)
346 #define e_notice(msglvl, format, arg...) \ argument
347 netif_notice(adapter, msglvl, adapter->netdev, format, ## arg)
[all …]
/linux-4.4.14/tools/perf/ui/gtk/
Dutil.c30 static int perf_gtk__error(const char *format, va_list args) in perf_gtk__error() argument
36 vasprintf(&msg, format, args) < 0) { in perf_gtk__error()
38 vfprintf(stderr, format, args); in perf_gtk__error()
56 static int perf_gtk__warning_info_bar(const char *format, va_list args) in perf_gtk__warning_info_bar() argument
61 vasprintf(&msg, format, args) < 0) { in perf_gtk__warning_info_bar()
63 vfprintf(stderr, format, args); in perf_gtk__warning_info_bar()
77 static int perf_gtk__warning_statusbar(const char *format, va_list args) in perf_gtk__warning_statusbar() argument
82 vasprintf(&msg, format, args) < 0) { in perf_gtk__warning_statusbar()
84 vfprintf(stderr, format, args); in perf_gtk__warning_statusbar()
/linux-4.4.14/tools/virtio/virtio-trace/
Dtrace-agent.h67 #define pr_err(format, ...) fprintf(stderr, format, ## __VA_ARGS__) argument
68 #define pr_info(format, ...) fprintf(stdout, format, ## __VA_ARGS__) argument
70 #define pr_debug(format, ...) fprintf(stderr, format, ## __VA_ARGS__) argument
72 #define pr_debug(format, ...) do {} while (0) argument
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Dmlx5_core.h46 #define mlx5_core_dbg(__dev, format, ...) \ argument
47 dev_dbg(&(__dev)->pdev->dev, "%s:%s:%d:(pid %d): " format, \
51 #define mlx5_core_dbg_mask(__dev, mask, format, ...) \ argument
54 mlx5_core_dbg(__dev, format, ##__VA_ARGS__); \
57 #define mlx5_core_err(__dev, format, ...) \ argument
58 dev_err(&(__dev)->pdev->dev, "%s:%s:%d:(pid %d): " format, \
62 #define mlx5_core_warn(__dev, format, ...) \ argument
63 dev_warn(&(__dev)->pdev->dev, "%s:%s:%d:(pid %d): " format, \
/linux-4.4.14/security/keys/encrypted-keys/
Dencrypted.c177 static int datablob_parse(char *datablob, const char **format, in datablob_parse() argument
205 *format = p; in datablob_parse()
290 len = sprintf(ascii_buf, "%s %s %s ", epayload->format, in datablob_format()
515 digest = epayload->format + epayload->datablob_len; in datablob_hmac_append()
517 epayload->format, epayload->datablob_len); in datablob_hmac_append()
526 const u8 *format, const u8 *master_key, in datablob_hmac_verify() argument
540 if (!format) { in datablob_hmac_verify()
542 len -= strlen(epayload->format) + 1; in datablob_hmac_verify()
544 p = epayload->format; in datablob_hmac_verify()
549 ret = memcmp(digest, epayload->format + epayload->datablob_len, in datablob_hmac_verify()
[all …]
/linux-4.4.14/drivers/media/platform/soc_camera/
Dsoc_camera_platform.c41 struct v4l2_subdev_format *format) in soc_camera_platform_fill_fmt() argument
44 struct v4l2_mbus_framefmt *mf = &format->format; in soc_camera_platform_fill_fmt()
46 mf->width = p->format.width; in soc_camera_platform_fill_fmt()
47 mf->height = p->format.height; in soc_camera_platform_fill_fmt()
48 mf->code = p->format.code; in soc_camera_platform_fill_fmt()
49 mf->colorspace = p->format.colorspace; in soc_camera_platform_fill_fmt()
50 mf->field = p->format.field; in soc_camera_platform_fill_fmt()
75 code->code = p->format.code; in soc_camera_platform_enum_mbus_code()
86 a->c.width = p->format.width; in soc_camera_platform_g_crop()
87 a->c.height = p->format.height; in soc_camera_platform_g_crop()
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.h198 #define hw_dbg(hw, format, arg...) \ argument
199 netdev_dbg(ixgbe_hw_to_netdev(hw), format, ## arg)
200 #define hw_err(hw, format, arg...) \ argument
201 netdev_err(ixgbe_hw_to_netdev(hw), format, ## arg)
202 #define e_dev_info(format, arg...) \ argument
203 dev_info(&adapter->pdev->dev, format, ## arg)
204 #define e_dev_warn(format, arg...) \ argument
205 dev_warn(&adapter->pdev->dev, format, ## arg)
206 #define e_dev_err(format, arg...) \ argument
207 dev_err(&adapter->pdev->dev, format, ## arg)
[all …]
/linux-4.4.14/sound/soc/codecs/
Dsi476x.c79 u16 format = 0; in si476x_codec_set_dai_fmt() local
86 format |= SI476X_DAUDIO_MODE_DSP_A; in si476x_codec_set_dai_fmt()
89 format |= SI476X_DAUDIO_MODE_DSP_B; in si476x_codec_set_dai_fmt()
92 format |= SI476X_DAUDIO_MODE_I2S; in si476x_codec_set_dai_fmt()
95 format |= SI476X_DAUDIO_MODE_RIGHT_J; in si476x_codec_set_dai_fmt()
98 format |= SI476X_DAUDIO_MODE_LEFT_J; in si476x_codec_set_dai_fmt()
111 format |= SI476X_DAUDIO_MODE_IB; in si476x_codec_set_dai_fmt()
124 format |= SI476X_DAUDIO_MODE_IB | in si476x_codec_set_dai_fmt()
128 format |= SI476X_DAUDIO_MODE_IB; in si476x_codec_set_dai_fmt()
131 format |= SI476X_DAUDIO_MODE_IF; in si476x_codec_set_dai_fmt()
[all …]
Dak4671.c523 u8 format; in ak4671_set_dai_fmt() local
540 format = snd_soc_read(codec, AK4671_FORMAT_SELECT); in ak4671_set_dai_fmt()
541 format &= ~AK4671_DIF; in ak4671_set_dai_fmt()
545 format |= AK4671_DIF_I2S_MODE; in ak4671_set_dai_fmt()
548 format |= AK4671_DIF_MSB_MODE; in ak4671_set_dai_fmt()
551 format |= AK4671_DIF_DSP_MODE; in ak4671_set_dai_fmt()
552 format |= AK4671_BCKP; in ak4671_set_dai_fmt()
553 format |= AK4671_MSBS; in ak4671_set_dai_fmt()
561 snd_soc_write(codec, AK4671_FORMAT_SELECT, format); in ak4671_set_dai_fmt()
Dtwl4030.c1708 u8 mode, old_mode, format, old_format; in twl4030_hw_params() local
1712 format = twl4030_read(codec, TWL4030_REG_AUDIO_IF); in twl4030_hw_params()
1718 ((format & TWL4030_AIF_FORMAT) == TWL4030_AIF_FORMAT_TDM)) in twl4030_hw_params()
1772 format = old_format; in twl4030_hw_params()
1773 format &= ~TWL4030_DATA_WIDTH; in twl4030_hw_params()
1776 format |= TWL4030_DATA_WIDTH_16S_16W; in twl4030_hw_params()
1779 format |= TWL4030_DATA_WIDTH_32S_24W; in twl4030_hw_params()
1787 if (format != old_format || mode != old_mode) { in twl4030_hw_params()
1795 twl4030_write(codec, TWL4030_REG_AUDIO_IF, format); in twl4030_hw_params()
1799 twl4030_write(codec, TWL4030_REG_AUDIO_IF, format); in twl4030_hw_params()
[all …]
Dpcm1792a.c75 unsigned int format; member
80 unsigned int format) in pcm1792a_set_dai_fmt() argument
85 priv->format = format; in pcm1792a_set_dai_fmt()
114 switch (priv->format & SND_SOC_DAIFMT_FORMAT_MASK) { in pcm1792a_hw_params()
Dpcm1681.c84 unsigned int format; member
143 unsigned int format) in pcm1681_set_dai_fmt() argument
149 if ((format & SND_SOC_DAIFMT_MASTER_MASK) != SND_SOC_DAIFMT_CBS_CFS) { in pcm1681_set_dai_fmt()
154 priv->format = format; in pcm1681_set_dai_fmt()
183 switch (priv->format & SND_SOC_DAIFMT_FORMAT_MASK) { in pcm1681_hw_params()
/linux-4.4.14/drivers/gpu/drm/vmwgfx/device_include/
Dsvga3d_surfacedefs.h203 SVGA3dSurfaceFormat format; member
949 svga3dsurface_get_desc(SVGA3dSurfaceFormat format) in svga3dsurface_get_desc() argument
951 if (format < ARRAY_SIZE(svga3d_surface_descs)) in svga3dsurface_get_desc()
952 return &svga3d_surface_descs[format]; in svga3dsurface_get_desc()
1068 svga3dsurface_get_serialized_size(SVGA3dSurfaceFormat format, in svga3dsurface_get_serialized_size() argument
1073 const struct svga3d_surface_desc *desc = svga3dsurface_get_desc(format); in svga3dsurface_get_serialized_size()
1096 svga3dsurface_get_pixel_offset(SVGA3dSurfaceFormat format, in svga3dsurface_get_pixel_offset() argument
1100 const struct svga3d_surface_desc *desc = svga3dsurface_get_desc(format); in svga3dsurface_get_pixel_offset()
1113 svga3dsurface_get_image_offset(SVGA3dSurfaceFormat format, in svga3dsurface_get_image_offset() argument
1128 desc = svga3dsurface_get_desc(format); in svga3dsurface_get_image_offset()
[all …]
/linux-4.4.14/tools/perf/util/
Dpmu.c73 static int pmu_format(const char *name, struct list_head *format) in pmu_format() argument
88 if (perf_pmu__format_parse(path, format)) in pmu_format()
462 LIST_HEAD(format); in pmu_lookup()
471 if (pmu_format(name, &format)) in pmu_lookup()
486 INIT_LIST_HEAD(&pmu->format); in pmu_lookup()
488 list_splice(&format, &pmu->format); in pmu_lookup()
544 struct perf_pmu_format *format; in pmu_find_format() local
546 list_for_each_entry(format, formats, list) in pmu_find_format()
547 if (!strcmp(format->name, name)) in pmu_find_format()
548 return format; in pmu_find_format()
[all …]
Dpmu.y2 %parse-param {struct list_head *format}
37 format:
38 format format_term
45 ABORT_ON(perf_pmu__new_format(format, name,
52 ABORT_ON(perf_pmu__new_format(format, name,
59 ABORT_ON(perf_pmu__new_format(format, name,
Ddebug.h43 int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
46 int ui__error(const char *format, ...) __attribute__((format(printf, 1, 2)));
47 int ui__warning(const char *format, ...) __attribute__((format(printf, 1, 2)));
51 int eprintf(int level, int var, const char *fmt, ...) __attribute__((format(printf, 3, 4)));
52 int eprintf_time(int level, int var, u64 t, const char *fmt, ...) __attribute__((format(printf, 4, …
Dhist.h222 #define perf_hpp__for_each_format(format) \ argument
223 list_for_each_entry(format, &perf_hpp__list, list)
225 #define perf_hpp__for_each_format_safe(format, tmp) \ argument
226 list_for_each_entry_safe(format, tmp, &perf_hpp__list, list)
228 #define perf_hpp__for_each_sort_list(format) \ argument
229 list_for_each_entry(format, &perf_hpp__sort_list, sort_list)
231 #define perf_hpp__for_each_sort_list_safe(format, tmp) \ argument
232 list_for_each_entry_safe(format, tmp, &perf_hpp__sort_list, sort_list)
251 void perf_hpp__column_register(struct perf_hpp_fmt *format);
252 void perf_hpp__column_unregister(struct perf_hpp_fmt *format);
[all …]
Dcache.h68 extern char *mkpath(const char *fmt, ...) __attribute__((format (printf, 1, 2)));
69 extern char *perf_path(const char *fmt, ...) __attribute__((format (printf, 1, 2)));
72 __attribute__((format (printf, 1, 2)));
Dtrace-event-info.c177 char *format; in copy_event_system() local
195 if (asprintf(&format, "%s/%s/format", sys, dent->d_name) < 0) { in copy_event_system()
199 ret = stat(format, &st); in copy_event_system()
200 free(format); in copy_event_system()
219 if (asprintf(&format, "%s/%s/format", sys, dent->d_name) < 0) { in copy_event_system()
223 ret = stat(format, &st); in copy_event_system()
226 err = record_file(format, 8); in copy_event_system()
228 free(format); in copy_event_system()
232 free(format); in copy_event_system()
/linux-4.4.14/net/irda/irnet/
Dirnet.h339 #define DERROR(dbg, format, args...) \ argument
341 printk(KERN_INFO "irnet: %s(): " format, __func__ , ##args);}
344 #define DEBUG(dbg, format, args...) \ argument
346 printk(KERN_DEBUG "irnet: %s(): " format, __func__ , ##args);}
349 #define DENTER(dbg, format, args...) \ argument
351 printk(KERN_DEBUG "irnet: -> %s" format, __func__ , ##args);}
354 #define DPASS(dbg, format, args...) \ argument
356 printk(KERN_DEBUG "irnet: <>%s" format, __func__ , ##args);}
359 #define DEXIT(dbg, format, args...) \ argument
361 printk(KERN_DEBUG "irnet: <-%s()" format, __func__ , ##args);}
/linux-4.4.14/drivers/scsi/esas2r/
Desas2r_log.c118 const char *format, in esas2r_log_master() argument
160 retval = vsnprintf(buffer, buflen, format, args); in esas2r_log_master()
187 int esas2r_log(const long level, const char *format, ...) in esas2r_log() argument
192 va_start(args, format); in esas2r_log()
194 retval = esas2r_log_master(level, NULL, format, args); in esas2r_log()
214 const char *format, in esas2r_log_dev() argument
220 va_start(args, format); in esas2r_log_dev()
222 retval = esas2r_log_master(level, dev, format, args); in esas2r_log_dev()
/linux-4.4.14/drivers/ata/
Dpata_sc1200.c99 u32 format; in sc1200_set_piomode() local
103 pci_read_config_dword(pdev, reg + 4, &format); in sc1200_set_piomode()
104 format >>= 31; in sc1200_set_piomode()
105 format += sc1200_clock(); in sc1200_set_piomode()
107 pio_timings[format][mode]); in sc1200_set_piomode()
137 u32 format; in sc1200_set_dmamode() local
140 format = udma_timing[clock][mode - XFER_UDMA_0]; in sc1200_set_dmamode()
142 format = mwdma_timing[clock][mode - XFER_MW_DMA_0]; in sc1200_set_dmamode()
149 timings |= format; in sc1200_set_dmamode()
152 pci_write_config_dword(pdev, reg + 12, format); in sc1200_set_dmamode()
/linux-4.4.14/drivers/input/mouse/
Dpsmouse.h172 #define psmouse_dbg(psmouse, format, ...) \ argument
174 psmouse_fmt(format), ##__VA_ARGS__)
175 #define psmouse_info(psmouse, format, ...) \ argument
177 psmouse_fmt(format), ##__VA_ARGS__)
178 #define psmouse_warn(psmouse, format, ...) \ argument
180 psmouse_fmt(format), ##__VA_ARGS__)
181 #define psmouse_err(psmouse, format, ...) \ argument
183 psmouse_fmt(format), ##__VA_ARGS__)
184 #define psmouse_notice(psmouse, format, ...) \ argument
186 psmouse_fmt(format), ##__VA_ARGS__)
[all …]
/linux-4.4.14/drivers/media/rc/
Dene_ir.h185 #define __dbg(level, format, ...) \ argument
188 pr_info(format "\n", ## __VA_ARGS__); \
191 #define dbg(format, ...) __dbg(1, format, ## __VA_ARGS__) argument
192 #define dbg_verbose(format, ...) __dbg(2, format, ## __VA_ARGS__) argument
193 #define dbg_regs(format, ...) __dbg(3, format, ## __VA_ARGS__) argument
/linux-4.4.14/drivers/mtd/
Dsm_ftl.h77 #define sm_printk(format, ...) \ argument
78 printk(KERN_WARNING "sm_ftl" ": " format "\n", ## __VA_ARGS__)
80 #define dbg(format, ...) \ argument
82 printk(KERN_DEBUG "sm_ftl" ": " format "\n", ## __VA_ARGS__)
84 #define dbg_verbose(format, ...) \ argument
86 printk(KERN_DEBUG "sm_ftl" ": " format "\n", ## __VA_ARGS__)
/linux-4.4.14/tools/perf/tests/
Dpmu.c95 struct test_format *format = &test_formats[i]; in test_format_dir_get() local
98 snprintf(name, PATH_MAX, "%s/%s", dir, format->name); in test_format_dir_get()
104 if (1 != fwrite(format->value, strlen(format->value), 1, file)) in test_format_dir_get()
138 char *format = test_format_dir_get(); in test__pmu() local
143 if (!format) in test__pmu()
151 ret = perf_pmu__format_parse(format, &formats); in test__pmu()
172 test_format_dir_put(format); in test__pmu()
/linux-4.4.14/drivers/atm/
Dhorizon.h49 #define PRINTK(severity,format,args...) \ argument
50 printk(severity DEV_LABEL ": " format "\n" , ## args)
71 #define PRINTDB(bits,format,args...) \ argument
72 ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format , ## args) : 1 )
73 #define PRINTDM(bits,format,args...) \ argument
74 ( (debug & (bits)) ? printk (format , ## args) : 1 )
75 #define PRINTDE(bits,format,args...) \ argument
76 ( (debug & (bits)) ? printk (format "\n" , ## args) : 1 )
77 #define PRINTD(bits,format,args...) \ argument
78 ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format "\n" , ## args) : 1 )
[all …]
Dambassador.h45 #define PRINTK(severity,format,args...) \ argument
46 printk(severity DEV_LABEL ": " format "\n" , ## args)
70 #define PRINTDB(bits,format,args...) \ argument
71 ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format , ## args) : 1 )
72 #define PRINTDM(bits,format,args...) \ argument
73 ( (debug & (bits)) ? printk (format , ## args) : 1 )
74 #define PRINTDE(bits,format,args...) \ argument
75 ( (debug & (bits)) ? printk (format "\n" , ## args) : 1 )
76 #define PRINTD(bits,format,args...) \ argument
77 ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format "\n" , ## args) : 1 )
[all …]
/linux-4.4.14/drivers/gpu/drm/rcar-du/
Drcar_du_plane.c64 if (state->format->planes == 2) in rcar_du_plane_setup_fb()
67 mwr = fb->pitches[0] * 8 / state->format->bpp; in rcar_du_plane_setup_fb()
69 if (interlaced && state->format->bpp == 32) in rcar_du_plane_setup_fb()
88 (!interlaced && state->format->bpp == 32 ? 2 : 1)); in rcar_du_plane_setup_fb()
93 if (state->format->planes == 2) { in rcar_du_plane_setup_fb()
100 (state->format->bpp == 16 ? 2 : 1) / 2); in rcar_du_plane_setup_fb()
126 if (state->format->fourcc != DRM_FORMAT_XRGB1555) in rcar_du_plane_setup_mode()
132 pnmr = PnMR_BM_MD | state->format->pnmr; in rcar_du_plane_setup_mode()
142 if (state->format->fourcc == DRM_FORMAT_YUYV) in rcar_du_plane_setup_mode()
147 switch (state->format->fourcc) { in rcar_du_plane_setup_mode()
[all …]
Drcar_du_kms.c142 const struct rcar_du_format_info *format; in rcar_du_fb_create() local
147 format = rcar_du_format_info(mode_cmd->pixel_format); in rcar_du_fb_create()
148 if (format == NULL) { in rcar_du_fb_create()
158 bpp = format->planes == 2 ? 1 : format->bpp / 8; in rcar_du_fb_create()
173 if (format->planes == 2) { in rcar_du_fb_create()
224 cur_format = to_rcar_plane_state(plane->plane.state)->format; in rcar_du_plane_needs_realloc()
230 return !cur_format || cur_format->planes != state->format->planes; in rcar_du_plane_needs_realloc()
241 if (state->format->planes == 2) in rcar_du_plane_hwmask()
296 if (!plane_state->format) { in rcar_du_atomic_check()
370 plane_state->format ? in rcar_du_atomic_check()
[all …]
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_plane.c226 const struct mdp_format *format; in mdp4_plane_mode_set() local
249 format = to_mdp_format(msm_framebuffer_format(fb)); in mdp4_plane_mode_set()
275 if (MDP_FORMAT_IS_YUV(format)) { in mdp4_plane_mode_set()
291 if (MDP_FORMAT_IS_YUV(format)) { in mdp4_plane_mode_set()
323 MDP4_PIPE_SRC_FORMAT_A_BPC(format->bpc_a) | in mdp4_plane_mode_set()
324 MDP4_PIPE_SRC_FORMAT_R_BPC(format->bpc_r) | in mdp4_plane_mode_set()
325 MDP4_PIPE_SRC_FORMAT_G_BPC(format->bpc_g) | in mdp4_plane_mode_set()
326 MDP4_PIPE_SRC_FORMAT_B_BPC(format->bpc_b) | in mdp4_plane_mode_set()
327 COND(format->alpha_enable, MDP4_PIPE_SRC_FORMAT_ALPHA_ENABLE) | in mdp4_plane_mode_set()
328 MDP4_PIPE_SRC_FORMAT_CPP(format->cpp - 1) | in mdp4_plane_mode_set()
[all …]
/linux-4.4.14/sound/firewire/oxfw/
Doxfw-proc.c16 u8 *format; in proc_read_formation() local
30 format = oxfw->rx_stream_formats[i]; in proc_read_formation()
31 if (format == NULL) in proc_read_formation()
34 err = snd_oxfw_stream_parse_format(format, &formation); in proc_read_formation()
60 format = oxfw->tx_stream_formats[i]; in proc_read_formation()
61 if (format == NULL) in proc_read_formation()
64 err = snd_oxfw_stream_parse_format(format, &formation); in proc_read_formation()
Doxfw-stream.c391 u8 *format; in snd_oxfw_stream_get_current_formation() local
396 format = kmalloc(len, GFP_KERNEL); in snd_oxfw_stream_get_current_formation()
397 if (format == NULL) in snd_oxfw_stream_get_current_formation()
400 err = avc_stream_get_format_single(oxfw->unit, dir, 0, format, &len); in snd_oxfw_stream_get_current_formation()
408 err = snd_oxfw_stream_parse_format(format, formation); in snd_oxfw_stream_get_current_formation()
410 kfree(format); in snd_oxfw_stream_get_current_formation()
420 int snd_oxfw_stream_parse_format(u8 *format, in snd_oxfw_stream_parse_format() argument
432 if ((format[0] != 0x90) || (format[1] != 0x40)) in snd_oxfw_stream_parse_format()
437 if (format[2] == avc_stream_rate_table[i]) in snd_oxfw_stream_parse_format()
445 for (e = 0; e < format[4]; e++) { in snd_oxfw_stream_parse_format()
[all …]
/linux-4.4.14/drivers/media/dvb-frontends/
Dstv6110x_priv.h32 #define dprintk(__y, __z, format, arg...) do { \ argument
35 printk(KERN_ERR "%s: " format "\n", __func__ , ##arg); \
37 printk(KERN_NOTICE "%s: " format "\n", __func__ , ##arg); \
39 printk(KERN_INFO "%s: " format "\n", __func__ , ##arg); \
41 printk(KERN_DEBUG "%s: " format "\n", __func__ , ##arg); \
44 printk(format, ##arg); \
Ddib3000mb_priv.h17 #define err(format, arg...) printk(KERN_ERR "dib3000: " format "\n" , ## arg) argument
18 #define info(format, arg...) printk(KERN_INFO "dib3000: " format "\n" , ## arg) argument
19 #define warn(format, arg...) printk(KERN_WARNING "dib3000: " format "\n" , ## arg) argument
Dstv090x_priv.h33 #define dprintk(__y, __z, format, arg...) do { \ argument
36 printk(KERN_ERR "%s: " format "\n", __func__ , ##arg); \
38 printk(KERN_NOTICE "%s: " format "\n", __func__ , ##arg); \
40 printk(KERN_INFO "%s: " format "\n", __func__ , ##arg); \
42 printk(KERN_DEBUG "%s: " format "\n", __func__ , ##arg); \
45 printk(format, ##arg); \
Dstb0899_priv.h34 #define dprintk(x, y, z, format, arg...) do { \ argument
37 printk(KERN_ERR "%s: " format "\n", __func__ , ##arg); \
39 printk(KERN_NOTICE "%s: " format "\n", __func__ , ##arg); \
41 printk(KERN_INFO "%s: " format "\n", __func__ , ##arg); \
43 printk(KERN_DEBUG "%s: " format "\n", __func__ , ##arg); \
46 printk(format, ##arg); \
Disl6423.c42 #define dprintk(__y, __z, format, arg...) do { \ argument
45 printk(KERN_ERR "%s: " format "\n", __func__ , ##arg); \
47 printk(KERN_NOTICE "%s: " format "\n", __func__ , ##arg); \
49 printk(KERN_INFO "%s: " format "\n", __func__ , ##arg); \
51 printk(KERN_DEBUG "%s: " format "\n", __func__ , ##arg); \
54 printk(format, ##arg); \
/linux-4.4.14/drivers/mtd/nand/
Dr852.h151 #define dbg(format, ...) \ argument
153 printk(KERN_DEBUG DRV_NAME ": " format "\n", ## __VA_ARGS__)
155 #define dbg_verbose(format, ...) \ argument
157 printk(KERN_DEBUG DRV_NAME ": " format "\n", ## __VA_ARGS__)
160 #define message(format, ...) \ argument
161 printk(KERN_INFO DRV_NAME ": " format "\n", ## __VA_ARGS__)
/linux-4.4.14/drivers/video/fbdev/
Dsimplefb.c95 struct simplefb_format *format; member
103 const char *format; in simplefb_parse_dt() local
124 ret = of_property_read_string(np, "format", &format); in simplefb_parse_dt()
129 params->format = NULL; in simplefb_parse_dt()
131 if (strcmp(format, simplefb_formats[i].name)) in simplefb_parse_dt()
133 params->format = &simplefb_formats[i]; in simplefb_parse_dt()
136 if (!params->format) { in simplefb_parse_dt()
154 params->format = NULL; in simplefb_parse_pd()
156 if (strcmp(pd->format, simplefb_formats[i].name)) in simplefb_parse_pd()
159 params->format = &simplefb_formats[i]; in simplefb_parse_pd()
[all …]
Dsh_mobile_lcdcfb.c196 const struct sh_mobile_lcdc_format_info *format; member
868 u32 format = 0; in sh_mobile_lcdc_overlay_setup() local
884 format = LDBBSIFR_EN | (ovl->alpha << LDBBSIFR_LAY_SHIFT); in sh_mobile_lcdc_overlay_setup()
888 format = LDBBSIFR_EN | LDBBSIFR_BRSEL in sh_mobile_lcdc_overlay_setup()
893 switch (ovl->format->fourcc) { in sh_mobile_lcdc_overlay_setup()
898 format |= LDBBSIFR_SWPL | LDBBSIFR_SWPW; in sh_mobile_lcdc_overlay_setup()
904 format |= LDBBSIFR_SWPL | LDBBSIFR_SWPW | LDBBSIFR_SWPB; in sh_mobile_lcdc_overlay_setup()
908 format |= LDBBSIFR_SWPL; in sh_mobile_lcdc_overlay_setup()
912 switch (ovl->format->fourcc) { in sh_mobile_lcdc_overlay_setup()
914 format |= LDBBSIFR_AL_1 | LDBBSIFR_RY | LDBBSIFR_RPKF_RGB16; in sh_mobile_lcdc_overlay_setup()
[all …]
/linux-4.4.14/drivers/hwmon/pmbus/
Dmax20751.c26 .format[PSC_VOLTAGE_IN] = linear,
27 .format[PSC_VOLTAGE_OUT] = vid,
29 .format[PSC_TEMPERATURE] = linear,
30 .format[PSC_CURRENT_OUT] = linear,
31 .format[PSC_POWER] = linear,
Dmax34440.c208 .format[PSC_VOLTAGE_IN] = direct,
209 .format[PSC_VOLTAGE_OUT] = direct,
210 .format[PSC_TEMPERATURE] = direct,
211 .format[PSC_CURRENT_OUT] = direct,
250 .format[PSC_VOLTAGE_IN] = direct,
251 .format[PSC_VOLTAGE_OUT] = direct,
252 .format[PSC_TEMPERATURE] = direct,
253 .format[PSC_CURRENT_OUT] = direct,
254 .format[PSC_FAN] = direct,
293 .format[PSC_VOLTAGE_IN] = direct,
[all …]
Dtps40422.c26 .format[PSC_VOLTAGE_IN] = linear,
27 .format[PSC_VOLTAGE_OUT] = linear,
28 .format[PSC_TEMPERATURE] = linear,
Dmax8688.c154 .format[PSC_VOLTAGE_IN] = direct,
155 .format[PSC_VOLTAGE_OUT] = direct,
156 .format[PSC_TEMPERATURE] = direct,
157 .format[PSC_CURRENT_OUT] = direct,
Dmax16064.c79 .format[PSC_VOLTAGE_IN] = direct,
80 .format[PSC_VOLTAGE_OUT] = direct,
81 .format[PSC_TEMPERATURE] = direct,
/linux-4.4.14/drivers/media/platform/exynos4-is/
Dfimc-isp.c132 struct v4l2_mbus_framefmt *mf = &fmt->format; in fimc_isp_subdev_get_fmt()
168 struct v4l2_mbus_framefmt *mf = &fmt->format; in __isp_subdev_try_format()
169 struct v4l2_mbus_framefmt *format; in __isp_subdev_try_format() local
181 format = v4l2_subdev_get_try_format(&isp->subdev, cfg, in __isp_subdev_try_format()
184 format = &isp->sink_fmt; in __isp_subdev_try_format()
187 mf->width = format->width - FIMC_ISP_CAC_MARGIN_WIDTH; in __isp_subdev_try_format()
188 mf->height = format->height - FIMC_ISP_CAC_MARGIN_HEIGHT; in __isp_subdev_try_format()
194 mf->code = format->code; in __isp_subdev_try_format()
205 struct v4l2_mbus_framefmt *mf = &fmt->format; in fimc_isp_subdev_set_fmt()
216 *mf = fmt->format; in fimc_isp_subdev_set_fmt()
[all …]
Dfimc-isp-video.c58 fmt = isp->video_capture.format; in isp_video_capture_queue_setup()
109 video->buf_count, video->format->memplanes, in isp_video_capture_start_streaming()
167 if (video->format == NULL) in isp_video_capture_buffer_prepare()
170 for (i = 0; i < video->format->memplanes; i++) { in isp_video_capture_buffer_prepare()
211 unsigned int num_planes = video->format->memplanes; in isp_video_capture_buffer_queue()
433 dma->format = DMA_OUTPUT_FORMAT_BAYER; in isp_video_s_fmt_mplane()
442 isp->video_capture.format = ifmt; in isp_video_s_fmt_mplane()
483 if (src_fmt.format.width != sink_fmt.format.width || in isp_video_pipeline_validate()
484 src_fmt.format.height != sink_fmt.format.height || in isp_video_pipeline_validate()
485 src_fmt.format.code != sink_fmt.format.code) in isp_video_pipeline_validate()
[all …]
/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_fb.c233 uint32_t resid, format, size; in virtio_gpufb_create() local
244 format = VIRTIO_GPU_FORMAT_X8R8G8B8_UNORM; in virtio_gpufb_create()
247 format = VIRTIO_GPU_FORMAT_A8R8G8B8_UNORM; in virtio_gpufb_create()
250 format = VIRTIO_GPU_FORMAT_B8G8R8X8_UNORM; in virtio_gpufb_create()
253 format = VIRTIO_GPU_FORMAT_B8G8R8A8_UNORM; in virtio_gpufb_create()
256 format = VIRTIO_GPU_FORMAT_R8G8B8X8_UNORM; in virtio_gpufb_create()
259 format = VIRTIO_GPU_FORMAT_R8G8B8A8_UNORM; in virtio_gpufb_create()
262 format = VIRTIO_GPU_FORMAT_X8B8G8R8_UNORM; in virtio_gpufb_create()
265 format = VIRTIO_GPU_FORMAT_A8B8G8R8_UNORM; in virtio_gpufb_create()
269 format = VIRTIO_GPU_FORMAT_B8G8R8X8_UNORM; in virtio_gpufb_create()
[all …]
/linux-4.4.14/kernel/gcov/
DKconfig53 prompt "Specify GCOV format"
57 The gcov format is usually determined by the GCC version, but there are
58 exceptions where format changes are integrated in lower-version GCCs.
59 In such a case use this option to adjust the format used in the kernel
67 Select this option to use the format that corresponds to your GCC
71 bool "GCC 3.4 format"
73 Select this option to use the format defined by GCC 3.4.
76 bool "GCC 4.7 format"
78 Select this option to use the format defined by GCC 4.7.
/linux-4.4.14/scripts/gdb/linux/
Dlists.py29 gdb.write("Starting with: {}\n".format(c))
40 'prev@{p_addr}={p}\n'.format(
49 'current@{current_addr}={current}\n'.format(
58 'next@{n_addr}={n}\n'.format(
67 'current@{current_addr}={current}\n'.format(
75 gdb.write("list is consistent: {} node(s)\n".format(nb))
Dsymbols.py45 "'{0}'\n".format(module_name))
77 gdb.write("scanning for modules in {0}\n".format(path))
85 module_pattern = ".*/{0}\.ko$".format(
105 args.append(" -s {name} {addr}".format(
119 gdb.write("loading @{addr}: {filename}\n".format(
121 cmdline = "add-symbol-file {filename} {addr}{sections}".format(
129 gdb.write("no module object found for '{0}'\n".format(module_name))
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_plane.c285 const struct mdp_format *format; in mdp5_plane_atomic_check() local
292 format = to_mdp_format(msm_framebuffer_format(state->fb)); in mdp5_plane_atomic_check()
293 if (MDP_FORMAT_IS_YUV(format) && in mdp5_plane_atomic_check()
551 static uint32_t get_scale_config(const struct mdp_format *format, in get_scale_config() argument
554 bool scaling = format->is_yuv ? true : (src != dst); in get_scale_config()
555 uint32_t sub, pix_fmt = format->base.pixel_format; in get_scale_config()
557 bool yuv = format->is_yuv; in get_scale_config()
582 static void calc_pixel_ext(const struct mdp_format *format, in calc_pixel_ext() argument
587 bool scaling = format->is_yuv ? true : (src != dst); in calc_pixel_ext()
605 const struct mdp_format *format, in mdp5_write_pixel_ext() argument
[all …]
/linux-4.4.14/drivers/media/pci/saa7134/
Dsaa7134-empress.c120 struct v4l2_mbus_framefmt *mbus_fmt = &fmt.format; in empress_g_fmt_vid_cap()
136 struct v4l2_subdev_format format = { in empress_s_fmt_vid_cap() local
140 v4l2_fill_mbus_format(&format.format, &f->fmt.pix, MEDIA_BUS_FMT_FIXED); in empress_s_fmt_vid_cap()
141 saa_call_all(dev, pad, set_fmt, NULL, &format); in empress_s_fmt_vid_cap()
142 v4l2_fill_pix_format(&f->fmt.pix, &format.format); in empress_s_fmt_vid_cap()
156 struct v4l2_subdev_format format = { in empress_try_fmt_vid_cap() local
160 v4l2_fill_mbus_format(&format.format, &f->fmt.pix, MEDIA_BUS_FMT_FIXED); in empress_try_fmt_vid_cap()
161 saa_call_all(dev, pad, set_fmt, &pad_cfg, &format); in empress_try_fmt_vid_cap()
162 v4l2_fill_pix_format(&f->fmt.pix, &format.format); in empress_try_fmt_vid_cap()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Ddss.h38 #define DSSDBG(format, ...) \ argument
39 pr_debug(format, ## __VA_ARGS__)
42 #define DSSERR(format, ...) \ argument
43 printk(KERN_ERR "omapdss " DSS_SUBSYS_NAME " error: " format, \
46 #define DSSERR(format, ...) \ argument
47 printk(KERN_ERR "omapdss error: " format, ## __VA_ARGS__)
51 #define DSSINFO(format, ...) \ argument
52 printk(KERN_INFO "omapdss " DSS_SUBSYS_NAME ": " format, \
55 #define DSSINFO(format, ...) \ argument
56 printk(KERN_INFO "omapdss: " format, ## __VA_ARGS__)
[all …]
/linux-4.4.14/tools/include/asm/
Dbug.h8 #define WARN(condition, format...) ({ \ argument
11 __WARN_printf(format); \
15 #define WARN_ONCE(condition, format...) ({ \ argument
20 if (WARN(!__warned, format)) \
/linux-4.4.14/drivers/media/pci/ivtv/
Divtv-controls.c67 struct v4l2_subdev_format format = { in ivtv_s_video_encoding() local
72 format.format.width = cxhdl->width / (is_mpeg1 ? 2 : 1); in ivtv_s_video_encoding()
73 format.format.height = cxhdl->height; in ivtv_s_video_encoding()
74 format.format.code = MEDIA_BUS_FMT_FIXED; in ivtv_s_video_encoding()
75 v4l2_subdev_call(itv->sd_video, pad, set_fmt, NULL, &format); in ivtv_s_video_encoding()
/linux-4.4.14/drivers/net/wireless/ath/ar5523/
Dar5523.h137 #define ar5523_dbg(ar, format, arg...) \ argument
138 dev_dbg(&(ar)->dev->dev, format, ## arg)
144 #define ar5523_err(ar, format, arg...) \ argument
147 dev_err(&(ar)->dev->dev, format, ## arg); \
150 #define ar5523_info(ar, format, arg...) \ argument
151 dev_info(&(ar)->dev->dev, format, ## arg)
/linux-4.4.14/drivers/media/v4l2-core/
Dv4l2-subdev.c130 struct v4l2_subdev_format *format) in check_format() argument
132 if (format->which != V4L2_SUBDEV_FORMAT_TRY && in check_format()
133 format->which != V4L2_SUBDEV_FORMAT_ACTIVE) in check_format()
136 if (format->pad >= sd->entity.num_pads) in check_format()
258 struct v4l2_subdev_format *format = arg; in subdev_do_ioctl() local
260 rval = check_format(sd, format); in subdev_do_ioctl()
264 return v4l2_subdev_call(sd, pad, get_fmt, subdev_fh->pad, format); in subdev_do_ioctl()
268 struct v4l2_subdev_format *format = arg; in subdev_do_ioctl() local
270 rval = check_format(sd, format); in subdev_do_ioctl()
274 return v4l2_subdev_call(sd, pad, set_fmt, subdev_fh->pad, format); in subdev_do_ioctl()
[all …]
/linux-4.4.14/drivers/media/radio/wl128x/
Dfmdrv.h56 #define fmerr(format, ...) \ argument
57 printk(KERN_ERR "fmdrv: " format, ## __VA_ARGS__)
58 #define fmwarn(format, ...) \ argument
59 printk(KERN_WARNING "fmdrv: " format, ##__VA_ARGS__)
61 #define fmdbg(format, ...) \ argument
62 printk(KERN_DEBUG "fmdrv: " format, ## __VA_ARGS__)
64 #define fmdbg(format, ...) do {} while(0) argument
/linux-4.4.14/drivers/gpu/drm/qxl/
Dqxl_dumb.c40 uint32_t pitch, format; in qxl_mode_dumb_create() local
47 format = SPICE_SURFACE_FMT_16_565; in qxl_mode_dumb_create()
50 format = SPICE_SURFACE_FMT_32_xRGB; in qxl_mode_dumb_create()
59 surf.format = format; in qxl_mode_dumb_create()
/linux-4.4.14/drivers/media/usb/uvc/
Duvc_v4l2.c149 struct uvc_format *format = NULL; in uvc_v4l2_try_format() local
171 format = &stream->format[i]; in uvc_v4l2_try_format()
172 if (format->fcc == fmt->fmt.pix.pixelformat) in uvc_v4l2_try_format()
177 format = stream->def_format; in uvc_v4l2_try_format()
178 fmt->fmt.pix.pixelformat = format->fcc; in uvc_v4l2_try_format()
189 for (i = 0; i < format->nframes; ++i) { in uvc_v4l2_try_format()
190 __u16 w = format->frame[i].wWidth; in uvc_v4l2_try_format()
191 __u16 h = format->frame[i].wHeight; in uvc_v4l2_try_format()
197 frame = &format->frame[i]; in uvc_v4l2_try_format()
219 probe->bFormatIndex = format->index; in uvc_v4l2_try_format()
[all …]
Duvc_driver.c332 struct uvc_streaming *streaming, struct uvc_format *format, in uvc_parse_format() argument
345 format->type = buffer[2]; in uvc_parse_format()
346 format->index = buffer[3]; in uvc_parse_format()
364 strlcpy(format->name, fmtdesc->name, in uvc_parse_format()
365 sizeof format->name); in uvc_parse_format()
366 format->fcc = fmtdesc->fcc; in uvc_parse_format()
370 snprintf(format->name, sizeof(format->name), "%pUl\n", in uvc_parse_format()
372 format->fcc = 0; in uvc_parse_format()
375 format->bpp = buffer[21]; in uvc_parse_format()
381 if (format->fcc == V4L2_PIX_FMT_YUYV) { in uvc_parse_format()
[all …]
/linux-4.4.14/drivers/media/pci/mantis/
Dmantis_common.h39 #define dprintk(y, z, format, arg...) do { \ argument
42 printk(KERN_ERR "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
44 printk(KERN_NOTICE "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
46 printk(KERN_INFO "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
48 printk(KERN_DEBUG "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
50 printk(KERN_DEBUG "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
53 printk(format , ##arg); \
/linux-4.4.14/drivers/scsi/aic7xxx/aicasm/
Daicasm.c340 f3_instr = &cur_instr->format.format3; in back_patch()
373 cur_instr->format.bytes[0], in output_code()
374 cur_instr->format.bytes[1], in output_code()
375 cur_instr->format.bytes[2], in output_code()
376 cur_instr->format.bytes[3]); in output_code()
378 cur_instr->format.bytes[3], in output_code()
379 cur_instr->format.bytes[2], in output_code()
380 cur_instr->format.bytes[1], in output_code()
381 cur_instr->format.bytes[0]); in output_code()
617 cur_instr->format.bytes[0], in output_listing()
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnv50_fbcon.c157 int ret, format; in nv50_fbcon_accel_init() local
161 format = 0xf3; in nv50_fbcon_accel_init()
164 format = 0xf8; in nv50_fbcon_accel_init()
167 format = 0xe8; in nv50_fbcon_accel_init()
173 format = 0xe6; in nv50_fbcon_accel_init()
176 format = 0xd1; in nv50_fbcon_accel_init()
218 OUT_RING(chan, format); in nv50_fbcon_accel_init()
223 OUT_RING(chan, format); in nv50_fbcon_accel_init()
238 OUT_RING(chan, format); in nv50_fbcon_accel_init()
247 OUT_RING(chan, format); in nv50_fbcon_accel_init()
Dnvc0_fbcon.c157 int ret, format; in nvc0_fbcon_accel_init() local
166 format = 0xf3; in nvc0_fbcon_accel_init()
169 format = 0xf8; in nvc0_fbcon_accel_init()
172 format = 0xe8; in nvc0_fbcon_accel_init()
178 format = 0xe6; in nvc0_fbcon_accel_init()
181 format = 0xd1; in nvc0_fbcon_accel_init()
215 OUT_RING (chan, format); in nvc0_fbcon_accel_init()
221 OUT_RING (chan, format); in nvc0_fbcon_accel_init()
236 OUT_RING (chan, format); in nvc0_fbcon_accel_init()
247 OUT_RING (chan, format); in nvc0_fbcon_accel_init()
/linux-4.4.14/tools/perf/ui/tui/
Dutil.c226 static int __ui__warning(const char *title, const char *format, va_list args) in __ui__warning() argument
230 if (vasprintf(&s, format, args) > 0) { in __ui__warning()
239 vfprintf(stderr, format, args); in __ui__warning()
243 static int perf_tui__error(const char *format, va_list args) in perf_tui__error() argument
245 return __ui__warning("Error:", format, args); in perf_tui__error()
248 static int perf_tui__warning(const char *format, va_list args) in perf_tui__warning() argument
250 return __ui__warning("Warning:", format, args); in perf_tui__warning()
/linux-4.4.14/drivers/media/usb/go7007/
Dgo7007-fw.c455 CODE_ADD(c, go->format == V4L2_PIX_FMT_MPEG2 ? 0x7 : 0x4, 4); in mpeg1_frame_header()
457 CODE_ADD(c, go->format == V4L2_PIX_FMT_MPEG2 ? 0x7 : 0x4, 4); in mpeg1_frame_header()
466 if (go->format == V4L2_PIX_FMT_MPEG2) { in mpeg1_frame_header()
537 if (go->format == V4L2_PIX_FMT_MPEG1) { in mpeg1_sequence_header()
587 CODE_ADD(c, go->format == V4L2_PIX_FMT_MPEG2 ? 20000 : 0x3ffff, 18); in mpeg1_sequence_header()
589 CODE_ADD(c, go->format == V4L2_PIX_FMT_MPEG2 ? 112 : 20, 10); in mpeg1_sequence_header()
597 if (go->format == V4L2_PIX_FMT_MPEG2) { in mpeg1_sequence_header()
931 int lambda = (go->format == V4L2_PIX_FMT_MJPEG || go->dvd_mode) ? in brctrl_to_package()
934 int vbv_buffer = go->format == V4L2_PIX_FMT_MJPEG ? in brctrl_to_package()
1097 0xc6c3, go->format == V4L2_PIX_FMT_MPEG4 ? 0 : in config_package()
[all …]
/linux-4.4.14/drivers/memstick/core/
Dms_block.h280 #define __dbg(level, format, ...) \ argument
283 pr_err(format "\n", ## __VA_ARGS__); \
287 #define dbg(format, ...) __dbg(1, format, ## __VA_ARGS__) argument
288 #define dbg_verbose(format, ...) __dbg(2, format, ## __VA_ARGS__) argument
/linux-4.4.14/sound/oss/dmasound/
Ddmasound_q40.c47 static int Q40SetFormat(int format);
65 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8; in q40_ct_law()
122 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); in q40_ctx_law()
232 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); in q40_ctc_law()
544 static int Q40SetFormat(int format) in Q40SetFormat() argument
548 switch (format) { in Q40SetFormat()
550 return(dmasound.soft.format); in Q40SetFormat()
557 format = AFMT_S8; in Q40SetFormat()
560 dmasound.soft.format = format; in Q40SetFormat()
563 dmasound.dsp.format = format; in Q40SetFormat()
[all …]
Ddmasound_paula.c81 static int AmiSetFormat(int format);
384 static int AmiSetFormat(int format) in AmiSetFormat() argument
390 switch (format) { in AmiSetFormat()
392 return dmasound.soft.format; in AmiSetFormat()
407 format = AFMT_S8; in AmiSetFormat()
410 dmasound.soft.format = format; in AmiSetFormat()
413 dmasound.dsp.format = format; in AmiSetFormat()
418 return format; in AmiSetFormat()
671 .format = AFMT_S8,
678 .format = AFMT_U8,
Ddmasound_atari.c127 static int TTSetFormat(int format);
132 static int FalconSetFormat(int format);
158 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8 in ata_ct_law()
388 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8 in ata_ctx_law()
956 static int TTSetFormat(int format) in TTSetFormat() argument
960 switch (format) { in TTSetFormat()
962 return dmasound.soft.format; in TTSetFormat()
969 format = AFMT_S8; in TTSetFormat()
972 dmasound.soft.format = format; in TTSetFormat()
975 dmasound.dsp.format = format; in TTSetFormat()
[all …]
/linux-4.4.14/include/linux/
Dratelimit.h55 #define WARN_RATELIMIT(condition, format, ...) \ argument
63 WARN(rtn, format, ##__VA_ARGS__); \
73 #define WARN_RATELIMIT(condition, format, ...) \ argument
75 int rtn = WARN(condition, format, ##__VA_ARGS__); \
Dmmdebug.h42 #define VM_WARN_ONCE(cond, format...) WARN_ONCE(cond, format) argument
50 #define VM_WARN_ONCE(cond, format...) BUILD_BUG_ON_INVALID(cond) argument
/linux-4.4.14/sound/soc/spear/
Dspdif_in.c31 u32 format; member
77 static void spdif_in_format(struct spdif_in_dev *host, u32 format) in spdif_in_format() argument
81 switch (format) { in spdif_in_format()
99 u32 format; in spdif_in_hw_params() local
104 format = params_format(params); in spdif_in_hw_params()
105 host->saved_params.format = format; in spdif_in_hw_params()
126 spdif_in_format(host, host->saved_params.format); in spdif_in_trigger()
/linux-4.4.14/net/atm/
Dmpoa_proc.c25 #define dprintk(format, args...) \ argument
26 printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args) /* debug */
28 #define dprintk(format, args...) \ argument
30 printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args);\
35 #define ddprintk(format, args...) \
36 printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args) /* debug */
38 #define ddprintk(format, args...) \ argument
40 printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args);\
/linux-4.4.14/drivers/acpi/
Dpci_slot.c52 #define err(format, arg...) pr_err("%s: " format , MY_NAME , ## arg) argument
53 #define info(format, arg...) pr_info("%s: " format , MY_NAME , ## arg) argument
54 #define dbg(format, arg...) \ argument
57 pr_debug("%s: " format, MY_NAME , ## arg); \
/linux-4.4.14/drivers/isdn/capi/
Dkcapi.h19 #define DBG(format, arg...) do { \ argument
20 printk(KERN_DEBUG "%s: " format "\n" , __func__ , ## arg); \
23 #define DBG(format, arg...) /* */ argument
/linux-4.4.14/sound/pci/hda/
Dhda_eld.c189 a->format = GRAB_BITS(buf, 0, 3, 4); in hdmi_update_short_audio_desc()
190 switch (a->format) { in hdmi_update_short_audio_desc()
233 a->format = GRAB_BITS(buf, 2, 3, 5); in hdmi_update_short_audio_desc()
234 if (a->format == AUDIO_CODING_XTYPE_HE_REF_CT || in hdmi_update_short_audio_desc()
235 a->format >= AUDIO_CODING_XTYPE_FIRST_RESERVED) { in hdmi_update_short_audio_desc()
238 a->format); in hdmi_update_short_audio_desc()
239 a->format = 0; in hdmi_update_short_audio_desc()
241 a->format += AUDIO_CODING_TYPE_HE_AAC - in hdmi_update_short_audio_desc()
402 if (!a->format) in hdmi_show_short_audio_desc()
407 if (a->format == AUDIO_CODING_TYPE_LPCM) in hdmi_show_short_audio_desc()
[all …]
/linux-4.4.14/net/netfilter/
Dnf_internals.h9 #define NFDEBUG(format, args...) printk(KERN_DEBUG format , ## args) argument
11 #define NFDEBUG(format, args...) argument
/linux-4.4.14/drivers/media/common/b2c2/
Dflexcop-common.h30 #define err(format, arg...) \ argument
31 printk(KERN_ERR FC_LOG_PREFIX ": " format "\n" , ## arg)
33 #define info(format, arg...) \ argument
34 printk(KERN_INFO FC_LOG_PREFIX ": " format "\n" , ## arg)
36 #define warn(format, arg...) \ argument
37 printk(KERN_WARNING FC_LOG_PREFIX ": " format "\n" , ## arg)
/linux-4.4.14/drivers/ide/
Dsc1200.c85 unsigned int basereg = hwif->channel ? 0x50 : 0x40, format = 0; in sc1200_tunepio() local
87 pci_read_config_dword(pdev, basereg + 4, &format); in sc1200_tunepio()
88 format = (format >> 31) & 1; in sc1200_tunepio()
89 if (format) in sc1200_tunepio()
90 format += sc1200_get_pci_clock(); in sc1200_tunepio()
92 sc1200_pio_timings[format][pio]); in sc1200_tunepio()
/linux-4.4.14/drivers/media/usb/em28xx/
Dem28xx-camera.c407 struct v4l2_subdev_format format = { in em28xx_init_camera() local
430 format.format.code = MEDIA_BUS_FMT_YUYV8_2X8; in em28xx_init_camera()
431 format.format.width = 640; in em28xx_init_camera()
432 format.format.height = 480; in em28xx_init_camera()
433 v4l2_subdev_call(subdev, pad, set_fmt, NULL, &format); in em28xx_init_camera()
/linux-4.4.14/drivers/media/pci/sta2x11/
Dsta2x11_vip.c138 struct v4l2_pix_format format; member
233 if (vip->format.field == V4L2_FIELD_INTERLACED) in start_dma()
234 offset = vip->format.width * 2; in start_dma()
278 sizes[0] = vip->format.sizeimage; in queue_setup()
305 size = vip->format.sizeimage; in buffer_prepare()
460 vip->format = formats_60[0]; in vidioc_s_std()
462 vip->format = formats_50[0]; in vidioc_s_std()
469 vip->format = formats_60[0]; in vidioc_s_std()
471 vip->format = formats_50[0]; in vidioc_s_std()
676 vip->format = f->fmt.pix; in vidioc_s_fmt_vid_cap()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/media/xilinx/
Dvideo.txt20 - xlnx,video-format: This property represents a video format transmitted on an
22 Video IP and System Design Guide" [UG934]. How the format relates to the IP
25 - xlnx,video-width: This property qualifies the video format with the sample
29 - xlnx,cfa-pattern: When the video format is set to Mono/Sensor, this property
Dxlnx,v-tpg.txt18 - xlnx,video-format, xlnx,video-width: Video format and width, as defined in
53 xlnx,video-format = <XVIP_VF_YUV_422>;
63 xlnx,video-format = <XVIP_VF_YUV_422>;
/linux-4.4.14/drivers/gpu/drm/msm/
Dmsm_fb.c26 const struct msm_format *format; member
137 return msm_fb->format; in msm_framebuffer_format()
177 const struct msm_format *format; in msm_framebuffer_init() local
189 format = kms->funcs->get_format(kms, mode_cmd->pixel_format); in msm_framebuffer_init()
190 if (!format) { in msm_framebuffer_init()
205 msm_fb->format = format; in msm_framebuffer_init()
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/
Doverlay.c109 int format, ret; in nv10_update_plane() local
117 format = ALIGN(src_w * 4, 0x100); in nv10_update_plane()
119 if (format > 0xffff) in nv10_update_plane()
149 format |= NV_PVIDEO_FORMAT_COLOR_LE_CR8YB8CB8YA8; in nv10_update_plane()
151 format |= NV_PVIDEO_FORMAT_PLANAR; in nv10_update_plane()
153 format |= NV_PVIDEO_FORMAT_MATRIX_ITURBT709; in nv10_update_plane()
155 format |= NV_PVIDEO_FORMAT_DISPLAY_COLOR_KEY; in nv10_update_plane()
162 nvif_wr32(dev, NV_PVIDEO_FORMAT(flip), format); in nv10_update_plane()
205 u32 format = 0; in nv10_set_params() local
215 format |= NV_PVIDEO_FORMAT_MATRIX_ITURBT709; in nv10_set_params()
[all …]
/linux-4.4.14/sound/soc/intel/skylake/
Dskl-messages.c283 struct skl_module_fmt *format = &mconfig->in_fmt; in skl_set_base_module_format() local
285 base_cfg->audio_fmt.number_of_channels = (u8)format->channels; in skl_set_base_module_format()
287 base_cfg->audio_fmt.s_freq = format->s_freq; in skl_set_base_module_format()
288 base_cfg->audio_fmt.bit_depth = format->bit_depth; in skl_set_base_module_format()
289 base_cfg->audio_fmt.valid_bit_depth = format->valid_bit_depth; in skl_set_base_module_format()
290 base_cfg->audio_fmt.ch_cfg = format->ch_cfg; in skl_set_base_module_format()
293 format->bit_depth, format->valid_bit_depth, in skl_set_base_module_format()
294 format->ch_cfg); in skl_set_base_module_format()
402 struct skl_module_fmt *format = &mconfig->out_fmt; in skl_setup_out_format() local
404 out_fmt->number_of_channels = (u8)format->channels; in skl_setup_out_format()
[all …]
/linux-4.4.14/Documentation/security/
DIMA-templates.txt17 the measurements list would include the code for handling a new format
30 specifying the template format (a string of field identifiers separated
33 by translating the format into an array of template fields structures taken
58 descriptors by adding their identifier to the format string
65 algorithm (field format: [<hash algo>:]digest, where the digest
72 - "ima": its format is 'd|n';
73 - "ima-ng" (default): its format is 'd-ng|n-ng';
74 - "ima-sig": its format is 'd-ng|n-ng|sig'.
87 - register a new template descriptor with custom format through the kernel
/linux-4.4.14/drivers/infiniband/ulp/ipoib/
Dipoib.h477 struct ipoib_dev_priv *ipoib_intf_alloc(const char *format);
764 #define ipoib_printk(level, priv, format, arg...) \ argument
765 printk(level "%s: " format, ((struct ipoib_dev_priv *) priv)->dev->name , ## arg)
766 #define ipoib_warn(priv, format, arg...) \ argument
767 ipoib_printk(KERN_WARNING, priv, format , ## arg)
777 #define ipoib_dbg(priv, format, arg...) \ argument
780 ipoib_printk(KERN_DEBUG, priv, format , ## arg); \
782 #define ipoib_dbg_mcast(priv, format, arg...) \ argument
785 ipoib_printk(KERN_DEBUG, priv, format , ## arg); \
788 #define ipoib_dbg(priv, format, arg...) \ argument
[all …]
/linux-4.4.14/drivers/media/usb/dvb-usb/
Ddvb-usb.h53 #define err(format, arg...) printk(KERN_ERR DVB_USB_LOG_PREFIX ": " format "\n" , ## arg) argument
55 #define info(format, arg...) printk(KERN_INFO DVB_USB_LOG_PREFIX ": " format "\n" , ## arg) argument
57 #define warn(format, arg...) printk(KERN_WARNING DVB_USB_LOG_PREFIX ": " format "\n" , ## arg) argument
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-fs-xfs7 log. The LSN is exported in "cycle:basic block" format.
16 log. The LSN is exported in "cycle:basic block" format.
26 "cycle:bytes" format.
38 "cycle:bytes" format.
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dmlx4_en.h867 const char *format, ...);
869 #define en_dbg(mlevel, priv, format, ...) \ argument
872 en_print(KERN_DEBUG, priv, format, ##__VA_ARGS__); \
874 #define en_warn(priv, format, ...) \ argument
875 en_print(KERN_WARNING, priv, format, ##__VA_ARGS__)
876 #define en_err(priv, format, ...) \ argument
877 en_print(KERN_ERR, priv, format, ##__VA_ARGS__)
878 #define en_info(priv, format, ...) \ argument
879 en_print(KERN_INFO, priv, format, ##__VA_ARGS__)
881 #define mlx4_err(mdev, format, ...) \ argument
[all …]
/linux-4.4.14/Documentation/fb/
Dapi.txt37 The driver supports the four character code (FOURCC) based format setting API.
46 to be aware of the pixel storage format in order to write image data to the
47 frame buffer memory in the format expected by the hardware.
87 Macropixels are stored in memory as described by the format FOURCC identifier
140 Pixels are encoded and interpreted as described by the format FOURCC
152 about the frame buffer device and the current format. Those information can't
154 application modifies the format.
178 about a frame buffer device, its current format and video mode, as well as
197 __u32 nonstd; /* != 0 Non standard pixel format */
233 Frame buffer devices offer two ways to configure the frame buffer format: the
[all …]
/linux-4.4.14/drivers/media/i2c/soc_camera/
Dimx074.c158 struct v4l2_subdev_format *format) in imx074_set_fmt() argument
160 struct v4l2_mbus_framefmt *mf = &format->format; in imx074_set_fmt()
165 if (format->pad) in imx074_set_fmt()
172 if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) in imx074_set_fmt()
182 if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) in imx074_set_fmt()
192 struct v4l2_subdev_format *format) in imx074_get_fmt() argument
194 struct v4l2_mbus_framefmt *mf = &format->format; in imx074_get_fmt()
200 if (format->pad) in imx074_get_fmt()
Dmt9t112.c92 const struct mt9t112_format *format; member
821 mt9t112_mcu_write(ret, client, VAR(26, 7), priv->format->fmt); in mt9t112_s_stream()
822 mt9t112_mcu_write(ret, client, VAR(26, 9), priv->format->order); in mt9t112_s_stream()
831 dev_dbg(&client->dev, "format : %d\n", priv->format->code); in mt9t112_s_stream()
865 priv->format = mt9t112_cfmts + i; in mt9t112_set_params()
904 return mt9t112_set_params(priv, rect, priv->format->code); in mt9t112_s_crop()
909 struct v4l2_subdev_format *format) in mt9t112_get_fmt() argument
911 struct v4l2_mbus_framefmt *mf = &format->format; in mt9t112_get_fmt()
915 if (format->pad) in mt9t112_get_fmt()
920 mf->colorspace = priv->format->colorspace; in mt9t112_get_fmt()
[all …]
Dov5642.c791 struct v4l2_subdev_format *format) in ov5642_set_fmt() argument
793 struct v4l2_mbus_framefmt *mf = &format->format; in ov5642_set_fmt()
798 if (format->pad) in ov5642_set_fmt()
805 if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) in ov5642_set_fmt()
813 if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) in ov5642_set_fmt()
822 struct v4l2_subdev_format *format) in ov5642_get_fmt() argument
824 struct v4l2_mbus_framefmt *mf = &format->format; in ov5642_get_fmt()
830 if (format->pad) in ov5642_get_fmt()
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
De1000.h48 #define e_dbg(format, arg...) \ argument
49 netdev_dbg(hw->adapter->netdev, format, ## arg)
50 #define e_err(format, arg...) \ argument
51 netdev_err(adapter->netdev, format, ## arg)
52 #define e_info(format, arg...) \ argument
53 netdev_info(adapter->netdev, format, ## arg)
54 #define e_warn(format, arg...) \ argument
55 netdev_warn(adapter->netdev, format, ## arg)
56 #define e_notice(format, arg...) \ argument
57 netdev_notice(adapter->netdev, format, ## arg)
/linux-4.4.14/drivers/media/platform/
Drcar_jpu.c269 struct v4l2_pix_format_mplane format; member
879 q_data->format = f->fmt.pix_mp; in jpu_s_fmt()
894 f->fmt.pix_mp = q_data->format; in jpu_g_fmt()
940 adj.format.width = ref->format.width; in jpu_streamon()
941 adj.format.height = ref->format.height; in jpu_streamon()
943 __jpu_try_fmt(ctx, NULL, &adj.format, adj_type); in jpu_streamon()
945 if (adj.format.width != orig->format.width || in jpu_streamon()
946 adj.format.height != orig->format.height) { in jpu_streamon()
1029 *nplanes = q_data->format.num_planes; in jpu_queue_setup()
1032 unsigned int q_size = q_data->format.plane_fmt[i].sizeimage; in jpu_queue_setup()
[all …]
Dsh_vou.c708 struct v4l2_subdev_format format = { in sh_vou_set_fmt_vid_out() local
711 .format.code = MEDIA_BUS_FMT_YUYV8_2X8, in sh_vou_set_fmt_vid_out()
712 .format.field = V4L2_FIELD_INTERLACED, in sh_vou_set_fmt_vid_out()
713 .format.colorspace = V4L2_COLORSPACE_SMPTE170M, in sh_vou_set_fmt_vid_out()
715 struct v4l2_mbus_framefmt *mbfmt = &format.format; in sh_vou_set_fmt_vid_out()
735 set_fmt, NULL, &format); in sh_vou_set_fmt_vid_out()
946 struct v4l2_subdev_format format = { in sh_vou_s_selection() local
949 .format.code = MEDIA_BUS_FMT_YUYV8_2X8, in sh_vou_s_selection()
950 .format.field = V4L2_FIELD_INTERLACED, in sh_vou_s_selection()
951 .format.colorspace = V4L2_COLORSPACE_SMPTE170M, in sh_vou_s_selection()
[all …]
/linux-4.4.14/drivers/media/platform/s3c-camif/
Dcamif-core.c201 struct v4l2_subdev_format format; in camif_register_sensor() local
230 format.pad = 0; in camif_register_sensor()
231 format.which = V4L2_SUBDEV_FORMAT_ACTIVE; in camif_register_sensor()
232 ret = v4l2_subdev_call(sd, pad, get_fmt, NULL, &format); in camif_register_sensor()
237 format.pad = CAMIF_SD_PAD_SINK; in camif_register_sensor()
238 v4l2_subdev_call(&camif->subdev, pad, set_fmt, NULL, &format); in camif_register_sensor()
241 format.format.width, format.format.height, in camif_register_sensor()
242 format.format.code); in camif_register_sensor()
/linux-4.4.14/net/dccp/ccids/lib/
Dtfrc.h25 #define tfrc_pr_debug(format, a...) DCCP_PR_DEBUG(tfrc_debug, format, ##a) argument
27 #define tfrc_pr_debug(format, a...) argument
/linux-4.4.14/drivers/media/pci/cx18/
Dcx18-controls.c96 struct v4l2_subdev_format format = { in cx18_s_video_encoding() local
99 struct v4l2_mbus_framefmt *fmt = &format.format; in cx18_s_video_encoding()
105 v4l2_subdev_call(cx->sd_av, pad, set_fmt, NULL, &format); in cx18_s_video_encoding()
/linux-4.4.14/drivers/gpu/drm/i2c/
Dch7006_priv.h132 #define ch7006_dbg(client, format, ...) do { \ argument
135 "%s: " format, __func__, ## __VA_ARGS__); \
137 #define ch7006_info(client, format, ...) \ argument
138 dev_info(&client->dev, format, __VA_ARGS__)
139 #define ch7006_err(client, format, ...) \ argument
140 dev_err(&client->dev, format, __VA_ARGS__)
/linux-4.4.14/sound/isa/sb/
Dsb16_main.c61 ((1U << runtime->format) == csp->acc_format)) { in snd_sb16_csp_playback_prepare()
69 if ((1 << runtime->format) & (SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_U8 | in snd_sb16_csp_playback_prepare()
80 if (csp->ops.csp_autoload(csp, runtime->format, SNDRV_SB_CSP_MODE_DSP_WRITE)) { in snd_sb16_csp_playback_prepare()
109 ((1U << runtime->format) == csp->acc_format)) { in snd_sb16_csp_capture_prepare()
118 if (csp->ops.csp_autoload(csp, runtime->format, SNDRV_SB_CSP_MODE_DSP_READ)) { in snd_sb16_csp_capture_prepare()
264 unsigned char format; in snd_sb16_playback_prepare() local
268 if (snd_pcm_format_unsigned(runtime->format) > 0) { in snd_sb16_playback_prepare()
269 format = runtime->channels > 1 ? SB_DSP4_MODE_UNS_STEREO : SB_DSP4_MODE_UNS_MONO; in snd_sb16_playback_prepare()
271 format = runtime->channels > 1 ? SB_DSP4_MODE_SIGN_STEREO : SB_DSP4_MODE_SIGN_MONO; in snd_sb16_playback_prepare()
285 snd_sbdsp_command(chip, format); in snd_sb16_playback_prepare()
[all …]
/linux-4.4.14/drivers/isdn/hisax/
Dhisax_debug.h28 #define DBG(level, format, arg...) do { \ argument
30 printk(KERN_DEBUG "%s: " format "\n" , __func__ , ## arg); \
74 #define DBG(level, format, arg...) do {} while (0) argument
/linux-4.4.14/sound/pci/
Dsis7019.c532 u32 format, dma_addr, control, sso_eso, delta, reg; in sis_pcm_playback_prepare() local
538 format = 0; in sis_pcm_playback_prepare()
539 if (snd_pcm_format_width(runtime->format) == 8) in sis_pcm_playback_prepare()
540 format |= SIS_PLAY_DMA_FORMAT_8BIT; in sis_pcm_playback_prepare()
541 if (!snd_pcm_format_signed(runtime->format)) in sis_pcm_playback_prepare()
542 format |= SIS_PLAY_DMA_FORMAT_UNSIGNED; in sis_pcm_playback_prepare()
544 format |= SIS_PLAY_DMA_FORMAT_MONO; in sis_pcm_playback_prepare()
571 writel(format, ctrl_base + SIS_PLAY_DMA_FORMAT_CSO); in sis_pcm_playback_prepare()
736 u32 format, control, sso_eso, delta; in sis_prepare_timing_voice() local
743 buffer_size /= snd_pcm_format_size(runtime->format, 1); in sis_prepare_timing_voice()
[all …]
/linux-4.4.14/include/sound/
Dcore.h308 const char *format, ...);
310 #define __snd_printk(level, file, line, format, args...) \ argument
311 printk(format, ##args)
362 static inline void snd_printd(const char *format, ...) {} in snd_printd() argument
364 static inline void _snd_printd(int level, const char *format, ...) {} in _snd_printd() argument
385 #define snd_printdd(format, args...) \ argument
386 __snd_printk(2, __FILE__, __LINE__, format, ##args)
389 static inline void snd_printdd(const char *format, ...) {} in snd_printdd() argument
/linux-4.4.14/tools/lib/traceevent/
Devent-parse.c1668 ret = event_read_fields(event, &event->format.common_fields); in event_read_format()
1671 event->format.nr_common = ret; in event_read_format()
1673 ret = event_read_fields(event, &event->format.fields); in event_read_format()
1676 event->format.nr_fields = ret; in event_read_format()
3197 event->print_fmt.format = token; in event_read_print()
3210 if (asprintf(&cat, "%s%s", event->print_fmt.format, token) < 0) in event_read_print()
3213 free_token(event->print_fmt.format); in event_read_print()
3214 event->print_fmt.format = NULL; in event_read_print()
3246 struct format_field *format; in pevent_find_common_field() local
3248 for (format = event->format.common_fields; in pevent_find_common_field()
[all …]
/linux-4.4.14/Documentation/video4linux/
Dv4l2-pci-skeleton.c72 struct v4l2_pix_format format; member
147 if (skel->format.field == V4L2_FIELD_ALTERNATE) { in skeleton_irq()
173 skel->field = skel->format.field; in queue_setup()
187 if (fmt && fmt->fmt.pix.sizeimage < skel->format.sizeimage) in queue_setup()
190 sizes[0] = fmt ? fmt->fmt.pix.sizeimage : skel->format.sizeimage; in queue_setup()
202 unsigned long size = skel->format.sizeimage; in buffer_prepare()
392 skel->format = f->fmt.pix; in skeleton_s_fmt_vid_cap()
401 f->fmt.pix = skel->format; in skeleton_g_fmt_vid_cap()
443 skeleton_fill_pix_format(skel, &skel->format); in skeleton_s_std()
528 skeleton_fill_pix_format(skel, &skel->format); in skeleton_s_dv_timings()
[all …]
/linux-4.4.14/sound/soc/bcm/
Dbcm2835-i2s.c315 unsigned int ch1pos, ch2pos, mode, format; in bcm2835_i2s_hw_params() local
424 format = BCM2835_I2S_CHEN; in bcm2835_i2s_hw_params()
427 format |= BCM2835_I2S_CHWEX; in bcm2835_i2s_hw_params()
429 format |= BCM2835_I2S_CHWID((data_length-8)&0xf); in bcm2835_i2s_hw_params()
449 format = BCM2835_I2S_CH1(format) | BCM2835_I2S_CH2(format); in bcm2835_i2s_hw_params()
450 format |= BCM2835_I2S_CH1(BCM2835_I2S_CHPOS(ch1pos)); in bcm2835_i2s_hw_params()
451 format |= BCM2835_I2S_CH2(BCM2835_I2S_CHPOS(ch2pos)); in bcm2835_i2s_hw_params()
463 regmap_write(dev->i2s_regmap, BCM2835_I2S_RXC_A_REG, format); in bcm2835_i2s_hw_params()
464 regmap_write(dev->i2s_regmap, BCM2835_I2S_TXC_A_REG, format); in bcm2835_i2s_hw_params()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dr600_cs.c177 bool r600_fmt_is_valid_color(u32 format) in r600_fmt_is_valid_color() argument
179 if (format >= ARRAY_SIZE(color_formats_table)) in r600_fmt_is_valid_color()
182 if (color_formats_table[format].valid_color) in r600_fmt_is_valid_color()
188 bool r600_fmt_is_valid_texture(u32 format, enum radeon_family family) in r600_fmt_is_valid_texture() argument
190 if (format >= ARRAY_SIZE(color_formats_table)) in r600_fmt_is_valid_texture()
193 if (family < color_formats_table[format].min_family) in r600_fmt_is_valid_texture()
196 if (color_formats_table[format].blockwidth > 0) in r600_fmt_is_valid_texture()
202 int r600_fmt_get_blocksize(u32 format) in r600_fmt_get_blocksize() argument
204 if (format >= ARRAY_SIZE(color_formats_table)) in r600_fmt_get_blocksize()
207 return color_formats_table[format].blocksize; in r600_fmt_get_blocksize()
[all …]
Dradeon_legacy_crtc.c382 int format; in radeon_crtc_do_set_base() local
404 format = 2; in radeon_crtc_do_set_base()
407 format = 3; in radeon_crtc_do_set_base()
410 format = 4; in radeon_crtc_do_set_base()
413 format = 5; in radeon_crtc_do_set_base()
416 format = 6; in radeon_crtc_do_set_base()
540 gen_cntl_val |= (format << 8); in radeon_crtc_do_set_base()
580 int format; in radeon_set_crtc_timing() local
604 format = 2; in radeon_set_crtc_timing()
607 format = 3; in radeon_set_crtc_timing()
[all …]
/linux-4.4.14/fs/quota/
DKconfig52 tristate "Old quota format support"
55 This quota format was (is) used by kernels earlier than 2.4.22. If
57 format say Y here.
60 tristate "Quota format vfsv0 and vfsv1 support"
65 formats. Both these formats support 32-bit UIDs/GIDs and vfsv1 format
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_surface.c227 cmd->body.format = srf->format; in vmw_surface_define_encode()
259 svga3dsurface_get_desc(srf->format); in vmw_surface_dma_encode()
730 desc = svga3dsurface_get_desc(req->format); in vmw_surface_define_ioctl()
733 DRM_ERROR("Format requested is: %d\n", req->format); in vmw_surface_define_ioctl()
760 srf->format = req->format; in vmw_surface_define_ioctl()
816 srf->format == SVGA3D_A8R8G8B8) { in vmw_surface_define_ioctl()
1006 rep->format = srf->format; in vmw_surface_reference_ioctl()
1087 cmd2->body.format = cpu_to_le32(srf->format); in vmw_gb_surface_create()
1100 cmd->body.format = cpu_to_le32(srf->format); in vmw_gb_surface_create()
1307 req->format, in vmw_gb_surface_define_ioctl()
[all …]

12345678