/linux-6.6.21/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 …]
|
/linux-6.6.21/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()
|
/linux-6.6.21/include/linux/ |
D | spinlock_rt.h | 19 #define spin_lock_init(slock) \ argument 23 rt_mutex_base_init(&(slock)->lock); \ 24 __rt_spin_lock_init(slock, #slock, &__key, false); \ 27 #define local_spin_lock_init(slock) \ argument 31 rt_mutex_base_init(&(slock)->lock); \ 32 __rt_spin_lock_init(slock, #slock, &__key, true); \
|
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()
|
/linux-6.6.21/drivers/tty/ |
D | mxser.c | 279 spinlock_t slock; member 450 spin_lock_irqsave(&info->slock, flags); in mxser_start_tx() 452 spin_unlock_irqrestore(&info->slock, flags); in mxser_start_tx() 474 spin_lock_irqsave(&mp->slock, flags); in mxser_dtr_rts() 481 spin_unlock_irqrestore(&mp->slock, flags); in mxser_dtr_rts() 736 spin_lock_irqsave(&info->slock, flags); in mxser_activate() 740 spin_unlock_irqrestore(&info->slock, flags); in mxser_activate() 757 spin_unlock_irqrestore(&info->slock, flags); in mxser_activate() 806 spin_unlock_irqrestore(&info->slock, flags); in mxser_activate() 836 spin_lock_irqsave(&info->slock, flags); in mxser_shutdown_port() [all …]
|
/linux-6.6.21/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()
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/hte/ |
D | hte.c | 64 spinlock_t slock; member 208 spin_lock_irqsave(&ei->slock, flag); in hte_ts_put() 211 spin_unlock_irqrestore(&ei->slock, flag); in hte_ts_put() 213 spin_lock_irqsave(&ei->slock, flag); in hte_ts_put() 223 spin_unlock_irqrestore(&ei->slock, flag); in hte_ts_put() 266 spin_lock_irqsave(&ei->slock, flag); in hte_ts_dis_en_common() 274 spin_unlock_irqrestore(&ei->slock, flag); in hte_ts_dis_en_common() 282 spin_lock_irqsave(&ei->slock, flag); in hte_ts_dis_en_common() 290 spin_unlock_irqrestore(&ei->slock, flag); in hte_ts_dis_en_common() 298 spin_lock_irqsave(&ei->slock, flag); in hte_ts_dis_en_common() [all …]
|
/linux-6.6.21/drivers/media/dvb-core/ |
D | dvb_vb2.c | 73 spin_lock_irqsave(&ctx->slock, flags); in _buffer_queue() 75 spin_unlock_irqrestore(&ctx->slock, flags); in _buffer_queue() 96 spin_lock_irqsave(&ctx->slock, flags); in _stop_streaming() 103 spin_unlock_irqrestore(&ctx->slock, flags); in _stop_streaming() 189 spin_lock_init(&ctx->slock); in dvb_vb2_init() 269 spin_lock_irqsave(&ctx->slock, flags); in dvb_vb2_fill_buffer() 318 spin_unlock_irqrestore(&ctx->slock, flags); in dvb_vb2_fill_buffer() 416 spin_lock_irqsave(&ctx->slock, flags); in dvb_vb2_dqbuf() 420 spin_unlock_irqrestore(&ctx->slock, flags); in dvb_vb2_dqbuf()
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | simple_spinlock.h | 37 return lock.slock == 0; in arch_spin_value_unlocked() 64 : "r" (token), "r" (&lock->slock), [eh] "n" (eh) in __arch_spin_trylock() 123 } while (unlikely(lock->slock != 0)); in arch_spin_lock() 133 lock->slock = 0; in arch_spin_unlock()
|
/linux-6.6.21/drivers/media/platform/st/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 …]
|
/linux-6.6.21/drivers/gpio/ |
D | gpio-rockchip.c | 166 raw_spin_lock_irqsave(&bank->slock, flags); in rockchip_gpio_set_direction() 168 raw_spin_unlock_irqrestore(&bank->slock, flags); in rockchip_gpio_set_direction() 179 raw_spin_lock_irqsave(&bank->slock, flags); in rockchip_gpio_set() 181 raw_spin_unlock_irqrestore(&bank->slock, flags); in rockchip_gpio_set() 220 raw_spin_lock_irqsave(&bank->slock, flags); in rockchip_gpio_set_debounce() 244 raw_spin_unlock_irqrestore(&bank->slock, flags); in rockchip_gpio_set_debounce() 357 raw_spin_lock_irqsave(&bank->slock, flags); in rockchip_irq_demux() 369 raw_spin_unlock_irqrestore(&bank->slock, flags); in rockchip_irq_demux() 394 raw_spin_lock_irqsave(&bank->slock, flags); in rockchip_irq_set_type() 399 raw_spin_unlock_irqrestore(&bank->slock, flags); in rockchip_irq_set_type() [all …]
|
/linux-6.6.21/drivers/media/platform/samsung/exynos-gsc/ |
D | gsc-core.h | 330 spinlock_t slock; member 417 spin_lock_irqsave(&ctx->gsc_dev->slock, flags); in gsc_ctx_state_lock_set() 419 spin_unlock_irqrestore(&ctx->gsc_dev->slock, flags); in gsc_ctx_state_lock_set() 426 spin_lock_irqsave(&ctx->gsc_dev->slock, flags); in gsc_ctx_state_lock_clear() 428 spin_unlock_irqrestore(&ctx->gsc_dev->slock, flags); in gsc_ctx_state_lock_clear() 473 spin_lock_irqsave(&ctx->gsc_dev->slock, flags); in gsc_ctx_state_is_set() 475 spin_unlock_irqrestore(&ctx->gsc_dev->slock, flags); in gsc_ctx_state_is_set()
|
/linux-6.6.21/drivers/media/platform/samsung/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 …]
|
/linux-6.6.21/drivers/media/pci/sta2x11/ |
D | sta2x11_vip.c | 127 spinlock_t slock; member 221 spin_lock_irq(&vip->slock); in start_dma() 227 spin_unlock_irq(&vip->slock); in start_dma() 336 spin_lock_irq(&vip->slock); in start_streaming() 339 spin_unlock_irq(&vip->slock); in start_streaming() 679 spin_lock_irq(&vip->slock); in vidioc_s_fmt_vid_cap() 690 spin_unlock_irq(&vip->slock); in vidioc_s_fmt_vid_cap() 812 spin_lock_irq(&vip->slock); in sta2x11_vip_init_register() 821 spin_unlock_irq(&vip->slock); in sta2x11_vip_init_register() 825 spin_lock_irq(&vip->slock); in sta2x11_vip_clear_register() [all …]
|
/linux-6.6.21/drivers/media/platform/samsung/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 | 158 spinlock_t slock; member 187 spin_lock_irqsave(&fimc->slock, flags); in fimc_lite_active() 190 spin_unlock_irqrestore(&fimc->slock, flags); in fimc_lite_active()
|
D | fimc-core.h | 416 spinlock_t slock; member 533 spin_lock_irqsave(&fimc->slock, flags); in fimc_capture_active() 536 spin_unlock_irqrestore(&fimc->slock, flags); in fimc_capture_active() 544 spin_lock_irqsave(&ctx->fimc_dev->slock, flags); in fimc_ctx_state_set() 546 spin_unlock_irqrestore(&ctx->fimc_dev->slock, flags); in fimc_ctx_state_set() 554 spin_lock_irqsave(&ctx->fimc_dev->slock, flags); in fimc_ctx_state_is_set() 556 spin_unlock_irqrestore(&ctx->fimc_dev->slock, flags); in fimc_ctx_state_is_set()
|
D | fimc-core.c | 298 spin_lock(&fimc->slock); in fimc_irq_handler() 308 spin_unlock(&fimc->slock); in fimc_irq_handler() 323 spin_unlock(&fimc->slock); in fimc_irq_handler() 561 spin_lock_irqsave(&ctx->fimc_dev->slock, flags); in fimc_s_ctrl() 563 spin_unlock_irqrestore(&ctx->fimc_dev->slock, flags); in fimc_s_ctrl() 826 spin_lock_irqsave(&fimc->slock, flags); in fimc_m2m_suspend() 828 spin_unlock_irqrestore(&fimc->slock, flags); in fimc_m2m_suspend() 833 spin_unlock_irqrestore(&fimc->slock, flags); in fimc_m2m_suspend() 848 spin_lock_irqsave(&fimc->slock, flags); in fimc_m2m_resume() 852 spin_unlock_irqrestore(&fimc->slock, flags); in fimc_m2m_resume() [all …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/clk/samsung/ |
D | clk-exynos-clkout.c | 32 spinlock_t slock; member 135 spin_lock_init(&clkout->slock); in exynos_clkout_probe() 164 clkout->gate.lock = &clkout->slock; in exynos_clkout_probe() 169 clkout->mux.lock = &clkout->slock; in exynos_clkout_probe()
|
/linux-6.6.21/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() 643 spin_lock_init(&solo_dev->slock); in solo_v4l2_init()
|