Home
last modified time | relevance | path

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

12

/drivers/staging/rts5208/
Drtsx_transport.c219 spin_lock_irq(&chip->rtsx->reg_lock); in rtsx_add_cmd()
223 spin_unlock_irq(&chip->rtsx->reg_lock); in rtsx_add_cmd()
255 spin_lock_irq(&rtsx->reg_lock); in rtsx_send_cmd()
270 spin_unlock_irq(&rtsx->reg_lock); in rtsx_send_cmd()
282 spin_lock_irq(&rtsx->reg_lock); in rtsx_send_cmd()
288 spin_unlock_irq(&rtsx->reg_lock); in rtsx_send_cmd()
359 spin_lock_irq(&rtsx->reg_lock); in rtsx_transfer_sglist_adma_partial()
367 spin_unlock_irq(&rtsx->reg_lock); in rtsx_transfer_sglist_adma_partial()
424 spin_lock_irq(&rtsx->reg_lock); in rtsx_transfer_sglist_adma_partial()
431 spin_unlock_irq(&rtsx->reg_lock); in rtsx_transfer_sglist_adma_partial()
[all …]
Drtsx_sys.h37 spin_lock(&(dev->reg_lock)); in rtsx_exclusive_enter_ss()
39 spin_unlock(&(dev->reg_lock)); in rtsx_exclusive_enter_ss()
Drtsx.h111 spinlock_t reg_lock; member
176 #define lock_state(chip) spin_lock_irq(&((chip)->rtsx->reg_lock))
177 #define unlock_state(chip) spin_unlock_irq(&((chip)->rtsx->reg_lock))
Drtsx.c592 spin_lock(&dev->reg_lock); in rtsx_interrupt()
596 spin_unlock(&dev->reg_lock); in rtsx_interrupt()
633 spin_unlock(&dev->reg_lock); in rtsx_interrupt()
899 spin_lock_init(&dev->reg_lock); in rtsx_probe()
/drivers/video/fbdev/via/
Dvia-gpio.c93 spin_lock_irqsave(&cfg->vdev->reg_lock, flags); in via_gpio_set()
102 spin_unlock_irqrestore(&cfg->vdev->reg_lock, flags); in via_gpio_set()
124 spin_lock_irqsave(&cfg->vdev->reg_lock, flags); in via_gpio_dir_input()
128 spin_unlock_irqrestore(&cfg->vdev->reg_lock, flags); in via_gpio_dir_input()
141 spin_lock_irqsave(&cfg->vdev->reg_lock, flags); in via_gpio_get()
144 spin_unlock_irqrestore(&cfg->vdev->reg_lock, flags); in via_gpio_get()
250 spin_lock_irqsave(&viafb_gpio_config.vdev->reg_lock, flags); in viafb_gpio_probe()
253 spin_unlock_irqrestore(&viafb_gpio_config.vdev->reg_lock, flags); in viafb_gpio_probe()
288 spin_lock_irqsave(&viafb_gpio_config.vdev->reg_lock, flags); in viafb_gpio_remove()
292 spin_unlock_irqrestore(&viafb_gpio_config.vdev->reg_lock, flags); in viafb_gpio_remove()
Dvia_i2c.c43 spin_lock_irqsave(&i2c_vdev->reg_lock, flags); in via_i2c_setscl()
60 spin_unlock_irqrestore(&i2c_vdev->reg_lock, flags); in via_i2c_setscl()
69 spin_lock_irqsave(&i2c_vdev->reg_lock, flags); in via_i2c_getscl()
75 spin_unlock_irqrestore(&i2c_vdev->reg_lock, flags); in via_i2c_getscl()
85 spin_lock_irqsave(&i2c_vdev->reg_lock, flags); in via_i2c_getsda()
91 spin_unlock_irqrestore(&i2c_vdev->reg_lock, flags); in via_i2c_getsda()
101 spin_lock_irqsave(&i2c_vdev->reg_lock, flags); in via_i2c_setsda()
118 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()
240 spin_lock_irqsave(&global_dev.reg_lock, flags);
255 spin_unlock_irqrestore(&global_dev.reg_lock, flags);
315 spin_lock_irqsave(&global_dev.reg_lock, flags); in viafb_dma_copy_out_sg()
325 spin_unlock_irqrestore(&global_dev.reg_lock, flags); in viafb_dma_copy_out_sg()
692 spin_lock_init(&global_dev.reg_lock); in via_pci_probe()
/drivers/mfd/
Dti_am335x_tscadc.c55 spin_lock_irqsave(&tsadc->reg_lock, flags); in am335x_tsc_se_set_cache()
62 spin_unlock_irqrestore(&tsadc->reg_lock, flags); in am335x_tsc_se_set_cache()
82 spin_unlock_irq(&tsadc->reg_lock); in am335x_tscadc_need_adc()
86 spin_lock_irq(&tsadc->reg_lock); in am335x_tscadc_need_adc()
98 spin_lock_irq(&tsadc->reg_lock); in am335x_tsc_se_set_once()
103 spin_unlock_irq(&tsadc->reg_lock); in am335x_tsc_se_set_once()
111 spin_lock_irqsave(&tsadc->reg_lock, flags); in am335x_tsc_se_adc_done()
114 spin_unlock_irqrestore(&tsadc->reg_lock, flags); in am335x_tsc_se_adc_done()
122 spin_lock_irqsave(&tsadc->reg_lock, flags); in am335x_tsc_se_clr()
125 spin_unlock_irqrestore(&tsadc->reg_lock, flags); in am335x_tsc_se_clr()
[all …]
Dsm501.c64 spinlock_t reg_lock; member
262 spin_lock_irqsave(&sm->reg_lock, save); in sm501_misc_control()
274 spin_unlock_irqrestore(&sm->reg_lock, save); in sm501_misc_control()
295 spin_lock_irqsave(&sm->reg_lock, save); in sm501_modify_reg()
304 spin_unlock_irqrestore(&sm->reg_lock, save); in sm501_modify_reg()
1315 spin_lock_init(&sm->reg_lock); in sm501_init_dev()
/drivers/net/ethernet/wiznet/
Dw5100.c90 spinlock_t reg_lock; member
187 spin_lock_irqsave(&priv->reg_lock, flags); in w5100_read_indirect()
191 spin_unlock_irqrestore(&priv->reg_lock, flags); in w5100_read_indirect()
200 spin_lock_irqsave(&priv->reg_lock, flags); in w5100_write_indirect()
205 spin_unlock_irqrestore(&priv->reg_lock, flags); in w5100_write_indirect()
213 spin_lock_irqsave(&priv->reg_lock, flags); in w5100_read16_indirect()
218 spin_unlock_irqrestore(&priv->reg_lock, flags); in w5100_read16_indirect()
227 spin_lock_irqsave(&priv->reg_lock, flags); in w5100_write16_indirect()
233 spin_unlock_irqrestore(&priv->reg_lock, flags); in w5100_write16_indirect()
243 spin_lock_irqsave(&priv->reg_lock, flags); in w5100_readbuf_indirect()
[all …]
Dw5300.c90 spinlock_t reg_lock; member
143 spin_lock_irqsave(&priv->reg_lock, flags); in w5300_read_indirect()
147 spin_unlock_irqrestore(&priv->reg_lock, flags); in w5300_read_indirect()
156 spin_lock_irqsave(&priv->reg_lock, flags); in w5300_write_indirect()
161 spin_unlock_irqrestore(&priv->reg_lock, flags); in w5300_write_indirect()
569 spin_lock_init(&priv->reg_lock); in w5300_hw_probe()
/drivers/dma/sh/
Drcar-hpbdma.c103 spinlock_t reg_lock; /* comm_reg operation lock */ member
182 spin_lock_irq(&hpbdev->reg_lock); in hpb_dmae_enable_int()
192 spin_unlock_irq(&hpbdev->reg_lock); in hpb_dmae_enable_int()
200 spin_lock(&hpbdev->reg_lock); in hpb_dmae_async_reset()
217 spin_unlock(&hpbdev->reg_lock); in hpb_dmae_async_reset()
225 spin_lock_irq(&hpbdev->reg_lock); in hpb_dmae_set_async_mode()
230 spin_unlock_irq(&hpbdev->reg_lock); in hpb_dmae_set_async_mode()
581 spin_lock_init(&hpbdev->reg_lock); in hpb_dmae_probe()
/drivers/media/pci/cx88/
Dcx88-alsa.c80 spinlock_t reg_lock; member
479 spin_lock(&chip->reg_lock); in snd_cx88_card_trigger()
493 spin_unlock(&chip->reg_lock); in snd_cx88_card_trigger()
631 spin_lock_irq(&chip->reg_lock); in snd_cx88_volume_put()
641 spin_unlock_irq(&chip->reg_lock); in snd_cx88_volume_put()
679 spin_lock_irq(&chip->reg_lock); in snd_cx88_switch_put()
689 spin_unlock_irq(&chip->reg_lock); in snd_cx88_switch_put()
831 spin_lock_init(&chip->reg_lock); in snd_cx88_create()
/drivers/media/platform/
Dvia-camera.c311 spin_lock(&cam->viadev->reg_lock); in viacam_quick_irq()
318 spin_unlock(&cam->viadev->reg_lock); in viacam_quick_irq()
330 spin_lock_irqsave(&cam->viadev->reg_lock, flags); in viacam_next_buffer()
343 spin_unlock_irqrestore(&cam->viadev->reg_lock, flags); in viacam_next_buffer()
540 spin_lock_irqsave(&cam->viadev->reg_lock, flags); in viacam_config_controller()
544 spin_unlock_irqrestore(&cam->viadev->reg_lock, flags); in viacam_config_controller()
554 spin_lock_irq(&cam->viadev->reg_lock); in viacam_start_engine()
560 spin_unlock_irq(&cam->viadev->reg_lock); in viacam_start_engine()
566 spin_lock_irq(&cam->viadev->reg_lock); in viacam_stop_engine()
571 spin_unlock_irq(&cam->viadev->reg_lock); in viacam_stop_engine()
[all …]
/drivers/media/pci/cx25821/
Dcx25821-alsa.c83 spinlock_t reg_lock; member
529 spin_lock(&chip->reg_lock); in snd_cx25821_card_trigger()
543 spin_unlock(&chip->reg_lock); in snd_cx25821_card_trigger()
661 spin_lock_init(&chip->reg_lock); in cx25821_audio_initdev()
/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()
Dsge.c679 spin_lock_irq(&adapter->sge.reg_lock); in t3_free_qset()
681 spin_unlock_irq(&adapter->sge.reg_lock); in t3_free_qset()
692 spin_lock_irq(&adapter->sge.reg_lock); in t3_free_qset()
694 spin_unlock_irq(&adapter->sge.reg_lock); in t3_free_qset()
708 spin_lock_irq(&adapter->sge.reg_lock); in t3_free_qset()
710 spin_unlock_irq(&adapter->sge.reg_lock); in t3_free_qset()
3059 spin_lock_irq(&adapter->sge.reg_lock); in t3_sge_alloc_qset()
3103 spin_unlock_irq(&adapter->sge.reg_lock); in t3_sge_alloc_qset()
3133 spin_unlock_irq(&adapter->sge.reg_lock); in t3_sge_alloc_qset()
3304 spin_lock_init(&adap->sge.reg_lock); in t3_sge_prep()
/drivers/net/wireless/iwlegacy/
Dcommon.h1188 spinlock_t reg_lock; /* protect hw register access */ member
2047 spin_lock_irqsave(&il->reg_lock, reg_flags); in il_rd()
2051 spin_unlock_irqrestore(&il->reg_lock, reg_flags); in il_rd()
2060 spin_lock_irqsave(&il->reg_lock, reg_flags); in il_wr()
2065 spin_unlock_irqrestore(&il->reg_lock, reg_flags); in il_wr()
2087 spin_lock_irqsave(&il->reg_lock, reg_flags); in il_set_bits_prph()
2092 spin_unlock_irqrestore(&il->reg_lock, reg_flags); in il_set_bits_prph()
2100 spin_lock_irqsave(&il->reg_lock, reg_flags); in il_set_bits_mask_prph()
2105 spin_unlock_irqrestore(&il->reg_lock, reg_flags); in il_set_bits_mask_prph()
2114 spin_lock_irqsave(&il->reg_lock, reg_flags); in il_clear_bits_prph()
[all …]
Dcommon.c66 spin_lock_irqsave(&p->reg_lock, reg_flags); in il_set_bit()
68 spin_unlock_irqrestore(&p->reg_lock, reg_flags); in il_set_bit()
77 spin_lock_irqsave(&p->reg_lock, reg_flags); in il_clear_bit()
79 spin_unlock_irqrestore(&p->reg_lock, reg_flags); in il_clear_bit()
148 spin_lock_irqsave(&il->reg_lock, reg_flags); in il_rd_prph()
152 spin_unlock_irqrestore(&il->reg_lock, reg_flags); in il_rd_prph()
162 spin_lock_irqsave(&il->reg_lock, reg_flags); in il_wr_prph()
167 spin_unlock_irqrestore(&il->reg_lock, reg_flags); in il_wr_prph()
177 spin_lock_irqsave(&il->reg_lock, reg_flags); in il_read_targ_mem()
184 spin_unlock_irqrestore(&il->reg_lock, reg_flags); in il_read_targ_mem()
[all …]
/drivers/video/fbdev/aty/
Dradeonfb.h354 spinlock_t reg_lock; member
401 spin_lock_irqsave(&rinfo->reg_lock, flags); in _OUTREGP()
406 spin_unlock_irqrestore(&rinfo->reg_lock, flags); in _OUTREGP()
/drivers/net/wireless/iwlwifi/pcie/
Dtrans.c1250 spin_lock_irqsave(&trans_pcie->reg_lock, *flags); in iwl_trans_pcie_grab_nic_access()
1289 spin_unlock_irqrestore(&trans_pcie->reg_lock, *flags); in iwl_trans_pcie_grab_nic_access()
1299 __release(&trans_pcie->reg_lock); in iwl_trans_pcie_grab_nic_access()
1308 lockdep_assert_held(&trans_pcie->reg_lock); in iwl_trans_pcie_release_nic_access()
1314 __acquire(&trans_pcie->reg_lock); in iwl_trans_pcie_release_nic_access()
1329 spin_unlock_irqrestore(&trans_pcie->reg_lock, *flags); in iwl_trans_pcie_release_nic_access()
1465 spin_lock_irqsave(&trans_pcie->reg_lock, flags); in iwl_trans_pcie_set_bits_mask()
1467 spin_unlock_irqrestore(&trans_pcie->reg_lock, flags); in iwl_trans_pcie_set_bits_mask()
2137 spin_lock_init(&trans_pcie->reg_lock); in iwl_trans_pcie_alloc()
Dtx.c1034 spin_lock_irqsave(&trans_pcie->reg_lock, flags); in iwl_pcie_cmdq_reclaim()
1040 spin_unlock_irqrestore(&trans_pcie->reg_lock, flags); in iwl_pcie_cmdq_reclaim()
1426 spin_lock_irqsave(&trans_pcie->reg_lock, flags); in iwl_pcie_enqueue_hcmd()
1447 spin_unlock_irqrestore(&trans_pcie->reg_lock, flags); in iwl_pcie_enqueue_hcmd()
1459 spin_unlock_irqrestore(&trans_pcie->reg_lock, flags); in iwl_pcie_enqueue_hcmd()
/drivers/infiniband/core/
Dmad_priv.h205 spinlock_t reg_lock; member
Dmad.c378 spin_lock_irqsave(&port_priv->reg_lock, flags); in ib_register_mad_agent()
424 spin_unlock_irqrestore(&port_priv->reg_lock, flags); in ib_register_mad_agent()
429 spin_unlock_irqrestore(&port_priv->reg_lock, flags); in ib_register_mad_agent()
581 spin_lock_irqsave(&port_priv->reg_lock, flags); in unregister_mad_agent()
584 spin_unlock_irqrestore(&port_priv->reg_lock, flags); in unregister_mad_agent()
1630 spin_lock_irqsave(&port_priv->reg_lock, flags); in find_mad_agent()
1706 spin_unlock_irqrestore(&port_priv->reg_lock, flags); in find_mad_agent()
2935 spin_lock_init(&port_priv->reg_lock); in ib_mad_port_open()
/drivers/crypto/
Dtalitos.h103 spinlock_t reg_lock ____cacheline_aligned;

12