Home
last modified time | relevance | path

Searched refs:metadata (Results 1 – 25 of 66) sorted by relevance

123

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_surface.c205 return srf->metadata.num_sizes * sizeof(struct vmw_surface_dma); in vmw_surface_dma_size()
219 return sizeof(struct vmw_surface_define) + srf->metadata.num_sizes * in vmw_surface_define_size()
268 cmd_len = sizeof(cmd->body) + srf->metadata.num_sizes * in vmw_surface_define_encode()
279 cmd->body.surfaceFlags = (SVGA3dSurface1Flags)srf->metadata.flags; in vmw_surface_define_encode()
280 cmd->body.format = srf->metadata.format; in vmw_surface_define_encode()
282 cmd->body.face[i].numMipLevels = srf->metadata.mip_levels[i]; in vmw_surface_define_encode()
286 src_size = srf->metadata.sizes; in vmw_surface_define_encode()
288 for (i = 0; i < srf->metadata.num_sizes; ++i, cmd_size++, src_size++) { in vmw_surface_define_encode()
312 vmw_surface_get_desc(srf->metadata.format); in vmw_surface_dma_encode()
314 for (i = 0; i < srf->metadata.num_sizes; ++i) { in vmw_surface_dma_encode()
[all …]
Dvmwgfx_stdu.c597 dst_pitch = stdu->display_srf->metadata.base_size.width * stdu->cpp; in vmw_stdu_bo_cpu_commit()
1066 new_vfbs->surface->metadata.base_size.width == hdisplay && in vmw_stdu_primary_plane_prepare_fb()
1067 new_vfbs->surface->metadata.base_size.height == vdisplay) in vmw_stdu_primary_plane_prepare_fb()
1075 struct vmw_surface_metadata metadata = {0}; in vmw_stdu_primary_plane_prepare_fb() local
1085 metadata.format = SVGA3D_X8R8G8B8; in vmw_stdu_primary_plane_prepare_fb()
1089 metadata.format = SVGA3D_R5G6B5; in vmw_stdu_primary_plane_prepare_fb()
1093 metadata.format = SVGA3D_P8; in vmw_stdu_primary_plane_prepare_fb()
1101 metadata.mip_levels[0] = 1; in vmw_stdu_primary_plane_prepare_fb()
1102 metadata.num_sizes = 1; in vmw_stdu_primary_plane_prepare_fb()
1103 metadata.scanout = true; in vmw_stdu_primary_plane_prepare_fb()
[all …]
Dvmwgfx_kms.c930 if (unlikely(!surface->metadata.scanout)) in vmw_kms_new_framebuffer_surface()
933 if (unlikely(surface->metadata.mip_levels[0] != 1 || in vmw_kms_new_framebuffer_surface()
934 surface->metadata.num_sizes != 1 || in vmw_kms_new_framebuffer_surface()
935 surface->metadata.base_size.width < mode_cmd->width || in vmw_kms_new_framebuffer_surface()
936 surface->metadata.base_size.height < mode_cmd->height || in vmw_kms_new_framebuffer_surface()
937 surface->metadata.base_size.depth != 1)) { in vmw_kms_new_framebuffer_surface()
966 if (!has_sm4_context(dev_priv) && format != surface->metadata.format) { in vmw_kms_new_framebuffer_surface()
1163 struct vmw_surface_metadata metadata = {0}; in vmw_create_bo_proxy() local
1193 metadata.format = format; in vmw_create_bo_proxy()
1194 metadata.mip_levels[0] = 1; in vmw_create_bo_proxy()
[all …]
/drivers/staging/media/atomisp/pci/runtime/isys/src/
Dvirtual_isys.c37 bool metadata,
55 bool metadata);
119 bool metadata,
124 bool metadata,
141 bool metadata,
176 isys_stream->enable_metadata = isys_stream_descr->metadata.enable; in ia_css_isys_stream_create()
204 if (isys_stream_descr->metadata.enable) { in ia_css_isys_stream_create()
255 if (isys_stream_descr->metadata.enable) { in ia_css_isys_stream_calculate_cfg()
291 bool metadata, in create_input_system_channel() argument
329 metadata ? cfg->metadata.bits_per_pixel : in create_input_system_channel()
[all …]
/drivers/thunderbolt/
Dusb4.c76 u32 *metadata, u8 *status, in usb4_native_switch_op() argument
83 if (metadata) { in usb4_native_switch_op()
84 ret = tb_sw_write(sw, metadata, TB_CFG_SWITCH, ROUTER_CS_25, 1); in usb4_native_switch_op()
115 if (metadata) { in usb4_native_switch_op()
116 ret = tb_sw_read(sw, metadata, TB_CFG_SWITCH, ROUTER_CS_25, 1); in usb4_native_switch_op()
130 static int __usb4_switch_op(struct tb_switch *sw, u16 opcode, u32 *metadata, in __usb4_switch_op() argument
147 ret = cm_ops->usb4_switch_op(sw, opcode, metadata, status, in __usb4_switch_op()
159 return usb4_native_switch_op(sw, opcode, metadata, status, tx_data, in __usb4_switch_op()
164 u32 *metadata, u8 *status) in usb4_switch_op() argument
166 return __usb4_switch_op(sw, opcode, metadata, status, NULL, 0, NULL, 0); in usb4_switch_op()
[all …]
/drivers/md/
Ddm-zoned-target.c50 struct dmz_metadata *metadata; member
135 dmz_start_sect(dmz->metadata, zone) + dmz_blk2sect(chunk_block); in dmz_submit_bio()
173 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_read()
255 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_direct_write()
288 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_buffered_write()
322 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_write()
361 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_discard()
375 dmz_metadata_label(dmz->metadata), in dmz_handle_discard()
401 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_bio()
439 dmz_metadata_label(dmz->metadata), bio_op(bio)); in dmz_handle_bio()
[all …]
Ddm-zoned-reclaim.c15 struct dmz_metadata *metadata; member
62 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_align_wp()
120 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_copy()
200 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_buf()
239 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_seq_data()
284 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_rnd_data()
342 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_empty()
366 struct dmz_metadata *zmd = zrc->metadata; in dmz_do_reclaim()
433 ret = dmz_flush_metadata(zrc->metadata); in dmz_do_reclaim()
448 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_percentage()
[all …]
DMakefile20 dm-thin-pool-y += dm-thin.o dm-thin-metadata.o
21 dm-cache-y += dm-cache-target.o dm-cache-metadata.o dm-cache-policy.o \
26 dm-clone-y += dm-clone-target.o dm-clone-metadata.o
28 dm-zoned-y += dm-zoned-target.o dm-zoned-metadata.o dm-zoned-reclaim.o
/drivers/net/ethernet/google/gve/
Dgve_tx_dqo.c307 struct gve_tx_metadata_dqo *metadata) in gve_extract_tx_metadata_dqo() argument
309 memset(metadata, 0, sizeof(*metadata)); in gve_extract_tx_metadata_dqo()
310 metadata->version = GVE_TX_METADATA_VERSION_DQO; in gve_extract_tx_metadata_dqo()
319 metadata->path_hash = path_hash; in gve_extract_tx_metadata_dqo()
404 const struct gve_tx_metadata_dqo *metadata, in gve_tx_fill_tso_ctx_desc() argument
413 .flex0 = metadata->bytes[0], in gve_tx_fill_tso_ctx_desc()
414 .flex5 = metadata->bytes[5], in gve_tx_fill_tso_ctx_desc()
415 .flex6 = metadata->bytes[6], in gve_tx_fill_tso_ctx_desc()
416 .flex7 = metadata->bytes[7], in gve_tx_fill_tso_ctx_desc()
417 .flex8 = metadata->bytes[8], in gve_tx_fill_tso_ctx_desc()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.h43 #define MLX5_IPSEC_METADATA_MARKER(metadata) (((metadata) >> 31) & 0x1) argument
44 #define MLX5_IPSEC_METADATA_SYNDROM(metadata) (((metadata) >> 24) & GENMASK(6, 0)) argument
45 #define MLX5_IPSEC_METADATA_HANDLE(metadata) ((metadata) & GENMASK(23, 0)) argument
/drivers/nvme/host/
Dioctl.c118 void __user *metadata; in nvme_submit_io() local
142 if (nvme_to_user_ptr(io.metadata)) in nvme_submit_io()
145 metadata = NULL; in nvme_submit_io()
148 metadata = nvme_to_user_ptr(io.metadata); in nvme_submit_io()
155 if ((io.metadata & 3) || !io.metadata) in nvme_submit_io()
173 metadata, meta_len, lower_32_bits(io.slba), NULL, 0); in nvme_submit_io()
226 nvme_to_user_ptr(cmd.metadata), cmd.metadata_len, in nvme_user_cmd()
272 nvme_to_user_ptr(cmd.metadata), cmd.metadata_len, in nvme_user_cmd64()
312 __u64 metadata; member
Dtrace.h59 __field(bool, metadata)
69 __entry->metadata = !!blk_integrity_rq(req);
78 __entry->flags, __entry->metadata,
/drivers/soc/qcom/
Dmdt_loader.c144 void *metadata; in __qcom_mdt_load() local
166 metadata = qcom_mdt_read_metadata(fw, &metadata_len); in __qcom_mdt_load()
167 if (IS_ERR(metadata)) { in __qcom_mdt_load()
168 ret = PTR_ERR(metadata); in __qcom_mdt_load()
174 ret = qcom_scm_pas_init_image(pas_id, metadata, metadata_len); in __qcom_mdt_load()
176 kfree(metadata); in __qcom_mdt_load()
/drivers/nvme/target/
Dtrace.h73 __field(u64, metadata)
86 __entry->metadata = le64_to_cpu(cmd->common.metadata);
95 __entry->flags, __entry->metadata,
/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dingress_ofld.c297 u32 metadata) in mlx5_esw_acl_ingress_vport_bond_update() argument
309 vport->metadata = metadata ? metadata : vport->default_metadata; in mlx5_esw_acl_ingress_vport_bond_update()
319 vport->metadata = vport->default_metadata; in mlx5_esw_acl_ingress_vport_bond_update()
Dofld.h27 u32 metadata);
/drivers/net/wireless/ath/ath10k/
Dhw.c1013 struct bmi_segmented_metadata *metadata; in ath10k_hw_diag_fast_download() local
1037 metadata = (struct bmi_segmented_metadata *)hdr->data; in ath10k_hw_diag_fast_download()
1041 if (left < sizeof(*metadata)) { in ath10k_hw_diag_fast_download()
1047 base_addr = __le32_to_cpu(metadata->addr); in ath10k_hw_diag_fast_download()
1048 base_len = __le32_to_cpu(metadata->length); in ath10k_hw_diag_fast_download()
1049 buf = metadata->data; in ath10k_hw_diag_fast_download()
1050 left -= sizeof(*metadata); in ath10k_hw_diag_fast_download()
1096 metadata = (struct bmi_segmented_metadata *)(buf + base_len); in ath10k_hw_diag_fast_download()
/drivers/staging/media/atomisp/pci/
Dsh_css_sp.h97 struct ia_css_metadata *metadata);
119 struct ia_css_metadata *metadata);
Disp2401_input_system_global.h87 } metadata; member
153 } metadata; member
Dsh_css_sp.c376 if (pipe->metadata.height > 0) { in sh_css_sp_start_isys_copy()
1293 sh_css_sp_group.pipe[thread_id].metadata.width = md_info->resolution.width; in sh_css_sp_init_pipeline()
1294 sh_css_sp_group.pipe[thread_id].metadata.height = md_info->resolution.height; in sh_css_sp_init_pipeline()
1295 sh_css_sp_group.pipe[thread_id].metadata.stride = md_info->stride; in sh_css_sp_init_pipeline()
1296 sh_css_sp_group.pipe[thread_id].metadata.size = md_info->size; in sh_css_sp_init_pipeline()
1299 &sh_css_sp_group.pipe[thread_id].metadata.format); in sh_css_sp_init_pipeline()
1431 struct ia_css_metadata *metadata) in sh_css_update_host2sp_offline_frame() argument
1451 store_sp_array_uint(host_sp_com, offset, metadata ? metadata->address : 0); in sh_css_update_host2sp_offline_frame()
1487 struct ia_css_metadata *metadata) in sh_css_update_host2sp_mipi_metadata() argument
1501 metadata ? metadata->address : 0); in sh_css_update_host2sp_mipi_metadata()
Dia_css_metadata.h71 ia_css_metadata_free(struct ia_css_metadata *metadata);
Dia_css_buffer.h67 struct ia_css_metadata *metadata; /** Sensor metadata. */ member
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c74 kfree(ubo->metadata); in amdgpu_bo_user_destroy()
1160 int amdgpu_bo_set_metadata (struct amdgpu_bo *bo, void *metadata, in amdgpu_bo_set_metadata() argument
1170 kfree(ubo->metadata); in amdgpu_bo_set_metadata()
1171 ubo->metadata = NULL; in amdgpu_bo_set_metadata()
1177 if (metadata == NULL) in amdgpu_bo_set_metadata()
1180 buffer = kmemdup(metadata, metadata_size, GFP_KERNEL); in amdgpu_bo_set_metadata()
1184 kfree(ubo->metadata); in amdgpu_bo_set_metadata()
1186 ubo->metadata = buffer; in amdgpu_bo_set_metadata()
1226 memcpy(buffer, ubo->metadata, ubo->metadata_size); in amdgpu_bo_get_metadata()
Damdgpu_display.c639 uint32_t metadata[10]; /* Something that fits a descriptor + header. */ in extract_render_dcc_offset() local
652 r = amdgpu_bo_get_metadata(rbo, metadata, sizeof(metadata), &size, NULL); in extract_render_dcc_offset()
662 if (size < 40 || metadata[0] != 1) in extract_render_dcc_offset()
667 *offset = ((u64)metadata[9] << 16u) | in extract_render_dcc_offset()
668 ((metadata[8] & 0xFF000000u) >> 16); in extract_render_dcc_offset()
671 *offset = ((u64)metadata[9] << 8u) | in extract_render_dcc_offset()
672 ((u64)(metadata[7] & 0x1FE0000u) << 23); in extract_render_dcc_offset()
/drivers/md/persistent-data/
DMakefile9 dm-space-map-metadata.o \

123