Home
last modified time | relevance | path

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

/Linux-v5.4/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 …]
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()
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 …]
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.c912 spin_lock_irq(&priv->driver_lock); in lbs_mesh_stop()
917 spin_unlock_irq(&priv->driver_lock); in lbs_mesh_stop()
943 spin_lock_irq(&priv->driver_lock); in lbs_mesh_dev_open()
947 spin_unlock_irq(&priv->driver_lock); in lbs_mesh_dev_open()
956 spin_unlock_irq(&priv->driver_lock); in lbs_mesh_dev_open()
Ddev.h169 spinlock_t driver_lock; member
Dif_usb.c630 spin_lock_irqsave(&priv->driver_lock, flags); in process_cmdrequest()
640 spin_unlock_irqrestore(&priv->driver_lock, flags); in process_cmdrequest()
Dif_spi.c717 spin_lock_irqsave(&priv->driver_lock, flags); in if_spi_c2h_cmd()
723 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()
/Linux-v5.4/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.c90 spin_lock_irq(&priv->driver_lock); in lbtf_cmd_work()
94 spin_unlock_irq(&priv->driver_lock); in lbtf_cmd_work()
96 spin_lock_irq(&priv->driver_lock); in lbtf_cmd_work()
115 spin_unlock_irq(&priv->driver_lock); in lbtf_cmd_work()
134 spin_lock_irqsave(&priv->driver_lock, flags); in command_timer_fn()
148 spin_unlock_irqrestore(&priv->driver_lock, flags); in command_timer_fn()
164 spin_lock_init(&priv->driver_lock); in lbtf_init_adapter()
242 spin_lock_irq(&priv->driver_lock); in lbtf_tx_work()
245 spin_unlock_irq(&priv->driver_lock); in lbtf_tx_work()
281 spin_lock_irqsave(&priv->driver_lock, flags); in lbtf_op_stop()
[all …]
Dlibertas_tf.h219 spinlock_t driver_lock; member
Dif_usb.c611 spin_lock_irqsave(&priv->driver_lock, flags); in process_cmdrequest()
616 spin_unlock_irqrestore(&priv->driver_lock, flags); in process_cmdrequest()
/Linux-v5.4/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()
225 mutex_lock(&driver_lock); in vfio_platform_release()
242 mutex_unlock(&driver_lock); in vfio_platform_release()
255 mutex_lock(&driver_lock); in vfio_platform_open()
282 mutex_unlock(&driver_lock); in vfio_platform_open()
292 mutex_unlock(&driver_lock); in vfio_platform_open()
724 mutex_lock(&driver_lock); in __vfio_platform_register_reset()
726 mutex_unlock(&driver_lock); in __vfio_platform_register_reset()
[all …]
/Linux-v5.4/drivers/staging/isdn/gigaset/
Dcommon.c975 static DEFINE_SPINLOCK(driver_lock);
985 spin_lock_irqsave(&driver_lock, flags); in gigaset_get_cs_by_id()
999 spin_unlock_irqrestore(&driver_lock, flags); in gigaset_get_cs_by_id()
1010 spin_lock_irqsave(&driver_lock, flags); in gigaset_get_cs_by_minor()
1022 spin_unlock_irqrestore(&driver_lock, flags); in gigaset_get_cs_by_minor()
1043 spin_lock_irqsave(&driver_lock, flags); in gigaset_freedriver()
1045 spin_unlock_irqrestore(&driver_lock, flags); in gigaset_freedriver()
1103 spin_lock_irqsave(&driver_lock, flags); in gigaset_initdriver()
1105 spin_unlock_irqrestore(&driver_lock, flags); in gigaset_initdriver()
/Linux-v5.4/drivers/bluetooth/
Dbtmrvl_main.c633 spin_lock_irqsave(&priv->driver_lock, flags); in btmrvl_service_main_thread()
636 spin_unlock_irqrestore(&priv->driver_lock, flags); in btmrvl_service_main_thread()
640 spin_unlock_irqrestore(&priv->driver_lock, flags); in btmrvl_service_main_thread()
645 spin_unlock_irqrestore(&priv->driver_lock, flags); in btmrvl_service_main_thread()
739 spin_lock_init(&priv->driver_lock); in btmrvl_add_card()
Dbtmrvl_drv.h111 spinlock_t driver_lock; /* spinlock used by driver */ member
Dbtmrvl_sdio.c886 spin_lock_irqsave(&priv->driver_lock, flags); in btmrvl_sdio_process_int_status()
889 spin_unlock_irqrestore(&priv->driver_lock, flags); in btmrvl_sdio_process_int_status()
983 spin_lock_irqsave(&priv->driver_lock, flags); in btmrvl_sdio_interrupt()
985 spin_unlock_irqrestore(&priv->driver_lock, flags); in btmrvl_sdio_interrupt()
/Linux-v5.4/drivers/tee/
Dtee_core.c26 static DEFINE_SPINLOCK(driver_lock);
685 spin_lock(&driver_lock); in tee_release_device()
687 spin_unlock(&driver_lock); in tee_release_device()
733 spin_lock(&driver_lock); in tee_device_alloc()
737 spin_unlock(&driver_lock); in tee_device_alloc()
783 spin_lock(&driver_lock); in tee_device_alloc()
785 spin_unlock(&driver_lock); in tee_device_alloc()
/Linux-v5.4/drivers/media/rc/
Dimon.c415 static DEFINE_MUTEX(driver_lock);
475 mutex_lock(&driver_lock); in display_open()
509 mutex_unlock(&driver_lock); in display_open()
2381 mutex_lock(&driver_lock); in imon_probe()
2440 mutex_unlock(&driver_lock); in imon_probe()
2446 mutex_unlock(&driver_lock); in imon_probe()
2463 mutex_lock(&driver_lock); in imon_disconnect()
2509 mutex_unlock(&driver_lock); in imon_disconnect()