/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_osk_mali.c | 76 /* {.description = "Mali_GP", .base = MALI_OFFSET_GP, .irq_name = "IRQGP",}, */ 77 {.description = "Mali_GP", .base = MALI_OFFSET_GP, .irq_name = "Mali_GP_IRQ",}, 78 /* {.description = "Mali_GP_MMU", .base = MALI_OFFSET_GP_MMU, .irq_name = "IRQGPMMU",}, */ 79 {.description = "Mali_GP_MMU", .base = MALI_OFFSET_GP_MMU, .irq_name = "Mali_GP_MMU_IRQ",}, 80 /* {.description = "Mali_PP0", .base = MALI_OFFSET_PP0, .irq_name = "IRQPP0",}, */ 81 {.description = "Mali_PP0", .base = MALI_OFFSET_PP0, .irq_name = "Mali_PP0_IRQ",}, 82 /* {.description = "Mali_PP0_MMU", .base = MALI_OFFSET_PP0_MMU, .irq_name = "IRQPPMMU0",}, */ 83 {.description = "Mali_PP0_MMU", .base = MALI_OFFSET_PP0_MMU, .irq_name = "Mali_PP0_MMU_IRQ",}, 84 /* {.description = "Mali_PP1", .base = MALI_OFFSET_PP1, .irq_name = "IRQPP1",}, */ 85 {.description [all...] |
H A D | mali_osk_irq.c | 60 const char *description) in test_interrupt() 73 if (0 != request_irq(irqnum, test_interrupt_upper_half, irq_flags, description, &data)) { in test_interrupt() 74 MALI_DEBUG_PRINT(2, ("Unable to install test IRQ handler for core '%s'\n", description)); in test_interrupt() 86 MALI_DEBUG_PRINT(3, ("%s: Interrupt test OK\n", description)); in test_interrupt() 89 MALI_PRINT_ERROR(("%s: Failed interrupt test on %u\n", description, irqnum)); in test_interrupt() 96 _mali_osk_irq_t *_mali_osk_irq_init(u32 irqnum, _mali_osk_irq_uhandler_t uhandler, void *int_data, _mali_osk_irq_trigger_t trigger_func, _mali_osk_irq_ack_t ack_func, void *probe_data, const char *description) in _mali_osk_irq_init() argument 148 MALI_DEBUG_PRINT(2, ("No IRQ for core '%s' found during probe\n", description)); in _mali_osk_irq_init() 155 if (_MALI_OSK_ERR_OK != test_interrupt(irqnum, trigger_func, ack_func, probe_data, description)) { in _mali_osk_irq_init() 156 MALI_DEBUG_PRINT(2, ("Test of IRQ(%d) handler for core '%s' failed\n", irqnum, description)); in _mali_osk_irq_init() 162 if (0 != request_irq(irqnum, irq_handler_upper_half, irq_flags, description, irq_objec in _mali_osk_irq_init() 56 test_interrupt(u32 irqnum, _mali_osk_irq_trigger_t trigger_func, _mali_osk_irq_ack_t ack_func, void *probe_data, const char *description) test_interrupt() argument [all...] |
H A D | mali_osk_low_level_mem.c | 34 mali_io_address _mali_osk_mem_mapioregion(uintptr_t phys, u32 size, const char *description) in _mali_osk_mem_mapioregion() argument 44 _mali_osk_errcode_t inline _mali_osk_mem_reqregion(uintptr_t phys, u32 size, const char *description) in _mali_osk_mem_reqregion() argument 49 return ((NULL == request_mem_region(phys, size, description)) ? _MALI_OSK_ERR_NOMEM : _MALI_OSK_ERR_OK); in _mali_osk_mem_reqregion()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_osk_mali.c | 76 .description = "Mali_GP", 81 .description = "Mali_GP_MMU", 86 .description = "Mali_PP0", 91 .description = "Mali_PP0_MMU", 96 .description = "Mali_PP1", 101 .description = "Mali_PP1_MMU", 107 .description = "Mali_PP2", 112 .description = "Mali_PP2_MMU", 117 .description = "Mali_PP3", 122 .description [all...] |
H A D | mali_osk_irq.c | 58 void *probe_data, const char *description) in test_interrupt() 71 if (request_irq(irqnum, test_interrupt_upper_half, irq_flags, description, &data) != 0) { in test_interrupt() 73 ("Unable to install test IRQ handler for core '%s'\n", description)); in test_interrupt() 85 MALI_DEBUG_PRINT(MALI_KERNEL_LEVEL_MESSAGE, ("%s: Interrupt test OK\n", description)); in test_interrupt() 88 MALI_PRINT_ERROR(("%s: Failed interrupt test on %u\n", description, irqnum)); in test_interrupt() 97 void *probe_data, const char *description) in _mali_osk_irq_init() 154 MALI_DEBUG_PRINT(MALI_KERNEL_LEVEL_INFORMATOIN, ("No IRQ for core '%s' found during probe\n", description)); in _mali_osk_irq_init() 161 if (MALI_OSK_ERR_OK != test_interrupt(irqnum, trigger_func, ack_func, probe_data, description)) { in _mali_osk_irq_init() 163 ("Test of IRQ(%d) handler for core '%s' failed\n", irqnum, description)); in _mali_osk_irq_init() 169 if (request_irq(irqnum, irq_handler_upper_half, irq_flags, description, irq_objec in _mali_osk_irq_init() 57 test_interrupt(u32 irqnum, _mali_osk_irq_trigger_t trigger_func, _mali_osk_irq_ack_t ack_func, void *probe_data, const char *description) test_interrupt() argument 95 _mali_osk_irq_init(u32 irqnum, _mali_osk_irq_uhandler_t uhandler, void *int_data, _mali_osk_irq_trigger_t trigger_func, _mali_osk_irq_ack_t ack_func, void *probe_data, const char *description) _mali_osk_irq_init() argument [all...] |
H A D | mali_osk_low_level_mem.c | 35 mali_io_address _mali_osk_mem_mapioregion(uintptr_t phys, u32 size, const char *description) in _mali_osk_mem_mapioregion() argument 45 mali_osk_errcode_t inline _mali_osk_mem_reqregion(uintptr_t phys, u32 size, const char *description) in _mali_osk_mem_reqregion() argument 50 return ((request_mem_region(phys, size, description) == NULL) ? MALI_OSK_ERR_NOMEM : MALI_OSK_ERR_OK); in _mali_osk_mem_reqregion()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/ |
H A D | mali_hw_core.c | 21 core->description = resource->description; in mali_hw_core_create() 26 if (MALI_OSK_ERR_OK == _mali_osk_mem_reqregion(core->phys_addr, core->size, core->description)) { in mali_hw_core_create() 27 core->mapped_registers = _mali_osk_mem_mapioregion(core->phys_addr, core->size, core->description); in mali_hw_core_create() 32 ("Failed to map memory region for core %s at phys_addr 0x%08X\n", core->description, core->phys_addr)); in mali_hw_core_create() 37 ("Failed to request memory region for core %s at phys_addr 0x%08X\n", core->description, core->phys_addr)); in mali_hw_core_create()
|
H A D | mali_hw_core.h | 27 const char *description; /**< Name of unit (as specified in device configuration) */ member 53 core->description, relative_address, read_val)); in mali_hw_core_register_read() 61 core->description, relative_address, new_val)); in mali_hw_core_register_write_relaxed() 72 core->description, relative_address, new_val)); in mali_hw_core_register_write_relaxed_conditional() 81 core->description, relative_address, new_val)); in mali_hw_core_register_write() 90 ("register_write_array: for core %s, relative addr=0x%04X, nr of regs=%u\n", core->description, in mali_hw_core_register_write_array_relaxed() 108 ("register_write_array: for core %s, relative addr=0x%04X, nr of regs=%u\n", core->description, in mali_hw_core_register_write_array_relaxed_conditional()
|
H A D | mali_gp.c | 34 MALI_DEBUG_PRINT(MALI_KERNEL_LEVEL_INFORMATOIN, ("Mali GP: Creating Mali GP core: %s\n", resource->description)); in mali_gp_create() 48 mali_gp_irq_probe_ack, core, resource->description); in mali_gp_create() 57 core->hw_core.description)); in mali_gp_create() 61 MALI_PRINT_ERROR(("Mali GP: Failed to add core %s to group\n", core->hw_core.description)); in mali_gp_create() 110 MALI_PRINT_ERROR(("Mali GP: Failed to stop bus on %s\n", core->hw_core.description)); in mali_gp_stop_bus_wait() 125 MALI_DEBUG_PRINT(MALI_KERNEL_LEVEL_CODE, ("Mali GP: Hard reset of core %s\n", core->hw_core.description)); in mali_gp_hard_reset() 153 MALI_DEBUG_PRINT(MALI_KERNEL_LEVEL_CODE, ("Mali GP: Reset of core %s\n", core->hw_core.description)); in mali_gp_reset_async() 175 MALI_PRINT_ERROR(("Mali GP: Failed to reset core %s, rawstat: 0x%08x\n", core->hw_core.description, rawstat)); in mali_gp_reset_wait() 226 core->hw_core.description, startcmd)); in mali_gp_job_start() 327 n += mali_osk_snprintf(buf + n, size - n, "\tGP: %s\n", core->hw_core.description); in mali_gp_dump_state() [all...] |
H A D | mali_mmu.c | 107 MALI_DEBUG_PRINT(MALI_KERNEL_LEVEL_INFORMATOIN, ("Mali MMU: Creating Mali MMU: %s\n", resource->description)); in mali_mmu_create() 122 mali_mmu_probe_ack, mmu, resource->description); in mali_mmu_create() 127 ("Mali MMU: Failed to setup interrupt handlers for MMU %s\n", mmu->hw_core.description)); in mali_mmu_create() 132 MALI_PRINT_ERROR(("Mali MMU: Failed to add core %s to group\n", mmu->hw_core.description)); in mali_mmu_create() 262 MALI_DEBUG_PRINT(MALI_KERNEL_LEVEL_CODE, ("Mali MMU: %s: Leaving page fault mode\n", mmu->hw_core.description)); in mali_mmu_page_fault_done() 299 MALI_DEBUG_PRINT(MALI_KERNEL_LEVEL_MESSAGE, ("Mali MMU: mali_kernel_mmu_reset: %s\n", mmu->hw_core.description)); in mali_mmu_reset() 354 ("Asked to activate page directory 0x%x on MMU %s\n", pagedir, mmu->hw_core.description)); in mali_mmu_activate_page_directory() 369 ("Activating the empty page directory on MMU %s\n", mmu->hw_core.description)); in mali_mmu_activate_empty_page_directory() 387 ("Activating the page fault flush page directory on MMU %s\n", mmu->hw_core.description)); in mali_mmu_activate_fault_flush_page_directory()
|
H A D | mali_pp.c | 41 MALI_DEBUG_PRINT(MALI_KERNEL_LEVEL_INFORMATOIN, ("Mali PP: Creating Mali PP core: %s\n", resource->description)); in mali_pp_create() 71 mali_pp_irq_probe_ack, core, resource->description); in mali_pp_create() 79 core->hw_core.description)); in mali_pp_create() 83 MALI_PRINT_ERROR(("Mali PP: Failed to add core %s to group\n", core->hw_core.description)); in mali_pp_create() 151 MALI_PRINT_ERROR(("Mali PP: Failed to stop bus on %s. Status: 0x%08x\n", core->hw_core.description, in mali_pp_stop_bus_wait() 214 MALI_DEBUG_PRINT(MALI_KERNEL_LEVEL_INFORMATOIN, ("Mali PP: Hard reset of core %s\n", core->hw_core.description)); in mali_pp_hard_reset() 248 MALI_DEBUG_PRINT(MALI_KERNEL_LEVEL_CODE, ("Mali PP: Reset of core %s\n", core->hw_core.description)); in mali_pp_reset_async() 272 MALI_PRINT_ERROR(("Mali PP: Failed to reset core %s, rawstat: 0x%08x\n", core->hw_core.description, rawstat)); in mali_pp_reset_wait() 388 mali_pp_job_get_sub_job_count(job), core->hw_core.description)); in mali_pp_job_start() 491 n += mali_osk_snprintf(buf + n, size - n, "\tPP #%d: %s\n", core->core_id, core->hw_core.description); in mali_pp_dump_state() [all...] |
H A D | mali_dlbu.c | 125 resource->description)); in mali_dlbu_create() 136 ("Failed to reset DLBU %s\n", core->hw_core.description)); in mali_dlbu_create() 164 ("Mali DLBU: mali_dlbu_reset: %s\n", dlbu->hw_core.description)); in mali_dlbu_reset()
|
H A D | mali_osk.h | 313 * @param description textual description of the IRQ resource. 319 void *probe_data, const char *description); 582 * @param description A textual description of the memory being mapped in. 586 mali_io_address _mali_osk_mem_mapioregion(uintptr_t phys, u32 size, const char *description); 673 * @param description A textual description of the memory being requested. 677 mali_osk_errcode_t _mali_osk_mem_reqregion(uintptr_t phys, u32 size, const char *description);
|
H A D | mali_osk_types.h | 409 /** @brief resource description struct 414 const char *description; /**< short description of the resource */ member
|
H A D | mali_kernel_core.c | 235 MALI_DEBUG_PRINT(MALI_KERNEL_LEVEL_MESSAGE, ("Found L2 cache %s\n", resource->description)); in mali_create_l2_cache_core() 334 MALI_DEBUG_PRINT(MALI_KERNEL_LEVEL_MESSAGE, ("Starting new group for MMU %s\n", resource_mmu->description)); in mali_create_group() 339 MALI_PRINT_ERROR(("Failed to create group object for MMU %s\n", resource_mmu->description)); in mali_create_group() 392 ("Starting new virtual group for MMU PP broadcast core %s\n", resource_mmu_pp_bcast->description)); in mali_create_virtual_group() 442 ("Failed to create group object for MMU PP broadcast core %s\n", resource_mmu_pp_bcast->description)); in mali_create_virtual_group()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/ |
H A D | mali_hw_core.c | 20 core->description = resource->description; in mali_hw_core_create() 25 if (_MALI_OSK_ERR_OK == _mali_osk_mem_reqregion(core->phys_addr, core->size, core->description)) { in mali_hw_core_create() 26 core->mapped_registers = _mali_osk_mem_mapioregion(core->phys_addr, core->size, core->description); in mali_hw_core_create() 30 MALI_PRINT_ERROR(("Failed to map memory region for core %s at phys_addr 0x%08X\n", core->description, core->phys_addr)); in mali_hw_core_create() 34 MALI_PRINT_ERROR(("Failed to request memory region for core %s at phys_addr 0x%08X\n", core->description, core->phys_addr)); in mali_hw_core_create()
|
H A D | mali_hw_core.h | 26 const char *description; /**< Name of unit (as specified in device configuration) */ member 52 core->description, relative_address, read_val)); in mali_hw_core_register_read() 59 core->description, relative_address, new_val)); in mali_hw_core_register_write_relaxed() 69 core->description, relative_address, new_val)); in mali_hw_core_register_write_relaxed_conditional() 78 core->description, relative_address, new_val)); in mali_hw_core_register_write() 86 core->description, relative_address, nr_of_regs)); in mali_hw_core_register_write_array_relaxed() 101 core->description, relative_address, nr_of_regs)); in mali_hw_core_register_write_array_relaxed_conditional()
|
H A D | mali_mmu.c | 110 MALI_DEBUG_PRINT(2, ("Mali MMU: Creating Mali MMU: %s\n", resource->description)); in mali_mmu_create() 129 resource->description); in mali_mmu_create() 133 MALI_PRINT_ERROR(("Mali MMU: Failed to setup interrupt handlers for MMU %s\n", mmu->hw_core.description)); in mali_mmu_create() 138 MALI_PRINT_ERROR(("Mali MMU: Failed to add core %s to group\n", mmu->hw_core.description)); in mali_mmu_create() 261 MALI_DEBUG_PRINT(4, ("Mali MMU: %s: Leaving page fault mode\n", mmu->hw_core.description)); in mali_mmu_page_fault_done() 297 MALI_DEBUG_PRINT(3, ("Mali MMU: mali_kernel_mmu_reset: %s\n", mmu->hw_core.description)); in mali_mmu_reset() 352 MALI_DEBUG_PRINT(5, ("Asked to activate page directory 0x%x on MMU %s\n", pagedir, mmu->hw_core.description)); in mali_mmu_activate_page_directory() 366 MALI_DEBUG_PRINT(3, ("Activating the empty page directory on MMU %s\n", mmu->hw_core.description)); in mali_mmu_activate_empty_page_directory() 383 MALI_DEBUG_PRINT(3, ("Activating the page fault flush page directory on MMU %s\n", mmu->hw_core.description)); in mali_mmu_activate_fault_flush_page_directory() 431 MALI_DEBUG_PRINT(2, ("MMU: State of %s is 0x%08x\n", mmu->hw_core.description, mali_hw_core_register_rea [all...] |
H A D | mali_gp.c | 33 MALI_DEBUG_PRINT(2, ("Mali GP: Creating Mali GP core: %s\n", resource->description)); in mali_gp_create() 52 resource->description); in mali_gp_create() 59 MALI_PRINT_ERROR(("Mali GP: Failed to setup interrupt handlers for GP core %s\n", core->hw_core.description)); in mali_gp_create() 63 MALI_PRINT_ERROR(("Mali GP: Failed to add core %s to group\n", core->hw_core.description)); in mali_gp_create() 111 MALI_PRINT_ERROR(("Mali GP: Failed to stop bus on %s\n", core->hw_core.description)); in mali_gp_stop_bus_wait() 126 MALI_DEBUG_PRINT(4, ("Mali GP: Hard reset of core %s\n", core->hw_core.description)); in mali_gp_hard_reset() 154 MALI_DEBUG_PRINT(4, ("Mali GP: Reset of core %s\n", core->hw_core.description)); in mali_gp_reset_async() 178 core->hw_core.description, rawstat)); in mali_gp_reset_wait() 225 MALI_DEBUG_PRINT(3, ("Mali GP: Starting job (0x%08x) on core %s with command 0x%08X\n", job, core->hw_core.description, startcmd)); in mali_gp_job_start() 324 n += _mali_osk_snprintf(buf + n, size - n, "\tGP: %s\n", core->hw_core.description); in mali_gp_dump_state() [all...] |
H A D | mali_pp.c | 39 MALI_DEBUG_PRINT(2, ("Mali PP: Creating Mali PP core: %s\n", resource->description)); in mali_pp_create() 73 resource->description); in mali_pp_create() 80 MALI_PRINT_ERROR(("Mali PP: Failed to setup interrupt handlers for PP core %s\n", core->hw_core.description)); in mali_pp_create() 84 MALI_PRINT_ERROR(("Mali PP: Failed to add core %s to group\n", core->hw_core.description)); in mali_pp_create() 150 MALI_PRINT_ERROR(("Mali PP: Failed to stop bus on %s. Status: 0x%08x\n", core->hw_core.description, mali_hw_core_register_read(&core->hw_core, MALI200_REG_ADDR_MGMT_STATUS))); in mali_pp_stop_bus_wait() 212 MALI_DEBUG_PRINT(2, ("Mali PP: Hard reset of core %s\n", core->hw_core.description)); in mali_pp_hard_reset() 245 MALI_DEBUG_PRINT(4, ("Mali PP: Reset of core %s\n", core->hw_core.description)); in mali_pp_reset_async() 269 core->hw_core.description, rawstat)); in mali_pp_reset_wait() 371 MALI_DEBUG_PRINT(3, ("Mali PP: Starting job 0x%08X part %u/%u on PP core %s\n", job, sub_job + 1, mali_pp_job_get_sub_job_count(job), core->hw_core.description)); in mali_pp_job_start() 498 n += _mali_osk_snprintf(buf + n, size - n, "\tPP #%d: %s\n", core->core_id, core->hw_core.description); in mali_pp_dump_state() [all...] |
H A D | mali_dlbu.c | 111 MALI_DEBUG_PRINT(2, ("Mali DLBU: Creating Mali dynamic load balancing unit: %s\n", resource->description)); in mali_dlbu_create() 120 MALI_PRINT_ERROR(("Failed to reset DLBU %s\n", core->hw_core.description)); in mali_dlbu_create() 145 MALI_DEBUG_PRINT(4, ("Mali DLBU: mali_dlbu_reset: %s\n", dlbu->hw_core.description)); in mali_dlbu_reset()
|
H A D | mali_osk.h | 297 * @param description textual description of the IRQ resource. 301 _mali_osk_irq_t *_mali_osk_irq_init(u32 irqnum, _mali_osk_irq_uhandler_t uhandler, void *int_data, _mali_osk_irq_trigger_t trigger_func, _mali_osk_irq_ack_t ack_func, void *probe_data, const char *description); 568 * @param description A textual description of the memory being mapped in. 572 mali_io_address _mali_osk_mem_mapioregion(uintptr_t phys, u32 size, const char *description); 659 * @param description A textual description of the memory being requested. 663 _mali_osk_errcode_t _mali_osk_mem_reqregion(uintptr_t phys, u32 size, const char *description);
|
H A D | mali_l2_cache.c | 107 resource->description)); in mali_l2_cache_create() 139 resource->description, in mali_l2_cache_create() 150 cache->hw_core.description)); in mali_l2_cache_create()
|
H A D | mali_broadcast.c | 30 resource->description)); in mali_bcast_unit_create()
|
H A D | mali_osk_types.h | 429 /** @brief resource description struct 434 const char *description; /**< short description of the resource */ member
|