/kernel/linux/linux-5.10/drivers/media/pci/tw5864/ |
D | tw5864-core.c | 87 spin_lock_irqsave(&dev->slock, flags); in tw5864_interrupts_disable() 90 spin_unlock_irqrestore(&dev->slock, flags); in tw5864_interrupts_disable() 131 spin_lock_irqsave(&dev->slock, flags); in tw5864_h264_isr() 151 spin_lock(&input->slock); in tw5864_h264_isr() 156 spin_unlock(&input->slock); in tw5864_h264_isr() 165 spin_unlock_irqrestore(&dev->slock, flags); in tw5864_h264_isr() 189 spin_lock_irqsave(&dev->slock, flags); in tw5864_timer_isr() 191 spin_unlock_irqrestore(&dev->slock, flags); in tw5864_timer_isr() 205 spin_lock_irqsave(&input->slock, flags); in tw5864_timer_isr() 216 spin_unlock_irqrestore(&input->slock, flags); in tw5864_timer_isr() [all …]
|
D | tw5864-video.c | 203 spin_lock_irqsave(&dev->slock, flags); in tw5864_buf_queue() 205 spin_unlock_irqrestore(&dev->slock, flags); in tw5864_buf_queue() 363 spin_lock_irqsave(&dev->slock, flags); in tw5864_enable_input() 365 spin_unlock_irqrestore(&dev->slock, flags); in tw5864_enable_input() 421 spin_lock_irqsave(&dev->slock, flags); in tw5864_disable_input() 423 spin_unlock_irqrestore(&dev->slock, flags); in tw5864_disable_input() 453 spin_lock_irqsave(&input->slock, flags); in tw5864_stop_streaming() 465 spin_unlock_irqrestore(&input->slock, flags); in tw5864_stop_streaming() 507 spin_lock_irqsave(&input->slock, flags); in tw5864_s_ctrl() 512 spin_unlock_irqrestore(&input->slock, flags); in tw5864_s_ctrl() [all …]
|
/kernel/linux/linux-5.10/arch/arc/include/asm/ |
D | spinlock.h | 13 #define arch_spin_is_locked(x) ((x)->slock != __ARCH_SPIN_LOCK_UNLOCKED__) 28 : [slock] "r" (&(lock->slock)), in arch_spin_lock() 58 : [slock] "r" (&(lock->slock)), in arch_spin_trylock() 71 WRITE_ONCE(lock->slock, __ARCH_SPIN_LOCK_UNLOCKED__); in arch_spin_unlock() 237 : "r"(&(lock->slock)), "ir"(__ARCH_SPIN_LOCK_LOCKED__) in arch_spin_lock() 253 : "r"(&(lock->slock)) in arch_spin_trylock() 280 : "r"(&(lock->slock)) in arch_spin_unlock()
|
/kernel/linux/linux-5.10/include/linux/ |
D | spinlock_up.h | 27 #define arch_spin_is_locked(x) ((x)->slock == 0) 31 lock->slock = 0; in arch_spin_lock() 37 char oldval = lock->slock; in arch_spin_trylock() 39 lock->slock = 0; in arch_spin_trylock() 48 lock->slock = 1; in arch_spin_unlock()
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
D | spinlock.h | 62 prefetchw(&lock->slock); in arch_spin_lock() 70 : "r" (&lock->slock), "I" (1 << TICKET_SHIFT) in arch_spin_lock() 84 u32 slock; in arch_spin_trylock() local 86 prefetchw(&lock->slock); in arch_spin_trylock() 94 : "=&r" (slock), "=&r" (contended), "=&r" (res) in arch_spin_trylock() 95 : "r" (&lock->slock), "I" (1 << TICKET_SHIFT) in arch_spin_trylock()
|
/kernel/linux/linux-5.10/drivers/tty/ |
D | mxser.c | 259 spinlock_t slock; member 558 spin_lock_irqsave(&mp->slock, flags); in mxser_dtr_rts() 565 spin_unlock_irqrestore(&mp->slock, flags); in mxser_dtr_rts() 867 spin_lock_irqsave(&info->slock, flags); in mxser_activate() 871 spin_unlock_irqrestore(&info->slock, flags); in mxser_activate() 895 spin_unlock_irqrestore(&info->slock, flags); in mxser_activate() 944 spin_unlock_irqrestore(&info->slock, flags); in mxser_activate() 961 spin_lock_irqsave(&info->slock, flags); in mxser_shutdown_port() 996 spin_unlock_irqrestore(&info->slock, flags); in mxser_shutdown_port() 1028 spin_lock_irqsave(&info->slock, flags); in mxser_flush_buffer() [all …]
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
D | ti-ads7950.c | 74 struct mutex slock; member 311 mutex_lock(&st->slock); in ti_ads7950_trigger_handler() 320 mutex_unlock(&st->slock); in ti_ads7950_trigger_handler() 331 mutex_lock(&st->slock); in ti_ads7950_scan_direct() 342 mutex_unlock(&st->slock); in ti_ads7950_scan_direct() 411 mutex_lock(&st->slock); in ti_ads7950_set() 421 mutex_unlock(&st->slock); in ti_ads7950_set() 429 mutex_lock(&st->slock); in ti_ads7950_get() 454 mutex_unlock(&st->slock); in ti_ads7950_get() 474 mutex_lock(&st->slock); in _ti_ads7950_set_direction() [all …]
|
/kernel/linux/linux-5.10/drivers/media/pci/cx23885/ |
D | cx23885-vbi.c | 76 spin_lock(&dev->slock); in cx23885_vbi_irq() 79 spin_unlock(&dev->slock); in cx23885_vbi_irq() 198 spin_lock_irqsave(&dev->slock, flags); in buffer_queue() 200 spin_unlock_irqrestore(&dev->slock, flags); in buffer_queue() 208 spin_lock_irqsave(&dev->slock, flags); in buffer_queue() 210 spin_unlock_irqrestore(&dev->slock, flags); in buffer_queue() 235 spin_lock_irqsave(&dev->slock, flags); in cx23885_stop_streaming() 243 spin_unlock_irqrestore(&dev->slock, flags); in cx23885_stop_streaming()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | simple_spinlock.h | 36 return lock.slock == 0; in arch_spin_value_unlocked() 63 : "r" (token), "r" (&lock->slock) in __arch_spin_trylock() 122 } while (unlikely(lock->slock != 0)); in arch_spin_lock() 141 } while (unlikely(lock->slock != 0)); in arch_spin_lock_flags() 152 lock->slock = 0; in arch_spin_unlock()
|
/kernel/linux/linux-5.10/drivers/media/dvb-core/ |
D | dvb_vb2.c | 77 spin_lock_irqsave(&ctx->slock, flags); in _buffer_queue() 79 spin_unlock_irqrestore(&ctx->slock, flags); in _buffer_queue() 100 spin_lock_irqsave(&ctx->slock, flags); in _stop_streaming() 107 spin_unlock_irqrestore(&ctx->slock, flags); in _stop_streaming() 193 spin_lock_init(&ctx->slock); in dvb_vb2_init() 273 spin_lock_irqsave(&ctx->slock, flags); in dvb_vb2_fill_buffer() 322 spin_unlock_irqrestore(&ctx->slock, flags); in dvb_vb2_fill_buffer() 420 spin_lock_irqsave(&ctx->slock, flags); in dvb_vb2_dqbuf() 424 spin_unlock_irqrestore(&ctx->slock, flags); in dvb_vb2_dqbuf()
|
/kernel/linux/linux-5.10/drivers/media/platform/sti/bdisp/ |
D | bdisp-v4l2.c | 124 spin_lock_irqsave(&ctx->bdisp_dev->slock, flags); in bdisp_ctx_state_lock_set() 126 spin_unlock_irqrestore(&ctx->bdisp_dev->slock, flags); in bdisp_ctx_state_lock_set() 133 spin_lock_irqsave(&ctx->bdisp_dev->slock, flags); in bdisp_ctx_state_lock_clear() 135 spin_unlock_irqrestore(&ctx->bdisp_dev->slock, flags); in bdisp_ctx_state_lock_clear() 143 spin_lock_irqsave(&ctx->bdisp_dev->slock, flags); in bdisp_ctx_state_is_set() 145 spin_unlock_irqrestore(&ctx->bdisp_dev->slock, flags); in bdisp_ctx_state_is_set() 317 spin_lock_irqsave(&bdisp->slock, flags); in bdisp_device_run() 358 spin_unlock_irqrestore(&bdisp->slock, flags); in bdisp_device_run() 397 spin_lock_irqsave(&ctx->bdisp_dev->slock, flags); in bdisp_s_ctrl() 399 spin_unlock_irqrestore(&ctx->bdisp_dev->slock, flags); in bdisp_s_ctrl() [all …]
|
/kernel/linux/linux-5.10/drivers/clk/samsung/ |
D | clk-exynos-clkout.c | 29 spinlock_t slock; member 67 spin_lock_init(&clkout->slock); in exynos_clkout_init() 94 clkout->gate.lock = &clkout->slock; in exynos_clkout_init() 99 clkout->mux.lock = &clkout->slock; in exynos_clkout_init()
|
/kernel/linux/linux-5.10/drivers/iio/gyro/ |
D | adis16136.c | 226 struct mutex *slock = &adis16136->adis.state_lock; in adis16136_read_frequency() local 230 mutex_lock(slock); in adis16136_read_frequency() 232 mutex_unlock(slock); in adis16136_read_frequency() 257 struct mutex *slock = &adis16136->adis.state_lock; in adis16136_set_filter() local 261 mutex_lock(slock); in adis16136_set_filter() 273 mutex_unlock(slock); in adis16136_set_filter() 281 struct mutex *slock = &adis16136->adis.state_lock; in adis16136_get_filter() local 286 mutex_lock(slock); in adis16136_get_filter() 300 mutex_unlock(slock); in adis16136_get_filter()
|
/kernel/linux/linux-5.10/drivers/media/platform/exynos-gsc/ |
D | gsc-core.h | 327 spinlock_t slock; member 410 spin_lock_irqsave(&ctx->gsc_dev->slock, flags); in gsc_ctx_state_lock_set() 412 spin_unlock_irqrestore(&ctx->gsc_dev->slock, flags); in gsc_ctx_state_lock_set() 419 spin_lock_irqsave(&ctx->gsc_dev->slock, flags); in gsc_ctx_state_lock_clear() 421 spin_unlock_irqrestore(&ctx->gsc_dev->slock, flags); in gsc_ctx_state_lock_clear() 466 spin_lock_irqsave(&ctx->gsc_dev->slock, flags); in gsc_ctx_state_is_set() 468 spin_unlock_irqrestore(&ctx->gsc_dev->slock, flags); in gsc_ctx_state_is_set()
|
/kernel/linux/linux-5.10/drivers/media/platform/s3c-camif/ |
D | camif-capture.c | 156 spin_lock_irqsave(&camif->slock, flags); in camif_reinitialize() 174 spin_unlock_irqrestore(&camif->slock, flags); in camif_reinitialize() 188 spin_lock_irqsave(&camif->slock, flags); in s3c_vp_active() 190 spin_unlock_irqrestore(&camif->slock, flags); in s3c_vp_active() 200 spin_lock_irqsave(&camif->slock, flags); in camif_is_streaming() 202 spin_unlock_irqrestore(&camif->slock, flags); in camif_is_streaming() 216 spin_lock_irqsave(&camif->slock, flags); in camif_stop_capture() 219 spin_unlock_irqrestore(&camif->slock, flags); in camif_stop_capture() 225 spin_lock_irqsave(&camif->slock, flags); in camif_stop_capture() 236 spin_unlock_irqrestore(&camif->slock, flags); in camif_stop_capture() [all …]
|
/kernel/linux/linux-5.10/drivers/media/pci/sta2x11/ |
D | sta2x11_vip.c | 126 spinlock_t slock; member 220 spin_lock_irq(&vip->slock); in start_dma() 226 spin_unlock_irq(&vip->slock); in start_dma() 335 spin_lock_irq(&vip->slock); in start_streaming() 338 spin_unlock_irq(&vip->slock); in start_streaming() 682 spin_lock_irq(&vip->slock); in vidioc_s_fmt_vid_cap() 693 spin_unlock_irq(&vip->slock); in vidioc_s_fmt_vid_cap() 815 spin_lock_irq(&vip->slock); in sta2x11_vip_init_register() 824 spin_unlock_irq(&vip->slock); in sta2x11_vip_init_register() 828 spin_lock_irq(&vip->slock); in sta2x11_vip_clear_register() [all …]
|
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/ |
D | fimc-lite.c | 149 spin_lock_irqsave(&fimc->slock, flags); in fimc_lite_hw_init() 162 spin_unlock_irqrestore(&fimc->slock, flags); in fimc_lite_hw_init() 180 spin_lock_irqsave(&fimc->slock, flags); in fimc_lite_reinit() 205 spin_unlock_irqrestore(&fimc->slock, flags); in fimc_lite_reinit() 222 spin_lock_irqsave(&fimc->slock, flags); in fimc_lite_stop_capture() 225 spin_unlock_irqrestore(&fimc->slock, flags); in fimc_lite_stop_capture() 250 spin_lock_irqsave(&fimc->slock, flags); in flite_irq_handler() 301 spin_unlock_irqrestore(&fimc->slock, flags); in flite_irq_handler() 311 spin_lock_irqsave(&fimc->slock, flags); in start_streaming() 316 spin_unlock_irqrestore(&fimc->slock, flags); in start_streaming() [all …]
|
D | fimc-lite.h | 156 spinlock_t slock; member 185 spin_lock_irqsave(&fimc->slock, flags); in fimc_lite_active() 188 spin_unlock_irqrestore(&fimc->slock, flags); in fimc_lite_active()
|
D | fimc-core.h | 414 spinlock_t slock; member 531 spin_lock_irqsave(&fimc->slock, flags); in fimc_capture_active() 534 spin_unlock_irqrestore(&fimc->slock, flags); in fimc_capture_active() 542 spin_lock_irqsave(&ctx->fimc_dev->slock, flags); in fimc_ctx_state_set() 544 spin_unlock_irqrestore(&ctx->fimc_dev->slock, flags); in fimc_ctx_state_set() 552 spin_lock_irqsave(&ctx->fimc_dev->slock, flags); in fimc_ctx_state_is_set() 554 spin_unlock_irqrestore(&ctx->fimc_dev->slock, flags); in fimc_ctx_state_is_set()
|
D | fimc-core.c | 297 spin_lock(&fimc->slock); in fimc_irq_handler() 307 spin_unlock(&fimc->slock); in fimc_irq_handler() 322 spin_unlock(&fimc->slock); in fimc_irq_handler() 562 spin_lock_irqsave(&ctx->fimc_dev->slock, flags); in fimc_s_ctrl() 564 spin_unlock_irqrestore(&ctx->fimc_dev->slock, flags); in fimc_s_ctrl() 827 spin_lock_irqsave(&fimc->slock, flags); in fimc_m2m_suspend() 829 spin_unlock_irqrestore(&fimc->slock, flags); in fimc_m2m_suspend() 834 spin_unlock_irqrestore(&fimc->slock, flags); in fimc_m2m_suspend() 849 spin_lock_irqsave(&fimc->slock, flags); in fimc_m2m_resume() 853 spin_unlock_irqrestore(&fimc->slock, flags); in fimc_m2m_resume() [all …]
|
/kernel/linux/linux-5.10/drivers/media/pci/cx88/ |
D | cx88-mpeg.c | 278 spin_lock_irqsave(&dev->slock, flags); in do_cancel_buffers() 284 spin_unlock_irqrestore(&dev->slock, flags); in do_cancel_buffers() 333 spin_lock(&dev->slock); in cx8802_mpeg_irq() 336 spin_unlock(&dev->slock); in cx8802_mpeg_irq() 342 spin_lock(&dev->slock); in cx8802_mpeg_irq() 344 spin_unlock(&dev->slock); in cx8802_mpeg_irq() 406 spin_lock_init(&dev->slock); in cx8802_init_common() 443 spin_lock_irqsave(&dev->slock, flags); in cx8802_suspend_common() 449 spin_unlock_irqrestore(&dev->slock, flags); in cx8802_suspend_common() 491 spin_lock_irqsave(&dev->slock, flags); in cx8802_resume_common() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/lib/ |
D | locks.c | 25 lock_value = lock->slock; in splpar_spin_yield() 35 if (lock->slock != lock_value) in splpar_spin_yield()
|
/kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/ |
D | cal-video.c | 582 spin_lock_irqsave(&ctx->slock, flags); in cal_buffer_queue() 584 spin_unlock_irqrestore(&ctx->slock, flags); in cal_buffer_queue() 596 spin_lock_irqsave(&ctx->slock, flags); in cal_start_streaming() 598 spin_unlock_irqrestore(&ctx->slock, flags); in cal_start_streaming() 607 spin_unlock_irqrestore(&ctx->slock, flags); in cal_start_streaming() 634 spin_lock_irqsave(&ctx->slock, flags); in cal_start_streaming() 642 spin_unlock_irqrestore(&ctx->slock, flags); in cal_start_streaming() 663 spin_lock_irqsave(&ctx->slock, flags); in cal_stop_streaming() 665 spin_unlock_irqrestore(&ctx->slock, flags); in cal_stop_streaming() 675 spin_lock_irqsave(&ctx->slock, flags); in cal_stop_streaming() [all …]
|
/kernel/linux/linux-5.10/drivers/media/pci/solo6x10/ |
D | solo6x10-v4l2.c | 239 spin_lock(&solo_dev->slock); in solo_thread_try() 250 spin_unlock(&solo_dev->slock); in solo_thread_try() 255 assert_spin_locked(&solo_dev->slock); in solo_thread_try() 256 spin_unlock(&solo_dev->slock); in solo_thread_try() 336 spin_lock(&solo_dev->slock); in solo_stop_streaming() 345 spin_unlock(&solo_dev->slock); in solo_stop_streaming() 357 spin_lock(&solo_dev->slock); in solo_buf_queue() 359 spin_unlock(&solo_dev->slock); in solo_buf_queue() 647 spin_lock_init(&solo_dev->slock); in solo_v4l2_init()
|
/kernel/linux/linux-5.10/drivers/media/usb/au0828/ |
D | au0828-vbi.c | 64 spin_lock_irqsave(&dev->slock, flags); in vbi_buffer_queue() 66 spin_unlock_irqrestore(&dev->slock, flags); in vbi_buffer_queue()
|