Home
last modified time | relevance | path

Searched refs:reg_lock (Results 1 – 25 of 52) 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/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()
649 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/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/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 …]
/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()
393 mutex_unlock(&wdt->reg_lock); in mei_wdt_register()
501 mutex_lock(&wdt->reg_lock); in mei_dbgfs_read_activation()
504 mutex_unlock(&wdt->reg_lock); in mei_dbgfs_read_activation()
573 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()
457 spin_lock_irqsave(&refo->core->reg_lock, flags); in roclk_set_parent()
468 spin_unlock_irqrestore(&refo->core->reg_lock, flags); in roclk_set_parent()
498 spin_lock_irqsave(&refo->core->reg_lock, flags); in roclk_set_rate_and_parent()
530 spin_unlock_irqrestore(&refo->core->reg_lock, flags); in roclk_set_rate_and_parent()
697 spin_lock_irqsave(&pll->core->reg_lock, flags); in spll_clk_set_rate()
718 spin_unlock_irqrestore(&pll->core->reg_lock, flags); in spll_clk_set_rate()
797 spin_lock_irqsave(&sclk->core->reg_lock, flags); in sclk_set_rate()
812 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()
Dclk-core.h15 spinlock_t reg_lock; /* clock lock */ member
/drivers/net/ethernet/wiznet/
Dw5100.c184 spinlock_t reg_lock; member
270 spin_lock_init(&mmio_priv->reg_lock); in w5100_mmio_init()
310 spin_lock_irqsave(&mmio_priv->reg_lock, flags); in w5100_read_indirect()
313 spin_unlock_irqrestore(&mmio_priv->reg_lock, flags); in w5100_read_indirect()
323 spin_lock_irqsave(&mmio_priv->reg_lock, flags); in w5100_write_indirect()
326 spin_unlock_irqrestore(&mmio_priv->reg_lock, flags); in w5100_write_indirect()
337 spin_lock_irqsave(&mmio_priv->reg_lock, flags); in w5100_read16_indirect()
341 spin_unlock_irqrestore(&mmio_priv->reg_lock, flags); in w5100_read16_indirect()
351 spin_lock_irqsave(&mmio_priv->reg_lock, flags); in w5100_write16_indirect()
355 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.c147 spinlock_t reg_lock; member
580 spin_lock(&vop->reg_lock); in vop_enable()
600 spin_unlock(&vop->reg_lock); in vop_enable()
609 spin_lock(&vop->reg_lock); in vop_enable()
613 spin_unlock(&vop->reg_lock); in vop_enable()
633 spin_lock(&vop->reg_lock); in rockchip_drm_set_win_enabled()
644 spin_unlock(&vop->reg_lock); in rockchip_drm_set_win_enabled()
674 spin_lock(&vop->reg_lock); in vop_crtc_atomic_disable()
678 spin_unlock(&vop->reg_lock); in vop_crtc_atomic_disable()
772 spin_lock(&vop->reg_lock); in vop_plane_atomic_disable()
[all …]
/drivers/gpu/drm/meson/
Dmeson_dw_hdmi.c115 static DEFINE_SPINLOCK(reg_lock);
169 spin_lock_irqsave(&reg_lock, flags); in dw_hdmi_top_read()
179 spin_unlock_irqrestore(&reg_lock, flags); in dw_hdmi_top_read()
195 spin_lock_irqsave(&reg_lock, flags); in dw_hdmi_top_write()
204 spin_unlock_irqrestore(&reg_lock, flags); in dw_hdmi_top_write()
233 spin_lock_irqsave(&reg_lock, flags); in dw_hdmi_dwc_read()
243 spin_unlock_irqrestore(&reg_lock, flags); in dw_hdmi_dwc_read()
259 spin_lock_irqsave(&reg_lock, flags); in dw_hdmi_dwc_write()
268 spin_unlock_irqrestore(&reg_lock, flags); in dw_hdmi_dwc_write()
/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()
689 spin_lock_irq(&chip->reg_lock); in snd_cx88_volume_put()
699 spin_unlock_irq(&chip->reg_lock); in snd_cx88_volume_put()
737 spin_lock_irq(&chip->reg_lock); in snd_cx88_switch_put()
748 spin_unlock_irq(&chip->reg_lock); in snd_cx88_switch_put()
883 spin_lock_init(&chip->reg_lock); in snd_cx88_create()
/drivers/clk/zte/
Dclk-zx296702.c12 static DEFINE_SPINLOCK(reg_lock);
201 width, 0, table, &reg_lock); in zx_divtbl()
208 reg, shift, width, 0, &reg_lock); in zx_div()
215 0, reg, shift, width, 0, &reg_lock); in zx_mux()
222 reg, shift, CLK_SET_RATE_PARENT, &reg_lock); in zx_gate()
238 ARRAY_SIZE(pll_a9_config), &reg_lock); in zx296702_top_clocks_init()
/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()
723 spin_lock_init(&chip->reg_lock); in cx25821_audio_initdev()
/drivers/net/wireless/intel/iwlegacy/
Dcommon.h1174 spinlock_t reg_lock; /* protect hw register access */ member
2026 spin_lock_irqsave(&il->reg_lock, reg_flags); in il_rd()
2030 spin_unlock_irqrestore(&il->reg_lock, reg_flags); in il_rd()
2039 spin_lock_irqsave(&il->reg_lock, reg_flags); in il_wr()
2044 spin_unlock_irqrestore(&il->reg_lock, reg_flags); in il_wr()
2066 spin_lock_irqsave(&il->reg_lock, reg_flags); in il_set_bits_prph()
2071 spin_unlock_irqrestore(&il->reg_lock, reg_flags); in il_set_bits_prph()
2079 spin_lock_irqsave(&il->reg_lock, reg_flags); in il_set_bits_mask_prph()
2084 spin_unlock_irqrestore(&il->reg_lock, reg_flags); in il_set_bits_mask_prph()
2093 spin_lock_irqsave(&il->reg_lock, reg_flags); in il_clear_bits_prph()
[all …]
/drivers/net/dsa/mv88e6xxx/
Dchip.h243 struct mutex reg_lock; member
645 mutex_lock(&chip->reg_lock); in mv88e6xxx_reg_lock()
650 mutex_unlock(&chip->reg_lock); in mv88e6xxx_reg_unlock()

123