/drivers/staging/rts5208/ |
D | rtsx_transport.c | 206 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 …]
|
D | rtsx.h | 90 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))
|
D | rtsx_sys.h | 23 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/ |
D | hellcreek.c | 249 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/ |
D | via-gpio.c | 91 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()
|
D | via_i2c.c | 29 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()
|
D | via-core.c | 170 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/ |
D | ti_am335x_tscadc.c | 41 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/ |
D | hdmi_hdcp.c | 202 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 …]
|
D | hdmi_hpd.c | 136 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/ |
D | sun8i_tcon_top.c | 44 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()
|
D | sun8i_tcon_top.h | 36 spinlock_t reg_lock; member
|
/drivers/ptp/ |
D | ptp_idt82p33.c | 566 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 …]
|
D | ptp_clockmatrix.c | 1504 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/ |
D | mei_wdt.c | 100 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/ |
D | clk-core.c | 182 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 …]
|
D | clk-pic32mzda.c | 171 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/ |
D | meson_dw_hdmi.c | 113 static DEFINE_SPINLOCK(reg_lock); 163 spin_lock_irqsave(®_lock, flags); in dw_hdmi_top_read() 173 spin_unlock_irqrestore(®_lock, flags); in dw_hdmi_top_read() 189 spin_lock_irqsave(®_lock, flags); in dw_hdmi_top_write() 198 spin_unlock_irqrestore(®_lock, flags); in dw_hdmi_top_write() 227 spin_lock_irqsave(®_lock, flags); in dw_hdmi_dwc_read() 237 spin_unlock_irqrestore(®_lock, flags); in dw_hdmi_dwc_read() 253 spin_lock_irqsave(®_lock, flags); in dw_hdmi_dwc_write() 262 spin_unlock_irqrestore(®_lock, flags); in dw_hdmi_dwc_write()
|
/drivers/net/ethernet/wiznet/ |
D | w5100.c | 184 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 …]
|
D | w5300.c | 88 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/ |
D | rockchip_drm_vop.c | 162 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/ |
D | cx88-alsa.c | 65 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/ |
D | via-camera.c | 316 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/ |
D | cxgb3_offload.c | 303 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/ |
D | cx25821-alsa.c | 73 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()
|