Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 25 of 1871) sorted by relevance

12345678910>>...75

/device/soc/bestechnic/bes2600/liteos_m/components/utils/src/
Dprintf.c202 …er, size_t idx, size_t maxlen, const char* buf, size_t len, unsigned int width, unsigned int flags) in _out_rev() argument
207 if (!(flags & FLAGS_LEFT) && !(flags & FLAGS_ZEROPAD)) { in _out_rev()
219 if (flags & FLAGS_LEFT) { in _out_rev()
230 …t len, bool negative, unsigned int base, unsigned int prec, unsigned int width, unsigned int flags) in _ntoa_format() argument
233 if (!(flags & FLAGS_LEFT)) { in _ntoa_format()
234 if (width && (flags & FLAGS_ZEROPAD) && (negative || (flags & (FLAGS_PLUS | FLAGS_SPACE)))) { in _ntoa_format()
240 while ((flags & FLAGS_ZEROPAD) && (len < width) && (len < PRINTF_NTOA_BUFFER_SIZE)) { in _ntoa_format()
246 if (flags & FLAGS_HASH) { in _ntoa_format()
247 if (!(flags & FLAGS_PRECISION) && len && ((len == prec) || (len == width))) { in _ntoa_format()
253 if ((base == 16U) && !(flags & FLAGS_UPPERCASE) && (len < PRINTF_NTOA_BUFFER_SIZE)) { in _ntoa_format()
[all …]
/device/soc/asrmicro/asr582x/liteos_m/sdk/drivers/platform/system/
Dprintf-stdarg.c186 unsigned int width, unsigned int flags) in _out_rev() argument
191 if (!(flags & FLAGS_LEFT) && !(flags & FLAGS_ZEROPAD)) { in _out_rev()
203 if (flags & FLAGS_LEFT) { in _out_rev()
214 … bool negative, unsigned int base, unsigned int prec, unsigned int width, unsigned int flags) in _ntoa_format() argument
217 if (!(flags & FLAGS_LEFT)) { in _ntoa_format()
218 … if (width && (flags & FLAGS_ZEROPAD) && (negative || (flags & (FLAGS_PLUS | FLAGS_SPACE)))) { in _ntoa_format()
224 while ((flags & FLAGS_ZEROPAD) && (len < width) && (len < PRINTF_NTOA_BUFFER_SIZE)) { in _ntoa_format()
230 if (flags & FLAGS_HASH) { in _ntoa_format()
231 if (!(flags & FLAGS_PRECISION) && len && ((len == prec) || (len == width))) { in _ntoa_format()
237 if ((base == 16U) && !(flags & FLAGS_UPPERCASE) && (len < PRINTF_NTOA_BUFFER_SIZE)) { in _ntoa_format()
[all …]
/device/soc/rockchip/common/sdk_linux/kernel/sched/
Dwait.c20 unsigned long flags; in add_wait_queue() local
22 wq_entry->flags &= ~WQ_FLAG_EXCLUSIVE; in add_wait_queue()
23 spin_lock_irqsave(&wq_head->lock, flags); in add_wait_queue()
25 spin_unlock_irqrestore(&wq_head->lock, flags); in add_wait_queue()
31 unsigned long flags; in add_wait_queue_exclusive() local
33 wq_entry->flags |= WQ_FLAG_EXCLUSIVE; in add_wait_queue_exclusive()
34 spin_lock_irqsave(&wq_head->lock, flags); in add_wait_queue_exclusive()
36 spin_unlock_irqrestore(&wq_head->lock, flags); in add_wait_queue_exclusive()
42 unsigned long flags; in remove_wait_queue() local
44 spin_lock_irqsave(&wq_head->lock, flags); in remove_wait_queue()
[all …]
/device/soc/rockchip/rk2206/sdk_liteos/platform/system/
Dprintf.c206 const char* buf, size_t buf_len, unsigned int buf_width, unsigned int flags) in _out_rev() argument
214 if (!(flags & FLAGS_LEFT) && !(flags & FLAGS_ZEROPAD)) { in _out_rev()
226 if (flags & FLAGS_LEFT) { in _out_rev()
239 unsigned int prec, unsigned int prec_width, unsigned int flags) in _ntoa_format() argument
245 if (!(flags & FLAGS_LEFT)) { in _ntoa_format()
246 … if (width && (flags & FLAGS_ZEROPAD) && (negative || (flags & (FLAGS_PLUS | FLAGS_SPACE)))) { in _ntoa_format()
252 while ((flags & FLAGS_ZEROPAD) && (len < width) && (len < PRINTF_NTOA_BUFFER_SIZE)) { in _ntoa_format()
258 if (flags & FLAGS_HASH) { in _ntoa_format()
259 if (!(flags & FLAGS_PRECISION) && len && ((len == prec) || (len == width))) { in _ntoa_format()
265 if ((base == 16U) && !(flags & FLAGS_UPPERCASE) && (len < PRINTF_NTOA_BUFFER_SIZE)) { in _ntoa_format()
[all …]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/
Dosal_fence.c78 unsigned long flags; in osal_fence_create() local
117 spin_lock_irqsave(&lock, flags); in osal_fence_create()
125 spin_unlock_irqrestore(&lock, flags); in osal_fence_create()
134 unsigned long flags; in osal_fence_destroy() local
136 spin_lock_irqsave(&lock, flags); in osal_fence_destroy()
140 spin_unlock_irqrestore(&lock, flags); in osal_fence_destroy()
148 spin_unlock_irqrestore(&lock, flags); in osal_fence_destroy()
157 unsigned long flags; in osal_fence_acquire_private() local
163 spin_lock_irqsave(&lock, flags); in osal_fence_acquire_private()
167 spin_unlock_irqrestore(&lock, flags); in osal_fence_acquire_private()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Dlinux_osl_priv.h37 #define OSL_MEMLIST_LOCK(lock, flags) (flags) = osl_spin_lock(lock) argument
38 #define OSL_MEMLIST_UNLOCK(lock, flags) osl_spin_unlock((lock), (flags)) argument
40 #define OSL_STATIC_BUF_LOCK(lock, flags) (flags) = osl_spin_lock(lock) argument
41 #define OSL_STATIC_BUF_UNLOCK(lock, flags) osl_spin_unlock((lock), (flags)) argument
43 #define OSL_STATIC_PKT_LOCK(lock, flags) (flags) = osl_spin_lock(lock) argument
44 #define OSL_STATIC_PKT_UNLOCK(lock, flags) osl_spin_unlock((lock), (flags)) argument
46 #define OSL_PKTLIST_LOCK(lock, flags) (flags) = osl_spin_lock(lock) argument
47 #define OSL_PKTLIST_UNLOCK(lock, flags) osl_spin_unlock((lock), (flags)) argument
49 #define OSL_CTRACE_LOCK(lock, flags) (flags) = osl_spin_lock(lock) argument
50 #define OSL_CTRACE_UNLOCK(lock, flags) osl_spin_unlock((lock), (flags)) argument
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/wlan/
Dcommon.h120 gfp_t flags = (in_atomic()) ? GFP_ATOMIC : GFP_KERNEL; in xr_alloc_skb() local
121 return __dev_alloc_skb(len, flags); in xr_alloc_skb()
138 gfp_t flags = (in_atomic()) ? GFP_ATOMIC : GFP_KERNEL; in xr_kmalloc() local
140 gfp_t flags = GFP_ATOMIC; in xr_kmalloc()
142 flags = isDMA ? (flags | GFP_DMA) : flags; in xr_kmalloc()
143 return kmalloc(len, flags); in xr_kmalloc()
149 gfp_t flags = (in_atomic()) ? GFP_ATOMIC : GFP_KERNEL; in xr_kzalloc() local
151 gfp_t flags = GFP_ATOMIC; in xr_kzalloc()
153 flags = isDMA ? (flags | GFP_DMA) : flags; in xr_kzalloc()
154 return kzalloc(len, flags); in xr_kzalloc()
[all …]
/device/soc/winnermicro/wm800/board/platform/arch/xt804/libc/
Dlibc_port.c274 enum flags { enum
334 enum flags flags = 0; in wm_vsscanf() local
357 flags = 0; in wm_vsscanf()
374 flags |= FL_SPLAT; in wm_vsscanf()
379 flags |= FL_WIDTH; in wm_vsscanf()
475 if (!(flags & FL_SPLAT)) { in wm_vsscanf()
502 width = (flags & FL_WIDTH) ? width : 1; /* Default width == 1 */ in wm_vsscanf()
580 if (ch == '^' && !(flags & FL_INV)) { in wm_vsscanf()
717 const char* buf, size_t len, unsigned int width, unsigned int flags) in _out_rev() argument
724 if (!(flags & FLAGS_LEFT) && !(flags & FLAGS_ZEROPAD)) { in _out_rev()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/v4l2_dev/src/platform/
Dsystem_hw_io.c51 unsigned long flags; in system_hw_read_32() local
52 flags = system_spinlock_lock( reg_lock ); in system_hw_read_32()
54 system_spinlock_unlock( reg_lock, flags ); in system_hw_read_32()
65 unsigned long flags; in system_hw_read_16() local
66 flags = system_spinlock_lock( reg_lock ); in system_hw_read_16()
68 system_spinlock_unlock( reg_lock, flags ); in system_hw_read_16()
79 unsigned long flags; in system_hw_read_8() local
80 flags = system_spinlock_lock( reg_lock ); in system_hw_read_8()
82 system_spinlock_unlock( reg_lock, flags ); in system_hw_read_8()
95 unsigned long flags; in system_hw_write_32() local
[all …]
/device/board/talkweb/niobe407/applications/004_system_event/
DREADME_zh.md12 /// \param[in] attr event flags attributes; NULL: default values.
13 /// \return event flags ID for reference by other functions or NULL in case of error.
31 /// \param[in] ef_id event flags ID obtained by \ref osEventFlagsNew.
32 /// \param[in] flags specifies the flags that shall be set.
33 /// \return event flags after setting or error code if highest bit set.
34 uint32_t osEventFlagsSet(osEventFlagsId_t ef_id,uint32_t flags)
37 osEventFlagsSet函数在一个由参数ef_id指定的事件标记对象中设置由参数flags指定的事件标记。
47 | flags | 指定设置的标志. |
54 /// \param[in] ef_id event flags ID obtained by \ref osEventFlagsNew.
55 /// \param[in] flags specifies the flags to wait for.
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/
Ddisp_enhance.c93 unsigned long flags; in disp_enhance_update_regs() local
108 spin_lock_irqsave(&enhance_data_lock, flags); in disp_enhance_update_regs()
110 spin_unlock_irqrestore(&enhance_data_lock, flags); in disp_enhance_update_regs()
117 unsigned long flags; in disp_enhance_apply() local
128 spin_lock_irqsave(&enhance_data_lock, flags); in disp_enhance_apply()
129 if (enhancep->config.flags != 0) { in disp_enhance_apply()
134 spin_unlock_irqrestore(&enhance_data_lock, flags); in disp_enhance_apply()
136 if (config.flags != ENH_NONE_DIRTY) { in disp_enhance_apply()
142 spin_lock_irqsave(&enhance_data_lock, flags); in disp_enhance_apply()
143 if (config.flags != 0) in disp_enhance_apply()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/subdev/sensor/src/platform/
Dsystem_hw_io.c70 unsigned long flags; in system_hw_read_32() local
71 flags = system_spinlock_lock( reg_lock ); in system_hw_read_32()
73 system_spinlock_unlock( reg_lock, flags ); in system_hw_read_32()
84 unsigned long flags; in system_hw_read_16() local
85 flags = system_spinlock_lock( reg_lock ); in system_hw_read_16()
87 system_spinlock_unlock( reg_lock, flags ); in system_hw_read_16()
98 unsigned long flags; in system_hw_read_8() local
99 flags = system_spinlock_lock( reg_lock ); in system_hw_read_8()
101 system_spinlock_unlock( reg_lock, flags ); in system_hw_read_8()
114 unsigned long flags; in system_hw_write_32() local
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/subdev/lens/src/platform/
Dsystem_hw_io.c70 unsigned long flags; in system_hw_read_32() local
71 flags = system_spinlock_lock( reg_lock ); in system_hw_read_32()
73 system_spinlock_unlock( reg_lock, flags ); in system_hw_read_32()
84 unsigned long flags; in system_hw_read_16() local
85 flags = system_spinlock_lock( reg_lock ); in system_hw_read_16()
87 system_spinlock_unlock( reg_lock, flags ); in system_hw_read_16()
98 unsigned long flags; in system_hw_read_8() local
99 flags = system_spinlock_lock( reg_lock ); in system_hw_read_8()
101 system_spinlock_unlock( reg_lock, flags ); in system_hw_read_8()
114 unsigned long flags; in system_hw_write_32() local
[all …]
/device/soc/rockchip/rk3588/kernel/drivers/net/ethernet/realtek/r8168/
Drtltool.c50 unsigned long flags; in rtl8168_tool_ioctl() local
100 spin_lock_irqsave(&tp->lock, flags); in rtl8168_tool_ioctl()
102 spin_unlock_irqrestore(&tp->lock, flags); in rtl8168_tool_ioctl()
115 spin_lock_irqsave(&tp->lock, flags); in rtl8168_tool_ioctl()
117 spin_unlock_irqrestore(&tp->lock, flags); in rtl8168_tool_ioctl()
124 spin_lock_irqsave(&tp->lock, flags); in rtl8168_tool_ioctl()
126 spin_unlock_irqrestore(&tp->lock, flags); in rtl8168_tool_ioctl()
139 spin_lock_irqsave(&tp->lock, flags); in rtl8168_tool_ioctl()
141 spin_unlock_irqrestore(&tp->lock, flags); in rtl8168_tool_ioctl()
147 spin_lock_irqsave(&tp->lock, flags); in rtl8168_tool_ioctl()
[all …]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/
Dmali_kbase_csf_event.c51 unsigned long flags; in kbase_csf_event_wait_add() local
57 spin_lock_irqsave(&kctx->csf.event.lock, flags); in kbase_csf_event_wait_add()
62 spin_unlock_irqrestore(&kctx->csf.event.lock, flags); in kbase_csf_event_wait_add()
74 unsigned long flags; in kbase_csf_event_wait_remove() local
76 spin_lock_irqsave(&kctx->csf.event.lock, flags); in kbase_csf_event_wait_remove()
88 spin_unlock_irqrestore(&kctx->csf.event.lock, flags); in kbase_csf_event_wait_remove()
94 unsigned long flags; in sync_update_notify_gpu() local
96 spin_lock_irqsave(&kctx->kbdev->hwaccess_lock, flags); in sync_update_notify_gpu()
108 spin_unlock_irqrestore(&kctx->kbdev->hwaccess_lock, flags); in sync_update_notify_gpu()
114 unsigned long flags; in kbase_csf_event_signal() local
[all …]
/device/soc/esp/esp32/components/driver/
Dsdspi_transaction.c113 int flags = 0; in sdspi_host_do_transaction() local
114 if (SCF_CMD(cmdinfo->flags) == SCF_CMD_ADTC) { in sdspi_host_do_transaction()
115 flags = SDSPI_CMD_FLAG_DATA | SDSPI_CMD_FLAG_WRITE; in sdspi_host_do_transaction()
116 } else if (SCF_CMD(cmdinfo->flags) == (SCF_CMD_ADTC | SCF_CMD_READ)) { in sdspi_host_do_transaction()
117 flags = SDSPI_CMD_FLAG_DATA; in sdspi_host_do_transaction()
122 flags |= SDSPI_CMD_FLAG_MULTI_BLK; in sdspi_host_do_transaction()
131 flags |= SDSPI_CMD_FLAG_RSP_R7; in sdspi_host_do_transaction()
133 flags |= SDSPI_CMD_FLAG_RSP_R2; in sdspi_host_do_transaction()
135 flags |= SDSPI_CMD_FLAG_RSP_R3; in sdspi_host_do_transaction()
137 flags |= SDSPI_CMD_FLAG_RSP_R2; in sdspi_host_do_transaction()
[all …]
/device/soc/rockchip/common/sdk_linux/include/linux/
Dclk-provider.h284 unsigned long flags; member
333 unsigned long flags; member
341 … const struct clk_parent_data *parent_data, unsigned long flags,
344 …ster_fixed_rate(struct device *dev, const char *name, const char *parent_name, unsigned long flags,
355 #define clk_hw_register_fixed_rate(dev, name, parent_name, flags, fixed_rate) … argument
356 …__clk_hw_register_fixed_rate((dev), NULL, (name), (parent_name), NULL, NULL, (flags), (fixed_rate)…
366 #define clk_hw_register_fixed_rate_parent_hw(dev, name, parent_hw, flags, fixed_rate) … argument
367 …__clk_hw_register_fixed_rate((dev), NULL, (name), NULL, (parent_hw), NULL, (flags), (fixed_rate), …
377 #define clk_hw_register_fixed_rate_parent_data(dev, name, parent_hw, flags, fixed_rate) … argument
378 …__clk_hw_register_fixed_rate((dev), NULL, (name), NULL, NULL, (parent_data), (flags), (fixed_rate)…
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/
Ddma-fence.c339 &fence->flags))) in dma_fence_signal_timestamp_locked()
346 set_bit(DMA_FENCE_FLAG_TIMESTAMP_BIT, &fence->flags); in dma_fence_signal_timestamp_locked()
375 unsigned long flags; in dma_fence_signal_timestamp() local
382 spin_lock_irqsave(fence->lock, flags); in dma_fence_signal_timestamp()
384 spin_unlock_irqrestore(fence->lock, flags); in dma_fence_signal_timestamp()
426 unsigned long flags; in dma_fence_signal() local
436 spin_lock_irqsave(fence->lock, flags); in dma_fence_signal()
438 spin_unlock_irqrestore(fence->lock, flags); in dma_fence_signal()
500 if (WARN(!list_empty(&fence->cb_list) && !test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags), in dma_fence_release()
503 unsigned long flags; in dma_fence_release() local
[all …]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/
Dmali_kbase_instr_backend.c37 unsigned long flags; in kbase_instr_hwcnt_enable_internal() local
48 spin_lock_irqsave(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_enable_internal()
52 spin_unlock_irqrestore(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_enable_internal()
58 spin_unlock_irqrestore(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_enable_internal()
73 spin_unlock_irqrestore(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_enable_internal()
106 spin_lock_irqsave(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_enable_internal()
112 spin_unlock_irqrestore(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_enable_internal()
148 unsigned long flags, pm_flags; in kbase_instr_hwcnt_disable_internal() local
154 spin_lock_irqsave(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_disable_internal()
160 spin_unlock_irqrestore(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_disable_internal()
[all …]
/device/soc/esp/esp32/components/esp_system/
Dintr_alloc.c79 int flags: 16; //OR of VECDESC_FLAG_* defines member
173 if ( !(vd->flags & VECDESC_FL_SHARED) ) { in find_desc_for_source()
205 vd->flags=VECDESC_FL_SHARED; in esp_intr_mark_shared()
206 if (is_int_ram) vd->flags|=VECDESC_FL_INIRAM; in esp_intr_mark_shared()
223 vd->flags=VECDESC_FL_RESERVED; in esp_intr_reserve()
229 static bool is_vect_desc_usable(vector_desc_t *vd, int flags, int cpu, int force) in is_vect_desc_usable() argument
244 if (!(flags&(1<<interrupt_controller_hal_get_level(x)))) { in is_vect_desc_usable()
249 if (((flags&ESP_INTR_FLAG_EDGE) && (interrupt_controller_hal_get_type(x)==INTTP_LEVEL)) || in is_vect_desc_usable()
250 (((!(flags&ESP_INTR_FLAG_EDGE)) && (interrupt_controller_hal_get_type(x)==INTTP_EDGE)))) { in is_vect_desc_usable()
257 if (vd->flags&VECDESC_FL_RESERVED) { in is_vect_desc_usable()
[all …]
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/
Drga_job.c19 unsigned long flags; in rga_scheduler_get_pending_job_list() local
22 spin_lock_irqsave(&scheduler->irq_lock, flags); in rga_scheduler_get_pending_job_list()
27 spin_unlock_irqrestore(&scheduler->irq_lock, flags); in rga_scheduler_get_pending_job_list()
35 unsigned long flags; in rga_scheduler_get_running_job() local
38 spin_lock_irqsave(&scheduler->irq_lock, flags); in rga_scheduler_get_running_job()
42 spin_unlock_irqrestore(&scheduler->irq_lock, flags); in rga_scheduler_get_running_job()
131 if (~job->flags & RGA_JOB_USE_HANDLE) in rga_job_free()
168 job->flags |= RGA_JOB_UNSUPPORT_RGA2; in rga_job_judgment_support_core()
181 job->flags |= RGA_JOB_UNSUPPORT_RGA2; in rga_job_judgment_support_core()
194 job->flags |= RGA_JOB_UNSUPPORT_RGA2; in rga_job_judgment_support_core()
[all …]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
Dmali_kbase_tlstream.c656 …sep_tlstream_msgbuf_acquire(enum tl_stream_type stream_type, size_t msg_size, unsigned long *flags) in kbasep_tlstream_msgbuf_acquire() argument
669 spin_lock_irqsave(&stream->lock, *flags); in kbasep_tlstream_msgbuf_acquire()
699 static void kbasep_tlstream_msgbuf_release(enum tl_stream_type stream_type, unsigned long flags) in kbasep_tlstream_msgbuf_release() argument
711 spin_unlock_irqrestore(&stream->lock, flags); in kbasep_tlstream_msgbuf_release()
723 unsigned long flags; in kbasep_tlstream_flush_stream() local
733 spin_lock_irqsave(&stream->lock, flags); in kbasep_tlstream_flush_stream()
743 spin_unlock_irqrestore(&stream->lock, flags); in kbasep_tlstream_flush_stream()
762 unsigned long flags; in kbasep_tlstream_autoflush_timer_callback() local
787 spin_lock_irqsave(&stream->lock, flags); in kbasep_tlstream_autoflush_timer_callback()
797 spin_unlock_irqrestore(&stream->lock, flags); in kbasep_tlstream_autoflush_timer_callback()
[all …]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
Dmali_kbase_tlstream.c942 unsigned long *flags) __acquires(&stream->lock) in kbasep_tlstream_msgbuf_acquire() argument
956 spin_lock_irqsave(&stream->lock, *flags); in kbasep_tlstream_msgbuf_acquire()
989 unsigned long flags) __releases(&stream->lock) in kbasep_tlstream_msgbuf_release() argument
1000 spin_unlock_irqrestore(&stream->lock, flags); in kbasep_tlstream_msgbuf_release()
1014 unsigned long flags; in kbasep_tlstream_flush_stream() local
1023 spin_lock_irqsave(&stream->lock, flags); in kbasep_tlstream_flush_stream()
1035 spin_unlock_irqrestore(&stream->lock, flags); in kbasep_tlstream_flush_stream()
1054 unsigned long flags; in kbasep_tlstream_autoflush_timer_callback() local
1079 spin_lock_irqsave(&stream->lock, flags); in kbasep_tlstream_autoflush_timer_callback()
1092 spin_unlock_irqrestore(&stream->lock, flags); in kbasep_tlstream_autoflush_timer_callback()
[all …]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/backend/gpu/
Dmali_kbase_instr_backend.c35 unsigned long flags; in kbasep_instr_hwcnt_cacheclean() local
39 spin_lock_irqsave(&kbdev->hwcnt.lock, flags); in kbasep_instr_hwcnt_cacheclean()
54 spin_unlock_irqrestore(&kbdev->hwcnt.lock, flags); in kbasep_instr_hwcnt_cacheclean()
60 unsigned long flags, pm_flags; in kbase_instr_hwcnt_enable_internal() local
82 spin_lock_irqsave(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_enable_internal()
86 spin_unlock_irqrestore(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_enable_internal()
109 spin_unlock_irqrestore(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_enable_internal()
154 spin_lock_irqsave(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_enable_internal()
160 spin_unlock_irqrestore(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_enable_internal()
167 spin_lock_irqsave(&kbdev->hwaccess_lock, flags); in kbase_instr_hwcnt_enable_internal()
[all …]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/backend/gpu/
Dmali_kbase_instr_backend.c39 unsigned long flags; in kbasep_instr_hwcnt_cacheclean() local
43 spin_lock_irqsave(&kbdev->hwcnt.lock, flags); in kbasep_instr_hwcnt_cacheclean()
61 spin_unlock_irqrestore(&kbdev->hwcnt.lock, flags); in kbasep_instr_hwcnt_cacheclean()
68 unsigned long flags, pm_flags; in kbase_instr_hwcnt_enable_internal() local
90 spin_lock_irqsave(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_enable_internal()
94 spin_unlock_irqrestore(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_enable_internal()
119 spin_unlock_irqrestore(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_enable_internal()
175 spin_lock_irqsave(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_enable_internal()
181 spin_unlock_irqrestore(&kbdev->hwcnt.lock, flags); in kbase_instr_hwcnt_enable_internal()
188 spin_lock_irqsave(&kbdev->hwaccess_lock, flags); in kbase_instr_hwcnt_enable_internal()
[all …]

12345678910>>...75