Home
last modified time | relevance | path

Searched refs:driver_lock (Results 1 – 20 of 20) sorted by relevance

/drivers/net/wireless/marvell/libertas/
Dcmdresp.c50 spin_lock_irqsave(&priv->driver_lock, flags); in lbs_mac_event_disconnected()
54 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_mac_event_disconnected()
74 spin_lock_irqsave(&priv->driver_lock, flags); in lbs_process_command_response()
79 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_process_command_response()
97 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_process_command_response()
105 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_process_command_response()
116 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_process_command_response()
160 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_process_command_response()
165 spin_lock_irqsave(&priv->driver_lock, flags); in lbs_process_command_response()
176 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_process_command_response()
[all …]
Dmain.c190 spin_lock_irq(&priv->driver_lock); in lbs_dev_open()
197 spin_unlock_irq(&priv->driver_lock); in lbs_dev_open()
207 spin_lock_irqsave(&priv->driver_lock, flags); in lbs_command_queue_empty()
209 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_command_queue_empty()
218 spin_lock_irqsave(&priv->driver_lock, flags); in lbs_stop_iface()
223 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_stop_iface()
252 spin_lock_irq(&priv->driver_lock); in lbs_eth_stop()
254 spin_unlock_irq(&priv->driver_lock); in lbs_eth_stop()
273 spin_lock_irqsave(&priv->driver_lock, flags); in lbs_host_to_card_done()
284 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_host_to_card_done()
[all …]
Dcmd.c919 spin_lock_irqsave(&priv->driver_lock, flags); in lbs_queue_cmd()
926 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_queue_cmd()
944 spin_lock_irqsave(&priv->driver_lock, flags); in lbs_submit_command()
948 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_submit_command()
1007 spin_lock_irqsave(&priv->driver_lock, flags); in lbs_cleanup_and_insert_cmd()
1009 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_cleanup_and_insert_cmd()
1037 spin_lock_irqsave(&priv->driver_lock, flags); in lbs_complete_command()
1039 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_complete_command()
1205 spin_lock_irqsave(&priv->driver_lock, flags); in lbs_get_free_cmd_node()
1216 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_get_free_cmd_node()
[all …]
Dfirmware.c25 spin_lock_irqsave(&priv->driver_lock, flags); in lbs_fw_loaded()
28 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_fw_loaded()
137 spin_lock_irqsave(&priv->driver_lock, flags); in lbs_get_firmware_async()
140 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_get_firmware_async()
149 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_get_firmware_async()
Dtx.c76 spin_lock_irqsave(&priv->driver_lock, flags); in lbs_hard_start_xmit()
106 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_hard_start_xmit()
144 spin_lock_irqsave(&priv->driver_lock, flags); in lbs_hard_start_xmit()
165 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_hard_start_xmit()
Dif_cs.c439 spin_lock_irqsave(&priv->driver_lock, flags); in if_cs_receive_cmdres()
441 spin_unlock_irqrestore(&priv->driver_lock, flags); in if_cs_receive_cmdres()
521 spin_lock_irqsave(&priv->driver_lock, flags); in if_cs_interrupt()
523 spin_unlock_irqrestore(&priv->driver_lock, flags); in if_cs_interrupt()
529 spin_lock_irqsave(&priv->driver_lock, flags); in if_cs_interrupt()
531 spin_unlock_irqrestore(&priv->driver_lock, flags); in if_cs_interrupt()
Dmesh.c897 spin_lock_irq(&priv->driver_lock); in lbs_mesh_stop()
902 spin_unlock_irq(&priv->driver_lock); in lbs_mesh_stop()
928 spin_lock_irq(&priv->driver_lock); in lbs_mesh_dev_open()
932 spin_unlock_irq(&priv->driver_lock); in lbs_mesh_dev_open()
941 spin_unlock_irq(&priv->driver_lock); in lbs_mesh_dev_open()
Ddev.h169 spinlock_t driver_lock; member
Dif_usb.c633 spin_lock_irqsave(&priv->driver_lock, flags); in process_cmdrequest()
643 spin_unlock_irqrestore(&priv->driver_lock, flags); in process_cmdrequest()
Dif_spi.c718 spin_lock_irqsave(&priv->driver_lock, flags); in if_spi_c2h_cmd()
724 spin_unlock_irqrestore(&priv->driver_lock, flags); in if_spi_c2h_cmd()
Dif_sdio.c217 spin_lock_irqsave(&priv->driver_lock, flags); in if_sdio_handle_cmd()
225 spin_unlock_irqrestore(&priv->driver_lock, flags); in if_sdio_handle_cmd()
/drivers/net/wireless/marvell/libertas_tf/
Dcmd.c221 spin_lock_irqsave(&priv->driver_lock, flags); in lbtf_queue_cmd()
223 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbtf_queue_cmd()
246 spin_lock_irqsave(&priv->driver_lock, flags); in lbtf_submit_command()
256 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbtf_submit_command()
299 spin_lock_irqsave(&priv->driver_lock, flags); in lbtf_cleanup_and_insert_cmd()
301 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbtf_cleanup_and_insert_cmd()
536 spin_lock_irqsave(&priv->driver_lock, flags); in lbtf_get_cmd_ctrl_node()
547 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbtf_get_cmd_ctrl_node()
572 spin_lock_irqsave(&priv->driver_lock, flags); in lbtf_execute_next_command()
576 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbtf_execute_next_command()
[all …]
Dmain.c89 spin_lock_irq(&priv->driver_lock); in lbtf_cmd_work()
93 spin_unlock_irq(&priv->driver_lock); in lbtf_cmd_work()
95 spin_lock_irq(&priv->driver_lock); in lbtf_cmd_work()
114 spin_unlock_irq(&priv->driver_lock); in lbtf_cmd_work()
133 spin_lock_irqsave(&priv->driver_lock, flags); in command_timer_fn()
147 spin_unlock_irqrestore(&priv->driver_lock, flags); in command_timer_fn()
163 spin_lock_init(&priv->driver_lock); in lbtf_init_adapter()
241 spin_lock_irq(&priv->driver_lock); in lbtf_tx_work()
244 spin_unlock_irq(&priv->driver_lock); in lbtf_tx_work()
280 spin_lock_irqsave(&priv->driver_lock, flags); in lbtf_op_stop()
[all …]
Dlibertas_tf.h219 spinlock_t driver_lock; member
Dif_usb.c613 spin_lock_irqsave(&priv->driver_lock, flags); in process_cmdrequest()
618 spin_unlock_irqrestore(&priv->driver_lock, flags); in process_cmdrequest()
/drivers/vfio/platform/
Dvfio_platform_common.c29 static DEFINE_MUTEX(driver_lock);
37 mutex_lock(&driver_lock); in vfio_platform_lookup_reset()
46 mutex_unlock(&driver_lock); in vfio_platform_lookup_reset()
704 mutex_lock(&driver_lock); in __vfio_platform_register_reset()
706 mutex_unlock(&driver_lock); in __vfio_platform_register_reset()
715 mutex_lock(&driver_lock); in vfio_platform_unregister_reset()
723 mutex_unlock(&driver_lock); in vfio_platform_unregister_reset()
/drivers/bluetooth/
Dbtmrvl_main.c641 spin_lock_irqsave(&priv->driver_lock, flags); in btmrvl_service_main_thread()
644 spin_unlock_irqrestore(&priv->driver_lock, flags); in btmrvl_service_main_thread()
648 spin_unlock_irqrestore(&priv->driver_lock, flags); in btmrvl_service_main_thread()
653 spin_unlock_irqrestore(&priv->driver_lock, flags); in btmrvl_service_main_thread()
750 spin_lock_init(&priv->driver_lock); in btmrvl_add_card()
Dbtmrvl_drv.h111 spinlock_t driver_lock; /* spinlock used by driver */ member
Dbtmrvl_sdio.c843 spin_lock_irqsave(&priv->driver_lock, flags); in btmrvl_sdio_process_int_status()
846 spin_unlock_irqrestore(&priv->driver_lock, flags); in btmrvl_sdio_process_int_status()
940 spin_lock_irqsave(&priv->driver_lock, flags); in btmrvl_sdio_interrupt()
942 spin_unlock_irqrestore(&priv->driver_lock, flags); in btmrvl_sdio_interrupt()
/drivers/tee/
Dtee_core.c41 static DEFINE_SPINLOCK(driver_lock);
865 spin_lock(&driver_lock); in tee_release_device()
867 spin_unlock(&driver_lock); in tee_release_device()
913 spin_lock(&driver_lock); in tee_device_alloc()
917 spin_unlock(&driver_lock); in tee_device_alloc()
962 spin_lock(&driver_lock); in tee_device_alloc()
964 spin_unlock(&driver_lock); in tee_device_alloc()