/linux-4.1.27/drivers/media/platform/vsp1/ |
D | vsp1_rwpf.c | 49 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 …]
|
D | vsp1_lif.c | 45 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 …]
|
D | vsp1_lut.c | 94 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 …]
|
D | vsp1_hsit.c | 80 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 …]
|
D | vsp1_sru.c | 177 struct v4l2_mbus_framefmt *format; in sru_enum_mbus_code() local 191 format = vsp1_entity_get_pad_format(&sru->entity, cfg, in sru_enum_mbus_code() 193 code->code = format->code; in sru_enum_mbus_code() 204 struct v4l2_mbus_framefmt *format; in sru_enum_frame_size() local 206 format = vsp1_entity_get_pad_format(&sru->entity, cfg, in sru_enum_frame_size() 209 if (fse->index || fse->code != format->code) in sru_enum_frame_size() 218 fse->min_width = format->width; in sru_enum_frame_size() 219 fse->min_height = format->height; in sru_enum_frame_size() 220 if (format->width <= SRU_MAX_SIZE / 2 && in sru_enum_frame_size() 221 format->height <= SRU_MAX_SIZE / 2) { in sru_enum_frame_size() [all …]
|
D | vsp1_bru.c | 74 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 …]
|
D | vsp1_uds.c | 187 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 …]
|
D | vsp1_video.c | 188 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 …]
|
D | vsp1_rpf.c | 79 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()
|
D | vsp1_entity.c | 91 struct v4l2_subdev_format format; in vsp1_entity_init_formats() local 95 memset(&format, 0, sizeof(format)); in vsp1_entity_init_formats() 97 format.pad = pad; in vsp1_entity_init_formats() 98 format.which = cfg ? V4L2_SUBDEV_FORMAT_TRY in vsp1_entity_init_formats() 101 v4l2_subdev_call(subdev, pad, set_fmt, cfg, &format); in vsp1_entity_init_formats()
|
/linux-4.1.27/drivers/staging/media/omap4iss/ |
D | iss_ipipe.c | 87 struct v4l2_mbus_framefmt *format; in ipipe_configure() local 90 format = &ipipe->formats[IPIPE_PAD_SINK]; in ipipe_configure() 103 (format->height - 2) & IPIPE_SRC_VSZ_MASK); in ipipe_configure() 105 (format->width - 1) & IPIPE_SRC_HSZ_MASK); in ipipe_configure() 117 format = &ipipe->formats[IPIPE_PAD_SOURCE_VP]; in ipipe_configure() 200 struct v4l2_mbus_framefmt *format; in ipipe_try_format() local 223 format = __ipipe_get_format(ipipe, cfg, IPIPE_PAD_SINK, which); in ipipe_try_format() 224 memcpy(fmt, format, sizeof(*fmt)); in ipipe_try_format() 275 struct v4l2_mbus_framefmt format; in ipipe_enum_frame_size() local 280 format.code = fse->code; in ipipe_enum_frame_size() [all …]
|
D | iss_ipipeif.c | 129 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 …]
|
D | iss_resizer.c | 445 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() 504 struct v4l2_mbus_framefmt *format; in resizer_enum_mbus_code() local 515 format = __resizer_get_format(resizer, cfg, RESIZER_PAD_SINK, in resizer_enum_mbus_code() 519 code->code = format->code; in resizer_enum_mbus_code() 523 switch (format->code) { in resizer_enum_mbus_code() 549 struct v4l2_mbus_framefmt format; in resizer_enum_frame_size() local 554 format.code = fse->code; in resizer_enum_frame_size() 555 format.width = 1; in resizer_enum_frame_size() [all …]
|
D | iss_csi2.c | 846 struct v4l2_mbus_framefmt *format; in csi2_try_format() local 871 format = __csi2_get_format(csi2, cfg, CSI2_PAD_SINK, which); in csi2_try_format() 872 memcpy(fmt, format, sizeof(*fmt)); in csi2_try_format() 901 struct v4l2_mbus_framefmt *format; in csi2_enum_mbus_code() local 910 format = __csi2_get_format(csi2, cfg, CSI2_PAD_SINK, in csi2_enum_mbus_code() 915 code->code = format->code; in csi2_enum_mbus_code() 919 info = omap4iss_video_format_info(format->code); in csi2_enum_mbus_code() 920 if (info->uncompressed == format->code) in csi2_enum_mbus_code() 938 struct v4l2_mbus_framefmt format; in csi2_enum_frame_size() local 943 format.code = fse->code; in csi2_enum_frame_size() [all …]
|
D | iss_video.c | 236 struct v4l2_mbus_framefmt *format) in __iss_video_get_format() argument 258 *format = fmt.format; in __iss_video_get_format() 265 struct v4l2_mbus_framefmt format; in iss_video_check_format() local 269 ret = __iss_video_get_format(video, &format); in iss_video_check_format() 274 ret = iss_video_mbus_to_pix(video, &format, &pixfmt); in iss_video_check_format() 276 if (vfh->format.fmt.pix.pixelformat != pixfmt.pixelformat || in iss_video_check_format() 277 vfh->format.fmt.pix.height != pixfmt.height || in iss_video_check_format() 278 vfh->format.fmt.pix.width != pixfmt.width || in iss_video_check_format() 279 vfh->format.fmt.pix.bytesperline != pixfmt.bytesperline || in iss_video_check_format() 280 vfh->format.fmt.pix.sizeimage != pixfmt.sizeimage) in iss_video_check_format() [all …]
|
/linux-4.1.27/drivers/acpi/acpica/ |
D | utprint.c | 358 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 …]
|
D | utxferror.c | 71 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() 113 va_start(arg_list, format); in ACPI_EXPORT_SYMBOL() 114 acpi_os_vprintf(format, arg_list); in ACPI_EXPORT_SYMBOL() 137 acpi_warning(const char *module_name, u32 line_number, const char *format, ...) in ACPI_EXPORT_SYMBOL() 144 va_start(arg_list, format); in ACPI_EXPORT_SYMBOL() 145 acpi_os_vprintf(format, arg_list); in ACPI_EXPORT_SYMBOL() 171 acpi_info(const char *module_name, u32 line_number, const char *format, ...) in ACPI_EXPORT_SYMBOL() [all …]
|
D | uterror.c | 78 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()
|
D | utdebug.c | 165 u32 component_id, const char *format, ...) in acpi_debug_print() argument 213 va_start(args, format); in acpi_debug_print() 214 acpi_os_vprintf(format, args); in acpi_debug_print() 243 u32 component_id, const char *format, ...) in ACPI_EXPORT_SYMBOL() 253 va_start(args, format); in ACPI_EXPORT_SYMBOL() 254 acpi_os_vprintf(format, args); in ACPI_EXPORT_SYMBOL() 579 void ACPI_INTERNAL_VAR_XFACE acpi_log_error(const char *format, ...) in acpi_log_error() argument 583 va_start(args, format); in acpi_log_error() 584 (void)acpi_ut_file_vprintf(ACPI_FILE_ERR, format, args); in acpi_log_error()
|
/linux-4.1.27/drivers/media/platform/xilinx/ |
D | xilinx-vip.c | 61 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 …]
|
D | xilinx-dma.c | 77 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, 0, dma->format.sizeimage); in xvip_dma_complete() 319 if (fmt && fmt->fmt.pix.sizeimage < dma->format.sizeimage) in xvip_dma_queue_setup() 324 sizes[0] = fmt ? fmt->fmt.pix.sizeimage : dma->format.sizeimage; in xvip_dma_queue_setup() 363 dma->sgl[0].size = dma->format.width * dma->fmtinfo->bpp; in xvip_dma_buffer_queue() 364 dma->sgl[0].icg = dma->format.bytesperline - dma->sgl[0].size; in xvip_dma_buffer_queue() 365 dma->xt.numf = dma->format.height; in xvip_dma_buffer_queue() [all …]
|
D | xilinx-tpg.c | 276 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 …]
|
D | xilinx-vip.h | 129 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.1.27/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_debug.h | 210 #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.1.27/drivers/usb/atm/ |
D | usbatm.h | 43 #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.1.27/drivers/infiniband/hw/ehca/ |
D | ehca_tools.h | 69 #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.1.27/sound/core/ |
D | pcm_misc.c | 239 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 …]
|
D | misc.c | 67 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.1.27/tools/power/cpupower/po/ |
D | de.po | 73 #, c-format 80 #, c-format 87 #, c-format 92 #, c-format 97 #, c-format 102 #, c-format 107 #, c-format 112 #, c-format 117 #, c-format 124 #, c-format [all …]
|
D | fr.po | 73 #, c-format 80 #, c-format 87 #, c-format 92 #, c-format 97 #, c-format 102 #, c-format 107 #, c-format 112 #, c-format 117 #, c-format 124 #, c-format [all …]
|
D | cs.po | 76 #, c-format 83 #, c-format 90 #, c-format 95 #, c-format 100 #, c-format 105 #, c-format 110 #, c-format 115 #, c-format 120 #, c-format 127 #, c-format [all …]
|
D | it.po | 73 #, c-format 80 #, c-format 87 #, c-format 92 #, c-format 97 #, c-format 102 #, c-format 107 #, c-format 112 #, c-format 117 #, c-format 124 #, c-format [all …]
|
D | pt.po | 71 #, 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.1.27/sound/core/oss/ |
D | pcm_plugin.c | 51 struct snd_pcm_plugin_format *format; in snd_pcm_plugin_alloc() local 58 format = &plugin->src_format; in snd_pcm_plugin_alloc() 60 format = &plugin->dst_format; in snd_pcm_plugin_alloc() 62 if ((width = snd_pcm_format_physical_width(format->format)) < 0) in snd_pcm_plugin_alloc() 64 size = frames * format->channels * width; in snd_pcm_plugin_alloc() 79 for (channel = 0; channel < format->channels; channel++, c++) { in snd_pcm_plugin_alloc() 85 c->area.step = format->channels * width; in snd_pcm_plugin_alloc() 88 if (snd_BUG_ON(size % format->channels)) in snd_pcm_plugin_alloc() 90 size /= format->channels; in snd_pcm_plugin_alloc() 91 for (channel = 0; channel < format->channels; channel++, c++) { in snd_pcm_plugin_alloc() [all …]
|
D | route.c | 28 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()
|
D | mulaw.c | 183 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 …]
|
D | io.c | 113 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()
|
D | copy.c | 49 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()
|
D | pcm_plugin.h | 49 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
|
D | linear.c | 70 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.1.27/drivers/gpu/drm/shmobile/ |
D | shmob_drm_plane.c | 32 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 …]
|
D | shmob_drm_kms.c | 109 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()
|
D | shmob_drm_crtc.c | 168 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.1.27/include/asm-generic/ |
D | bug.h | 94 #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.1.27/tools/perf/ui/ |
D | util.c | 8 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()
|
D | util.h | 14 int (*error)(const char *format, va_list args); 15 int (*warning)(const char *format, va_list args);
|
/linux-4.1.27/drivers/media/platform/omap3isp/ |
D | ispccp2.c | 289 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 …]
|
D | ispccdc.c | 138 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 …]
|
D | ispcsi2.c | 853 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 …]
|
D | ispvideo.c | 271 __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 …]
|
D | ispresizer.c | 1381 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 …]
|
D | isppreview.c | 1071 const struct v4l2_mbus_framefmt *format = &prev->formats[PREV_PAD_SINK]; in preview_config_input_size() local 1079 if (format->code != MEDIA_BUS_FMT_Y8_1X8 && in preview_config_input_size() 1080 format->code != MEDIA_BUS_FMT_Y10_1X10) { in preview_config_input_size() 1322 params->cfa.format = OMAP3ISP_CFAFMT_BAYER; in preview_init_params() 1389 struct v4l2_mbus_framefmt *format; in preview_configure() local 1401 format = &prev->formats[PREV_PAD_SINK]; in preview_configure() 1402 info = omap3isp_video_format_info(format->code); in preview_configure() 1412 preview_config_inlineoffset(prev, ALIGN(format->width, 0x20) * in preview_configure() 1418 format = &prev->formats[PREV_PAD_SOURCE]; in preview_configure() 1436 ALIGN(format->width, 0x10) * 2); in preview_configure() [all …]
|
/linux-4.1.27/drivers/pci/hotplug/ |
D | pciehp.h | 47 #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 …]
|
D | rpaphp.h | 50 #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
|
D | shpchp.h | 50 #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 …]
|
D | cpcihp_generic.c | 54 #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
|
D | cpcihp_zt5550.c | 49 #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
|
D | pcihp_skeleton.c | 51 #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
|
D | cpci_hotplug_pci.c | 38 #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
|
D | acpi_pcihp.c | 40 #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.1.27/drivers/staging/media/davinci_vpfe/ |
D | dm365_resizer.c | 85 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 …]
|
D | dm365_isif.c | 231 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 …]
|
D | dm365_ipipeif.c | 590 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 …]
|
D | dm365_ipipe.c | 1487 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.1.27/drivers/base/regmap/ |
D | regmap.c | 99 if (map->format.format_write) in regmap_readable() 113 if (!map->format.format_write && !regmap_readable(map, reg)) in regmap_volatile() 566 map->format.reg_bytes = DIV_ROUND_UP(config->reg_bits, 8); in regmap_init() 567 map->format.pad_bytes = config->pad_bits / 8; in regmap_init() 568 map->format.val_bytes = DIV_ROUND_UP(config->val_bits, 8); in regmap_init() 569 map->format.buf_size = DIV_ROUND_UP(config->reg_bits + in regmap_init() 628 map->format.format_write = regmap_format_2_6_write; in regmap_init() 638 map->format.format_write = regmap_format_4_12_write; in regmap_init() 648 map->format.format_write = regmap_format_7_9_write; in regmap_init() 658 map->format.format_write = regmap_format_10_14_write; in regmap_init() [all …]
|
/linux-4.1.27/drivers/memstick/host/ |
D | r592.h | 160 #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.1.27/drivers/net/ethernet/mellanox/mlx5/core/ |
D | mlx5_core.h | 42 #define mlx5_core_dbg(dev, format, ...) \ argument 43 pr_debug("%s:%s:%d:(pid %d): " format, \ 47 #define mlx5_core_dbg_mask(dev, mask, format, ...) \ argument 50 mlx5_core_dbg(dev, format, ##__VA_ARGS__); \ 53 #define mlx5_core_err(dev, format, ...) \ argument 54 pr_err("%s:%s:%d:(pid %d): " format, \ 58 #define mlx5_core_warn(dev, format, ...) \ argument 59 pr_warn("%s:%s:%d:(pid %d): " format, \
|
/linux-4.1.27/tools/virtio/linux/ |
D | kernel.h | 39 #define __printf(a,b) __attribute__((format(printf,a,b))) 90 #define pr_err(format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument 92 #define pr_debug(format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument 94 #define pr_debug(format, ...) do {} while (0) argument 96 #define dev_err(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument 97 #define dev_warn(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument
|
/linux-4.1.27/drivers/media/i2c/ |
D | adv7511.c | 836 struct v4l2_mbus_framefmt *format) in adv7511_fill_format() argument 838 memset(format, 0, sizeof(*format)); in adv7511_fill_format() 840 format->width = state->dv_timings.bt.width; in adv7511_fill_format() 841 format->height = state->dv_timings.bt.height; in adv7511_fill_format() 842 format->field = V4L2_FIELD_NONE; in adv7511_fill_format() 847 struct v4l2_subdev_format *format) in adv7511_get_fmt() argument 851 if (format->pad != 0) in adv7511_get_fmt() 854 adv7511_fill_format(state, &format->format); in adv7511_get_fmt() 856 if (format->which == V4L2_SUBDEV_FORMAT_TRY) { in adv7511_get_fmt() 859 fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad); in adv7511_get_fmt() [all …]
|
D | mt9t001.c | 128 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 …]
|
D | mt9v032.c | 238 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 …]
|
D | mt9p031.c | 126 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 …]
|
D | s5k6a3.c | 64 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 …]
|
D | tvp514x.c | 128 struct v4l2_mbus_framefmt format; member 960 struct v4l2_subdev_format *format) in tvp514x_get_pad_format() argument 963 __u32 which = format->which; in tvp514x_get_pad_format() 966 format->format = decoder->format; in tvp514x_get_pad_format() 970 format->format.code = MEDIA_BUS_FMT_YUYV8_2X8; in tvp514x_get_pad_format() 971 format->format.width = tvp514x_std_list[decoder->current_std].width; in tvp514x_get_pad_format() 972 format->format.height = tvp514x_std_list[decoder->current_std].height; in tvp514x_get_pad_format() 973 format->format.colorspace = V4L2_COLORSPACE_SMPTE170M; in tvp514x_get_pad_format() 974 format->format.field = V4L2_FIELD_INTERLACED; in tvp514x_get_pad_format() 993 if (fmt->format.field != V4L2_FIELD_INTERLACED || in tvp514x_set_pad_format() [all …]
|
D | ov2659.c | 224 struct v4l2_mbus_framefmt format; member 967 static void ov2659_get_default_format(struct v4l2_mbus_framefmt *format) in ov2659_get_default_format() argument 969 format->width = ov2659_framesizes[2].width; in ov2659_get_default_format() 970 format->height = ov2659_framesizes[2].height; in ov2659_get_default_format() 971 format->colorspace = V4L2_COLORSPACE_SRGB; in ov2659_get_default_format() 972 format->code = ov2659_formats[0].code; in ov2659_get_default_format() 973 format->field = V4L2_FIELD_NONE; in ov2659_get_default_format() 1056 fmt->format = *mf; in ov2659_get_fmt() 1062 fmt->format = ov2659->format; in ov2659_get_fmt() 1066 ov2659->format.code, ov2659->format.width, in ov2659_get_fmt() [all …]
|
D | adv7180.c | 649 struct v4l2_subdev_format *format) in adv7180_get_pad_format() argument 653 if (format->which == V4L2_SUBDEV_FORMAT_TRY) { in adv7180_get_pad_format() 654 format->format = *v4l2_subdev_get_try_format(sd, cfg, 0); in adv7180_get_pad_format() 656 adv7180_mbus_fmt(sd, &format->format); in adv7180_get_pad_format() 657 format->format.field = state->field; in adv7180_get_pad_format() 665 struct v4l2_subdev_format *format) in adv7180_set_pad_format() argument 670 switch (format->format.field) { in adv7180_set_pad_format() 673 format->format.field = V4L2_FIELD_INTERLACED; in adv7180_set_pad_format() 676 format->format.field = V4L2_FIELD_INTERLACED; in adv7180_set_pad_format() 680 if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) { in adv7180_set_pad_format() [all …]
|
D | mt9m032.c | 162 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 …]
|
/linux-4.1.27/drivers/gpu/drm/omapdrm/ |
D | omap_fb.c | 31 struct format { struct 41 static const struct format formats[] = { argument 90 const struct format *format; member 135 const struct format *format, int n, int x, int y) in get_linear_addr() argument 140 (x * format->planes[n].stride_bpp) + in get_linear_addr() 141 (y * plane->pitch / format->planes[n].sub_y); in get_linear_addr() 152 const struct format *format = omap_fb->format; in omap_framebuffer_update_scanout() local 156 info->color_mode = format->dss_format; in omap_framebuffer_update_scanout() 224 info->paddr = get_linear_addr(plane, format, 0, x, y); in omap_framebuffer_update_scanout() 230 info->screen_width /= format->planes[0].stride_bpp; in omap_framebuffer_update_scanout() [all …]
|
/linux-4.1.27/sound/usb/ |
D | format.c | 46 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.1.27/drivers/net/ethernet/intel/e1000/ |
D | e1000.h | 338 #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.1.27/tools/virtio/virtio-trace/ |
D | trace-agent.h | 67 #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.1.27/tools/perf/ui/gtk/ |
D | util.c | 30 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.1.27/security/keys/encrypted-keys/ |
D | encrypted.c | 177 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.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_common.h | 190 #define hw_dbg(hw, format, arg...) \ argument 191 netdev_dbg(ixgbe_hw_to_netdev(hw), format, ## arg) 192 #define hw_err(hw, format, arg...) \ argument 193 netdev_err(ixgbe_hw_to_netdev(hw), format, ## arg) 194 #define e_dev_info(format, arg...) \ argument 195 dev_info(&adapter->pdev->dev, format, ## arg) 196 #define e_dev_warn(format, arg...) \ argument 197 dev_warn(&adapter->pdev->dev, format, ## arg) 198 #define e_dev_err(format, arg...) \ argument 199 dev_err(&adapter->pdev->dev, format, ## arg) [all …]
|
/linux-4.1.27/sound/soc/codecs/ |
D | si476x.c | 79 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 …]
|
D | ak4671.c | 523 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()
|
D | twl4030.c | 1713 u8 mode, old_mode, format, old_format; in twl4030_hw_params() local 1717 format = twl4030_read(codec, TWL4030_REG_AUDIO_IF); in twl4030_hw_params() 1723 ((format & TWL4030_AIF_FORMAT) == TWL4030_AIF_FORMAT_TDM)) in twl4030_hw_params() 1777 format = old_format; in twl4030_hw_params() 1778 format &= ~TWL4030_DATA_WIDTH; in twl4030_hw_params() 1781 format |= TWL4030_DATA_WIDTH_16S_16W; in twl4030_hw_params() 1784 format |= TWL4030_DATA_WIDTH_32S_24W; in twl4030_hw_params() 1792 if (format != old_format || mode != old_mode) { in twl4030_hw_params() 1800 twl4030_write(codec, TWL4030_REG_AUDIO_IF, format); in twl4030_hw_params() 1804 twl4030_write(codec, TWL4030_REG_AUDIO_IF, format); in twl4030_hw_params() [all …]
|
D | pcm1792a.c | 75 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()
|
D | pcm1681.c | 84 unsigned int format; member 138 unsigned int format) in pcm1681_set_dai_fmt() argument 144 if ((format & SND_SOC_DAIFMT_MASTER_MASK) != SND_SOC_DAIFMT_CBS_CFS) { in pcm1681_set_dai_fmt() 149 priv->format = format; in pcm1681_set_dai_fmt() 178 switch (priv->format & SND_SOC_DAIFMT_FORMAT_MASK) { in pcm1681_hw_params()
|
/linux-4.1.27/net/irda/irnet/ |
D | irnet.h | 339 #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.1.27/drivers/scsi/esas2r/ |
D | esas2r_log.c | 118 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.1.27/drivers/ata/ |
D | pata_sc1200.c | 99 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.1.27/drivers/input/mouse/ |
D | psmouse.h | 172 #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.1.27/drivers/gpu/drm/msm/mdp/mdp4/ |
D | mdp4_plane.c | 204 const struct mdp_format *format; in mdp4_plane_mode_set() local 224 format = to_mdp_format(msm_framebuffer_format(fb)); in mdp4_plane_mode_set() 250 if (MDP_FORMAT_IS_YUV(format)) { in mdp4_plane_mode_set() 266 if (MDP_FORMAT_IS_YUV(format)) { in mdp4_plane_mode_set() 298 MDP4_PIPE_SRC_FORMAT_A_BPC(format->bpc_a) | in mdp4_plane_mode_set() 299 MDP4_PIPE_SRC_FORMAT_R_BPC(format->bpc_r) | in mdp4_plane_mode_set() 300 MDP4_PIPE_SRC_FORMAT_G_BPC(format->bpc_g) | in mdp4_plane_mode_set() 301 MDP4_PIPE_SRC_FORMAT_B_BPC(format->bpc_b) | in mdp4_plane_mode_set() 302 COND(format->alpha_enable, MDP4_PIPE_SRC_FORMAT_ALPHA_ENABLE) | in mdp4_plane_mode_set() 303 MDP4_PIPE_SRC_FORMAT_CPP(format->cpp - 1) | in mdp4_plane_mode_set() [all …]
|
/linux-4.1.27/tools/perf/util/ |
D | pmu.y | 2 %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,
|
D | debug.h | 43 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, …
|
D | pmu.c | 72 static int pmu_format(const char *name, struct list_head *format) in pmu_format() argument 87 if (perf_pmu__format_parse(path, format)) in pmu_format() 442 LIST_HEAD(format); in pmu_lookup() 451 if (pmu_format(name, &format)) in pmu_lookup() 466 INIT_LIST_HEAD(&pmu->format); in pmu_lookup() 468 list_splice(&format, &pmu->format); in pmu_lookup() 524 struct perf_pmu_format *format; in pmu_find_format() local 526 list_for_each_entry(format, formats, list) in pmu_find_format() 527 if (!strcmp(format->name, name)) in pmu_find_format() 528 return format; in pmu_find_format() [all …]
|
D | hist.h | 215 #define perf_hpp__for_each_format(format) \ argument 216 list_for_each_entry(format, &perf_hpp__list, list) 218 #define perf_hpp__for_each_format_safe(format, tmp) \ argument 219 list_for_each_entry_safe(format, tmp, &perf_hpp__list, list) 221 #define perf_hpp__for_each_sort_list(format) \ argument 222 list_for_each_entry(format, &perf_hpp__sort_list, sort_list) 224 #define perf_hpp__for_each_sort_list_safe(format, tmp) \ argument 225 list_for_each_entry_safe(format, tmp, &perf_hpp__sort_list, sort_list) 244 void perf_hpp__column_register(struct perf_hpp_fmt *format); 245 void perf_hpp__column_unregister(struct perf_hpp_fmt *format); [all …]
|
D | cache.h | 69 extern char *mkpath(const char *fmt, ...) __attribute__((format (printf, 1, 2))); 70 extern char *perf_path(const char *fmt, ...) __attribute__((format (printf, 1, 2))); 73 __attribute__((format (printf, 1, 2)));
|
D | trace-event-info.c | 177 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.1.27/drivers/media/rc/ |
D | ene_ir.h | 185 #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.1.27/drivers/mtd/ |
D | sm_ftl.h | 77 #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.1.27/net/bluetooth/ |
D | lib.c | 138 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_err(const char *format, ...) in bt_err() argument 159 va_start(args, format); in bt_err() 161 vaf.fmt = format; in bt_err()
|
/linux-4.1.27/tools/perf/tests/ |
D | pmu.c | 95 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() 171 test_format_dir_put(format); in test__pmu()
|
/linux-4.1.27/drivers/media/platform/soc_camera/ |
D | soc_camera_platform.c | 44 mf->width = p->format.width; in soc_camera_platform_fill_fmt() 45 mf->height = p->format.height; in soc_camera_platform_fill_fmt() 46 mf->code = p->format.code; in soc_camera_platform_fill_fmt() 47 mf->colorspace = p->format.colorspace; in soc_camera_platform_fill_fmt() 48 mf->field = p->format.field; in soc_camera_platform_fill_fmt() 72 *code = p->format.code; in soc_camera_platform_enum_fmt() 83 a->c.width = p->format.width; in soc_camera_platform_g_crop() 84 a->c.height = p->format.height; in soc_camera_platform_g_crop() 97 a->bounds.width = p->format.width; in soc_camera_platform_cropcap() 98 a->bounds.height = p->format.height; in soc_camera_platform_cropcap()
|
/linux-4.1.27/drivers/atm/ |
D | horizon.h | 49 #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 …]
|
D | ambassador.h | 45 #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.1.27/drivers/gpu/drm/rcar-du/ |
D | rcar_du_plane.c | 64 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 …]
|
D | rcar_du_kms.c | 142 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_du_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() 293 if (!plane_state->format) { in rcar_du_atomic_check() 371 if (!plane_state->format || in rcar_du_atomic_check() [all …]
|
/linux-4.1.27/sound/firewire/oxfw/ |
D | oxfw-proc.c | 16 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()
|
D | oxfw-midi.c | 148 u8 *format; in snd_oxfw_create_midi() local 153 format = oxfw->tx_stream_formats[i]; in snd_oxfw_create_midi() 154 if (format != NULL) { in snd_oxfw_create_midi() 155 err = snd_oxfw_stream_parse_format(format, &formation); in snd_oxfw_create_midi() 160 format = oxfw->rx_stream_formats[i]; in snd_oxfw_create_midi() 161 if (format != NULL) { in snd_oxfw_create_midi() 162 err = snd_oxfw_stream_parse_format(format, &formation); in snd_oxfw_create_midi()
|
D | oxfw-stream.c | 379 u8 *format; in snd_oxfw_stream_get_current_formation() local 384 format = kmalloc(len, GFP_KERNEL); in snd_oxfw_stream_get_current_formation() 385 if (format == NULL) in snd_oxfw_stream_get_current_formation() 388 err = avc_stream_get_format_single(oxfw->unit, dir, 0, format, &len); in snd_oxfw_stream_get_current_formation() 396 err = snd_oxfw_stream_parse_format(format, formation); in snd_oxfw_stream_get_current_formation() 398 kfree(format); in snd_oxfw_stream_get_current_formation() 408 int snd_oxfw_stream_parse_format(u8 *format, in snd_oxfw_stream_parse_format() argument 420 if ((format[0] != 0x90) || (format[1] != 0x40)) in snd_oxfw_stream_parse_format() 425 if (format[2] == avc_stream_rate_table[i]) in snd_oxfw_stream_parse_format() 433 for (e = 0; e < format[4]; e++) { in snd_oxfw_stream_parse_format() [all …]
|
/linux-4.1.27/drivers/video/fbdev/msm/ |
D | mdp_ppp.c | 132 if (req->src.format == req->dst.format) in blit_convert() 134 if (IS_RGB(req->src.format) && IS_YCRCB(req->dst.format)) { in blit_convert() 136 } else if (IS_YCRCB(req->src.format) && IS_RGB(req->dst.format)) { in blit_convert() 138 if (req->dst.format == MDP_RGB_565) in blit_convert() 148 if (req->src.format == MDP_RGB_565) { in transp_convert() 193 if (HAS_ALPHA(req->src.format)) { in blit_blend() 203 regs->op |= bg_op_chroma[req->dst.format]; in blit_blend() 388 if (IS_YCRCB(req->src.format)) { in get_edge_cond() 396 if (req->src.format == MDP_Y_CBCR_H2V2 || in get_edge_cond() 397 req->src.format == MDP_Y_CRCB_H2V2) { in get_edge_cond() [all …]
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
D | stv6110x_priv.h | 32 #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); \
|
D | dib3000mb_priv.h | 17 #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
|
D | stv090x_priv.h | 33 #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); \
|
D | stb0899_priv.h | 34 #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); \
|
D | isl6423.c | 42 #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.1.27/drivers/mtd/nand/ |
D | r852.h | 151 #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.1.27/drivers/video/fbdev/ |
D | simplefb.c | 94 struct simplefb_format *format; member 102 const char *format; in simplefb_parse_dt() local 123 ret = of_property_read_string(np, "format", &format); in simplefb_parse_dt() 128 params->format = NULL; in simplefb_parse_dt() 130 if (strcmp(format, simplefb_formats[i].name)) in simplefb_parse_dt() 132 params->format = &simplefb_formats[i]; in simplefb_parse_dt() 135 if (!params->format) { in simplefb_parse_dt() 153 params->format = NULL; in simplefb_parse_pd() 155 if (strcmp(pd->format, simplefb_formats[i].name)) in simplefb_parse_pd() 158 params->format = &simplefb_formats[i]; in simplefb_parse_pd() [all …]
|
D | sh_mobile_lcdcfb.c | 196 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.1.27/drivers/media/platform/exynos4-is/ |
D | fimc-isp.c | 132 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 …]
|
D | fimc-isp-video.c | 57 fmt = isp->video_capture.format; in isp_video_capture_queue_setup() 108 video->buf_count, video->format->memplanes, in isp_video_capture_start_streaming() 166 if (video->format == NULL) in isp_video_capture_buffer_prepare() 169 for (i = 0; i < video->format->memplanes; i++) { in isp_video_capture_buffer_prepare() 209 unsigned int num_planes = video->format->memplanes; in isp_video_capture_buffer_queue() 431 dma->format = DMA_OUTPUT_FORMAT_BAYER; in isp_video_s_fmt_mplane() 440 isp->video_capture.format = ifmt; in isp_video_s_fmt_mplane() 481 if (src_fmt.format.width != sink_fmt.format.width || in isp_video_pipeline_validate() 482 src_fmt.format.height != sink_fmt.format.height || in isp_video_pipeline_validate() 483 src_fmt.format.code != sink_fmt.format.code) in isp_video_pipeline_validate() [all …]
|
D | mipi-csis.c | 224 struct v4l2_mbus_framefmt format; member 334 struct v4l2_mbus_framefmt *mf = &state->format; in __s5pcsis_set_format() 577 return &state->format; in __s5pcsis_get_format() 592 fmt->format = *mf; in s5pcsis_set_fmt() 597 csis_fmt = s5pcsis_try_format(&fmt->format); in s5pcsis_set_fmt() 600 *mf = fmt->format; in s5pcsis_set_fmt() 619 fmt->format = *mf; in s5pcsis_get_fmt() 654 struct v4l2_mbus_framefmt *format = v4l2_subdev_get_try_format(sd, fh->pad, 0); in s5pcsis_open() local 656 format->colorspace = V4L2_COLORSPACE_JPEG; in s5pcsis_open() 657 format->code = s5pcsis_formats[0].code; in s5pcsis_open() [all …]
|
/linux-4.1.27/drivers/hwmon/pmbus/ |
D | max34440.c | 207 .format[PSC_VOLTAGE_IN] = direct, 208 .format[PSC_VOLTAGE_OUT] = direct, 209 .format[PSC_TEMPERATURE] = direct, 210 .format[PSC_CURRENT_OUT] = direct, 249 .format[PSC_VOLTAGE_IN] = direct, 250 .format[PSC_VOLTAGE_OUT] = direct, 251 .format[PSC_TEMPERATURE] = direct, 252 .format[PSC_CURRENT_OUT] = direct, 253 .format[PSC_FAN] = direct, 292 .format[PSC_VOLTAGE_IN] = direct, [all …]
|
D | tps40422.c | 26 .format[PSC_VOLTAGE_IN] = linear, 27 .format[PSC_VOLTAGE_OUT] = linear, 28 .format[PSC_TEMPERATURE] = linear,
|
D | max8688.c | 153 .format[PSC_VOLTAGE_IN] = direct, 154 .format[PSC_VOLTAGE_OUT] = direct, 155 .format[PSC_TEMPERATURE] = direct, 156 .format[PSC_CURRENT_OUT] = direct,
|
D | max16064.c | 79 .format[PSC_VOLTAGE_IN] = direct, 80 .format[PSC_VOLTAGE_OUT] = direct, 81 .format[PSC_TEMPERATURE] = direct,
|
/linux-4.1.27/kernel/gcov/ |
D | Kconfig | 53 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.1.27/drivers/video/fbdev/omap2/dss/ |
D | dss.h | 38 #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.1.27/tools/include/asm/ |
D | bug.h | 8 #define WARN(condition, format...) ({ \ argument 11 __WARN_printf(format); \ 15 #define WARN_ONCE(condition, format...) ({ \ argument 20 if (WARN(!__warned, format)) \
|
/linux-4.1.27/drivers/net/wireless/ath/ar5523/ |
D | ar5523.h | 137 #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.1.27/drivers/media/v4l2-core/ |
D | v4l2-subdev.c | 130 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.1.27/drivers/media/radio/wl128x/ |
D | fmdrv.h | 56 #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.1.27/drivers/gpu/drm/qxl/ |
D | qxl_dumb.c | 40 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.1.27/drivers/input/serio/ |
D | i8042.h | 70 #define dbg(format, arg...) \ argument 73 printk(KERN_DEBUG KBUILD_MODNAME ": [%d] " format, \ 78 #define dbg(format, arg...) \ argument 81 printk(KERN_DEBUG pr_fmt(format), ##arg); \
|
/linux-4.1.27/drivers/media/usb/uvc/ |
D | uvc_v4l2.c | 149 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 …]
|
D | uvc_driver.c | 331 struct uvc_streaming *streaming, struct uvc_format *format, in uvc_parse_format() argument 344 format->type = buffer[2]; in uvc_parse_format() 345 format->index = buffer[3]; in uvc_parse_format() 363 strlcpy(format->name, fmtdesc->name, in uvc_parse_format() 364 sizeof format->name); in uvc_parse_format() 365 format->fcc = fmtdesc->fcc; in uvc_parse_format() 369 snprintf(format->name, sizeof(format->name), "%pUl\n", in uvc_parse_format() 371 format->fcc = 0; in uvc_parse_format() 374 format->bpp = buffer[21]; in uvc_parse_format() 380 if (format->fcc == V4L2_PIX_FMT_YUYV) { in uvc_parse_format() [all …]
|
/linux-4.1.27/drivers/media/pci/mantis/ |
D | mantis_common.h | 38 #define dprintk(y, z, format, arg...) do { \ argument 41 printk(KERN_ERR "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \ 43 printk(KERN_NOTICE "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \ 45 printk(KERN_INFO "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \ 47 printk(KERN_DEBUG "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \ 49 printk(KERN_DEBUG "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \ 52 printk(format , ##arg); \
|
/linux-4.1.27/scripts/gdb/linux/ |
D | symbols.py | 46 "'{0}'\n".format(module_name)) 78 gdb.write("scanning for modules in {0}\n".format(path)) 86 module_pattern = ".*/{0}\.ko$".format( 106 args.append(" -s {name} {addr}".format( 120 gdb.write("loading @{addr}: {filename}\n".format( 122 cmdline = "add-symbol-file {filename} {addr}{sections}".format( 130 gdb.write("no module object found for '{0}'\n".format(module_name))
|
D | modules.py | 72 "Address{0} Module Size Used by\n".format( 76 gdb.write("{address} {name:<19} {size:>8} {ref}".format( 88 gdb.write("{separator}{name}".format(
|
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_plane.c | 441 const struct mdp_format *format; in mdp5_plane_mode_set() local 456 format = to_mdp_format(msm_framebuffer_format(fb)); in mdp5_plane_mode_set() 457 pix_format = format->base.pixel_format; in mdp5_plane_mode_set() 485 if ((src_w != crtc_w) || MDP_FORMAT_IS_YUV(format)) { in mdp5_plane_mode_set() 496 if ((src_h != crtc_h) || MDP_FORMAT_IS_YUV(format)) { in mdp5_plane_mode_set() 530 MDP5_PIPE_SRC_FORMAT_A_BPC(format->bpc_a) | in mdp5_plane_mode_set() 531 MDP5_PIPE_SRC_FORMAT_R_BPC(format->bpc_r) | in mdp5_plane_mode_set() 532 MDP5_PIPE_SRC_FORMAT_G_BPC(format->bpc_g) | in mdp5_plane_mode_set() 533 MDP5_PIPE_SRC_FORMAT_B_BPC(format->bpc_b) | in mdp5_plane_mode_set() 534 COND(format->alpha_enable, MDP5_PIPE_SRC_FORMAT_ALPHA_ENABLE) | in mdp5_plane_mode_set() [all …]
|
/linux-4.1.27/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm.c | 340 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.1.27/drivers/gpu/drm/nouveau/ |
D | nv50_fbcon.c | 155 int ret, format; in nv50_fbcon_accel_init() local 159 format = 0xf3; in nv50_fbcon_accel_init() 162 format = 0xf8; in nv50_fbcon_accel_init() 165 format = 0xe8; in nv50_fbcon_accel_init() 171 format = 0xe6; in nv50_fbcon_accel_init() 174 format = 0xd1; in nv50_fbcon_accel_init() 216 OUT_RING(chan, format); in nv50_fbcon_accel_init() 221 OUT_RING(chan, format); in nv50_fbcon_accel_init() 236 OUT_RING(chan, format); in nv50_fbcon_accel_init() 245 OUT_RING(chan, format); in nv50_fbcon_accel_init()
|
D | nvc0_fbcon.c | 155 int ret, format; in nvc0_fbcon_accel_init() local 164 format = 0xf3; in nvc0_fbcon_accel_init() 167 format = 0xf8; in nvc0_fbcon_accel_init() 170 format = 0xe8; in nvc0_fbcon_accel_init() 176 format = 0xe6; in nvc0_fbcon_accel_init() 179 format = 0xd1; in nvc0_fbcon_accel_init() 213 OUT_RING (chan, format); in nvc0_fbcon_accel_init() 219 OUT_RING (chan, format); in nvc0_fbcon_accel_init() 234 OUT_RING (chan, format); in nvc0_fbcon_accel_init() 245 OUT_RING (chan, format); in nvc0_fbcon_accel_init()
|
/linux-4.1.27/tools/perf/ui/tui/ |
D | util.c | 226 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.1.27/drivers/media/usb/go7007/ |
D | go7007-fw.c | 455 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.1.27/drivers/memstick/core/ |
D | ms_block.h | 280 #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.1.27/sound/oss/dmasound/ |
D | dmasound_q40.c | 47 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 …]
|
D | dmasound_paula.c | 81 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,
|
D | dmasound_atari.c | 127 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.1.27/include/linux/ |
D | ratelimit.h | 55 #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__); \
|
D | mmdebug.h | 41 #define VM_WARN_ONCE(cond, format...) WARN_ONCE(cond, format) argument 49 #define VM_WARN_ONCE(cond, format...) BUILD_BUG_ON_INVALID(cond) argument
|
/linux-4.1.27/sound/soc/spear/ |
D | spdif_in.c | 31 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.1.27/net/atm/ |
D | mpoa_proc.c | 25 #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.1.27/drivers/isdn/capi/ |
D | kcapi.h | 19 #define DBG(format, arg...) do { \ argument 20 printk(KERN_DEBUG "%s: " format "\n" , __func__ , ## arg); \ 23 #define DBG(format, arg...) /* */ argument
|
/linux-4.1.27/drivers/acpi/ |
D | pci_slot.c | 56 #define err(format, arg...) pr_err("%s: " format , MY_NAME , ## arg) argument 57 #define info(format, arg...) pr_info("%s: " format , MY_NAME , ## arg) argument 58 #define dbg(format, arg...) \ argument 61 pr_debug("%s: " format, MY_NAME , ## arg); \
|
/linux-4.1.27/sound/pci/hda/ |
D | hda_eld.c | 189 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 …]
|
D | hda_codec.h | 58 int (*load_dsp_prepare)(struct hda_bus *bus, unsigned int format, 162 unsigned int stream_tag, unsigned int format, 450 unsigned int format, 458 int channel_id, int format); 466 unsigned int format, 470 unsigned int format); 530 snd_hda_codec_load_dsp_prepare(struct hda_codec *codec, unsigned int format, in snd_hda_codec_load_dsp_prepare() argument 534 return codec->bus->ops.load_dsp_prepare(codec->bus, format, size, bufp); in snd_hda_codec_load_dsp_prepare() 549 snd_hda_codec_load_dsp_prepare(struct hda_codec *codec, unsigned int format, in snd_hda_codec_load_dsp_prepare() argument
|
/linux-4.1.27/net/netfilter/ |
D | nf_internals.h | 9 #define NFDEBUG(format, args...) printk(KERN_DEBUG format , ## args) argument 11 #define NFDEBUG(format, args...) argument
|
/linux-4.1.27/drivers/media/pci/sta2x11/ |
D | sta2x11_vip.c | 138 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() 303 size = vip->format.sizeimage; in buffer_prepare() 456 vip->format = formats_60[0]; in vidioc_s_std() 458 vip->format = formats_50[0]; in vidioc_s_std() 465 vip->format = formats_60[0]; in vidioc_s_std() 467 vip->format = formats_50[0]; in vidioc_s_std() 672 vip->format = f->fmt.pix; in vidioc_s_fmt_vid_cap() [all …]
|
/linux-4.1.27/drivers/media/common/b2c2/ |
D | flexcop-common.h | 30 #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.1.27/drivers/ide/ |
D | sc1200.c | 85 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.1.27/drivers/infiniband/ulp/ipoib/ |
D | ipoib.h | 478 struct ipoib_dev_priv *ipoib_intf_alloc(const char *format); 735 #define ipoib_printk(level, priv, format, arg...) \ argument 736 printk(level "%s: " format, ((struct ipoib_dev_priv *) priv)->dev->name , ## arg) 737 #define ipoib_warn(priv, format, arg...) \ argument 738 ipoib_printk(KERN_WARNING, priv, format , ## arg) 748 #define ipoib_dbg(priv, format, arg...) \ argument 751 ipoib_printk(KERN_DEBUG, priv, format , ## arg); \ 753 #define ipoib_dbg_mcast(priv, format, arg...) \ argument 756 ipoib_printk(KERN_DEBUG, priv, format , ## arg); \ 759 #define ipoib_dbg(priv, format, arg...) \ argument [all …]
|
/linux-4.1.27/tools/lib/api/fs/ |
D | findfs.c | 30 char format[128]; in find_mountpoint() local 51 snprintf(format, 128, "%%*s %%%ds %%99s %%*s %%*d %%*d\n", len); in find_mountpoint() 53 while (fscanf(fp, format, mountpoint, type) == 2) { in find_mountpoint()
|
/linux-4.1.27/Documentation/devicetree/bindings/media/xilinx/ |
D | video.txt | 20 - 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
|
D | xlnx,v-tpg.txt | 18 - 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.1.27/drivers/gpu/drm/msm/ |
D | msm_fb.c | 26 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.1.27/drivers/staging/fbtft/ |
D | fbtft.h | 420 #define fbtft_init_dbg(dev, format, arg...) \ argument 424 dev_info(dev, format, ##arg); \ 427 #define fbtft_par_dbg(level, par, format, arg...) \ argument 430 dev_info(par->info->device, format, ##arg); \ 433 #define fbtft_dev_dbg(level, par, dev, format, arg...) \ argument 436 dev_info(dev, format, ##arg); \ 439 #define fbtft_par_dbg_hex(level, par, dev, type, buf, num, format, arg...) \ argument 442 fbtft_dbg_hex(dev, sizeof(type), buf, num * sizeof(type), format, ##arg); \
|
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/ |
D | overlay.c | 108 int format, ret; in nv10_update_plane() local 116 format = ALIGN(src_w * 4, 0x100); in nv10_update_plane() 118 if (format > 0xffff) in nv10_update_plane() 148 format |= NV_PVIDEO_FORMAT_COLOR_LE_CR8YB8CB8YA8; in nv10_update_plane() 150 format |= NV_PVIDEO_FORMAT_PLANAR; in nv10_update_plane() 152 format |= NV_PVIDEO_FORMAT_MATRIX_ITURBT709; in nv10_update_plane() 154 format |= NV_PVIDEO_FORMAT_DISPLAY_COLOR_KEY; in nv10_update_plane() 161 nvif_wr32(dev, NV_PVIDEO_FORMAT(flip), format); in nv10_update_plane() 204 u32 format = 0; in nv10_set_params() local 214 format |= NV_PVIDEO_FORMAT_MATRIX_ITURBT709; in nv10_set_params() [all …]
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
D | svga3d_surfacedefs.h | 715 svga3dsurface_get_desc(SVGA3dSurfaceFormat format) in svga3dsurface_get_desc() argument 717 if (format < ARRAY_SIZE(svga3d_surface_descs)) in svga3dsurface_get_desc() 718 return &svga3d_surface_descs[format]; in svga3dsurface_get_desc() 834 svga3dsurface_get_serialized_size(SVGA3dSurfaceFormat format, in svga3dsurface_get_serialized_size() argument 839 const struct svga3d_surface_desc *desc = svga3dsurface_get_desc(format); in svga3dsurface_get_serialized_size() 865 svga3dsurface_get_pixel_offset(SVGA3dSurfaceFormat format, in svga3dsurface_get_pixel_offset() argument 869 const struct svga3d_surface_desc *desc = svga3dsurface_get_desc(format); in svga3dsurface_get_pixel_offset() 882 svga3dsurface_get_image_offset(SVGA3dSurfaceFormat format, in svga3dsurface_get_image_offset() argument 897 desc = svga3dsurface_get_desc(format); in svga3dsurface_get_image_offset()
|
/linux-4.1.27/Documentation/security/ |
D | IMA-templates.txt | 17 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.1.27/drivers/media/usb/dvb-usb/ |
D | dvb-usb.h | 53 #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.1.27/Documentation/ABI/testing/ |
D | sysfs-fs-xfs | 7 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.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | mlx4_en.h | 863 const char *format, ...); 865 #define en_dbg(mlevel, priv, format, ...) \ argument 868 en_print(KERN_DEBUG, priv, format, ##__VA_ARGS__); \ 870 #define en_warn(priv, format, ...) \ argument 871 en_print(KERN_WARNING, priv, format, ##__VA_ARGS__) 872 #define en_err(priv, format, ...) \ argument 873 en_print(KERN_ERR, priv, format, ##__VA_ARGS__) 874 #define en_info(priv, format, ...) \ argument 875 en_print(KERN_INFO, priv, format, ##__VA_ARGS__) 877 #define mlx4_err(mdev, format, ...) \ argument [all …]
|
/linux-4.1.27/Documentation/fb/ |
D | api.txt | 37 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.1.27/drivers/net/ethernet/intel/e1000e/ |
D | e1000.h | 48 #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.1.27/drivers/gpu/drm/sti/ |
D | sti_gdp.c | 164 static int sti_gdp_get_alpharange(int format) in sti_gdp_get_alpharange() argument 166 switch (format) { in sti_gdp_get_alpharange() 258 int format; in sti_gdp_prepare_layer() local 274 format = sti_gdp_fourcc2format(layer->format); in sti_gdp_prepare_layer() 275 if (format == -1) { in sti_gdp_prepare_layer() 277 (char *)&layer->format); in sti_gdp_prepare_layer() 280 top_field->gam_gdp_ctl |= format; in sti_gdp_prepare_layer() 281 top_field->gam_gdp_ctl |= sti_gdp_get_alpharange(format); in sti_gdp_prepare_layer() 285 drm_fb_get_bpp_depth(layer->format, &depth, &bpp); in sti_gdp_prepare_layer()
|
/linux-4.1.27/drivers/media/platform/s3c-camif/ |
D | camif-core.c | 201 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.1.27/net/dccp/ccids/lib/ |
D | tfrc.h | 25 #define tfrc_pr_debug(format, a...) DCCP_PR_DEBUG(tfrc_debug, format, ##a) argument 27 #define tfrc_pr_debug(format, a...) argument
|
/linux-4.1.27/drivers/gpu/drm/i2c/ |
D | ch7006_priv.h | 132 #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.1.27/sound/isa/sb/ |
D | sb16_main.c | 61 ((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.1.27/drivers/staging/unisys/uislib/ |
D | uisutils.c | 50 char *format, ...) in uisutil_add_proc_line_ex() argument 55 va_start(args, format); in uisutil_add_proc_line_ex() 56 len = vsnprintf(*buffer, *buffer_remaining, format, args); in uisutil_add_proc_line_ex()
|
/linux-4.1.27/drivers/isdn/hisax/ |
D | hisax_debug.h | 28 #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.1.27/sound/pci/ |
D | sis7019.c | 532 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.1.27/include/sound/ |
D | core.h | 312 const char *format, ...); 314 #define __snd_printk(level, file, line, format, args...) \ argument 315 printk(format, ##args) 366 static inline void snd_printd(const char *format, ...) {} in snd_printd() argument 368 static inline void _snd_printd(int level, const char *format, ...) {} in _snd_printd() argument 389 #define snd_printdd(format, args...) \ argument 390 __snd_printk(2, __FILE__, __LINE__, format, ##args) 393 static inline void snd_printdd(const char *format, ...) {} in snd_printdd() argument
|
D | pcm.h | 357 snd_pcm_format_t format; /* SNDRV_PCM_FORMAT_* */ member 1036 int snd_pcm_format_signed(snd_pcm_format_t format); 1037 int snd_pcm_format_unsigned(snd_pcm_format_t format); 1038 int snd_pcm_format_linear(snd_pcm_format_t format); 1039 int snd_pcm_format_little_endian(snd_pcm_format_t format); 1040 int snd_pcm_format_big_endian(snd_pcm_format_t format); 1049 int snd_pcm_format_cpu_endian(snd_pcm_format_t format); 1052 #define snd_pcm_format_cpu_endian(format) snd_pcm_format_little_endian(format) argument 1054 #define snd_pcm_format_cpu_endian(format) snd_pcm_format_big_endian(format) argument 1056 int snd_pcm_format_width(snd_pcm_format_t format); /* in bits */ [all …]
|
/linux-4.1.27/drivers/staging/i2o/ |
D | i2o.h | 964 #define osm_printk(level, format, arg...) \ argument 965 printk(level "%s: " format, OSM_NAME , ## arg) 968 #define osm_debug(format, arg...) \ argument 969 osm_printk(KERN_DEBUG, format , ## arg) 971 #define osm_debug(format, arg...) \ argument 975 #define osm_err(format, arg...) \ argument 976 osm_printk(KERN_ERR, format , ## arg) 977 #define osm_info(format, arg...) \ argument 978 osm_printk(KERN_INFO, format , ## arg) 979 #define osm_warn(format, arg...) \ argument [all …]
|
/linux-4.1.27/tools/lib/traceevent/ |
D | event-parse.c | 1602 ret = event_read_fields(event, &event->format.common_fields); in event_read_format() 1605 event->format.nr_common = ret; in event_read_format() 1607 ret = event_read_fields(event, &event->format.fields); in event_read_format() 1610 event->format.nr_fields = ret; in event_read_format() 3082 event->print_fmt.format = token; in event_read_print() 3095 if (asprintf(&cat, "%s%s", event->print_fmt.format, token) < 0) in event_read_print() 3098 free_token(event->print_fmt.format); in event_read_print() 3099 event->print_fmt.format = NULL; in event_read_print() 3131 struct format_field *format; in pevent_find_common_field() local 3133 for (format = event->format.common_fields; in pevent_find_common_field() [all …]
|
/linux-4.1.27/arch/powerpc/xmon/ |
D | nonstdio.c | 111 void xmon_printf(const char *format, ...) in xmon_printf() argument 117 va_start(args, format); in xmon_printf() 118 n = vsnprintf(xmon_outbuf, sizeof(xmon_outbuf), format, args); in xmon_printf()
|
/linux-4.1.27/drivers/misc/mei/ |
D | client.h | 129 #define cl_dbg(dev, cl, format, arg...) \ argument 130 dev_dbg((dev)->dev, MEI_CL_FMT format, MEI_CL_PRM(cl), ##arg) 132 #define cl_err(dev, cl, format, arg...) \ argument 133 dev_err((dev)->dev, MEI_CL_FMT format, MEI_CL_PRM(cl), ##arg)
|
/linux-4.1.27/Documentation/video4linux/ |
D | v4l2-pci-skeleton.c | 71 struct v4l2_pix_format format; member 146 if (skel->format.field == V4L2_FIELD_ALTERNATE) { in skeleton_irq() 171 skel->field = skel->format.field; in queue_setup() 185 if (fmt && fmt->fmt.pix.sizeimage < skel->format.sizeimage) in queue_setup() 188 sizes[0] = fmt ? fmt->fmt.pix.sizeimage : skel->format.sizeimage; in queue_setup() 200 unsigned long size = skel->format.sizeimage; in buffer_prepare() 390 skel->format = f->fmt.pix; in skeleton_s_fmt_vid_cap() 399 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.1.27/scripts/dtc/ |
D | srcpos.h | 110 __attribute__((format(printf, 2, 0))); 112 __attribute__((format(printf, 2, 3))); 114 __attribute__((format(printf, 2, 3)));
|
/linux-4.1.27/sound/soc/bcm/ |
D | bcm2835-i2s.c | 315 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.1.27/drivers/gpu/drm/radeon/ |
D | r600_cs.c | 177 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 …]
|
D | radeon_legacy_crtc.c | 382 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.1.27/fs/quota/ |
D | Kconfig | 52 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.1.27/drivers/scsi/ |
D | BusLogic.h | 128 #define blogic_announce(format, args...) \ argument 129 blogic_msg(BLOGIC_ANNOUNCE_LEVEL, format, ##args) 131 #define blogic_info(format, args...) \ argument 132 blogic_msg(BLOGIC_INFO_LEVEL, format, ##args) 134 #define blogic_notice(format, args...) \ argument 135 blogic_msg(BLOGIC_NOTICE_LEVEL, format, ##args) 137 #define blogic_warn(format, args...) \ argument 138 blogic_msg(BLOGIC_WARN_LEVEL, format, ##args) 140 #define blogic_err(format, args...) \ argument 141 blogic_msg(BLOGIC_ERR_LEVEL, format, ##args)
|
/linux-4.1.27/arch/powerpc/boot/ |
D | stdio.h | 10 extern int printf(const char *fmt, ...) __attribute__((format(printf, 1, 2))); 15 __attribute__((format(printf, 2, 3)));
|
/linux-4.1.27/Documentation/aoe/ |
D | status.sh | 8 format="%8s\t%8s\t%8s\n" 26 printf "$format" \
|