/linux-master/drivers/gpu/drm/tegra/ |
H A D | plane.c | 64 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/tools/testing/selftests/tc-testing/ |
H A D | TdcResults.py | 35 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...] |
/linux-master/drivers/acpi/acpica/ |
H A D | uterror.c | 28 * format - Printf format string + additional args 42 u16 node_flags, const char *format, ...) 56 va_start(arg_list, format); 57 acpi_os_vprintf(format, arg_list); 70 * format - Printf format string + additional args 84 char *pathname, u16 node_flags, const char *format, ...) 98 va_start(arg_list, format); 99 acpi_os_vprintf(format, arg_lis 39 acpi_ut_predefined_warning(const char *module_name, u32 line_number, char *pathname, u16 node_flags, const char *format, ...) argument 82 acpi_ut_predefined_info(const char *module_name, u32 line_number, char *pathname, u16 node_flags, const char *format, ...) argument 124 acpi_ut_predefined_bios_error(const char *module_name, u32 line_number, char *pathname, u16 node_flags, const char *format, ...) argument [all...] |
/linux-master/scripts/gdb/linux/ |
H A D | lists.py | 28 .format(head.type)) 32 .format(head.address)) 51 .format(head.type)) 72 gdb.write("Starting with: {}\n".format(c)) 83 'prev@{p_addr}={p}\n'.format( 92 'current@{current_addr}={current}\n'.format( 101 'next@{n_addr}={n}\n'.format( 110 'current@{current_addr}={current}\n'.format( 118 gdb.write("list is consistent: {} node(s)\n".format(nb))
|
/linux-master/tools/thermal/lib/ |
H A D | log.c | 34 extern void logit(int level, const char *format, ...) argument 38 va_start(args, format); 41 vsyslog(level, format, args); 44 vfprintf(stderr, format, args); 47 vfprintf(stdout, format, args);
|
/linux-master/drivers/gpu/drm/qxl/ |
H A D | qxl_dumb.c | 41 uint32_t pitch, format; local 49 format = SPICE_SURFACE_FMT_16_565; 52 format = SPICE_SURFACE_FMT_32_xRGB; 61 surf.format = format;
|
/linux-master/drivers/hwmon/pmbus/ |
H A D | mp5023.c | 14 .format[PSC_VOLTAGE_IN] = direct, 15 .format[PSC_VOLTAGE_OUT] = direct, 16 .format[PSC_CURRENT_OUT] = direct, 17 .format[PSC_POWER] = direct, 18 .format[PSC_TEMPERATURE] = direct,
|
H A D | ir38064.c | 31 .format[PSC_VOLTAGE_IN] = linear, 32 .format[PSC_VOLTAGE_OUT] = direct, 33 .format[PSC_CURRENT_OUT] = linear, 34 .format[PSC_POWER] = linear, 35 .format[PSC_TEMPERATURE] = linear,
|
H A D | pm6764tr.c | 33 .format[PSC_VOLTAGE_IN] = linear, 34 .format[PSC_VOLTAGE_OUT] = vid, 35 .format[PSC_TEMPERATURE] = linear, 36 .format[PSC_CURRENT_OUT] = linear, 37 .format[PSC_POWER] = linear,
|
H A D | mpq8785.c | 21 info->format[PSC_VOLTAGE_OUT] = linear; 25 info->format[PSC_VOLTAGE_OUT] = direct, 39 .format[PSC_VOLTAGE_IN] = direct, 40 .format[PSC_CURRENT_OUT] = direct, 41 .format[PSC_TEMPERATURE] = direct,
|
H A D | tps40422.c | 17 .format[PSC_VOLTAGE_IN] = linear, 18 .format[PSC_VOLTAGE_OUT] = linear, 19 .format[PSC_TEMPERATURE] = linear,
|
H A D | lt7182s.c | 85 .format[PSC_VOLTAGE_IN] = linear, 86 .format[PSC_VOLTAGE_OUT] = linear, 87 .format[PSC_CURRENT_IN] = linear, 88 .format[PSC_CURRENT_OUT] = linear, 89 .format[PSC_TEMPERATURE] = linear, 90 .format[PSC_POWER] = linear, 143 /* Set data format to IEEE754 if configured */ 148 info->format[PSC_VOLTAGE_IN] = ieee754; 149 info->format[PSC_VOLTAGE_OUT] = ieee754; 150 info->format[PSC_CURRENT_I [all...] |
/linux-master/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_brx.c | 62 * The BRx can't perform format conversion, all sink and source formats must be 63 * identical. We pick the format on the first sink pad (pad 0) and propagate it 110 struct v4l2_mbus_framefmt *format; local 114 /* Default to YUV if the requested format is not supported. */ 121 /* The BRx can't perform format conversion. */ 122 format = vsp1_entity_get_pad_format(&brx->entity, sd_state, 124 fmt->code = format->code; 140 struct v4l2_mbus_framefmt *format; local 151 brx_try_format(brx, state, fmt->pad, &fmt->format); 153 format 223 struct v4l2_mbus_framefmt *format; local 289 struct v4l2_mbus_framefmt *format; local [all...] |
/linux-master/drivers/comedi/drivers/ni_routing/tools/ |
H A D | convert_csv_to_c.py | 20 '\t.family = "{}",'.format(name), 45 lines.append('\t\t[B({})] = {{'.format(D0_sig)) 48 sys.stderr.write('Invalid register format: {}\n'.format(repr(value))) 51 raise RuntimeError('Invalid register values format') 52 lines.append('\t\t\t[B({})]\t= {},'.format(D1_sig, value)) 93 .format(name=name, **indents) ] 100 .format(keyname=keyname, valname=valname, D0_sig=D0_sig, **indents) 103 lines.append( '{I3}{D1_sig},'.format(D1_sig=D1_sig, **indents) ) 104 lines.append( '{I3}0, /* Termination */'.format(**indent [all...] |
/linux-master/tools/testing/selftests/tc-testing/plugin-lib/ |
H A D | scapyPlugin.py | 28 print('{}.post_execute: no scapy info in test case'.format(self.sub_class)) 46 .format(self.sub_class)) 47 print('{}'.format(missing_keys))
|
/linux-master/tools/virtio/linux/ |
H A D | kernel.h | 51 #define __printf(a,b) __attribute__((format(printf,a,b))) 128 #define pr_err(format, ...) fprintf (stderr, format, ## __VA_ARGS__) 130 #define pr_debug(format, ...) fprintf (stderr, format, ## __VA_ARGS__) 132 #define pr_debug(format, ...) do {} while (0) 134 #define dev_err(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS__) 135 #define dev_warn(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS_ [all...] |
/linux-master/drivers/staging/media/atomisp/pci/runtime/frame/interface/ |
H A D | ia_css_frame.h | 41 /* @brief Sets the given format to the frame info 45 * @param[in] format The format to be set to info 49 enum ia_css_frame_format format); 57 * @param[in] format The format to be set to info 64 enum ia_css_frame_format format, 141 unsigned int ia_css_frame_pad_width(unsigned int width, enum ia_css_frame_format format);
|
/linux-master/drivers/gpu/drm/gud/ |
H A D | gud_pipe.c | 52 static size_t gud_xrgb8888_to_r124(u8 *dst, const struct drm_format_info *format, argument 57 unsigned int block_width = drm_format_info_block_width(format, 0); 65 WARN_ON_ONCE(format->char_per_block[0] != 1); 71 len = drm_format_info_min_pitch(format, 0, width) * height; 102 static size_t gud_xrgb8888_to_color(u8 *dst, const struct drm_format_info *format, argument 106 unsigned int block_width = drm_format_info_block_width(format, 0); 117 len = drm_format_info_min_pitch(format, 0, width) * drm_rect_height(rect); 137 switch (format->format) { 155 const struct drm_format_info *format, struc 153 gud_prep_flush(struct gud_device *gdrm, struct drm_framebuffer *fb, const struct iosys_map *src, bool cached_reads, const struct drm_format_info *format, struct drm_rect *rect, struct gud_set_buffer_req *req, struct drm_format_conv_state *fmtcnv_state) argument 269 gud_flush_rect(struct gud_device *gdrm, struct drm_framebuffer *fb, const struct iosys_map *src, bool cached_reads, const struct drm_format_info *format, struct drm_rect *rect, struct drm_format_conv_state *fmtcnv_state) argument 325 const struct drm_format_info *format; local 460 const struct drm_format_info *format = fb->format; local [all...] |
/linux-master/drivers/mtd/nand/raw/ |
H A D | r852.h | 93 /* ECC syndrome format - read from reg #0 will return two copies of these for 145 #define dbg(format, ...) \ 147 pr_debug(format "\n", ## __VA_ARGS__) 149 #define dbg_verbose(format, ...) \ 151 pr_debug(format "\n", ## __VA_ARGS__) 154 #define message(format, ...) \ 155 pr_info(format "\n", ## __VA_ARGS__)
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | vnic.h | 98 #define v_dbg(format, arg...) \ 99 netdev_dbg(vinfo->netdev, format, ## arg) 100 #define v_err(format, arg...) \ 101 netdev_err(vinfo->netdev, format, ## arg) 102 #define v_info(format, arg...) \ 103 netdev_info(vinfo->netdev, format, ## arg)
|
/linux-master/tools/lib/perf/ |
H A D | internal.h | 8 const char *format, ...) 9 __attribute__((format(printf, 2, 3)));
|
/linux-master/drivers/usb/musb/ |
H A D | musb_debug.h | 13 #define yprintk(facility, format, args...) \ 14 do { printk(facility "%s %d: " format , \
|
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | sh_css_stream_format.c | 20 enum atomisp_input_format format) 24 switch (format) { 19 sh_css_stream_format_2_bits_per_subpixel( enum atomisp_input_format format) argument
|
/linux-master/sound/core/ |
H A D | pcm_misc.c | 45 static bool valid_format(snd_pcm_format_t format) argument 47 return (INT)format >= 0 && (INT)format <= (INT)SNDRV_PCM_FORMAT_LAST; 194 /* FIXME: the following format is not defined properly yet */ 258 * snd_pcm_format_signed - Check the PCM format is signed linear 259 * @format: the format to check 261 * Return: 1 if the given PCM format is signed linear, 0 if unsigned 264 int snd_pcm_format_signed(snd_pcm_format_t format) argument 267 if (!valid_format(format)) 283 snd_pcm_format_unsigned(snd_pcm_format_t format) argument 300 snd_pcm_format_linear(snd_pcm_format_t format) argument 313 snd_pcm_format_little_endian(snd_pcm_format_t format) argument 332 snd_pcm_format_big_endian(snd_pcm_format_t format) argument 350 snd_pcm_format_width(snd_pcm_format_t format) argument 369 snd_pcm_format_physical_width(snd_pcm_format_t format) argument 389 snd_pcm_format_size(snd_pcm_format_t format, size_t samples) argument 404 snd_pcm_format_silence_64(snd_pcm_format_t format) argument 424 snd_pcm_format_set_silence(snd_pcm_format_t format, void *data, unsigned int samples) argument [all...] |
/linux-master/drivers/media/platform/renesas/rzg2l-cru/ |
H A D | rzg2l-ip.c | 105 fmt->format = *src_format; 111 if (!rzg2l_cru_ip_code_to_fmt(fmt->format.code)) 114 sink_format->code = fmt->format.code; 117 sink_format->colorspace = fmt->format.colorspace; 118 sink_format->xfer_func = fmt->format.xfer_func; 119 sink_format->ycbcr_enc = fmt->format.ycbcr_enc; 120 sink_format->quantization = fmt->format.quantization; 121 sink_format->width = clamp_t(u32, fmt->format.width, 123 sink_format->height = clamp_t(u32, fmt->format.height, 126 fmt->format [all...] |