Home
last modified time | relevance | path

Searched refs:metadata_size (Results 1 – 6 of 6) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c541 uint32_t metadata_size, uint64_t flags) in amdgpu_bo_set_metadata() argument
545 if (!metadata_size) { in amdgpu_bo_set_metadata()
546 if (bo->metadata_size) { in amdgpu_bo_set_metadata()
549 bo->metadata_size = 0; in amdgpu_bo_set_metadata()
557 buffer = kmemdup(metadata, metadata_size, GFP_KERNEL); in amdgpu_bo_set_metadata()
564 bo->metadata_size = metadata_size; in amdgpu_bo_set_metadata()
570 size_t buffer_size, uint32_t *metadata_size, in amdgpu_bo_get_metadata() argument
573 if (!buffer && !metadata_size) in amdgpu_bo_get_metadata()
577 if (buffer_size < bo->metadata_size) in amdgpu_bo_get_metadata()
580 if (bo->metadata_size) in amdgpu_bo_get_metadata()
[all …]
Damdgpu_object.h159 uint32_t metadata_size, uint64_t flags);
161 size_t buffer_size, uint32_t *metadata_size,
Damdgpu.h534 u32 metadata_size; member
/drivers/mtd/nand/gpmi-nand/
Dgpmi-nand.c113 ecc_strength = ((mtd->oobsize - geo->metadata_size) * 8) in get_ecc_strength()
177 geo->metadata_size = 10; in set_geometry_by_ecc_info()
229 geo->page_size = mtd->writesize + geo->metadata_size + in set_geometry_by_ecc_info()
240 geo->auxiliary_status_offset = ALIGN(geo->metadata_size, 4); in set_geometry_by_ecc_info()
241 geo->auxiliary_size = ALIGN(geo->metadata_size, 4) in set_geometry_by_ecc_info()
250 + geo->metadata_size * 8); in set_geometry_by_ecc_info()
261 unsigned int metadata_size; in legacy_set_geometry() local
270 geo->metadata_size = 10; in legacy_set_geometry()
303 metadata_size = ALIGN(geo->metadata_size, 4); in legacy_set_geometry()
306 geo->auxiliary_size = metadata_size + status_size; in legacy_set_geometry()
[all …]
Dgpmi-lib.c239 geo->metadata_size, in gpmi_dump_info()
256 unsigned int metadata_size; in bch_set_geometry() local
267 metadata_size = bch_geo->metadata_size; in bch_set_geometry()
288 | BF_BCH_FLASH0LAYOUT0_META_SIZE(metadata_size) in bch_set_geometry()
Dgpmi-nand.h59 unsigned int metadata_size; member