Home
last modified time | relevance | path

Searched refs:page_num (Results 1 - 13 of 13) sorted by relevance

/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_memory_defer_bind.c149 bk_list->page_num = mem_bkend->size / MALI_OSK_MALI_PAGE_SIZE; in mali_mem_defer_bind_allocation_prepare()
168 bk_node->page_num, bk_node->vaddr, session)); in mali_mem_defer_bind_allocation()
172 mem_bkend->os_mem.count = bk_node->page_num; in mali_mem_defer_bind_allocation()
240 if (likely(mali_mem_defer_get_free_page_list(bkn->page_num, &pages, dmem_block))) { in mali_mem_defer_bind()
H A Dmali_memory_defer_bind.h45 u32 page_num; member
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_memory_defer_bind.c142 bk_list->page_num = mem_bkend->size / _MALI_OSK_MALI_PAGE_SIZE; in mali_mem_defer_bind_allocation_prepare()
161 MALI_DEBUG_PRINT(4, ("mali_mem_defer_bind_allocation, bind bkend = %x page num=0x%x vaddr=%x session=%x\n", mem_bkend, bk_node->page_num, bk_node->vaddr, session)); in mali_mem_defer_bind_allocation()
165 mem_bkend->os_mem.count = bk_node->page_num; in mali_mem_defer_bind_allocation()
232 if (likely(mali_mem_defer_get_free_page_list(bkn->page_num, &pages, dmem_block))) { in mali_mem_defer_bind()
H A Dmali_memory_defer_bind.h46 u32 page_num; member
/device/soc/rockchip/common/vendor/drivers/firmware/
H A Drockchip_sip.c166 struct arm_smccc_res sip_smc_request_share_mem(u32 page_num, share_page_type_t page_type) in sip_smc_request_share_mem() argument
171 res = invoke_sip_fn_smc(SIP_SHARE_MEM, page_num, page_type, 0); in sip_smc_request_share_mem()
177 res.a1 = (unsigned long)sip_map(share_mem_phy, SIZE_PAGE(page_num)); in sip_smc_request_share_mem()
/device/soc/rockchip/rk3588/kernel/drivers/firmware/
H A Drockchip_sip.c167 struct arm_smccc_res sip_smc_request_share_mem(u32 page_num, in sip_smc_request_share_mem() argument
173 res = __invoke_sip_fn_smc(SIP_SHARE_MEM, page_num, page_type, 0); in sip_smc_request_share_mem()
178 res.a1 = (unsigned long)sip_map(share_mem_phy, SIZE_PAGE(page_num)); in sip_smc_request_share_mem()
/device/soc/rockchip/common/sdk_linux/include/linux/rockchip/
H A Drockchip_sip.h153 struct arm_smccc_res sip_smc_request_share_mem(u32 page_num, share_page_type_t page_type);
198 static inline struct arm_smccc_res sip_smc_request_share_mem(u32 page_num, share_page_type_t page_type) in sip_smc_request_share_mem() argument
/device/soc/rockchip/rk3588/kernel/include/linux/rockchip/
H A Drockchip_sip.h153 struct arm_smccc_res sip_smc_request_share_mem(u32 page_num,
200 (u32 page_num, share_page_type_t page_type) in sip_smc_request_share_mem()
199 sip_smc_request_share_mem(u32 page_num, share_page_type_t page_type) sip_smc_request_share_mem() argument
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_firmware.c395 u32 page_num; in load_fw_image_section() local
403 for (page_num = 0; page_num < page_limit; ++page_num) { in load_fw_image_section()
404 struct page *const page = as_page(phys[page_num]); in load_fw_image_section()
1045 u32 page_num = offset_bytes >> PAGE_SHIFT; in access_firmware_memory() local
1048 interface->phys[page_num]); in access_firmware_memory()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
H A Dmali_kbase_softjobs.c739 static void *dma_buf_kmap_page(struct kbase_mem_phy_alloc *gpu_alloc, unsigned long page_num, struct page **page) in dma_buf_kmap_page() argument
753 if (WARN_ON(page_num >= gpu_alloc->nents)) { in dma_buf_kmap_page()
759 if (page_index == page_num) { in dma_buf_kmap_page()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_softjobs.c703 static void *dma_buf_kmap_page(struct kbase_mem_phy_alloc *gpu_alloc, unsigned long page_num, struct page **page) in dma_buf_kmap_page() argument
717 if (WARN_ON(page_num >= gpu_alloc->nents)) { in dma_buf_kmap_page()
723 if (page_index == page_num) { in dma_buf_kmap_page()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_softjobs.c735 unsigned long page_num, struct page **page) in dma_buf_kmap_page()
747 if (WARN_ON(page_num >= gpu_alloc->nents)) in dma_buf_kmap_page()
751 if (page_index == page_num) { in dma_buf_kmap_page()
734 dma_buf_kmap_page(struct kbase_mem_phy_alloc *gpu_alloc, unsigned long page_num, struct page **page) dma_buf_kmap_page() argument
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_softjobs.c764 unsigned long page_num, struct page **page) in dma_buf_kmap_page()
776 if (WARN_ON(page_num >= gpu_alloc->nents)) in dma_buf_kmap_page()
780 if (page_index == page_num) { in dma_buf_kmap_page()
763 dma_buf_kmap_page(struct kbase_mem_phy_alloc *gpu_alloc, unsigned long page_num, struct page **page) dma_buf_kmap_page() argument

Completed in 17 milliseconds