Home
last modified time | relevance | path

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

/linux/drivers/mtd/maps/
H A Dvmu-flash.c33 struct vmu_cache *pcache; member
117 struct vmu_cache *pcache; in maple_vmu_read_block() local
124 pcache = card->parts[partition].pcache; in maple_vmu_read_block()
125 pcache->valid = 0; in maple_vmu_read_block()
128 if (!pcache->buffer) { in maple_vmu_read_block()
129 pcache->buffer = kmalloc(card->blocklen, GFP_KERNEL); in maple_vmu_read_block()
130 if (!pcache->buffer) { in maple_vmu_read_block()
208 memcpy(pcache->buffer + (card->blocklen/card->readcnt) * x, in maple_vmu_read_block()
211 pcache->block = num; in maple_vmu_read_block()
212 pcache->jiffies_atc = jiffies; in maple_vmu_read_block()
[all …]
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_topology.c1625 struct kfd_cache_properties *pcache = NULL; in fill_in_l1_pcache() local
1637 pcache = kfd_alloc_struct(pcache); in fill_in_l1_pcache()
1638 if (!pcache) in fill_in_l1_pcache()
1641 memset(pcache, 0, sizeof(struct kfd_cache_properties)); in fill_in_l1_pcache()
1642 pcache->processor_id_low = cu_processor_id + (first_active_cu - 1); in fill_in_l1_pcache()
1643 pcache->cache_level = pcache_info[cache_type].cache_level; in fill_in_l1_pcache()
1644 pcache->cache_size = pcache_info[cache_type].cache_size; in fill_in_l1_pcache()
1645 pcache->cacheline_size = pcache_info[cache_type].cache_line_size; in fill_in_l1_pcache()
1648 pcache->cache_type |= HSA_CACHE_TYPE_DATA; in fill_in_l1_pcache()
1650 pcache->cache_type |= HSA_CACHE_TYPE_INSTRUCTION; in fill_in_l1_pcache()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dpsp_v11_0.c446 uint32_t *pcache = (uint32_t *)ctx->sys_cache; in psp_v11_0_memory_training() local
468 pcache[0], pcache[1], pcache[2], pcache[3], in psp_v11_0_memory_training()
477 pcache[0] != MEM_TRAIN_SYSTEM_SIGNATURE) { in psp_v11_0_memory_training()
483 !(pcache[0] == MEM_TRAIN_SYSTEM_SIGNATURE && in psp_v11_0_memory_training()
484 pcache[3] == p2c_header[3])) { in psp_v11_0_memory_training()
H A Dpsp_v14_0.c402 uint32_t *pcache = (uint32_t *)ctx->sys_cache; in psp_v14_0_memory_training() local
424 pcache[0], pcache[1], pcache[2], pcache[3], in psp_v14_0_memory_training()
433 pcache[0] != MEM_TRAIN_SYSTEM_SIGNATURE) { in psp_v14_0_memory_training()
439 !(pcache[0] == MEM_TRAIN_SYSTEM_SIGNATURE && in psp_v14_0_memory_training()
440 pcache[3] == p2c_header[3])) { in psp_v14_0_memory_training()
H A Dpsp_v13_0.c524 uint32_t *pcache = (uint32_t *)ctx->sys_cache; in psp_v13_0_memory_training() local
546 pcache[0], pcache[1], pcache[2], pcache[3], in psp_v13_0_memory_training()
555 pcache[0] != MEM_TRAIN_SYSTEM_SIGNATURE) { in psp_v13_0_memory_training()
561 !(pcache[0] == MEM_TRAIN_SYSTEM_SIGNATURE && in psp_v13_0_memory_training()
562 pcache[3] == p2c_header[3])) { in psp_v13_0_memory_training()
/linux/arch/mips/include/asm/sn/sn0/
H A Dhubio.h580 pcache: 1, /* entry belongs to partial cache */ member