Home
last modified time | relevance | path

Searched refs:irq_flags (Results 1 - 25 of 33) sorted by relevance

12

/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_notification.c112 unsigned long irq_flags; in mali_osk_notification_queue_send() local
122 spin_lock_irqsave(&queue->mutex, irq_flags); in mali_osk_notification_queue_send()
130 spin_unlock_irqrestore(&queue->mutex, irq_flags); in mali_osk_notification_queue_send()
143 unsigned long irq_flags; in _mali_osk_notification_queue_dequeue() local
150 spin_lock_irqsave(&queue->mutex, irq_flags); in _mali_osk_notification_queue_dequeue()
163 spin_unlock_irqrestore(&queue->mutex, irq_flags); in _mali_osk_notification_queue_dequeue()
H A Dmali_osk_irq.c60 unsigned long irq_flags = 0; in test_interrupt() local
68 irq_flags |= IRQF_SHARED; in test_interrupt()
71 if (request_irq(irqnum, test_interrupt_upper_half, irq_flags, description, &data) != 0) { in test_interrupt()
100 unsigned long irq_flags = 0; in _mali_osk_irq_init() local
103 irq_flags |= IRQF_SHARED; in _mali_osk_irq_init()
169 if (request_irq(irqnum, irq_handler_upper_half, irq_flags, description, irq_object) != 0) { in _mali_osk_irq_init()
H A Dmali_osk_profiling.c105 unsigned long irq_flags; in _mali_profiling_global_stream_list_free() local
108 spin_lock_irqsave(&global_mali_stream_list->spin_lock, irq_flags); in _mali_profiling_global_stream_list_free()
114 spin_unlock_irqrestore(&global_mali_stream_list->spin_lock, irq_flags); in _mali_profiling_global_stream_list_free()
120 unsigned long irq_flags; in _mali_profiling_global_stream_list_dequeue() local
125 spin_lock_irqsave(&global_mali_stream_list->spin_lock, irq_flags); in _mali_profiling_global_stream_list_dequeue()
134 spin_unlock_irqrestore(&global_mali_stream_list->spin_lock, irq_flags); in _mali_profiling_global_stream_list_dequeue()
142 unsigned long irq_flags; in _mali_profiling_global_stream_list_queue() local
146 spin_lock_irqsave(&global_mali_stream_list->spin_lock, irq_flags); in _mali_profiling_global_stream_list_queue()
148 spin_unlock_irqrestore(&global_mali_stream_list->spin_lock, irq_flags); in _mali_profiling_global_stream_list_queue()
159 unsigned long irq_flags; in _mali_profiling_global_stream_queue_list_next_size() local
437 unsigned long irq_flags; _mali_profiling_sampling_core_activity_switch() local
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_irq.c62 unsigned long irq_flags = 0; in test_interrupt() local
70 irq_flags |= IRQF_SHARED; in test_interrupt()
73 if (0 != request_irq(irqnum, test_interrupt_upper_half, irq_flags, description, &data)) { in test_interrupt()
99 unsigned long irq_flags = 0; in _mali_osk_irq_init() local
102 irq_flags |= IRQF_SHARED; in _mali_osk_irq_init()
162 if (0 != request_irq(irqnum, irq_handler_upper_half, irq_flags, description, irq_object)) { in _mali_osk_irq_init()
H A Dmali_osk_notification.c109 unsigned long irq_flags; in _mali_osk_notification_queue_send() local
119 spin_lock_irqsave(&queue->mutex, irq_flags); in _mali_osk_notification_queue_send()
127 spin_unlock_irqrestore(&queue->mutex, irq_flags); in _mali_osk_notification_queue_send()
139 unsigned long irq_flags; in _mali_osk_notification_queue_dequeue() local
146 spin_lock_irqsave(&queue->mutex, irq_flags); in _mali_osk_notification_queue_dequeue()
159 spin_unlock_irqrestore(&queue->mutex, irq_flags); in _mali_osk_notification_queue_dequeue()
H A Dmali_osk_profiling.c102 unsigned long irq_flags; in _mali_profiling_global_stream_list_free() local
105 spin_lock_irqsave(&global_mali_stream_list->spin_lock, irq_flags); in _mali_profiling_global_stream_list_free()
110 spin_unlock_irqrestore(&global_mali_stream_list->spin_lock, irq_flags); in _mali_profiling_global_stream_list_free()
115 unsigned long irq_flags; in _mali_profiling_global_stream_list_dequeue() local
120 spin_lock_irqsave(&global_mali_stream_list->spin_lock, irq_flags); in _mali_profiling_global_stream_list_dequeue()
129 spin_unlock_irqrestore(&global_mali_stream_list->spin_lock, irq_flags); in _mali_profiling_global_stream_list_dequeue()
136 unsigned long irq_flags; in _mali_profiling_global_stream_list_queue() local
140 spin_lock_irqsave(&global_mali_stream_list->spin_lock, irq_flags); in _mali_profiling_global_stream_list_queue()
142 spin_unlock_irqrestore(&global_mali_stream_list->spin_lock, irq_flags); in _mali_profiling_global_stream_list_queue()
153 unsigned long irq_flags; in _mali_profiling_global_stream_queue_list_next_size() local
429 unsigned long irq_flags; _mali_profiling_sampling_core_activity_switch() local
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
H A Dmali_kbase_jd_debugfs.c134 unsigned long irq_flags; in kbasep_jd_debugfs_atoms_show() local
152 spin_lock_irqsave(&kctx->kbdev->hwaccess_lock, irq_flags); in kbasep_jd_debugfs_atoms_show()
178 spin_unlock_irqrestore(&kctx->kbdev->hwaccess_lock, irq_flags); in kbasep_jd_debugfs_atoms_show()
H A Dmali_kbase_context.c319 unsigned long irq_flags; in kbase_context_set_create_flags() local
332 spin_lock_irqsave(&kctx->kbdev->hwaccess_lock, irq_flags); in kbase_context_set_create_flags()
342 spin_unlock_irqrestore(&kctx->kbdev->hwaccess_lock, irq_flags); in kbase_context_set_create_flags()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_jd_debugfs.c154 unsigned long irq_flags; in kbasep_jd_debugfs_atoms_show() local
173 spin_lock_irqsave(&kctx->kbdev->hwaccess_lock, irq_flags); in kbasep_jd_debugfs_atoms_show()
204 spin_unlock_irqrestore(&kctx->kbdev->hwaccess_lock, irq_flags); in kbasep_jd_debugfs_atoms_show()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/context/backend/
H A Dmali_kbase_context_jm.c99 unsigned long irq_flags = 0; in kbase_context_submit_check() local
104 spin_lock_irqsave(&kctx->kbdev->hwaccess_lock, irq_flags); in kbase_context_submit_check()
111 spin_unlock_irqrestore(&kctx->kbdev->hwaccess_lock, irq_flags); in kbase_context_submit_check()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_jd_debugfs.c142 unsigned long irq_flags; in kbasep_jd_debugfs_atoms_show() local
160 spin_lock_irqsave(&kctx->kbdev->hwaccess_lock, irq_flags); in kbasep_jd_debugfs_atoms_show()
186 spin_unlock_irqrestore(&kctx->kbdev->hwaccess_lock, irq_flags); in kbasep_jd_debugfs_atoms_show()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/context/backend/
H A Dmali_kbase_context_jm.c90 unsigned long irq_flags = 0; in kbase_context_submit_check() local
95 spin_lock_irqsave(&kctx->kbdev->hwaccess_lock, irq_flags); in kbase_context_submit_check()
101 spin_unlock_irqrestore(&kctx->kbdev->hwaccess_lock, irq_flags); in kbase_context_submit_check()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_jd_debugfs.c147 unsigned long irq_flags; in kbasep_jd_debugfs_atoms_show() local
166 spin_lock_irqsave(&kctx->kbdev->hwaccess_lock, irq_flags); in kbasep_jd_debugfs_atoms_show()
197 spin_unlock_irqrestore(&kctx->kbdev->hwaccess_lock, irq_flags); in kbasep_jd_debugfs_atoms_show()
H A Dmali_kbase_context.c315 unsigned long irq_flags; in kbase_context_set_create_flags() local
328 spin_lock_irqsave(&kctx->kbdev->hwaccess_lock, irq_flags); in kbase_context_set_create_flags()
337 spin_unlock_irqrestore(&kctx->kbdev->hwaccess_lock, irq_flags); in kbase_context_set_create_flags()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Ddhd_gpio.c252 int irq_flags = -1; in dhd_wlan_init_gpio() local
299 irq_flags = rockchip_wifi_get_oob_irq_flag(); in dhd_wlan_init_gpio()
300 if (irq_flags == 1) in dhd_wlan_init_gpio()
302 else if (irq_flags == 0) in dhd_wlan_init_gpio()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/backend/gpu/
H A Dmali_kbase_pm_backend.c295 unsigned long irq_flags; in kbase_hwaccess_pm_powerup() local
324 spin_lock_irqsave(&kbdev->pm.backend.gpu_cycle_counter_requests_lock, irq_flags); in kbase_hwaccess_pm_powerup()
327 spin_unlock_irqrestore(&kbdev->pm.backend.gpu_cycle_counter_requests_lock, irq_flags); in kbase_hwaccess_pm_powerup()
332 spin_lock_irqsave(&kbdev->pm.backend.gpu_powered_lock, irq_flags); in kbase_hwaccess_pm_powerup()
334 spin_unlock_irqrestore(&kbdev->pm.backend.gpu_powered_lock, irq_flags); in kbase_hwaccess_pm_powerup()
H A Dmali_kbase_pm_driver.c1358 unsigned long irq_flags; in kbase_pm_init_hw() local
1371 spin_lock_irqsave(&kbdev->pm.backend.gpu_powered_lock, irq_flags); in kbase_pm_init_hw()
1373 spin_unlock_irqrestore(&kbdev->pm.backend.gpu_powered_lock, irq_flags); in kbase_pm_init_hw()
1385 spin_lock_irqsave(&kbdev->hwaccess_lock, irq_flags); in kbase_pm_init_hw()
1395 spin_unlock_irqrestore(&kbdev->hwaccess_lock, irq_flags); in kbase_pm_init_hw()
1404 spin_lock_irqsave(&kbdev->hwaccess_lock, irq_flags); in kbase_pm_init_hw()
1411 spin_unlock_irqrestore(&kbdev->hwaccess_lock, irq_flags); in kbase_pm_init_hw()
1439 spin_lock_irqsave(&kbdev->pm.backend.gpu_cycle_counter_requests_lock, irq_flags); in kbase_pm_init_hw()
1443 spin_unlock_irqrestore(&kbdev->pm.backend.gpu_cycle_counter_requests_lock, irq_flags); in kbase_pm_init_hw()
1445 spin_lock_irqsave(&kbdev->hwaccess_lock, irq_flags); in kbase_pm_init_hw()
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/backend/gpu/
H A Dmali_kbase_pm_backend.c314 unsigned long irq_flags; in kbase_hwaccess_pm_powerup() local
346 irq_flags); in kbase_hwaccess_pm_powerup()
351 irq_flags); in kbase_hwaccess_pm_powerup()
356 spin_lock_irqsave(&kbdev->pm.backend.gpu_powered_lock, irq_flags); in kbase_hwaccess_pm_powerup()
358 spin_unlock_irqrestore(&kbdev->pm.backend.gpu_powered_lock, irq_flags); in kbase_hwaccess_pm_powerup()
H A Dmali_kbase_pm_driver.c1500 unsigned long irq_flags; in kbase_pm_init_hw() local
1513 irq_flags); in kbase_pm_init_hw()
1516 irq_flags); in kbase_pm_init_hw()
1528 spin_lock_irqsave(&kbdev->hwaccess_lock, irq_flags); in kbase_pm_init_hw()
1538 spin_unlock_irqrestore(&kbdev->hwaccess_lock, irq_flags); in kbase_pm_init_hw()
1547 spin_lock_irqsave(&kbdev->hwaccess_lock, irq_flags); in kbase_pm_init_hw()
1553 spin_unlock_irqrestore(&kbdev->hwaccess_lock, irq_flags); in kbase_pm_init_hw()
1583 irq_flags); in kbase_pm_init_hw()
1589 irq_flags); in kbase_pm_init_hw()
1591 spin_lock_irqsave(&kbdev->hwaccess_lock, irq_flags); in kbase_pm_init_hw()
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_pm_backend.c708 unsigned long irq_flags; in kbase_hwaccess_pm_powerup() local
729 spin_lock_irqsave(&kbdev->hwaccess_lock, irq_flags); in kbase_hwaccess_pm_powerup()
737 spin_unlock_irqrestore(&kbdev->hwaccess_lock, irq_flags); in kbase_hwaccess_pm_powerup()
760 irq_flags); in kbase_hwaccess_pm_powerup()
765 irq_flags); in kbase_hwaccess_pm_powerup()
785 spin_lock_irqsave(&kbdev->hwaccess_lock, irq_flags); in kbase_hwaccess_pm_powerup()
787 spin_unlock_irqrestore(&kbdev->hwaccess_lock, irq_flags); in kbase_hwaccess_pm_powerup()
H A Dmali_kbase_pm_driver.c2764 unsigned long irq_flags; local
2766 spin_lock_irqsave(&kbdev->hwaccess_lock, irq_flags);
2772 spin_unlock_irqrestore(&kbdev->hwaccess_lock, irq_flags);
2895 unsigned long irq_flags; local
2919 spin_lock_irqsave(&kbdev->hwaccess_lock, irq_flags);
2922 spin_unlock_irqrestore(&kbdev->hwaccess_lock, irq_flags);
2931 spin_lock_irqsave(&kbdev->hwaccess_lock, irq_flags);
2944 spin_unlock_irqrestore(&kbdev->hwaccess_lock, irq_flags);
2972 irq_flags);
2978 irq_flags);
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_pm_backend.c553 unsigned long irq_flags; in kbase_hwaccess_pm_powerup() local
579 spin_lock_irqsave(&kbdev->pm.backend.gpu_cycle_counter_requests_lock, irq_flags); in kbase_hwaccess_pm_powerup()
582 spin_unlock_irqrestore(&kbdev->pm.backend.gpu_cycle_counter_requests_lock, irq_flags); in kbase_hwaccess_pm_powerup()
601 spin_lock_irqsave(&kbdev->hwaccess_lock, irq_flags); in kbase_hwaccess_pm_powerup()
603 spin_unlock_irqrestore(&kbdev->hwaccess_lock, irq_flags); in kbase_hwaccess_pm_powerup()
H A Dmali_kbase_pm_driver.c2118 unsigned long irq_flags; local
2120 spin_lock_irqsave(&kbdev->hwaccess_lock, irq_flags);
2126 spin_unlock_irqrestore(&kbdev->hwaccess_lock, irq_flags);
2233 unsigned long irq_flags; local
2257 spin_lock_irqsave(&kbdev->hwaccess_lock, irq_flags);
2261 spin_unlock_irqrestore(&kbdev->hwaccess_lock, irq_flags);
2269 spin_lock_irqsave(&kbdev->hwaccess_lock, irq_flags);
2271 spin_unlock_irqrestore(&kbdev->hwaccess_lock, irq_flags);
2296 spin_lock_irqsave(&kbdev->pm.backend.gpu_cycle_counter_requests_lock, irq_flags);
2300 spin_unlock_irqrestore(&kbdev->pm.backend.gpu_cycle_counter_requests_lock, irq_flags);
[all...]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/i2c/gpio_i2c/
H A Ddrv_gpio_i2c.c231 HI_SIZE_T irq_flags = 0; in i2c_send_byte() local
233 osal_spin_lock_irqsave(&g_gpio_i2c_lock, &irq_flags); in i2c_send_byte()
252 osal_spin_unlock_irqrestore(&g_gpio_i2c_lock, &irq_flags); in i2c_send_byte()
265 HI_SIZE_T irq_flags = {0}; in i2c_receive_byte() local
267 osal_spin_lock_irqsave(&g_gpio_i2c_lock, &irq_flags); in i2c_receive_byte()
287 osal_spin_unlock_irqrestore(&g_gpio_i2c_lock, &irq_flags); in i2c_receive_byte()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_firmware.c292 unsigned long irq_flags; in unload_mmu_tables() local
295 spin_lock_irqsave(&kbdev->hwaccess_lock, irq_flags); in unload_mmu_tables()
298 spin_unlock_irqrestore(&kbdev->hwaccess_lock, irq_flags); in unload_mmu_tables()
304 unsigned long irq_flags; in load_mmu_tables() local
307 spin_lock_irqsave(&kbdev->hwaccess_lock, irq_flags); in load_mmu_tables()
309 spin_unlock_irqrestore(&kbdev->hwaccess_lock, irq_flags); in load_mmu_tables()

Completed in 25 milliseconds

12