Searched refs:format (Results 1 - 25 of 1968) sorted by last modified time

1234567891011>>

/linux-master/sound/soc/sof/
H A Dipc3-pcm.c82 /* format */
234 /* read format from topology */
248 dev_err(component->dev, "No available DAI format!\n");
314 switch (private->dai_config->afe.format) {
325 dev_err(component->dev, "Not available format!\n");
/linux-master/sound/soc/intel/boards/
H A Dbytcr_rt5640.c1485 dev_err(rtd->dev, "can't set format to I2S, err %d\n", ret);
1714 /* format specified: 2 64-bit integers */
1715 struct acpi_buffer format = {sizeof("NN"), "NN"}; local
1725 pkg_ctx.format = &format;
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn20/
H A Ddcn20_resource.c1945 /*420 format workaround*/
2215 enum surface_pixel_format surf_pix_format = plane_state->format;
/linux-master/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c2404 if (u->plane_info->format != u->surface->format) {
2436 if (resource_pixel_format_to_bpp(u->plane_info->format) !=
2437 resource_pixel_format_to_bpp(u->surface->format)) {
2581 enum surface_pixel_format format = SURFACE_PIXEL_FORMAT_GRPH_BEGIN; local
2584 format = u->plane_info->format;
2586 format = u->surface->format;
2588 if (dce_use_lut(format))
[all...]
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c297 * for now parse it back into reg-format
5010 const enum surface_pixel_format format,
5018 if (format < SURFACE_PIXEL_FORMAT_VIDEO_BEGIN)
5068 switch (fb->format->format) {
5070 plane_info->format =
5074 plane_info->format = SURFACE_PIXEL_FORMAT_GRPH_RGB565;
5078 plane_info->format = SURFACE_PIXEL_FORMAT_GRPH_ARGB8888;
5082 plane_info->format = SURFACE_PIXEL_FORMAT_GRPH_ARGB2101010;
5086 plane_info->format
5009 fill_plane_color_attributes(const struct drm_plane_state *plane_state, const enum surface_pixel_format format, enum dc_color_space *color_space) argument
[all...]
/linux-master/drivers/base/regmap/
H A Dregmap.c135 if (map->format.format_write)
149 if (!map->format.format_write && !regmap_readable(map, reg))
761 map->format.reg_bytes = DIV_ROUND_UP(config->reg_bits, 8);
762 map->format.pad_bytes = config->pad_bits / 8;
763 map->format.reg_shift = config->reg_shift;
764 map->format.val_bytes = DIV_ROUND_UP(config->val_bits, 8);
765 map->format.buf_size = DIV_ROUND_UP(config->reg_bits +
859 map->format.format_write = regmap_format_2_6_write;
869 map->format.format_write = regmap_format_4_12_write;
879 map->format
[all...]
/linux-master/fs/smb/client/
H A Dcifspdu.h552 struct { /* request format */
568 } __attribute__((packed)) req; /* NTLM request format (with
571 struct { /* request format */
591 } __attribute__((packed)) req_no_secext; /* NTLM request format (without
594 struct { /* default (NTLM) response format */
609 struct { /* request format */
626 } __attribute__((packed)) old_req; /* pre-NTLM (LANMAN2.1) req format */
628 struct { /* default (NTLM) response format */
641 /* format of NLTMv2 Response ie "case sensitive password" hash when NTLMv2 */
926 /* format o
2394 __le16 format; member in struct:file_compression_info
[all...]
/linux-master/arch/x86/kernel/
H A Dsev-shared.c21 #define WARN(condition, format...) (!!(condition))
237 /* Fill in protocol and format specifiers */
/linux-master/tools/net/ynl/lib/
H A Dynl.py115 format = cls.type_formats[attr_type]
117 return format.big if byte_order == "big-endian" \
118 else format.little
119 return format.native
122 format = self.get_format(attr_type, byte_order)
123 return format.unpack(self.raw)[0]
129 format = self.get_format(real_type, byte_order)
130 return format.unpack(self.raw)[0]
139 format = self.get_format(type)
140 return [ x[0] for x in format
[all...]
/linux-master/drivers/soc/mediatek/
H A Dmtk-svs.c1966 int format[6], x_roomt[6], o_vtsmcu[5], o_vtsabb, tb_roomt = 0; local
2068 format[0] = (o_vtsmcu[0] + 3350 - oe);
2069 format[1] = (o_vtsmcu[1] + 3350 - oe);
2070 format[2] = (o_vtsmcu[2] + 3350 - oe);
2071 format[3] = (o_vtsmcu[3] + 3350 - oe);
2072 format[4] = (o_vtsmcu[4] + 3350 - oe);
2073 format[5] = (o_vtsabb + 3350 - oe);
2076 x_roomt[i] = (((format[i] * 10000) / 4096) * 10000) / gain;
/linux-master/drivers/gpu/drm/
H A Ddrm_gem_atomic_helper.c161 for (i = 0; i < state->fb->format->num_planes; ++i) {
/linux-master/drivers/acpi/
H A Dcppc_acpi.c379 struct acpi_buffer format = {sizeof("NNNNN"), "NNNNN"}; local
403 &format, &state);
/linux-master/fs/bcachefs/
H A Djournal_io.c330 if (journal_entry_err_on(k->k.format != KEY_FORMAT_CURRENT,
333 "bad format %u", k->k.format)) {
H A Dbtree_update_interior.c156 /* Calculate ideal packed bkey format for new btree nodes: */
201 * bch2_btree_node_format_fits - check if we could rewrite node with a new format
206 * @new_f: bkey format to translate keys to
210 * Assumes all keys will successfully pack with the new format.
216 size_t u64s = btree_node_u64s_with_format(nr, &b->format, new_f);
448 struct bkey_format format = bch2_btree_calc_format(b); local
451 * The keys might expand with the new format - if they wouldn't fit in
452 * the btree node anymore, use the old format for now:
454 if (!bch2_btree_node_format_fits(as->c, b, b->nr, &format))
455 format
1450 struct bkey_format_state format[2]; local
[all...]
H A Dbtree_types.h84 struct bkey_format format; member in struct:btree
H A Dbtree_io.c397 &dst->format,
804 btree_err_on(bch2_bkey_format_invalid(c, &bn->format, write, &buf1),
808 "invalid bkey format: %s\n %s", buf1.buf,
810 bch2_bkey_format_to_text(&buf2, &bn->format), buf2.buf));
815 &bn->format);
840 if (k->format > KEY_FORMAT_CURRENT)
843 if (!bkeyp_u64s_valid(&b->format, k))
880 if (btree_err_on(k->format > KEY_FORMAT_CURRENT,
884 "invalid bkey format %u", k->format))
[all...]
H A Dbcachefs_format.h60 * The various btrees share a common format for the key - so as to avoid
66 * value, and a format field indicating whether the key is packed or not (and
71 * be generous with field sizes in the common part of the key format (64 bit
202 /* Format of key (0 for format local to btree node) */
204 __u8 format:7, member in struct:bkey
208 format:7; member in struct:bkey
247 * bkey code will work on keys in any packed format, the in-memory
266 /* Format of key (0 for format local to btree node) */
269 * XXX: next incompat on disk format change, switch format an
274 __u8 format:7, member in struct:bkey_packed
278 format:7; member in struct:bkey_packed
1606 struct bkey_format format; member in struct:btree_node
[all...]
/linux-master/drivers/usb/gadget/function/
H A Df_ncm.c430 * and switch pointers to the structures when the format is changed.
756 uint16_t format; local
760 format = (ncm->parser_opts == &ndp16_opts) ? 0x0000 : 0x0001;
761 put_unaligned_le16(format, req->buf);
763 VDBG(cdev, "Host asked NTB FORMAT, sending %d\n", format);
1766 /* export host's Ethernet address in CDC format */
/linux-master/drivers/android/
H A Dbinder.c137 static __printf(2, 3) void binder_debug(int mask, const char *format, ...) argument
143 va_start(args, format);
145 vaf.fmt = format;
154 static __printf(1, 2) void binder_user_error(const char *format, ...) argument
160 va_start(args, format);
162 vaf.fmt = format;
/linux-master/tools/testing/selftests/
H A Dkselftest.h86 #define __printf(a, b) __attribute__((format(printf, a, b)))
/linux-master/tools/arch/x86/include/uapi/asm/
H A Dkvm.h173 __u8 ftwx; /* in fxsave format */
494 __u16 format; member in struct:kvm_nested_state
/linux-master/net/core/
H A Ddev.c1046 * @name: name format string
1049 * Passed a format string - eg "lt%d" it will try and find a suitable
1136 * @name: name format string
1138 * Passed a format string - eg "lt%d" it will try and find a suitable
1165 * @newname: name (or format string) must be at least IFNAMSIZ
1167 * Change name of a device, can pass format strings "eth%d".
8756 * in the userspace exported format.
10404 * and expands the device name if you passed a format string to
10809 * @name: device name format string
11521 const char *format,
11520 netdev_printk(const char *level, const struct net_device *dev, const char *format, ...) argument
[all...]
/linux-master/net/bridge/
H A Dbr_private.h628 #define br_printk(level, br, format, args...) \
629 printk(level "%s: " format, (br)->dev->name, ##args)
631 #define br_err(__br, format, args...) \
632 br_printk(KERN_ERR, __br, format, ##args)
633 #define br_warn(__br, format, args...) \
634 br_printk(KERN_WARNING, __br, format, ##args)
635 #define br_notice(__br, format, args...) \
636 br_printk(KERN_NOTICE, __br, format, ##args)
637 #define br_info(__br, format, args...) \
638 br_printk(KERN_INFO, __br, format, ##arg
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dsd.c11 #define sd_info(__dev, format, ...) \
12 dev_info((__dev)->device, "Socket-Direct: " format, ##__VA_ARGS__)
13 #define sd_warn(__dev, format, ...) \
14 dev_warn((__dev)->device, "Socket-Direct: " format, ##__VA_ARGS__)
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_kms.c1299 enum SVGA3dSurfaceFormat format; local
1314 "unsupported pixel format %p4cc / modifier 0x%llx\n",
1335 format = SVGA3D_A8R8G8B8;
1338 format = SVGA3D_X8R8G8B8;
1341 format = SVGA3D_R5G6B5;
1344 format = SVGA3D_A1R5G5B5;
1347 DRM_ERROR("Invalid pixel format: %p4cc\n",
1353 * For DX, surface format validation is done when surface->scanout
1356 if (!has_sm4_context(dev_priv) && format != surface->metadata.format) {
1440 uint32_t format; local
[all...]

Completed in 580 milliseconds

1234567891011>>