Home
last modified time | relevance | path

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

123

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_surface.c202 return srf->metadata.num_sizes * sizeof(struct vmw_surface_dma); in vmw_surface_dma_size()
216 return sizeof(struct vmw_surface_define) + srf->metadata.num_sizes * in vmw_surface_define_size()
265 cmd_len = sizeof(cmd->body) + srf->metadata.num_sizes * in vmw_surface_define_encode()
276 cmd->body.surfaceFlags = (SVGA3dSurface1Flags)srf->metadata.flags; in vmw_surface_define_encode()
277 cmd->body.format = srf->metadata.format; in vmw_surface_define_encode()
279 cmd->body.face[i].numMipLevels = srf->metadata.mip_levels[i]; in vmw_surface_define_encode()
283 src_size = srf->metadata.sizes; in vmw_surface_define_encode()
285 for (i = 0; i < srf->metadata.num_sizes; ++i, cmd_size++, src_size++) { in vmw_surface_define_encode()
309 svga3dsurface_get_desc(srf->metadata.format); in vmw_surface_dma_encode()
311 for (i = 0; i < srf->metadata.num_sizes; ++i) { in vmw_surface_dma_encode()
[all …]
Dvmwgfx_stdu.c593 dst_pitch = stdu->display_srf->metadata.base_size.width * stdu->cpp; in vmw_stdu_bo_cpu_commit()
1061 new_vfbs->surface->metadata.base_size.width == hdisplay && in vmw_stdu_primary_plane_prepare_fb()
1062 new_vfbs->surface->metadata.base_size.height == vdisplay) in vmw_stdu_primary_plane_prepare_fb()
1070 struct vmw_surface_metadata metadata = {0}; in vmw_stdu_primary_plane_prepare_fb() local
1080 metadata.format = SVGA3D_X8R8G8B8; in vmw_stdu_primary_plane_prepare_fb()
1084 metadata.format = SVGA3D_R5G6B5; in vmw_stdu_primary_plane_prepare_fb()
1088 metadata.format = SVGA3D_P8; in vmw_stdu_primary_plane_prepare_fb()
1096 metadata.mip_levels[0] = 1; in vmw_stdu_primary_plane_prepare_fb()
1097 metadata.num_sizes = 1; in vmw_stdu_primary_plane_prepare_fb()
1098 metadata.scanout = true; in vmw_stdu_primary_plane_prepare_fb()
[all …]
Dvmwgfx_kms.c908 if (unlikely(!surface->metadata.scanout)) in vmw_kms_new_framebuffer_surface()
911 if (unlikely(surface->metadata.mip_levels[0] != 1 || in vmw_kms_new_framebuffer_surface()
912 surface->metadata.num_sizes != 1 || in vmw_kms_new_framebuffer_surface()
913 surface->metadata.base_size.width < mode_cmd->width || in vmw_kms_new_framebuffer_surface()
914 surface->metadata.base_size.height < mode_cmd->height || in vmw_kms_new_framebuffer_surface()
915 surface->metadata.base_size.depth != 1)) { in vmw_kms_new_framebuffer_surface()
944 if (!has_sm4_context(dev_priv) && format != surface->metadata.format) { in vmw_kms_new_framebuffer_surface()
1147 struct vmw_surface_metadata metadata = {0}; in vmw_create_bo_proxy() local
1178 metadata.format = format; in vmw_create_bo_proxy()
1179 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/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 …]
DMakefile16 dm-thin-pool-y += dm-thin.o dm-thin-metadata.o
17 dm-cache-y += dm-cache-target.o dm-cache-metadata.o dm-cache-policy.o \
22 dm-clone-y += dm-clone-target.o dm-clone-metadata.o
26 dm-zoned-y += dm-zoned-target.o dm-zoned-metadata.o dm-zoned-reclaim.o
/drivers/thunderbolt/
Dusb4.c95 static int usb4_switch_op_read_metadata(struct tb_switch *sw, u32 *metadata) in usb4_switch_op_read_metadata() argument
97 return tb_sw_read(sw, metadata, TB_CFG_SWITCH, ROUTER_CS_25, 1); in usb4_switch_op_read_metadata()
100 static int usb4_switch_op_write_metadata(struct tb_switch *sw, u32 metadata) in usb4_switch_op_write_metadata() argument
102 return tb_sw_write(sw, &metadata, TB_CFG_SWITCH, ROUTER_CS_25, 1); in usb4_switch_op_write_metadata()
345 u32 metadata; in usb4_switch_drom_read_block() local
348 metadata = (dwords << USB4_DROM_SIZE_SHIFT) & USB4_DROM_SIZE_MASK; in usb4_switch_drom_read_block()
349 metadata |= (dwaddress << USB4_DROM_ADDRESS_SHIFT) & in usb4_switch_drom_read_block()
352 ret = usb4_switch_op_write_metadata(sw, metadata); in usb4_switch_drom_read_block()
512 u32 metadata; in usb4_switch_nvm_sector_size() local
523 ret = usb4_switch_op_read_metadata(sw, &metadata); in usb4_switch_nvm_sector_size()
[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/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()
172 ret = qcom_scm_pas_init_image(pas_id, metadata, metadata_len); in __qcom_mdt_load()
174 kfree(metadata); in __qcom_mdt_load()
/drivers/nvme/target/
Dtrace.h71 __field(u64, metadata)
84 __entry->metadata = le64_to_cpu(cmd->common.metadata);
93 __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()
1304 sh_css_sp_group.pipe[thread_id].metadata.width = md_info->resolution.width; in sh_css_sp_init_pipeline()
1305 sh_css_sp_group.pipe[thread_id].metadata.height = md_info->resolution.height; in sh_css_sp_init_pipeline()
1306 sh_css_sp_group.pipe[thread_id].metadata.stride = md_info->stride; in sh_css_sp_init_pipeline()
1307 sh_css_sp_group.pipe[thread_id].metadata.size = md_info->size; in sh_css_sp_init_pipeline()
1310 &sh_css_sp_group.pipe[thread_id].metadata.format); in sh_css_sp_init_pipeline()
1445 struct ia_css_metadata *metadata) in sh_css_update_host2sp_offline_frame() argument
1465 store_sp_array_uint(host_sp_com, offset, metadata ? metadata->address : 0); in sh_css_update_host2sp_offline_frame()
1501 struct ia_css_metadata *metadata) in sh_css_update_host2sp_mipi_metadata() argument
1515 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/nvme/host/
Dtrace.h59 __field(bool, metadata)
69 __entry->metadata = !!blk_integrity_rq(req);
78 __entry->flags, __entry->metadata,
Dlightnvm.c34 __le64 metadata; member
630 c->ph_rw.metadata = cpu_to_le64(rqd->dma_meta_list); in nvme_nvm_rqtocmd()
765 __le64 *metadata = NULL; in nvme_nvm_submit_user_cmd() local
802 metadata = dma_pool_alloc(dev->dma_pool, GFP_KERNEL, in nvme_nvm_submit_user_cmd()
804 if (!metadata) { in nvme_nvm_submit_user_cmd()
810 if (copy_from_user(metadata, in nvme_nvm_submit_user_cmd()
817 vcmd->ph_rw.metadata = cpu_to_le64(metadata_dma); in nvme_nvm_submit_user_cmd()
834 if (metadata && !ret && !write) { in nvme_nvm_submit_user_cmd()
835 if (copy_to_user(meta_buf, (void *)metadata, meta_len)) in nvme_nvm_submit_user_cmd()
840 dma_pool_free(dev->dma_pool, metadata, metadata_dma); in nvme_nvm_submit_user_cmd()
[all …]
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c97 kfree(bo->metadata); in amdgpu_bo_destroy()
1205 int amdgpu_bo_set_metadata (struct amdgpu_bo *bo, void *metadata, in amdgpu_bo_set_metadata() argument
1212 kfree(bo->metadata); in amdgpu_bo_set_metadata()
1213 bo->metadata = NULL; in amdgpu_bo_set_metadata()
1219 if (metadata == NULL) in amdgpu_bo_set_metadata()
1222 buffer = kmemdup(metadata, metadata_size, GFP_KERNEL); in amdgpu_bo_set_metadata()
1226 kfree(bo->metadata); in amdgpu_bo_set_metadata()
1228 bo->metadata = buffer; in amdgpu_bo_set_metadata()
1261 memcpy(buffer, bo->metadata, bo->metadata_size); in amdgpu_bo_get_metadata()
Damdgpu_object.h95 void *metadata; member
279 int amdgpu_bo_set_metadata (struct amdgpu_bo *bo, void *metadata,
/drivers/md/persistent-data/
DMakefile9 dm-space-map-metadata.o \
/drivers/net/ethernet/netronome/nfp/
DMakefile51 flower/metadata.o \

123