Searched refs:fmt (Results 176 - 200 of 4497) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_kms.h31 * @fmt: Pointer to format string
33 #define DPU_DEBUG(fmt, ...) \
36 DRM_DEBUG(fmt, ##__VA_ARGS__); \
38 pr_debug(fmt, ##__VA_ARGS__); \
43 * @fmt: Pointer to format string
45 #define DPU_DEBUG_DRIVER(fmt, ...) \
48 DRM_ERROR(fmt, ##__VA_ARGS__); \
50 pr_debug(fmt, ##__VA_ARGS__); \
53 #define DPU_ERROR(fmt, ...) pr_err("[dpu error]" fmt, ##__VA_ARGS_
[all...]
H A Ddpu_hw_wb.c70 const struct dpu_format *fmt = data->dest.format; local
76 chroma_samp = fmt->chroma_sample;
79 (fmt->fetch_planes << 19) |
80 (fmt->bits[C3_ALPHA] << 6) |
81 (fmt->bits[C2_R_Cr] << 4) |
82 (fmt->bits[C1_B_Cb] << 2) |
83 (fmt->bits[C0_G_Y] << 0);
85 if (fmt->bits[C3_ALPHA] || fmt->alpha_enable) {
87 if (!fmt
151 dpu_hw_wb_setup_cdp(struct dpu_hw_wb *ctx, const struct dpu_format *fmt, bool enable) argument
[all...]
/linux-master/sound/usb/
H A Dimplicit.c83 struct audioformat *fmt,
96 fmt->sync_ep = ep;
97 fmt->sync_iface = ifnum;
98 fmt->sync_altsetting = alts->desc.bAlternateSetting;
99 fmt->sync_ep_idx = ep_idx;
100 fmt->implicit_fb = 1;
103 fmt->iface, fmt->altsetting,
105 fmt->sync_ep, fmt
82 add_implicit_fb_sync_ep(struct snd_usb_audio *chip, struct audioformat *fmt, int ep, int ep_idx, int ifnum, const struct usb_host_interface *alts) argument
110 add_generic_uac2_implicit_fb(struct snd_usb_audio *chip, struct audioformat *fmt, unsigned int ifnum, unsigned int altsetting) argument
146 add_roland_implicit_fb(struct snd_usb_audio *chip, struct audioformat *fmt, struct usb_host_interface *alts) argument
176 add_roland_capture_quirk(struct snd_usb_audio *chip, struct audioformat *fmt, struct usb_host_interface *alts) argument
235 __add_generic_implicit_fb(struct snd_usb_audio *chip, struct audioformat *fmt, int iface, int altset) argument
259 add_generic_implicit_fb(struct snd_usb_audio *chip, struct audioformat *fmt, struct usb_host_interface *alts) argument
292 audioformat_implicit_fb_quirk(struct snd_usb_audio *chip, struct audioformat *fmt, struct usb_host_interface *alts) argument
360 audioformat_capture_quirk(struct snd_usb_audio *chip, struct audioformat *fmt, struct usb_host_interface *alts) argument
385 snd_usb_parse_implicit_fb_quirk(struct snd_usb_audio *chip, struct audioformat *fmt, struct usb_host_interface *alts) argument
[all...]
H A Dclock.c150 const struct audioformat *fmt,
159 cs_desc = snd_usb_find_clock_source(chip, source_id, fmt->protocol);
163 if (fmt->protocol == UAC_VERSION_2) {
171 if (fmt->nr_rates == 1 &&
172 (fmt->clock & 0xff) == cs_desc->v2.bClockID &&
212 const struct audioformat *fmt,
221 cs_desc = snd_usb_find_clock_source(chip, source_id, fmt->protocol);
225 if (fmt->protocol == UAC_VERSION_3)
251 return uac_clock_source_is_valid_quirk(chip, fmt, source_id);
255 const struct audioformat *fmt, in
149 uac_clock_source_is_valid_quirk(struct snd_usb_audio *chip, const struct audioformat *fmt, int source_id) argument
211 uac_clock_source_is_valid(struct snd_usb_audio *chip, const struct audioformat *fmt, int source_id) argument
254 __uac_clock_find_source(struct snd_usb_audio *chip, const struct audioformat *fmt, int entity_id, unsigned long *visited, bool validate) argument
414 snd_usb_clock_find_source(struct snd_usb_audio *chip, const struct audioformat *fmt, bool validate) argument
430 set_sample_rate_v1(struct snd_usb_audio *chip, const struct audioformat *fmt, int rate) argument
518 snd_usb_set_sample_rate_v2v3(struct snd_usb_audio *chip, const struct audioformat *fmt, int clock, int rate) argument
555 set_sample_rate_v2v3(struct snd_usb_audio *chip, const struct audioformat *fmt, int rate) argument
623 snd_usb_init_sample_rate(struct snd_usb_audio *chip, const struct audioformat *fmt, int rate) argument
[all...]
/linux-master/drivers/staging/media/starfive/camss/
H A Dstf-isp.c65 struct v4l2_mbus_framefmt *fmt; local
69 fmt = v4l2_subdev_state_get_format(sd_state, STF_ISP_PAD_SINK);
75 stf_isp_settings(isp_dev, crop, fmt->code);
88 struct v4l2_mbus_framefmt *fmt)
93 fmt->colorspace = V4L2_COLORSPACE_SRGB;
102 fmt->width = clamp_t(u32, fmt->width, STFCAMSS_FRAME_MIN_WIDTH,
104 fmt->height = clamp_t(u32, fmt->height, STFCAMSS_FRAME_MIN_HEIGHT,
106 fmt
85 isp_try_format(struct stf_isp_dev *isp_dev, struct v4l2_subdev_state *state, unsigned int pad, struct v4l2_mbus_framefmt *fmt) argument
146 isp_set_format(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_format *fmt) argument
190 struct v4l2_mbus_framefmt *fmt = local
208 struct v4l2_subdev_format fmt = { 0 }; local
270 struct v4l2_subdev_format fmt = { 0 }; local
[all...]
/linux-master/drivers/media/tuners/
H A Dtda18271-priv.h12 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
133 const char *func, const char *fmt, ...);
135 #define tda_printk(st, lvl, fmt, arg...) \
136 _tda_printk(st, lvl, __func__, fmt, ##arg)
138 #define tda_dprintk(st, lvl, fmt, arg...) \
141 tda_printk(st, KERN_DEBUG, fmt, ##arg); \
144 #define tda_info(fmt, arg...) pr_info(fmt, ##arg)
145 #define tda_warn(fmt, ar
[all...]
/linux-master/drivers/media/platform/renesas/vsp1/
H A Dvsp1_sru.c168 unsigned int pad, struct v4l2_mbus_framefmt *fmt)
177 if (fmt->code != MEDIA_BUS_FMT_ARGB8888_1X32 &&
178 fmt->code != MEDIA_BUS_FMT_AYUV8_1X32)
179 fmt->code = MEDIA_BUS_FMT_AYUV8_1X32;
181 fmt->width = clamp(fmt->width, SRU_MIN_SIZE, SRU_MAX_SIZE);
182 fmt->height = clamp(fmt->height, SRU_MIN_SIZE, SRU_MAX_SIZE);
189 fmt->code = format->code;
199 output_area = min(fmt
166 sru_try_format(struct vsp1_sru *sru, struct v4l2_subdev_state *sd_state, unsigned int pad, struct v4l2_mbus_framefmt *fmt) argument
218 sru_set_format(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *fmt) argument
[all...]
H A Dvsp1_rwpf.c61 struct v4l2_subdev_format *fmt)
70 state = vsp1_entity_get_state(&rwpf->entity, sd_state, fmt->which);
77 if (fmt->format.code != MEDIA_BUS_FMT_ARGB8888_1X32 &&
78 fmt->format.code != MEDIA_BUS_FMT_AHSV8888_1X32 &&
79 fmt->format.code != MEDIA_BUS_FMT_AYUV8_1X32)
80 fmt->format.code = MEDIA_BUS_FMT_AYUV8_1X32;
82 format = vsp1_entity_get_pad_format(&rwpf->entity, state, fmt->pad);
84 if (fmt->pad == RWPF_PAD_SOURCE) {
89 format->code = fmt->format.code;
90 fmt
59 vsp1_rwpf_set_format(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *fmt) argument
[all...]
/linux-master/drivers/media/platform/st/stm32/stm32-dcmipp/
H A Ddcmipp-common.h38 * @fmt: the pointer to struct v4l2_pix_format or
44 #define dcmipp_colorimetry_clamp(fmt) \
46 if ((fmt)->colorspace == V4L2_COLORSPACE_DEFAULT || \
47 (fmt)->colorspace > V4L2_COLORSPACE_DCI_P3) { \
48 (fmt)->colorspace = DCMIPP_COLORSPACE_DEFAULT; \
49 (fmt)->ycbcr_enc = DCMIPP_YCBCR_ENC_DEFAULT; \
50 (fmt)->quantization = DCMIPP_QUANTIZATION_DEFAULT; \
51 (fmt)->xfer_func = DCMIPP_XFER_FUNC_DEFAULT; \
53 if ((fmt)->ycbcr_enc > V4L2_YCBCR_ENC_SMPTE240M) \
54 (fmt)
[all...]
/linux-master/drivers/media/pci/ivtv/
H A Divtv-driver.h25 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
140 #define IVTV_DEBUG(x, type, fmt, args...) \
143 v4l2_info(&itv->v4l2_dev, " " type ": " fmt , ##args); \
145 #define IVTV_DEBUG_WARN(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_WARN, "warn", fmt , ## args)
146 #define IVTV_DEBUG_INFO(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_INFO, "info", fmt , ## args)
147 #define IVTV_DEBUG_MB(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_MB, "mb", fmt , ## arg
[all...]
/linux-master/drivers/media/platform/amphion/
H A Dvpu_v4l2.c137 static int vpu_init_format(struct vpu_inst *inst, struct vpu_format *fmt) argument
141 info = vpu_helper_find_format(inst, fmt->type, fmt->pixfmt);
143 info = vpu_helper_enum_format(inst, fmt->type, 0);
147 memcpy(fmt, info, sizeof(*fmt));
152 static int vpu_calc_fmt_bytesperline(struct v4l2_format *f, struct vpu_format *fmt) argument
154 struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp;
157 if (fmt->flags & V4L2_FMT_FLAG_COMPRESSED) {
158 for (i = 0; i < fmt
179 vpu_calc_fmt_sizeimage(struct vpu_inst *inst, struct vpu_format *fmt) argument
209 vpu_get_fmt_plane_size(struct vpu_format *fmt, u32 plane_no) argument
229 vpu_try_fmt_common(struct vpu_inst *inst, struct v4l2_format *f, struct vpu_format *fmt) argument
569 struct vpu_format *fmt = vpu_get_format(inst, q->type); local
[all...]
/linux-master/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-log.h31 void __intel_pt_log(const char *fmt, ...) __printf(1, 2);
33 #define intel_pt_log(fmt, ...) \
36 __intel_pt_log(fmt, ##__VA_ARGS__); \
71 #define intel_pt_log_var(var, fmt) intel_pt_log("%s: " #var " " fmt "\n", __func__, var)
/linux-master/drivers/net/wireless/ath/
H A Dath.h214 const char *fmt, ...);
216 #define ath_emerg(common, fmt, ...) \
217 ath_printk(KERN_EMERG, common, fmt, ##__VA_ARGS__)
218 #define ath_alert(common, fmt, ...) \
219 ath_printk(KERN_ALERT, common, fmt, ##__VA_ARGS__)
220 #define ath_crit(common, fmt, ...) \
221 ath_printk(KERN_CRIT, common, fmt, ##__VA_ARGS__)
222 #define ath_err(common, fmt, ...) \
223 ath_printk(KERN_ERR, common, fmt, ##__VA_ARGS__)
224 #define ath_warn(common, fmt,
306 _ath_dbg(struct ath_common *common, enum ATH_DEBUG dbg_mask, const char *fmt, ...) argument
[all...]
/linux-master/tools/perf/util/
H A Ddebug.c83 int veprintf(int level, int var, const char *fmt, va_list args) argument
89 ui_helpline__vshow(fmt, args);
92 ret += vfprintf(debug_file(), fmt, args);
99 int eprintf(int level, int var, const char *fmt, ...) argument
104 va_start(args, fmt);
105 ret = veprintf(level, var, fmt, args);
111 static int veprintf_time(u64 t, const char *fmt, va_list args) argument
121 ret += vfprintf(debug_file(), fmt, args);
125 int eprintf_time(int level, int var, u64 t, const char *fmt, ...) argument
131 va_start(args, fmt);
143 pr_stat(const char *fmt, ...) argument
153 dump_printf(const char *fmt, ...) argument
[all...]
/linux-master/fs/btrfs/
H A Dmessages.c116 unsigned int line, int error, const char *fmt, ...)
126 "BTRFS: error (device %s%s) in %s:%d: errno=%d %s", KERN_CRIT, fmt);
139 if (fmt) {
143 va_start(args, fmt);
144 vaf.fmt = fmt;
211 void __cold _btrfs_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...) argument
221 printk_index_subsys_emit("%sBTRFS %s (device %s): ", NULL, fmt);
224 va_start(args, fmt);
226 while ((kern_level = printk_get_level(fmt)) !
115 __btrfs_handle_fs_error(struct btrfs_fs_info *fs_info, const char *function, unsigned int line, int error, const char *fmt, ...) argument
288 __btrfs_panic(const struct btrfs_fs_info *fs_info, const char *function, unsigned int line, int error, const char *fmt, ...) argument
[all...]
/linux-master/drivers/media/pci/bt8xx/
H A Dbttv-vbi.c14 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
48 #define dprintk(fmt, ...) \
51 pr_debug("%d: " fmt, btv->c.nr, ##__VA_ARGS__); \
54 #define IMAGE_SIZE(fmt) \
55 (((fmt)->count[0] + (fmt)->count[1]) * (fmt)->samples_per_line)
65 unsigned int size = IMAGE_SIZE(&btv->vbi_fmt.fmt);
102 unsigned int size = IMAGE_SIZE(&btv->vbi_fmt.fmt);
[all...]
/linux-master/drivers/media/platform/sunxi/sun4i-csi/
H A Dsun4i_v4l2.c136 _sun4i_csi_try_fmt(csi, &f->fmt.pix_mp);
146 _sun4i_csi_try_fmt(csi, &f->fmt.pix_mp);
147 csi->fmt = f->fmt.pix_mp;
157 f->fmt.pix_mp = csi->fmt;
272 struct v4l2_mbus_framefmt *fmt; local
274 fmt = v4l2_subdev_state_get_format(sd_state, CSI_SUBDEV_SINK);
275 *fmt = sun4i_csi_pad_fmt_default;
282 struct v4l2_subdev_format *fmt)
280 sun4i_csi_subdev_get_fmt(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *fmt) argument
297 sun4i_csi_subdev_set_fmt(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *fmt) argument
[all...]
/linux-master/arch/sparc/prom/
H A Dprintf.c60 void notrace prom_printf(const char *fmt, ...) argument
65 va_start(args, fmt);
66 i = vscnprintf(ppbuf, sizeof(ppbuf), fmt, args);
/linux-master/drivers/media/test-drivers/vivid/
H A Dvivid-vbi-cap.h19 int vidioc_g_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt);
20 int vidioc_try_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt);
21 int vidioc_s_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_with_devmap_helpers.c33 char fmt[] = "devmap redirect: dev %u -> dev %u len %u\n"; local
38 bpf_trace_printk(fmt, sizeof(fmt),
/linux-master/drivers/net/fddi/skfp/h/
H A Dhwmtm.h167 #define DB_RX(lev, fmt, ...) \
170 printf(fmt "\n", ##__VA_ARGS__); \
172 #define DB_TX(lev, fmt, ...) \
175 printf(fmt "\n", ##__VA_ARGS__); \
177 #define DB_GEN(lev, fmt, ...) \
180 printf(fmt "\n", ##__VA_ARGS__); \
183 #define DB_RX(lev, fmt, ...) no_printk(fmt "\n", ##__VA_ARGS__)
184 #define DB_TX(lev, fmt, ...) no_printk(fmt "\
[all...]
/linux-master/drivers/scsi/qedi/
H A Dqedi_dbg.h71 #define QEDI_ERR(pdev, fmt, ...) \
72 qedi_dbg_err(pdev, __func__, __LINE__, fmt, ## __VA_ARGS__)
73 #define QEDI_WARN(pdev, fmt, ...) \
74 qedi_dbg_warn(pdev, __func__, __LINE__, fmt, ## __VA_ARGS__)
75 #define QEDI_NOTICE(pdev, fmt, ...) \
76 qedi_dbg_notice(pdev, __func__, __LINE__, fmt, ## __VA_ARGS__)
77 #define QEDI_INFO(pdev, level, fmt, ...) \
78 qedi_dbg_info(pdev, __func__, __LINE__, level, fmt, \
82 const char *fmt, ...);
84 const char *fmt,
[all...]
/linux-master/arch/mips/kernel/
H A Dsignal-common.h17 # define DEBUGP(fmt, args...) printk("%s: " fmt, __func__, ##args)
19 # define DEBUGP(fmt, args...)
/linux-master/drivers/platform/surface/aggregator/
H A Dssh_packet_layer.h122 #define __ssam_prcond(func, p, fmt, ...) \
127 func(__p, fmt, ##__VA_ARGS__); \
130 #define ptl_dbg(p, fmt, ...) dev_dbg(&(p)->serdev->dev, fmt, ##__VA_ARGS__)
131 #define ptl_info(p, fmt, ...) dev_info(&(p)->serdev->dev, fmt, ##__VA_ARGS__)
132 #define ptl_warn(p, fmt, ...) dev_warn(&(p)->serdev->dev, fmt, ##__VA_ARGS__)
133 #define ptl_err(p, fmt, ...) dev_err(&(p)->serdev->dev, fmt, ##__VA_ARGS_
[all...]
/linux-master/arch/um/include/shared/
H A Duser.h27 extern void panic(const char *fmt, ...)
43 extern int _printk(const char *fmt, ...)
46 static inline int printk(const char *fmt, ...) argument

Completed in 368 milliseconds

1234567891011>>