/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/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() 649 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/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/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 …]
|
/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() 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/ |
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() 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 …]
|
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()
|
D | clk-core.h | 15 spinlock_t reg_lock; /* clock lock */ member
|
/drivers/net/ethernet/wiznet/ |
D | w5100.c | 184 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 …]
|
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 | 147 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/ |
D | meson_dw_hdmi.c | 115 static DEFINE_SPINLOCK(reg_lock); 169 spin_lock_irqsave(®_lock, flags); in dw_hdmi_top_read() 179 spin_unlock_irqrestore(®_lock, flags); in dw_hdmi_top_read() 195 spin_lock_irqsave(®_lock, flags); in dw_hdmi_top_write() 204 spin_unlock_irqrestore(®_lock, flags); in dw_hdmi_top_write() 233 spin_lock_irqsave(®_lock, flags); in dw_hdmi_dwc_read() 243 spin_unlock_irqrestore(®_lock, flags); in dw_hdmi_dwc_read() 259 spin_lock_irqsave(®_lock, flags); in dw_hdmi_dwc_write() 268 spin_unlock_irqrestore(®_lock, flags); in dw_hdmi_dwc_write()
|
/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() 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/ |
D | clk-zx296702.c | 12 static DEFINE_SPINLOCK(reg_lock); 201 width, 0, table, ®_lock); in zx_divtbl() 208 reg, shift, width, 0, ®_lock); in zx_div() 215 0, reg, shift, width, 0, ®_lock); in zx_mux() 222 reg, shift, CLK_SET_RATE_PARENT, ®_lock); in zx_gate() 238 ARRAY_SIZE(pll_a9_config), ®_lock); in zx296702_top_clocks_init()
|
/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() 723 spin_lock_init(&chip->reg_lock); in cx25821_audio_initdev()
|
/drivers/net/wireless/intel/iwlegacy/ |
D | common.h | 1174 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/ |
D | chip.h | 243 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()
|