Home
last modified time | relevance | path

Searched refs:reg_lock (Results 1 – 25 of 57) sorted by relevance

123

/drivers/staging/rts5208/
Drtsx_transport.c206 spin_lock_irq(&chip->rtsx->reg_lock); in rtsx_add_cmd()
210 spin_unlock_irq(&chip->rtsx->reg_lock); in rtsx_add_cmd()
242 spin_lock_irq(&rtsx->reg_lock); in rtsx_send_cmd()
257 spin_unlock_irq(&rtsx->reg_lock); in rtsx_send_cmd()
269 spin_lock_irq(&rtsx->reg_lock); in rtsx_send_cmd()
275 spin_unlock_irq(&rtsx->reg_lock); in rtsx_send_cmd()
348 spin_lock_irq(&rtsx->reg_lock); in rtsx_transfer_sglist_adma_partial()
356 spin_unlock_irq(&rtsx->reg_lock); in rtsx_transfer_sglist_adma_partial()
413 spin_lock_irq(&rtsx->reg_lock); in rtsx_transfer_sglist_adma_partial()
420 spin_unlock_irq(&rtsx->reg_lock); in rtsx_transfer_sglist_adma_partial()
[all …]
Drtsx.h90 spinlock_t reg_lock; member
137 #define lock_state(chip) spin_lock_irq(&((chip)->rtsx->reg_lock))
138 #define unlock_state(chip) spin_unlock_irq(&((chip)->rtsx->reg_lock))
Drtsx_sys.h23 spin_lock(&dev->reg_lock); in rtsx_exclusive_enter_ss()
25 spin_unlock(&dev->reg_lock); in rtsx_exclusive_enter_ss()
/drivers/net/dsa/hirschmann/
Dhellcreek.c249 mutex_lock(&hellcreek->reg_lock); in hellcreek_port_enable()
257 mutex_unlock(&hellcreek->reg_lock); in hellcreek_port_enable()
272 mutex_lock(&hellcreek->reg_lock); in hellcreek_port_disable()
280 mutex_unlock(&hellcreek->reg_lock); in hellcreek_port_disable()
319 mutex_lock(&hellcreek->reg_lock); in hellcreek_get_ethtool_stats()
334 mutex_unlock(&hellcreek->reg_lock); in hellcreek_get_ethtool_stats()
406 mutex_lock(&hellcreek->reg_lock); in hellcreek_apply_vlan()
423 mutex_unlock(&hellcreek->reg_lock); in hellcreek_apply_vlan()
434 mutex_lock(&hellcreek->reg_lock); in hellcreek_unapply_vlan()
447 mutex_unlock(&hellcreek->reg_lock); in hellcreek_unapply_vlan()
[all …]
/drivers/video/fbdev/via/
Dvia-gpio.c91 spin_lock_irqsave(&cfg->vdev->reg_lock, flags); in via_gpio_set()
100 spin_unlock_irqrestore(&cfg->vdev->reg_lock, flags); in via_gpio_set()
120 spin_lock_irqsave(&cfg->vdev->reg_lock, flags); in via_gpio_dir_input()
124 spin_unlock_irqrestore(&cfg->vdev->reg_lock, flags); in via_gpio_dir_input()
135 spin_lock_irqsave(&cfg->vdev->reg_lock, flags); in via_gpio_get()
138 spin_unlock_irqrestore(&cfg->vdev->reg_lock, flags); in via_gpio_get()
244 spin_lock_irqsave(&viafb_gpio_config.vdev->reg_lock, flags); in viafb_gpio_probe()
247 spin_unlock_irqrestore(&viafb_gpio_config.vdev->reg_lock, flags); in viafb_gpio_probe()
283 spin_lock_irqsave(&viafb_gpio_config.vdev->reg_lock, flags); in viafb_gpio_remove()
287 spin_unlock_irqrestore(&viafb_gpio_config.vdev->reg_lock, flags); in viafb_gpio_remove()
Dvia_i2c.c29 spin_lock_irqsave(&i2c_vdev->reg_lock, flags); in via_i2c_setscl()
46 spin_unlock_irqrestore(&i2c_vdev->reg_lock, flags); in via_i2c_setscl()
55 spin_lock_irqsave(&i2c_vdev->reg_lock, flags); in via_i2c_getscl()
61 spin_unlock_irqrestore(&i2c_vdev->reg_lock, flags); in via_i2c_getscl()
71 spin_lock_irqsave(&i2c_vdev->reg_lock, flags); in via_i2c_getsda()
77 spin_unlock_irqrestore(&i2c_vdev->reg_lock, flags); in via_i2c_getsda()
87 spin_lock_irqsave(&i2c_vdev->reg_lock, flags); in via_i2c_setsda()
104 spin_unlock_irqrestore(&i2c_vdev->reg_lock, flags); in via_i2c_setsda()
Dvia-core.c170 spin_lock(&global_dev.reg_lock); in viafb_dma_irq()
177 spin_unlock(&global_dev.reg_lock); in viafb_dma_irq()
272 spin_lock_irqsave(&global_dev.reg_lock, flags); in viafb_dma_copy_out_sg()
282 spin_unlock_irqrestore(&global_dev.reg_lock, flags); in viafb_dma_copy_out_sg()
634 spin_lock_init(&global_dev.reg_lock); in via_pci_probe()
/drivers/mfd/
Dti_am335x_tscadc.c41 spin_lock_irqsave(&tscadc->reg_lock, flags); in am335x_tsc_se_set_cache()
48 spin_unlock_irqrestore(&tscadc->reg_lock, flags); in am335x_tsc_se_set_cache()
62 spin_unlock_irq(&tscadc->reg_lock); in am335x_tscadc_need_adc()
66 spin_lock_irq(&tscadc->reg_lock); in am335x_tscadc_need_adc()
82 spin_lock_irq(&tscadc->reg_lock); in am335x_tsc_se_set_once()
86 spin_unlock_irq(&tscadc->reg_lock); in am335x_tsc_se_set_once()
94 spin_lock_irqsave(&tscadc->reg_lock, flags); in am335x_tsc_se_adc_done()
97 spin_unlock_irqrestore(&tscadc->reg_lock, flags); in am335x_tsc_se_adc_done()
105 spin_lock_irqsave(&tscadc->reg_lock, flags); in am335x_tsc_se_clr()
108 spin_unlock_irqrestore(&tscadc->reg_lock, flags); in am335x_tsc_se_clr()
[all …]
/drivers/gpu/drm/msm/hdmi/
Dhdmi_hdcp.c202 spin_lock_irqsave(&hdmi->reg_lock, flags); in msm_hdmi_hdcp_irq()
206 spin_unlock_irqrestore(&hdmi->reg_lock, flags); in msm_hdmi_hdcp_irq()
215 spin_unlock_irqrestore(&hdmi->reg_lock, flags); in msm_hdmi_hdcp_irq()
411 spin_lock_irqsave(&hdmi->reg_lock, flags); in msm_hdmi_hdcp_reauth_work()
418 spin_unlock_irqrestore(&hdmi->reg_lock, flags); in msm_hdmi_hdcp_reauth_work()
433 spin_lock_irqsave(&hdmi->reg_lock, flags); in msm_hdmi_hdcp_reauth_work()
437 spin_unlock_irqrestore(&hdmi->reg_lock, flags); in msm_hdmi_hdcp_reauth_work()
473 spin_lock_irqsave(&hdmi->reg_lock, flags); in msm_hdmi_hdcp_auth_prepare()
483 spin_unlock_irqrestore(&hdmi->reg_lock, flags); in msm_hdmi_hdcp_auth_prepare()
545 spin_lock_irqsave(&hdmi->reg_lock, flags); in msm_hdmi_hdcp_auth_fail()
[all …]
Dhdmi_hpd.c136 spin_lock_irqsave(&hdmi->reg_lock, flags); in msm_hdmi_hpd_enable()
145 spin_unlock_irqrestore(&hdmi->reg_lock, flags); in msm_hdmi_hpd_enable()
/drivers/gpu/drm/sun4i/
Dsun8i_tcon_top.c44 spin_lock_irqsave(&tcon_top->reg_lock, flags); in sun8i_tcon_top_set_hdmi_src()
51 spin_unlock_irqrestore(&tcon_top->reg_lock, flags); in sun8i_tcon_top_set_hdmi_src()
78 spin_lock_irqsave(&tcon_top->reg_lock, flags); in sun8i_tcon_top_de_config()
90 spin_unlock_irqrestore(&tcon_top->reg_lock, flags); in sun8i_tcon_top_de_config()
147 spin_lock_init(&tcon_top->reg_lock); in sun8i_tcon_top_bind()
196 &tcon_top->reg_lock, in sun8i_tcon_top_bind()
202 &tcon_top->reg_lock, in sun8i_tcon_top_bind()
208 &tcon_top->reg_lock, in sun8i_tcon_top_bind()
Dsun8i_tcon_top.h36 spinlock_t reg_lock; member
/drivers/ptp/
Dptp_idt82p33.c566 mutex_lock(&idt82p33->reg_lock); in idt82p33_sync_tod_work_handler()
570 mutex_unlock(&idt82p33->reg_lock); in idt82p33_sync_tod_work_handler()
685 mutex_lock(&idt82p33->reg_lock); in idt82p33_enable()
700 mutex_unlock(&idt82p33->reg_lock); in idt82p33_enable()
730 mutex_lock(&idt82p33->reg_lock); in idt82p33_adjwritephase()
743 mutex_unlock(&idt82p33->reg_lock); in idt82p33_adjwritephase()
754 mutex_lock(&idt82p33->reg_lock); in idt82p33_adjfine()
759 mutex_unlock(&idt82p33->reg_lock); in idt82p33_adjfine()
771 mutex_lock(&idt82p33->reg_lock); in idt82p33_adjtime()
774 mutex_unlock(&idt82p33->reg_lock); in idt82p33_adjtime()
[all …]
Dptp_clockmatrix.c1504 mutex_lock(&idtcm->reg_lock); in idtcm_gettime()
1511 mutex_unlock(&idtcm->reg_lock); in idtcm_gettime()
1523 mutex_lock(&idtcm->reg_lock); in idtcm_settime_deprecated()
1530 mutex_unlock(&idtcm->reg_lock); in idtcm_settime_deprecated()
1542 mutex_lock(&idtcm->reg_lock); in idtcm_settime()
1549 mutex_unlock(&idtcm->reg_lock); in idtcm_settime()
1560 mutex_lock(&idtcm->reg_lock); in idtcm_adjtime_deprecated()
1567 mutex_unlock(&idtcm->reg_lock); in idtcm_adjtime_deprecated()
1596 mutex_lock(&idtcm->reg_lock); in idtcm_adjtime()
1603 mutex_unlock(&idtcm->reg_lock); in idtcm_adjtime()
[all …]
/drivers/watchdog/
Dmei_wdt.c100 struct mutex reg_lock; member
341 mutex_lock(&wdt->reg_lock); in mei_wdt_unregister()
349 mutex_unlock(&wdt->reg_lock); in mei_wdt_unregister()
369 mutex_lock(&wdt->reg_lock); in mei_wdt_register()
394 mutex_unlock(&wdt->reg_lock); in mei_wdt_register()
502 mutex_lock(&wdt->reg_lock); in mei_dbgfs_read_activation()
505 mutex_unlock(&wdt->reg_lock); in mei_dbgfs_read_activation()
574 mutex_init(&wdt->reg_lock); in mei_wdt_probe()
/drivers/clk/microchip/
Dclk-core.c182 spin_lock_irqsave(&pb->core->reg_lock, flags); in pbclk_set_rate()
193 spin_unlock_irqrestore(&pb->core->reg_lock, flags); in pbclk_set_rate()
459 spin_lock_irqsave(&refo->core->reg_lock, flags); in roclk_set_parent()
470 spin_unlock_irqrestore(&refo->core->reg_lock, flags); in roclk_set_parent()
500 spin_lock_irqsave(&refo->core->reg_lock, flags); in roclk_set_rate_and_parent()
532 spin_unlock_irqrestore(&refo->core->reg_lock, flags); in roclk_set_rate_and_parent()
699 spin_lock_irqsave(&pll->core->reg_lock, flags); in spll_clk_set_rate()
720 spin_unlock_irqrestore(&pll->core->reg_lock, flags); in spll_clk_set_rate()
799 spin_lock_irqsave(&sclk->core->reg_lock, flags); in sclk_set_rate()
814 spin_unlock_irqrestore(&sclk->core->reg_lock, flags); in sclk_set_rate()
[all …]
Dclk-pic32mzda.c171 spin_lock_init(&core->reg_lock); in pic32mzda_clk_probe()
198 &core->reg_lock); in pic32mzda_clk_probe()
203 PLL_ICLK_SHIFT, 1, 0, &core->reg_lock); in pic32mzda_clk_probe()
/drivers/gpu/drm/meson/
Dmeson_dw_hdmi.c113 static DEFINE_SPINLOCK(reg_lock);
163 spin_lock_irqsave(&reg_lock, flags); in dw_hdmi_top_read()
173 spin_unlock_irqrestore(&reg_lock, flags); in dw_hdmi_top_read()
189 spin_lock_irqsave(&reg_lock, flags); in dw_hdmi_top_write()
198 spin_unlock_irqrestore(&reg_lock, flags); in dw_hdmi_top_write()
227 spin_lock_irqsave(&reg_lock, flags); in dw_hdmi_dwc_read()
237 spin_unlock_irqrestore(&reg_lock, flags); in dw_hdmi_dwc_read()
253 spin_lock_irqsave(&reg_lock, flags); in dw_hdmi_dwc_write()
262 spin_unlock_irqrestore(&reg_lock, flags); in dw_hdmi_dwc_write()
/drivers/net/ethernet/wiznet/
Dw5100.c184 spinlock_t reg_lock; member
268 spin_lock_init(&mmio_priv->reg_lock); in w5100_mmio_init()
305 spin_lock_irqsave(&mmio_priv->reg_lock, flags); in w5100_read_indirect()
308 spin_unlock_irqrestore(&mmio_priv->reg_lock, flags); in w5100_read_indirect()
318 spin_lock_irqsave(&mmio_priv->reg_lock, flags); in w5100_write_indirect()
321 spin_unlock_irqrestore(&mmio_priv->reg_lock, flags); in w5100_write_indirect()
332 spin_lock_irqsave(&mmio_priv->reg_lock, flags); in w5100_read16_indirect()
336 spin_unlock_irqrestore(&mmio_priv->reg_lock, flags); in w5100_read16_indirect()
346 spin_lock_irqsave(&mmio_priv->reg_lock, flags); in w5100_write16_indirect()
350 spin_unlock_irqrestore(&mmio_priv->reg_lock, flags); in w5100_write16_indirect()
[all …]
Dw5300.c88 spinlock_t reg_lock; member
141 spin_lock_irqsave(&priv->reg_lock, flags); in w5300_read_indirect()
144 spin_unlock_irqrestore(&priv->reg_lock, flags); in w5300_read_indirect()
153 spin_lock_irqsave(&priv->reg_lock, flags); in w5300_write_indirect()
156 spin_unlock_irqrestore(&priv->reg_lock, flags); in w5300_write_indirect()
549 spin_lock_init(&priv->reg_lock); in w5300_hw_probe()
/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c162 spinlock_t reg_lock; member
626 spin_lock(&vop->reg_lock); in vop_enable()
659 spin_unlock(&vop->reg_lock); in vop_enable()
666 spin_lock(&vop->reg_lock); in vop_enable()
670 spin_unlock(&vop->reg_lock); in vop_enable()
690 spin_lock(&vop->reg_lock); in rockchip_drm_set_win_enabled()
701 spin_unlock(&vop->reg_lock); in rockchip_drm_set_win_enabled()
731 spin_lock(&vop->reg_lock); in vop_crtc_atomic_disable()
735 spin_unlock(&vop->reg_lock); in vop_crtc_atomic_disable()
881 spin_lock(&vop->reg_lock); in vop_plane_atomic_disable()
[all …]
/drivers/media/pci/cx88/
Dcx88-alsa.c65 spinlock_t reg_lock; member
535 spin_lock(&chip->reg_lock); in snd_cx88_card_trigger()
549 spin_unlock(&chip->reg_lock); in snd_cx88_card_trigger()
688 spin_lock_irq(&chip->reg_lock); in snd_cx88_volume_put()
698 spin_unlock_irq(&chip->reg_lock); in snd_cx88_volume_put()
736 spin_lock_irq(&chip->reg_lock); in snd_cx88_switch_put()
747 spin_unlock_irq(&chip->reg_lock); in snd_cx88_switch_put()
882 spin_lock_init(&chip->reg_lock); in snd_cx88_create()
/drivers/media/platform/
Dvia-camera.c316 spin_lock(&cam->viadev->reg_lock); in viacam_quick_irq()
323 spin_unlock(&cam->viadev->reg_lock); in viacam_quick_irq()
536 spin_lock_irqsave(&cam->viadev->reg_lock, flags); in viacam_config_controller()
540 spin_unlock_irqrestore(&cam->viadev->reg_lock, flags); in viacam_config_controller()
550 spin_lock_irq(&cam->viadev->reg_lock); in viacam_start_engine()
555 spin_unlock_irq(&cam->viadev->reg_lock); in viacam_start_engine()
561 spin_lock_irq(&cam->viadev->reg_lock); in viacam_stop_engine()
566 spin_unlock_irq(&cam->viadev->reg_lock); in viacam_stop_engine()
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_offload.c303 spin_lock_irqsave(&adapter->sge.reg_lock, flags); in cxgb_rdma_ctl()
306 spin_unlock_irqrestore(&adapter->sge.reg_lock, flags); in cxgb_rdma_ctl()
334 spin_lock_irq(&adapter->sge.reg_lock); in cxgb_rdma_ctl()
341 spin_unlock_irq(&adapter->sge.reg_lock); in cxgb_rdma_ctl()
345 spin_lock_irq(&adapter->sge.reg_lock); in cxgb_rdma_ctl()
347 spin_unlock_irq(&adapter->sge.reg_lock); in cxgb_rdma_ctl()
352 spin_lock_irq(&adapter->sge.reg_lock); in cxgb_rdma_ctl()
358 spin_unlock_irq(&adapter->sge.reg_lock); in cxgb_rdma_ctl()
/drivers/media/pci/cx25821/
Dcx25821-alsa.c73 spinlock_t reg_lock; member
591 spin_lock(&chip->reg_lock); in snd_cx25821_card_trigger()
605 spin_unlock(&chip->reg_lock); in snd_cx25821_card_trigger()
722 spin_lock_init(&chip->reg_lock); in cx25821_audio_initdev()

123