Searched refs:format (Results 51 - 75 of 1968) sorted by relevance

1234567891011>>

/linux-master/tools/include/asm/
H A Dbug.h10 #define WARN(condition, format...) ({ \
13 __WARN_printf(format); \
36 #define WARN_ONCE(condition, format...) ({ \
41 if (WARN(!__warned, format)) \
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/qplane/qplane_2/
H A Dia_css_qplane_param.h28 u32 format; /* enum ia_css_frame_format */ member in struct:sh_css_isp_qplane_isp_config
/linux-master/include/sound/sof/
H A Ddai-mediatek.h17 u32 format; member in struct:sof_ipc_dai_mtk_afe_params
/linux-master/drivers/gpu/drm/meson/
H A Dmeson_osd_afbcd.c58 static int meson_gxm_afbcd_pixel_fmt(u64 modifier, uint32_t format) argument
60 switch (format) {
66 DRM_DEBUG("unsupported afbc format[%08x]\n", format);
71 static bool meson_gxm_afbcd_supported_fmt(u64 modifier, uint32_t format) argument
79 return meson_gxm_afbcd_pixel_fmt(modifier, format) >= 0;
125 priv->afbcd.format);
206 static int meson_g12a_afbcd_pixel_fmt(u64 modifier, uint32_t format) argument
208 switch (format) {
230 DRM_DEBUG("unsupported afbc format[
235 meson_g12a_afbcd_bpp(uint32_t format) argument
254 meson_g12a_afbcd_fmt_to_blk_mode(u64 modifier, uint32_t format) argument
273 meson_g12a_afbcd_supported_fmt(u64 modifier, uint32_t format) argument
343 u32 format = meson_g12a_afbcd_pixel_fmt(priv->afbcd.modifier, local
[all...]
H A Dmeson_osd_afbcd.h22 int (*fmt_to_blk_mode)(u64 modifier, uint32_t format);
23 bool (*supported_fmt)(u64 modifier, uint32_t format);
/linux-master/include/asm-generic/
H A Dbug.h85 * Do not include "BUG"/"WARNING" in format strings manually to make these
88 * Use the versions with printk format strings to provide better diagnostics.
131 #define WARN(condition, format...) ({ \
134 __WARN_printf(TAINT_WARN, format); \
139 #define WARN_TAINT(condition, taint, format...) ({ \
142 __WARN_printf(taint, format); \
151 #define WARN_ONCE(condition, format...) \
152 DO_ONCE_LITE_IF(condition, WARN, 1, format)
154 #define WARN_TAINT_ONCE(condition, taint, format...) \
155 DO_ONCE_LITE_IF(condition, WARN_TAINT, 1, taint, format)
[all...]
/linux-master/tools/perf/ui/
H A Dutil.h17 int (*error)(const char *format, va_list args);
18 int (*warning)(const char *format, va_list args);
/linux-master/Documentation/networking/device_drivers/atm/
H A Dcxacru-cf.py27 # The original binary format is a packed list of le32 values.
40 sys.stderr.write("Error: read {0} not 4 bytes\n".format(len(buf)))
45 sys.stdout.write("{0:x}={1}".format(i, struct.unpack("<I", buf)[0]))
/linux-master/drivers/scsi/esas2r/
H A Desas2r_log.c106 #pragma GCC diagnostic ignored "-Wsuggest-attribute=format"
110 * the master logging function. this function will format the message as
116 * @param [in] format the formatting string for the message
123 const char *format,
141 * format the level onto the beginning of the string and do
160 retval = vsnprintf(buffer, buflen, format, args);
184 * @param [in] format the formating string for the message
189 int esas2r_log(const long level, const char *format, ...) argument
194 va_start(args, format);
196 retval = esas2r_log_master(level, NULL, format, arg
121 esas2r_log_master(const long level, const struct device *dev, const char *format, va_list args) argument
214 esas2r_log_dev(const long level, const struct device *dev, const char *format, ...) argument
[all...]
/linux-master/tools/testing/selftests/bpf/
H A Dtest_maps.h9 #define CHECK(condition, tag, format...) ({ \
13 printf(format); \
/linux-master/drivers/gpu/drm/imx/dcss/
H A Ddcss-plane.c71 u32 format,
76 switch (format) {
104 static bool dcss_plane_can_rotate(const struct drm_format_info *format, argument
111 if (!format->is_yuv && linear_format)
114 else if (!format->is_yuv &&
119 else if (format->is_yuv && linear_format &&
120 (format->format == DRM_FORMAT_NV12 ||
121 format->format
70 dcss_plane_format_mod_supported(struct drm_plane *plane, u32 format, u64 modifier) argument
220 const struct drm_format_info *format = fb->format; local
[all...]
/linux-master/drivers/mtd/
H A Dsm_ftl.h71 #define sm_printk(format, ...) \
72 printk(KERN_WARNING "sm_ftl" ": " format "\n", ## __VA_ARGS__)
74 #define dbg(format, ...) \
76 printk(KERN_DEBUG "sm_ftl" ": " format "\n", ## __VA_ARGS__)
78 #define dbg_verbose(format, ...) \
80 printk(KERN_DEBUG "sm_ftl" ": " format "\n", ## __VA_ARGS__)
/linux-master/include/net/
H A Dnet_debug.h12 const char *format, ...);
14 void netdev_emerg(const struct net_device *dev, const char *format, ...);
16 void netdev_alert(const struct net_device *dev, const char *format, ...);
18 void netdev_crit(const struct net_device *dev, const char *format, ...);
20 void netdev_err(const struct net_device *dev, const char *format, ...);
22 void netdev_warn(const struct net_device *dev, const char *format, ...);
24 void netdev_notice(const struct net_device *dev, const char *format, ...);
26 void netdev_info(const struct net_device *dev, const char *format, ...);
55 #define netdev_dbg(__dev, format, args...) \
57 dynamic_netdev_dbg(__dev, format, ##arg
[all...]
/linux-master/drivers/hwmon/pmbus/
H A Dxdpe152c4.c19 .format[PSC_VOLTAGE_IN] = linear,
20 .format[PSC_VOLTAGE_OUT] = linear,
21 .format[PSC_TEMPERATURE] = linear,
22 .format[PSC_CURRENT_IN] = linear,
23 .format[PSC_CURRENT_OUT] = linear,
24 .format[PSC_POWER] = linear,
H A Dir36021.c16 .format[PSC_VOLTAGE_IN] = linear,
17 .format[PSC_VOLTAGE_OUT] = linear,
18 .format[PSC_CURRENT_IN] = linear,
19 .format[PSC_CURRENT_OUT] = linear,
20 .format[PSC_POWER] = linear,
21 .format[PSC_TEMPERATURE] = linear,
/linux-master/drivers/media/dvb-frontends/
H A Dstv6110x_priv.h20 #define dprintk(__y, __z, format, arg...) do { \
23 printk(KERN_ERR "%s: " format "\n", __func__, ##arg); \
25 printk(KERN_NOTICE "%s: " format "\n", __func__, ##arg); \
27 printk(KERN_INFO "%s: " format "\n", __func__, ##arg); \
29 printk(KERN_DEBUG "%s: " format "\n", __func__, ##arg); \
32 printk(format, ##arg); \
/linux-master/drivers/media/test-drivers/vimc/
H A Dvimc-capture.c19 struct v4l2_pix_format format; member in struct:vimc_capture_device
72 *fmt = vcapture->format;
80 f->fmt.pix = vcapture->format;
88 struct v4l2_pix_format *format = &f->fmt.pix; local
91 format->width = clamp_t(u32, format->width, VIMC_FRAME_MIN_WIDTH,
93 format->height = clamp_t(u32, format->height, VIMC_FRAME_MIN_HEIGHT,
97 vpix = vimc_pix_map_by_pixelformat(format->pixelformat);
99 format
[all...]
/linux-master/drivers/media/platform/renesas/vsp1/
H A Dvsp1_sru.c127 struct v4l2_mbus_framefmt *format; local
134 format = vsp1_entity_get_pad_format(&sru->entity, state, SRU_PAD_SINK);
138 if (fse->index || fse->code != format->code) {
149 fse->min_width = format->width;
150 fse->min_height = format->height;
151 if (format->width <= SRU_MAX_SIZE / 2 &&
152 format->height <= SRU_MAX_SIZE / 2) {
153 fse->max_width = format->width * 2;
154 fse->max_height = format->height * 2;
156 fse->max_width = format
170 struct v4l2_mbus_framefmt *format; local
224 struct v4l2_mbus_framefmt *format; local
[all...]
/linux-master/arch/s390/tools/
H A Dgen_opcode_table.c19 char **format; member in struct:insn_type
27 char format[STRING_SIZE_MAX]; member in struct:insn
39 char *format; member in struct:insn_format
51 * Table of instruction format types. Each opcode is defined with at
54 * The byte member of each instruction format type entry defines
59 * The format array defines all instruction formats (as defined in the
70 .format = (char *[]) {
85 .format = (char *[]) {
95 .format = (char *[]) {
110 .format
132 insn_format_to_type(char *format) argument
182 char *format; local
[all...]
/linux-master/sound/firewire/oxfw/
H A Doxfw-proc.c15 u8 *format; local
29 format = oxfw->rx_stream_formats[i];
30 if (format == NULL)
33 err = snd_oxfw_stream_parse_format(format, &formation);
59 format = oxfw->tx_stream_formats[i];
60 if (format == NULL)
63 err = snd_oxfw_stream_parse_format(format, &formation);
/linux-master/drivers/gpu/drm/omapdrm/
H A Domap_fb.c54 const struct drm_format_info *format; member in struct:omap_framebuffer
85 const struct drm_format_info *format, int n, int x, int y)
92 + (x * format->cpp[n] / (n == 0 ? 1 : format->hsub))
93 + (y * fb->pitches[n] / (n == 0 ? 1 : format->vsub));
141 const struct drm_format_info *format = omap_fb->format; local
144 info->fourcc = fb->format->format;
172 if (fb->format
84 get_linear_addr(struct drm_framebuffer *fb, const struct drm_format_info *format, int n, int x, int y) argument
370 const struct drm_format_info *format = NULL; local
[all...]
/linux-master/tools/testing/selftests/tc-testing/plugin-lib/
H A DnsPlugin.py48 f = open('/run/netns/{}'.format(ns))
58 print('{}.pre_case'.format(self.sub_class))
67 print('{}.post_case'.format(self.sub_class))
76 print('{}.post_suite'.format(self.sub_class))
82 print('_exec_cmd: command "{}"'.format(cmd))
92 print('{}.adjust_command'.format(self.sub_class))
101 print('adjust_command: stage is {}; inserting netns stuff in command [{}] list [{}]'.format(stage, command, cmdlist))
115 print('adjust_command: return command [{}]'.format(command))
125 print('{}._nl_ns_create'.format(self.sub_class))
167 cmds.append(self._replace_keywords('netns add {}'.format(n
[all...]
/linux-master/drivers/gpu/drm/tegra/
H A Dplane.c64 copy->format = state->format;
108 uint32_t format,
111 const struct drm_format_info *info = drm_format_info(format);
145 for (i = 0; i < state->base.fb->format->num_planes; i++) {
193 for (i = 0; i < state->base.fb->format->num_planes; i++) {
246 fmt = state->fb->format;
250 * Note that real memory bandwidth vary depending on format and
326 int tegra_plane_format(u32 fourcc, u32 *format, u32 *swap) argument
334 *format
107 tegra_plane_format_mod_supported(struct drm_plane *plane, uint32_t format, uint64_t modifier) argument
476 tegra_plane_format_is_indexed(unsigned int format) argument
489 tegra_plane_format_is_yuv(unsigned int format, unsigned int *planes, unsigned int *bpc) argument
540 __drm_format_has_alpha(u32 format) argument
593 unsigned int format; local
[all...]
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-common.c234 const struct v4l2_format_info *v4l2_format_info(u32 format) argument
238 { .format = V4L2_PIX_FMT_BGR24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
239 { .format = V4L2_PIX_FMT_RGB24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
240 { .format = V4L2_PIX_FMT_HSV24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
241 { .format = V4L2_PIX_FMT_BGR32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
242 { .format = V4L2_PIX_FMT_XBGR32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
243 { .format = V4L2_PIX_FMT_BGRX32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
244 { .format = V4L2_PIX_FMT_RGB32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
245 { .format = V4L2_PIX_FMT_XRGB32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
246 { .format
[all...]
/linux-master/tools/testing/selftests/tc-testing/
H A DTdcResults.py35 self.errormsg = '{}\n{}'.format(self.errormsg, errormsg)
45 self.failmsg = '{}\n{}'.format(self.failmsg, failmsg)
92 ftap += '1..{}\n'.format(self.count_tests())
97 ftap += 'ok {} {} - {}'.format(str(index), t.test_id, t.test_name)
99 ftap += ' # skipped - {}\n'.format(t.errormsg)
104 ftap += '\n\t\t{}'.format(step)
105 ftap += '\n\t{}'.format(t.failmsg)
113 xunit += '\t<testsuite tests=\"{}\" skips=\"{}\">\n'.format(self.count_tests(), self.count_skips())
115 xunit += '\t\t<testcase classname=\"{}\" '.format(escape(t.test_id))
116 xunit += 'name=\"{}\">\n'.format(escap
[all...]

Completed in 397 milliseconds

1234567891011>>