Searched refs:format (Results 26 - 50 of 1968) sorted by relevance

1234567891011>>

/linux-master/tools/build/feature/
H A Dtest-libbfd.c4 extern int printf(const char *format, ...);
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_formats.h13 * dpu_get_dpu_format_ext() - Returns dpu format structure pointer.
14 * @format: DRM FourCC Code
15 * @modifiers: format modifier array from client, one per plane
18 const uint32_t format,
24 * dpu_find_format - validate if the pixel format is supported
25 * @format: dpu format
29 * Return: false if not valid format, true on success
31 static inline bool dpu_find_format(u32 format, const u32 *supported_formats, argument
38 if (format
[all...]
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_crtc_state_dump.h16 const char *intel_output_format_name(enum intel_output_format format);
/linux-master/tools/testing/selftests/tc-testing/
H A DTdcPlugin.py6 print(' -- {}.__init__'.format(self.sub_class))
13 print(' -- {}.pre_suite'.format(self.sub_class))
19 print(' -- {}.post_suite'.format(self.sub_class))
24 print(' -- {}.pre_case'.format(self.sub_class))
31 print(' -- {}.post_case'.format(self.sub_class))
36 print(' -- {}.pre_execute'.format(self.sub_class))
41 print(' -- {}.post_execute'.format(self.sub_class))
46 print(' -- {}.adjust_command {}'.format(self.sub_class, stage))
74 print(' -- {}.check_args'.format(self.sub_class))
/linux-master/drivers/staging/media/atomisp/pci/
H A Dia_css_mipi.h32 * @param[in] format The frame (MIPI) format.
38 * Calculate the size of a mipi frame, based on the resolution and format.
43 const enum atomisp_input_format format,
/linux-master/drivers/gpu/drm/amd/display/dc/basics/
H A Dcustom_float.c30 const struct custom_float_format *format,
35 uint32_t exp_offset = (1 << (format->exponenta_bits - 1)) - 1;
38 dc_fixpt_from_fraction((1LL << (format->mantissa_bits + 1)) - 1,
39 1LL << format->mantissa_bits);
51 *negative = format->sign;
93 mantiss = dc_fixpt_shl(mantiss, format->mantissa_bits);
100 static bool setup_custom_float(const struct custom_float_format *format, argument
115 (1 << (format->mantissa_bits + 1)) - 1;
118 (1 << (format->exponenta_bits + 1)) - 1;
132 while (i < format
29 build_custom_float(struct fixed31_32 value, const struct custom_float_format *format, bool *negative, uint32_t *mantissa, uint32_t *exponenta) argument
158 convert_to_custom_float_format(struct fixed31_32 value, const struct custom_float_format *format, uint32_t *result) argument
[all...]
/linux-master/arch/powerpc/boot/
H A Dstdio.h11 extern int printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
16 __attribute__((format(printf, 2, 3)));
/linux-master/drivers/pci/hotplug/
H A Drpaphp.h36 #define dbg(format, arg...) \
39 printk(KERN_DEBUG "%s: " format, \
42 #define err(format, arg...) printk(KERN_ERR "%s: " format, MY_NAME, ## arg)
43 #define info(format, arg...) printk(KERN_INFO "%s: " format, MY_NAME, ## arg)
44 #define warn(format, arg...) printk(KERN_WARNING "%s: " format, MY_NAME, ## arg)
/linux-master/drivers/gpu/drm/renesas/shmobile/
H A Dshmob_drm_kms.h26 #define shmob_drm_format_is_yuv(format) ((format)->lddfr & LDDFR_CC)
/linux-master/drivers/usb/atm/
H A Dusbatm.h29 #define usb_err(instance, format, arg...) \
30 dev_err(&(instance)->usb_intf->dev , format , ## arg)
31 #define usb_info(instance, format, arg...) \
32 dev_info(&(instance)->usb_intf->dev , format , ## arg)
33 #define usb_warn(instance, format, arg...) \
34 dev_warn(&(instance)->usb_intf->dev , format , ## arg)
35 #define usb_dbg(instance, format, arg...) \
36 dev_dbg(&(instance)->usb_intf->dev , format , ## arg)
39 #define atm_printk(level, instance, format, arg...) \
40 printk(level "ATM dev %d: " format , \
[all...]
/linux-master/drivers/hwmon/pmbus/
H A Dmax20751.c17 .format[PSC_VOLTAGE_IN] = linear,
18 .format[PSC_VOLTAGE_OUT] = vid,
20 .format[PSC_TEMPERATURE] = linear,
21 .format[PSC_CURRENT_OUT] = linear,
22 .format[PSC_POWER] = linear,
/linux-master/drivers/staging/media/omap4iss/
H A Diss_ipipe.c85 struct v4l2_mbus_framefmt *format; local
88 format = &ipipe->formats[IPIPE_PAD_SINK];
101 (format->height - 2) & IPIPE_SRC_VSZ_MASK);
103 (format->width - 1) & IPIPE_SRC_HSZ_MASK);
115 format = &ipipe->formats[IPIPE_PAD_SOURCE_VP];
189 * ipipe_try_format - Try video format on a pad
202 struct v4l2_mbus_framefmt *format; local
225 format = __ipipe_get_format(ipipe, sd_state, IPIPE_PAD_SINK,
227 memcpy(fmt, format, sizeof(*fmt));
240 * ipipe_enum_mbus_code - Handle pixel format enumeratio
278 struct v4l2_mbus_framefmt format; local
317 struct v4l2_mbus_framefmt *format; local
341 struct v4l2_mbus_framefmt *format; local
389 struct v4l2_subdev_format format; local
[all...]
H A Diss_ipipeif.c125 struct v4l2_mbus_framefmt *format; local
131 format = &ipipeif->formats[IPIPEIF_PAD_SINK];
137 /* Select ISIF/IPIPEIF input format */
138 switch (format->code) {
182 info = omap4iss_video_format_info(format->code);
195 (format->width - 1) & ISIF_LNH_MASK);
197 (format->height - 1) & ISIF_LNV_MASK);
201 format->height - 1);
204 format = &ipipeif->formats[IPIPEIF_PAD_SOURCE_ISIF_SF];
369 * ipipeif_try_format - Try video format o
381 struct v4l2_mbus_framefmt *format; local
451 struct v4l2_mbus_framefmt *format; local
486 struct v4l2_mbus_framefmt format; local
525 struct v4l2_mbus_framefmt *format; local
549 struct v4l2_mbus_framefmt *format; local
609 struct v4l2_subdev_format format; local
[all...]
/linux-master/drivers/memstick/host/
H A Dr592.h157 #define message(format, ...) \
158 printk(KERN_INFO DRV_NAME ": " format "\n", ## __VA_ARGS__)
160 #define __dbg(level, format, ...) \
164 ": " format "\n", ## __VA_ARGS__); \
168 #define dbg(format, ...) __dbg(1, format, ## __VA_ARGS__)
169 #define dbg_verbose(format, ...) __dbg(2, format, ## __VA_ARGS__)
170 #define dbg_reg(format, ...) __dbg(3, format, ## __VA_ARGS_
[all...]
/linux-master/tools/objtool/include/objtool/
H A Dwarn.h44 #define WARN(format, ...) \
46 "%s: warning: objtool: " format "\n", \
49 #define WARN_FUNC(format, sec, offset, ...) \
52 WARN("%s: " format, _str, ##__VA_ARGS__); \
56 #define WARN_INSN(insn, format, ...) \
60 WARN_FUNC(format, _insn->sec, _insn->offset, \
66 #define BT_INSN(insn, format, ...) \
71 WARN(" %s: " format, _str, ##__VA_ARGS__); \
76 #define WARN_ELF(format, ...) \
77 WARN(format "
[all...]
/linux-master/scripts/gdb/linux/
H A Dtimerlist.py38 text = " #{}: <{}>, {}, ".format(idx, timer, function)
39 text += "S:{:02x}\n".format(int(timer['state']))
40 text += " # expires at {}-{} nsecs [in {} to {} nsecs]\n".format(
55 text = " .base: {}\n".format(base.address)
56 text += " .index: {}\n".format(base['index'])
58 text += " .resolution: {} nsecs\n".format(constants.LX_hrtimer_resolution)
60 text += " .get_time: {}\n".format(base['get_time'])
62 text += " .offset: {} nsecs\n".format(base['offset'])
74 text = "cpu: {}\n".format(cpu)
76 text += " clock {}:\n".format(
[all...]
/linux-master/net/bluetooth/
H A Dlib.c244 * @format: Message's format string
246 void bt_info(const char *format, ...) argument
251 va_start(args, format);
253 vaf.fmt = format;
264 * @format: Message's format string
266 void bt_warn(const char *format, ...) argument
271 va_start(args, format);
273 vaf.fmt = format;
286 bt_err(const char *format, ...) argument
319 bt_dbg(const char *format, ...) argument
346 bt_warn_ratelimited(const char *format, ...) argument
369 bt_err_ratelimited(const char *format, ...) argument
[all...]
/linux-master/tools/perf/util/
H A Dpmu.y2 %parse-param {void *format}
27 static void perf_pmu_error(void *format, void *scanner, const char *msg);
57 format: label
58 format format_term
65 perf_pmu_format__set_value(format, PERF_PMU_FORMAT_VALUE_CONFIG, $3);
70 perf_pmu_format__set_value(format, $2, $4);
97 static void perf_pmu_error(void *format __maybe_unused,
/linux-master/tools/perf/ui/gtk/
H A Dutil.c31 static int perf_gtk__error(const char *format, va_list args) argument
37 vasprintf(&msg, format, args) < 0) {
39 vfprintf(stderr, format, args);
57 static int perf_gtk__warning_info_bar(const char *format, va_list args) argument
62 vasprintf(&msg, format, args) < 0) {
64 vfprintf(stderr, format, args);
78 static int perf_gtk__warning_statusbar(const char *format, va_list args) argument
83 vasprintf(&msg, format, args) < 0) {
85 vfprintf(stderr, format, args);
/linux-master/drivers/media/platform/renesas/vsp1/
H A Dvsp1_drm.c69 struct v4l2_subdev_format format = { local
87 format.pad = prev_pad;
89 ret = v4l2_subdev_call(&prev->subdev, pad, get_fmt, NULL, &format);
93 format.pad = UIF_PAD_SINK;
95 ret = v4l2_subdev_call(&uif->subdev, pad, set_fmt, NULL, &format);
99 dev_dbg(vsp1->dev, "%s: set format %ux%u (%x) on UIF sink\n",
100 __func__, format.format.width, format.format
124 struct v4l2_subdev_format format = { local
232 struct v4l2_subdev_format format = { local
484 struct v4l2_subdev_format format = { local
[all...]
H A Dvsp1_hsit.c70 struct v4l2_mbus_framefmt *format; local
81 format = vsp1_entity_get_pad_format(&hsit->entity, state, fmt->pad);
85 * The HST and HSI output format code and resolution can't be
88 fmt->format = *format;
92 format->code = hsit->inverse ? MEDIA_BUS_FMT_AHSV8888_1X32
94 format->width = clamp_t(unsigned int, fmt->format.width,
96 format->height = clamp_t(unsigned int, fmt->format
[all...]
/linux-master/sound/core/oss/
H A Droute.c28 snd_pcm_uframes_t frames, snd_pcm_format_t format)
33 snd_pcm_area_silence(&dvp->area, 0, frames, format);
41 snd_pcm_uframes_t frames, snd_pcm_format_t format)
44 snd_pcm_area_copy(&src_channel->area, 0, &dst_channel->area, 0, frames, format);
54 snd_pcm_format_t format; local
66 format = plugin->dst_format.format;
71 copy_area(src_channels, dvp, frames, format);
78 copy_area(src_channels, dvp, frames, format);
83 zero_areas(dvp, ndsts - dst, frames, format);
27 zero_areas(struct snd_pcm_plugin_channel *dvp, int ndsts, snd_pcm_uframes_t frames, snd_pcm_format_t format) argument
39 copy_area(const struct snd_pcm_plugin_channel *src_channel, struct snd_pcm_plugin_channel *dst_channel, snd_pcm_uframes_t frames, snd_pcm_format_t format) argument
[all...]
/linux-master/drivers/media/platform/xilinx/
H A Dxilinx-vip.c48 * xvip_get_format_by_code - Retrieve format information for a media bus code
49 * @code: the format media bus code
51 * Return: a pointer to the format information structure corresponding to the
52 * given V4L2 media bus format @code, or ERR_PTR if no corresponding format can
60 const struct xvip_video_format *format = &xvip_video_formats[i]; local
62 if (format->code == code)
63 return format;
71 * xvip_get_format_by_fourcc - Retrieve format information for a 4CC
72 * @fourcc: the format
83 const struct xvip_video_format *format = &xvip_video_formats[i]; local
124 const struct xvip_video_format *format = &xvip_video_formats[i]; local
149 xvip_set_format_size(struct v4l2_mbus_framefmt *format, const struct v4l2_subdev_format *fmt) argument
252 struct v4l2_mbus_framefmt *format; local
290 struct v4l2_mbus_framefmt *format; local
[all...]
/linux-master/sound/usb/
H A Dformat.h6 struct audioformat *fp, u64 format,
/linux-master/Documentation/admin-guide/aoe/
H A Dstatus.sh8 format="%8s\t%8s\t%8s\n"
12 # printf "$format" device mac netif state
26 printf "$format" \

Completed in 184 milliseconds

1234567891011>>