Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 2180) sorted by relevance

12345678910>>...88

/drivers/net/wireless/marvell/libertas_tf/
Ddeb_defs.h49 #define LBTF_DEB_LL(grp, grpnam, fmt, args...) \ argument
51 printk(KERN_DEBUG DRV_NAME grpnam ": " fmt, ## args); } while (0)
53 #define LBTF_DEB_LL(grp, grpnam, fmt, args...) do {} while (0) argument
58 #define lbtf_deb_enter_args(grp, fmt, args...) \ argument
59 LBTF_DEB_LL(grp | LBTF_DEB_ENTER, " enter", "%s(" fmt ")\n", __func__, ## args);
62 #define lbtf_deb_leave_args(grp, fmt, args...) \ argument
63 LBTF_DEB_LL(grp | LBTF_DEB_LEAVE, " leave", "%s(), " fmt "\n", \
65 #define lbtf_deb_main(fmt, args...) LBTF_DEB_LL(LBTF_DEB_MAIN, " main", fmt, ##args) argument
66 #define lbtf_deb_net(fmt, args...) LBTF_DEB_LL(LBTF_DEB_NET, " net", fmt, ##args) argument
67 #define lbtf_deb_mesh(fmt, args...) LBTF_DEB_LL(LBTF_DEB_MESH, " mesh", fmt, ##args) argument
[all …]
/drivers/staging/media/zoran/
Dzoran_driver.c261 static int zoran_enum_fmt(struct zoran *zr, struct v4l2_fmtdesc *fmt, int flag) in zoran_enum_fmt() argument
265 if (fmt->index >= ARRAY_SIZE(zoran_formats)) in zoran_enum_fmt()
267 if (fmt->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in zoran_enum_fmt()
271 if (zoran_formats[i].flags & flag && num++ == fmt->index) { in zoran_enum_fmt()
272 strscpy(fmt->description, zoran_formats[i].name, in zoran_enum_fmt()
273 sizeof(fmt->description)); in zoran_enum_fmt()
275 fmt->pixelformat = zoran_formats[i].fourcc; in zoran_enum_fmt()
277 fmt->flags |= V4L2_FMT_FLAG_COMPRESSED; in zoran_enum_fmt()
304 struct v4l2_format *fmt) in zoran_g_fmt_vid_out() argument
308 fmt->fmt.pix.width = zr->jpg_settings.img_width / zr->jpg_settings.hor_dcm; in zoran_g_fmt_vid_out()
[all …]
/drivers/media/pci/cx18/
Dcx18-driver.h159 #define CX18_DEBUG(x, type, fmt, args...) \ argument
162 v4l2_info(&cx->v4l2_dev, " " type ": " fmt , ## args); \
164 #define CX18_DEBUG_WARN(fmt, args...) CX18_DEBUG(CX18_DBGFLG_WARN, "warning", fmt , ## args) argument
165 #define CX18_DEBUG_INFO(fmt, args...) CX18_DEBUG(CX18_DBGFLG_INFO, "info", fmt , ## args) argument
166 #define CX18_DEBUG_API(fmt, args...) CX18_DEBUG(CX18_DBGFLG_API, "api", fmt , ## args) argument
167 #define CX18_DEBUG_DMA(fmt, args...) CX18_DEBUG(CX18_DBGFLG_DMA, "dma", fmt , ## args) argument
168 #define CX18_DEBUG_IOCTL(fmt, args...) CX18_DEBUG(CX18_DBGFLG_IOCTL, "ioctl", fmt , ## args) argument
169 #define CX18_DEBUG_FILE(fmt, args...) CX18_DEBUG(CX18_DBGFLG_FILE, "file", fmt , ## args) argument
170 #define CX18_DEBUG_I2C(fmt, args...) CX18_DEBUG(CX18_DBGFLG_I2C, "i2c", fmt , ## args) argument
171 #define CX18_DEBUG_IRQ(fmt, args...) CX18_DEBUG(CX18_DBGFLG_IRQ, "irq", fmt , ## args) argument
[all …]
/drivers/net/wireless/marvell/libertas/
Ddefs.h51 #define LBS_DEB_LL(grp, grpnam, fmt, args...) \ argument
53 printk(KERN_DEBUG DRV_NAME grpnam ": " fmt, ## args); } while (0)
55 #define LBS_DEB_LL(grp, grpnam, fmt, args...) do {} while (0) argument
58 #define lbs_deb_main(fmt, args...) LBS_DEB_LL(LBS_DEB_MAIN, " main", fmt, ##args) argument
59 #define lbs_deb_net(fmt, args...) LBS_DEB_LL(LBS_DEB_NET, " net", fmt, ##args) argument
60 #define lbs_deb_mesh(fmt, args...) LBS_DEB_LL(LBS_DEB_MESH, " mesh", fmt, ##args) argument
61 #define lbs_deb_wext(fmt, args...) LBS_DEB_LL(LBS_DEB_WEXT, " wext", fmt, ##args) argument
62 #define lbs_deb_ioctl(fmt, args...) LBS_DEB_LL(LBS_DEB_IOCTL, " ioctl", fmt, ##args) argument
63 #define lbs_deb_scan(fmt, args...) LBS_DEB_LL(LBS_DEB_SCAN, " scan", fmt, ##args) argument
64 #define lbs_deb_assoc(fmt, args...) LBS_DEB_LL(LBS_DEB_ASSOC, " assoc", fmt, ##args) argument
[all …]
/drivers/gpu/drm/i915/gvt/
Ddebug.h27 #define gvt_err(fmt, args...) \ argument
28 pr_err("gvt: "fmt, ##args)
30 #define gvt_vgpu_err(fmt, args...) \ argument
33 pr_err("gvt: "fmt, ##args); \
35 pr_err("gvt: vgpu %d: "fmt, vgpu->id, ##args);\
38 #define gvt_dbg_core(fmt, args...) \ argument
39 pr_debug("gvt: core: "fmt, ##args)
41 #define gvt_dbg_irq(fmt, args...) \ argument
42 pr_debug("gvt: irq: "fmt, ##args)
44 #define gvt_dbg_mm(fmt, args...) \ argument
[all …]
/drivers/media/platform/ti-vpe/
Dcal-video.c131 static char *fourcc_to_str(u32 fmt) in fourcc_to_str() argument
135 code[0] = (unsigned char)(fmt & 0xff); in fourcc_to_str()
136 code[1] = (unsigned char)((fmt >> 8) & 0xff); in fourcc_to_str()
137 code[2] = (unsigned char)((fmt >> 16) & 0xff); in fourcc_to_str()
138 code[3] = (unsigned char)((fmt >> 24) & 0xff); in fourcc_to_str()
152 const struct cal_fmt *fmt; in find_format_by_pix() local
156 fmt = ctx->active_fmt[k]; in find_format_by_pix()
157 if (fmt->fourcc == pixelformat) in find_format_by_pix()
158 return fmt; in find_format_by_pix()
167 const struct cal_fmt *fmt; in find_format_by_code() local
[all …]
/drivers/block/rnbd/
Drnbd-log.h15 #define rnbd_clt_log(fn, dev, fmt, ...) ( \ argument
16 fn("<%s@%s> " fmt, (dev)->pathname, \
19 #define rnbd_srv_log(fn, dev, fmt, ...) ( \ argument
20 fn("<%s@%s>: " fmt, (dev)->pathname, \
23 #define rnbd_clt_err(dev, fmt, ...) \ argument
24 rnbd_clt_log(pr_err, dev, fmt, ##__VA_ARGS__)
25 #define rnbd_clt_err_rl(dev, fmt, ...) \ argument
26 rnbd_clt_log(pr_err_ratelimited, dev, fmt, ##__VA_ARGS__)
27 #define rnbd_clt_info(dev, fmt, ...) \ argument
28 rnbd_clt_log(pr_info, dev, fmt, ##__VA_ARGS__)
[all …]
/drivers/media/pci/bt8xx/
Dbttv-vbi.c14 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
58 #define dprintk(fmt, ...) \ argument
61 pr_debug("%d: " fmt, btv->c.nr, ##__VA_ARGS__); \
64 #define IMAGE_SIZE(fmt) \ argument
65 (((fmt)->count[0] + (fmt)->count[1]) * (fmt)->samples_per_line)
79 *size = IMAGE_SIZE(&fh->vbi_fmt.fmt); in vbi_buffer_setup()
82 fh->vbi_fmt.fmt.samples_per_line, in vbi_buffer_setup()
83 fh->vbi_fmt.fmt.start[0], in vbi_buffer_setup()
84 fh->vbi_fmt.fmt.start[1], in vbi_buffer_setup()
85 fh->vbi_fmt.fmt.count[0], in vbi_buffer_setup()
[all …]
/drivers/net/wireless/ath/wil6210/
Ddebug.c10 void __wil_err(struct wil6210_priv *wil, const char *fmt, ...) in __wil_err() argument
15 va_start(args, fmt); in __wil_err()
16 vaf.fmt = fmt; in __wil_err()
23 void __wil_err_ratelimited(struct wil6210_priv *wil, const char *fmt, ...) in __wil_err_ratelimited() argument
31 va_start(args, fmt); in __wil_err_ratelimited()
32 vaf.fmt = fmt; in __wil_err_ratelimited()
39 void wil_dbg_ratelimited(const struct wil6210_priv *wil, const char *fmt, ...) in wil_dbg_ratelimited() argument
47 va_start(args, fmt); in wil_dbg_ratelimited()
48 vaf.fmt = fmt; in wil_dbg_ratelimited()
55 void __wil_info(struct wil6210_priv *wil, const char *fmt, ...) in __wil_info() argument
[all …]
/drivers/media/usb/pwc/
Dpwc.h56 #define PWC_DEBUG_MODULE(fmt, args...) PWC_DEBUG(MODULE, fmt, ##args) argument
57 #define PWC_DEBUG_PROBE(fmt, args...) PWC_DEBUG(PROBE, fmt, ##args) argument
58 #define PWC_DEBUG_OPEN(fmt, args...) PWC_DEBUG(OPEN, fmt, ##args) argument
59 #define PWC_DEBUG_READ(fmt, args...) PWC_DEBUG(READ, fmt, ##args) argument
60 #define PWC_DEBUG_MEMORY(fmt, args...) PWC_DEBUG(MEMORY, fmt, ##args) argument
61 #define PWC_DEBUG_FLOW(fmt, args...) PWC_DEBUG(FLOW, fmt, ##args) argument
62 #define PWC_DEBUG_SIZE(fmt, args...) PWC_DEBUG(SIZE, fmt, ##args) argument
63 #define PWC_DEBUG_IOCTL(fmt, args...) PWC_DEBUG(IOCTL, fmt, ##args) argument
64 #define PWC_DEBUG_TRACE(fmt, args...) PWC_DEBUG(TRACE, fmt, ##args) argument
71 #define PWC_DEBUG(level, fmt, args...) do {\ argument
[all …]
/drivers/usb/gadget/function/
Duvc_v4l2.c84 uformat = format->fmt; in find_format_by_index()
102 if (format->fmt->type != uformat->type) in find_frame_by_index()
104 list_for_each_entry(frame, &format->fmt->frames, entry) { in find_frame_by_index()
122 struct uvc_format_desc *fmtdesc = to_uvc_format(format->fmt); in find_format_by_pix()
125 uformat = format->fmt; in find_format_by_pix()
150 if (format->fmt->type != uformat->type) in find_closest_frame_by_size()
153 list_for_each_entry(frame, &format->fmt->frames, entry) { in find_closest_frame_by_size()
217 uvc_v4l2_get_format(struct file *file, void *fh, struct v4l2_format *fmt) in uvc_v4l2_get_format() argument
223 fmt->fmt.pix.pixelformat = video->fcc; in uvc_v4l2_get_format()
224 fmt->fmt.pix.width = video->width; in uvc_v4l2_get_format()
[all …]
/drivers/usb/usbip/
Dusbip_common.h26 #define pr_fmt(fmt) KBUILD_MODNAME ": %s:%d: " fmt, __func__, __LINE__ argument
28 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
61 #define usbip_dbg_with_flag(flag, fmt, args...) \ argument
64 pr_debug(fmt, ##args); \
67 #define usbip_dbg_sysfs(fmt, args...) \ argument
68 usbip_dbg_with_flag(usbip_debug_sysfs, fmt , ##args)
69 #define usbip_dbg_xmit(fmt, args...) \ argument
70 usbip_dbg_with_flag(usbip_debug_xmit, fmt , ##args)
71 #define usbip_dbg_urb(fmt, args...) \ argument
72 usbip_dbg_with_flag(usbip_debug_urb, fmt , ##args)
[all …]
/drivers/gpio/
Dgpiolib.h150 #define gpiod_emerg(desc, fmt, ...) \ argument
151 pr_emerg("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\
153 #define gpiod_crit(desc, fmt, ...) \ argument
154 pr_crit("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
156 #define gpiod_err(desc, fmt, ...) \ argument
157 pr_err("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
159 #define gpiod_warn(desc, fmt, ...) \ argument
160 pr_warn("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
162 #define gpiod_info(desc, fmt, ...) \ argument
163 pr_info("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
[all …]
/drivers/staging/media/atomisp/pci/runtime/debug/interface/
Dia_css_debug.h73 #define IA_CSS_ERROR(fmt, ...) \ argument
75 "%s() %d: error: " fmt "\n", __func__, __LINE__, ##__VA_ARGS__)
77 #define IA_CSS_WARNING(fmt, ...) \ argument
79 "%s() %d: warning: " fmt "\n", __func__, __LINE__, ##__VA_ARGS__)
82 #define IA_CSS_ENTER(fmt, ...) \ argument
84 "%s(): enter: " fmt "\n", __func__, ##__VA_ARGS__)
87 #define IA_CSS_ENTER_LEAVE(fmt, ...) \ argument
89 "%s(): enter: leave: " fmt "\n", __func__, ##__VA_ARGS__)
91 #define IA_CSS_LEAVE(fmt, ...) \ argument
93 "%s(): leave: " fmt "\n", __func__, ##__VA_ARGS__)
[all …]
/drivers/infiniband/sw/rdmavt/
Dvt.h63 #define rvt_pr_info(rdi, fmt, ...) \ argument
66 fmt, \
69 #define rvt_pr_warn(rdi, fmt, ...) \ argument
72 fmt, \
75 #define rvt_pr_err(rdi, fmt, ...) \ argument
78 fmt, \
81 #define rvt_pr_err_ratelimited(rdi, fmt, ...) \ argument
84 fmt, \
87 #define __rvt_pr_info(pdev, name, fmt, ...) \ argument
88 dev_info(&pdev->dev, "%s: " fmt, name, ##__VA_ARGS__)
[all …]
/drivers/infiniband/ulp/rtrs/
Drtrs-log.h12 #define rtrs_log(fn, obj, fmt, ...) \ argument
13 fn("<%s>: " fmt, obj->sessname, ##__VA_ARGS__)
15 #define rtrs_err(obj, fmt, ...) \ argument
16 rtrs_log(pr_err, obj, fmt, ##__VA_ARGS__)
17 #define rtrs_err_rl(obj, fmt, ...) \ argument
18 rtrs_log(pr_err_ratelimited, obj, fmt, ##__VA_ARGS__)
19 #define rtrs_wrn(obj, fmt, ...) \ argument
20 rtrs_log(pr_warn, obj, fmt, ##__VA_ARGS__)
21 #define rtrs_wrn_rl(obj, fmt, ...) \ argument
22 rtrs_log(pr_warn_ratelimited, obj, fmt, ##__VA_ARGS__)
[all …]
/drivers/media/pci/ivtv/
Divtv-driver.h25 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
142 #define IVTV_DEBUG(x, type, fmt, args...) \ argument
145 v4l2_info(&itv->v4l2_dev, " " type ": " fmt , ##args); \
147 #define IVTV_DEBUG_WARN(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_WARN, "warn", fmt , ## args) argument
148 #define IVTV_DEBUG_INFO(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_INFO, "info", fmt , ## args) argument
149 #define IVTV_DEBUG_MB(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_MB, "mb", fmt , ## args) argument
150 #define IVTV_DEBUG_DMA(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_DMA, "dma", fmt , ## args) argument
151 #define IVTV_DEBUG_IOCTL(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_IOCTL, "ioctl", fmt , ## args) argument
152 #define IVTV_DEBUG_FILE(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_FILE, "file", fmt , ## args) argument
153 #define IVTV_DEBUG_I2C(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_I2C, "i2c", fmt , ## args) argument
[all …]
/drivers/crypto/cavium/zip/
Dcommon.h174 #define zip_err(fmt, args...) pr_err("ZIP ERR:%s():%d: " \ argument
175 fmt "\n", __func__, __LINE__, ## args)
179 #define zip_msg(fmt, args...) pr_info("ZIP_MSG:" fmt "\n", ## args) argument
181 #define zip_msg(fmt, args...) argument
193 #define zip_dbg(fmt, args...) pr_info("ZIP DBG: %s: %s() : %d: " \ argument
194 fmt "\n", FILE_NAME, __func__, __LINE__, ## args)
198 #define zip_dbg(fmt, args...) pr_info("ZIP DBG: %s: %s() : %d: " \ argument
199 fmt "\n", FILE_NAME, __func__, __LINE__, ## args)
203 #define zip_dbg(fmt, args...) pr_info("ZIP DBG: %s() : %d: " \ argument
204 fmt "\n", __func__, __LINE__, ## args)
[all …]
/drivers/gpu/drm/tegra/
Dhda.c12 void tegra_hda_parse_format(unsigned int format, struct tegra_hda_format *fmt) in tegra_hda_parse_format() argument
17 fmt->pcm = false; in tegra_hda_parse_format()
19 fmt->pcm = true; in tegra_hda_parse_format()
22 fmt->sample_rate = 44100; in tegra_hda_parse_format()
24 fmt->sample_rate = 48000; in tegra_hda_parse_format()
29 fmt->sample_rate *= (mul + 1) / (div + 1); in tegra_hda_parse_format()
33 fmt->bits = 8; in tegra_hda_parse_format()
37 fmt->bits = 16; in tegra_hda_parse_format()
41 fmt->bits = 20; in tegra_hda_parse_format()
45 fmt->bits = 24; in tegra_hda_parse_format()
[all …]
/drivers/media/platform/am437x/
Dam437x-vpfe.c40 #define vpfe_dbg(level, dev, fmt, arg...) \ argument
41 v4l2_dbg(level, debug, &dev->v4l2_dev, fmt, ##arg)
42 #define vpfe_info(dev, fmt, arg...) \ argument
43 v4l2_info(&dev->v4l2_dev, fmt, ##arg)
44 #define vpfe_err(dev, fmt, arg...) \ argument
45 v4l2_err(&dev->v4l2_dev, fmt, ##arg)
106 struct v4l2_mbus_framefmt *fmt);
108 const struct vpfe_fmt *fmt,
114 struct vpfe_fmt *fmt; in find_format_by_code() local
118 fmt = vpfe->active_fmt[k]; in find_format_by_code()
[all …]
/drivers/firmware/efi/libstub/
Dvsprintf.c153 int get_flags(const char **fmt) in get_flags() argument
158 switch (**fmt) { in get_flags()
177 ++(*fmt); in get_flags()
182 int get_int(const char **fmt, va_list *ap) in get_int() argument
184 if (isdigit(**fmt)) in get_int()
185 return skip_atoi(fmt); in get_int()
186 if (**fmt == '*') { in get_int()
187 ++(*fmt); in get_int()
301 int vsnprintf(char *buf, size_t size, const char *fmt, va_list ap) in vsnprintf() argument
337 for (pos = 0; *fmt; ++fmt) { in vsnprintf()
[all …]
/drivers/net/wireless/ath/ath11k/
Ddebug.c10 void ath11k_info(struct ath11k_base *ab, const char *fmt, ...) in ath11k_info() argument
13 .fmt = fmt, in ath11k_info()
17 va_start(args, fmt); in ath11k_info()
25 void ath11k_err(struct ath11k_base *ab, const char *fmt, ...) in ath11k_err() argument
28 .fmt = fmt, in ath11k_err()
32 va_start(args, fmt); in ath11k_err()
40 void ath11k_warn(struct ath11k_base *ab, const char *fmt, ...) in ath11k_warn() argument
43 .fmt = fmt, in ath11k_warn()
47 va_start(args, fmt); in ath11k_warn()
58 const char *fmt, ...) in __ath11k_dbg() argument
[all …]
/drivers/scsi/libfc/
Dfc_libfc.h30 #define FC_LIBFC_DBG(fmt, args...) \ argument
32 pr_info("libfc: " fmt, ##args))
34 #define FC_LPORT_DBG(lport, fmt, args...) \ argument
36 pr_info("host%u: lport %6.6x: " fmt, \
40 #define FC_DISC_DBG(disc, fmt, args...) \ argument
42 pr_info("host%u: disc: " fmt, \
46 #define FC_RPORT_ID_DBG(lport, port_id, fmt, args...) \ argument
48 pr_info("host%u: rport %6.6x: " fmt, \
52 #define FC_RPORT_DBG(rdata, fmt, args...) \ argument
53 FC_RPORT_ID_DBG((rdata)->local_port, (rdata)->ids.port_id, fmt, ##args)
[all …]
/drivers/media/i2c/
Dvs6624.c31 struct v4l2_mbus_framefmt fmt; member
563 struct v4l2_mbus_framefmt *fmt = &format->format; in vs6624_set_fmt() local
571 if (vs6624_formats[index].mbus_code == fmt->code) in vs6624_set_fmt()
576 fmt->code = vs6624_formats[0].mbus_code; in vs6624_set_fmt()
580 if (fmt->width > VGA_WIDTH) in vs6624_set_fmt()
581 fmt->width = VGA_WIDTH; in vs6624_set_fmt()
582 if (fmt->height > VGA_HEIGHT) in vs6624_set_fmt()
583 fmt->height = VGA_HEIGHT; in vs6624_set_fmt()
584 fmt->width = fmt->width & (~3); in vs6624_set_fmt()
585 fmt->height = fmt->height & (~3); in vs6624_set_fmt()
[all …]
/drivers/media/test-drivers/
Dvim2m.c78 #define dprintk(dev, lvl, fmt, arg...) \ argument
79 v4l2_dbg(lvl, debug, &(dev)->v4l2_dev, "%s: " fmt, __func__, ## arg)
144 struct vim2m_fmt *fmt; member
157 struct vim2m_fmt *fmt; in find_format() local
161 fmt = &formats[k]; in find_format()
162 if (fmt->fourcc == fourcc) in find_format()
271 int x, depth = q_data_out->fmt->depth >> 3; in copy_line()
290 struct vim2m_fmt *out = q_data_out->fmt; in copy_two_pixels()
291 struct vim2m_fmt *in = q_data_in->fmt; in copy_two_pixels()
458 bytesperline = (q_data_in->width * q_data_in->fmt->depth) >> 3; in device_process()
[all …]

12345678910>>...88