Home
last modified time | relevance | path

Searched refs:slock (Results 1 – 25 of 162) sorted by relevance

1234567

/linux/drivers/media/pci/tw5864/
A Dtw5864-core.c87 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()
218 spin_lock_irqsave(&dev->slock, flags); in tw5864_timer_isr()
[all …]
A Dtw5864-video.c203 spin_lock_irqsave(&dev->slock, flags); in tw5864_buf_queue()
363 spin_lock_irqsave(&dev->slock, flags); in tw5864_enable_input()
421 spin_lock_irqsave(&dev->slock, flags); in tw5864_disable_input()
453 spin_lock_irqsave(&input->slock, flags); in tw5864_stop_streaming()
507 spin_lock_irqsave(&input->slock, flags); in tw5864_s_ctrl()
1017 spin_lock_irqsave(&dev->slock, flags); in tw5864_video_init()
1105 spin_lock_init(&input->slock); in tw5864_video_input_init()
1225 spin_lock_irqsave(&input->slock, flags); in tw5864_prepare_frame_headers()
1325 spin_lock_irqsave(&dev->slock, flags); in tw5864_handle_frame_task()
1340 spin_lock_irqsave(&dev->slock, flags); in tw5864_handle_frame_task()
[all …]
/linux/arch/arc/include/asm/
A Dspinlock.h13 #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/drivers/tty/
A Dmxser.c267 spinlock_t slock; member
438 spin_lock_irqsave(&info->slock, flags); in mxser_start_tx()
461 spin_lock_irqsave(&mp->slock, flags); in mxser_dtr_rts()
730 spin_lock_irqsave(&info->slock, flags); in mxser_activate()
1242 spin_lock_irq(&port->slock); in mxser_ioctl_op_mode()
1247 spin_unlock_irq(&port->slock); in mxser_ioctl_op_mode()
1252 spin_lock_irq(&port->slock); in mxser_ioctl_op_mode()
1254 spin_unlock_irq(&port->slock); in mxser_ioctl_op_mode()
1754 spin_lock(&port->slock); in mxser_interrupt()
1759 spin_unlock(&port->slock); in mxser_interrupt()
[all …]
/linux/include/linux/
A Dspinlock_rt.h19 #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); \
A Dspinlock_up.h27 #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/arch/arm/include/asm/
A Dspinlock.h62 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/drivers/iio/adc/
A Dti-ads7950.c74 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()
474 mutex_lock(&st->slock); in _ti_ads7950_set_direction()
511 mutex_lock(&st->slock); in ti_ads7950_init_hw()
[all …]
/linux/drivers/media/pci/cx23885/
A Dcx23885-vbi.c76 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/drivers/gpio/
A Dgpio-rockchip.c157 raw_spin_lock_irqsave(&bank->slock, flags); in rockchip_gpio_set_direction()
159 raw_spin_unlock_irqrestore(&bank->slock, flags); in rockchip_gpio_set_direction()
170 raw_spin_lock_irqsave(&bank->slock, flags); in rockchip_gpio_set()
172 raw_spin_unlock_irqrestore(&bank->slock, flags); in rockchip_gpio_set()
211 raw_spin_lock_irqsave(&bank->slock, flags); in rockchip_gpio_set_debounce()
235 raw_spin_unlock_irqrestore(&bank->slock, flags); in rockchip_gpio_set_debounce()
359 raw_spin_lock_irqsave(&bank->slock, flags); in rockchip_irq_demux()
396 raw_spin_lock_irqsave(&bank->slock, flags); in rockchip_irq_set_type()
401 raw_spin_unlock_irqrestore(&bank->slock, flags); in rockchip_irq_set_type()
408 raw_spin_lock_irqsave(&bank->slock, flags); in rockchip_irq_set_type()
[all …]
A Dgpio-aggregator.c245 spinlock_t slock; /* protects tmp[] if !can_sleep */ member
319 spin_lock_irqsave(&fwd->slock, flags); in gpio_fwd_get_multiple_locked()
321 spin_unlock_irqrestore(&fwd->slock, flags); in gpio_fwd_get_multiple_locked()
360 spin_lock_irqsave(&fwd->slock, flags); in gpio_fwd_set_multiple_locked()
362 spin_unlock_irqrestore(&fwd->slock, flags); in gpio_fwd_set_multiple_locked()
439 spin_lock_init(&fwd->slock); in gpiochip_fwd_create()
/linux/drivers/media/dvb-core/
A Ddvb_vb2.c77 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()
409 spin_lock_irqsave(&ctx->slock, flags); in dvb_vb2_dqbuf()
413 spin_unlock_irqrestore(&ctx->slock, flags); in dvb_vb2_dqbuf()
/linux/drivers/media/platform/sti/bdisp/
A Dbdisp-v4l2.c317 spin_lock_irqsave(&bdisp->slock, flags); in bdisp_device_run()
358 spin_unlock_irqrestore(&bdisp->slock, flags); in bdisp_device_run()
1096 spin_lock(&bdisp->slock); in bdisp_irq_thread()
1115 spin_unlock(&bdisp->slock); in bdisp_irq_thread()
1127 spin_unlock(&bdisp->slock); in bdisp_irq_thread()
1151 spin_lock(&bdisp->slock); in bdisp_irq_timeout()
1153 spin_unlock(&bdisp->slock); in bdisp_irq_timeout()
1165 spin_lock_irqsave(&bdisp->slock, flags); in bdisp_m2m_suspend()
1193 spin_lock_irqsave(&bdisp->slock, flags); in bdisp_m2m_resume()
1232 spin_lock_irqsave(&bdisp->slock, flags); in bdisp_resume()
[all …]
/linux/arch/powerpc/include/asm/
A Dsimple_spinlock.h36 return lock.slock == 0; in arch_spin_value_unlocked()
62 : "r" (token), "r" (&lock->slock) in __arch_spin_trylock()
121 } while (unlikely(lock->slock != 0)); in arch_spin_lock()
130 lock->slock = 0; in arch_spin_unlock()
/linux/drivers/media/platform/s3c-camif/
A Dcamif-capture.c156 spin_lock_irqsave(&camif->slock, flags); in camif_reinitialize()
188 spin_lock_irqsave(&camif->slock, flags); in s3c_vp_active()
200 spin_lock_irqsave(&camif->slock, flags); in camif_is_streaming()
216 spin_lock_irqsave(&camif->slock, flags); in camif_stop_capture()
225 spin_lock_irqsave(&camif->slock, flags); in camif_stop_capture()
295 spin_lock(&camif->slock); in s3c_camif_irq_handler()
370 spin_unlock(&camif->slock); in s3c_camif_irq_handler()
387 spin_lock_irqsave(&camif->slock, flags); in start_streaming()
402 spin_lock_irqsave(&camif->slock, flags); in start_streaming()
486 spin_lock_irqsave(&camif->slock, flags); in buffer_queue()
[all …]
/linux/drivers/media/pci/sta2x11/
A Dsta2x11_vip.c126 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 …]
/linux/drivers/media/platform/exynos4-is/
A Dfimc-lite.c149 spin_lock_irqsave(&fimc->slock, flags); in fimc_lite_hw_init()
180 spin_lock_irqsave(&fimc->slock, flags); in fimc_lite_reinit()
222 spin_lock_irqsave(&fimc->slock, flags); in fimc_lite_stop_capture()
250 spin_lock_irqsave(&fimc->slock, flags); in flite_irq_handler()
311 spin_lock_irqsave(&fimc->slock, flags); in start_streaming()
411 spin_lock_irqsave(&fimc->slock, flags); in buffer_queue()
454 spin_lock_irqsave(&fimc->slock, flags); in fimc_lite_clear_event_counters()
924 spin_lock_irqsave(&fimc->slock, flags); in fimc_lite_s_selection()
1174 spin_lock_irqsave(&fimc->slock, flags); in fimc_lite_subdev_set_selection()
1480 spin_lock_init(&fimc->slock); in fimc_lite_probe()
[all …]
A Dfimc-core.h416 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()
A Dfimc-lite.h158 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()
A Dfimc-core.c299 spin_lock(&fimc->slock); in fimc_irq_handler()
309 spin_unlock(&fimc->slock); in fimc_irq_handler()
324 spin_unlock(&fimc->slock); in fimc_irq_handler()
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()
954 spin_lock_init(&fimc->slock); in fimc_probe()
1066 spin_lock_irqsave(&fimc->slock, flags); in fimc_resume()
[all …]
/linux/drivers/media/platform/exynos-gsc/
A Dgsc-core.h330 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/drivers/media/pci/cx88/
A Dcx88-mpeg.c275 spin_lock_irqsave(&dev->slock, flags); in do_cancel_buffers()
281 spin_unlock_irqrestore(&dev->slock, flags); in do_cancel_buffers()
330 spin_lock(&dev->slock); in cx8802_mpeg_irq()
333 spin_unlock(&dev->slock); in cx8802_mpeg_irq()
339 spin_lock(&dev->slock); in cx8802_mpeg_irq()
341 spin_unlock(&dev->slock); in cx8802_mpeg_irq()
403 spin_lock_init(&dev->slock); in cx8802_init_common()
440 spin_lock_irqsave(&dev->slock, flags); in cx8802_suspend_common()
446 spin_unlock_irqrestore(&dev->slock, flags); in cx8802_suspend_common()
488 spin_lock_irqsave(&dev->slock, flags); in cx8802_resume_common()
[all …]
/linux/drivers/clk/samsung/
A Dclk-exynos-clkout.c32 spinlock_t slock; member
132 spin_lock_init(&clkout->slock); in exynos_clkout_probe()
161 clkout->gate.lock = &clkout->slock; in exynos_clkout_probe()
166 clkout->mux.lock = &clkout->slock; in exynos_clkout_probe()
/linux/drivers/media/pci/solo6x10/
A Dsolo6x10-v4l2.c239 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()
/linux/arch/powerpc/lib/
A Dlocks.c25 lock_value = lock->slock; in splpar_spin_yield()
35 if (lock->slock != lock_value) in splpar_spin_yield()

Completed in 59 milliseconds

1234567