Home
last modified time | relevance | path

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

/drivers/net/wireless/libertas/
Dcmdresp.c221 spin_lock_irqsave(&priv->driver_lock, flags); in handle_cmd_response()
224 spin_unlock_irqrestore(&priv->driver_lock, flags); in handle_cmd_response()
241 spin_lock_irqsave(&priv->driver_lock, flags); in handle_cmd_response()
244 spin_unlock_irqrestore(&priv->driver_lock, flags); in handle_cmd_response()
247 spin_lock_irqsave(&priv->driver_lock, flags); in handle_cmd_response()
250 spin_unlock_irqrestore(&priv->driver_lock, flags); in handle_cmd_response()
254 spin_lock_irqsave(&priv->driver_lock, flags); in handle_cmd_response()
257 spin_unlock_irqrestore(&priv->driver_lock, flags); in handle_cmd_response()
260 spin_lock_irqsave(&priv->driver_lock, flags); in handle_cmd_response()
264 spin_unlock_irqrestore(&priv->driver_lock, flags); in handle_cmd_response()
[all …]
Dmain.c460 spin_lock_irq(&priv->driver_lock); in lbs_dev_open()
484 spin_unlock_irq(&priv->driver_lock); in lbs_dev_open()
500 spin_lock_irq(&priv->driver_lock); in lbs_mesh_stop()
508 spin_unlock_irq(&priv->driver_lock); in lbs_mesh_stop()
528 spin_lock_irq(&priv->driver_lock); in lbs_eth_stop()
531 spin_unlock_irq(&priv->driver_lock); in lbs_eth_stop()
572 spin_lock_irqsave(&priv->driver_lock, flags); in lbs_host_to_card_done()
580 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_host_to_card_done()
767 spin_lock_irq(&priv->driver_lock); in lbs_thread()
799 spin_unlock_irq(&priv->driver_lock); in lbs_thread()
[all …]
Dtx.c75 spin_lock_irqsave(&priv->driver_lock, flags); in lbs_hard_start_xmit()
105 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()
166 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_hard_start_xmit()
Dcmd.c1162 spin_lock_irqsave(&priv->driver_lock, flags); in lbs_queue_cmd()
1169 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_queue_cmd()
1192 spin_lock_irqsave(&priv->driver_lock, flags); in lbs_submit_command()
1195 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_submit_command()
1251 spin_lock_irqsave(&priv->driver_lock, flags); in lbs_cleanup_and_insert_cmd()
1253 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_cleanup_and_insert_cmd()
1516 spin_lock_irqsave(&priv->driver_lock, flags); in lbs_prepare_and_send_command()
1523 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_prepare_and_send_command()
1633 spin_lock_irqsave(&priv->driver_lock, flags); in lbs_get_cmd_ctrl_node()
1644 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbs_get_cmd_ctrl_node()
[all …]
Dif_cs.c404 spin_lock_irqsave(&priv->driver_lock, flags); in if_cs_receive_cmdres()
406 spin_unlock_irqrestore(&priv->driver_lock, flags); in if_cs_receive_cmdres()
490 spin_lock_irqsave(&priv->driver_lock, flags); in if_cs_interrupt()
492 spin_unlock_irqrestore(&priv->driver_lock, flags); in if_cs_interrupt()
498 spin_lock_irqsave(&priv->driver_lock, flags); in if_cs_interrupt()
500 spin_unlock_irqrestore(&priv->driver_lock, flags); in if_cs_interrupt()
Dif_usb.c692 spin_lock(&priv->driver_lock); in process_cmdrequest()
702 spin_unlock(&priv->driver_lock); in process_cmdrequest()
904 spin_lock_irqsave(&priv->driver_lock, flags); in if_usb_prog_firmware()
906 spin_unlock_irqrestore(&priv->driver_lock, flags); in if_usb_prog_firmware()
912 spin_lock_irqsave(&priv->driver_lock, flags); in if_usb_prog_firmware()
915 spin_unlock_irqrestore(&priv->driver_lock, flags); in if_usb_prog_firmware()
919 spin_lock_irqsave(&priv->driver_lock, flags); in if_usb_prog_firmware()
921 spin_unlock_irqrestore(&priv->driver_lock, flags); in if_usb_prog_firmware()
Ddev.h203 spinlock_t driver_lock; member
Dif_sdio.c145 spin_lock_irqsave(&priv->driver_lock, flags); in if_sdio_handle_cmd()
153 spin_unlock_irqrestore(&card->priv->driver_lock, flags); in if_sdio_handle_cmd()
/drivers/net/wireless/libertas_tf/
Dcmd.c192 spin_lock_irqsave(&priv->driver_lock, flags); in lbtf_queue_cmd()
194 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbtf_queue_cmd()
209 spin_lock_irqsave(&priv->driver_lock, flags); in lbtf_submit_command()
214 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbtf_submit_command()
248 spin_lock_irqsave(&priv->driver_lock, flags); in lbtf_cleanup_and_insert_cmd()
250 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbtf_cleanup_and_insert_cmd()
437 spin_lock_irqsave(&priv->driver_lock, flags); in lbtf_get_cmd_ctrl_node()
446 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbtf_get_cmd_ctrl_node()
468 spin_lock_irqsave(&priv->driver_lock, flags); in lbtf_execute_next_command()
471 spin_unlock_irqrestore(&priv->driver_lock, flags); in lbtf_execute_next_command()
[all …]
Dmain.c82 spin_lock_irq(&priv->driver_lock); in lbtf_cmd_work()
86 spin_unlock_irq(&priv->driver_lock); in lbtf_cmd_work()
88 spin_lock_irq(&priv->driver_lock); in lbtf_cmd_work()
107 spin_unlock_irq(&priv->driver_lock); in lbtf_cmd_work()
154 spin_lock_irqsave(&priv->driver_lock, flags); in command_timer_fn()
168 spin_unlock_irqrestore(&priv->driver_lock, flags); in command_timer_fn()
183 spin_lock_init(&priv->driver_lock); in lbtf_init_adapter()
251 spin_lock_irq(&priv->driver_lock); in lbtf_tx_work()
254 spin_unlock_irq(&priv->driver_lock); in lbtf_tx_work()
302 spin_lock_irqsave(&priv->driver_lock, flags); in lbtf_op_stop()
[all …]
Dif_usb.c467 spin_lock(&priv->driver_lock); in process_cmdrequest()
472 spin_unlock(&priv->driver_lock); in process_cmdrequest()
Dlibertas_tf.h217 spinlock_t driver_lock; member
/drivers/char/
Dgeneric_serial.c277 spin_lock_irqsave (&port->driver_lock, flags); in gs_flush_buffer()
279 spin_unlock_irqrestore (&port->driver_lock, flags); in gs_flush_buffer()
358 spin_lock_irqsave(&port->driver_lock, flags); in gs_shutdown_port()
371 spin_unlock_irqrestore(&port->driver_lock, flags); in gs_shutdown_port()
567 spin_lock_irqsave(&port->driver_lock, flags); in gs_close()
569 spin_unlock_irqrestore(&port->driver_lock, flags); in gs_close()
583 spin_lock_irqsave(&port->driver_lock, flags); in gs_close()
587 spin_unlock_irqrestore(&port->driver_lock, flags); in gs_close()
718 spin_lock_irqsave (&port->driver_lock, flags); in gs_init_port()
723 spin_unlock_irqrestore(&port->driver_lock, flags); in gs_init_port()
[all …]
Dsx.c1480 spin_lock_irqsave(&port->gs.driver_lock, flags); in sx_open()
1485 spin_unlock_irqrestore(&port->gs.driver_lock, flags); in sx_open()
1515 spin_lock_irqsave(&port->gs.driver_lock, flags); in sx_open()
1517 spin_unlock_irqrestore(&port->gs.driver_lock, flags); in sx_open()
2425 spin_lock_init(&port->gs.driver_lock); in sx_init_portstructs()
/drivers/isdn/gigaset/
Dcommon.c947 static DEFINE_SPINLOCK(driver_lock);
957 spin_lock_irqsave(&driver_lock, flags); in gigaset_get_cs_by_id()
971 spin_unlock_irqrestore(&driver_lock, flags); in gigaset_get_cs_by_id()
982 spin_lock_irqsave(&driver_lock, flags); in gigaset_debugdrivers()
998 spin_unlock_irqrestore(&driver_lock, flags); in gigaset_debugdrivers()
1008 spin_lock_irqsave(&driver_lock, flags); in gigaset_get_cs_by_minor()
1020 spin_unlock_irqrestore(&driver_lock, flags); in gigaset_get_cs_by_minor()
1035 spin_lock_irqsave(&driver_lock, flags); in gigaset_freedriver()
1037 spin_unlock_irqrestore(&driver_lock, flags); in gigaset_freedriver()
1093 spin_lock_irqsave(&driver_lock, flags); in gigaset_initdriver()
[all …]
/drivers/macintosh/
Dtherm_pm72.c173 static DEFINE_MUTEX(driver_lock);
733 mutex_lock(&driver_lock); \
735 mutex_unlock(&driver_lock); \
1807 mutex_lock(&driver_lock); in main_control_loop()
1811 mutex_unlock(&driver_lock); in main_control_loop()
1826 mutex_unlock(&driver_lock); in main_control_loop()
1833 mutex_lock(&driver_lock); in main_control_loop()
1865 mutex_unlock(&driver_lock); in main_control_loop()
2023 mutex_lock(&driver_lock); in therm_pm72_attach()
2029 mutex_unlock(&driver_lock); in therm_pm72_attach()
[all …]
/drivers/char/tpm/
Dtpm.c51 static DEFINE_SPINLOCK(driver_lock);
1093 spin_lock(&driver_lock); in tpm_remove_hardware()
1095 spin_unlock(&driver_lock); in tpm_remove_hardware()
1244 spin_lock(&driver_lock); in tpm_register_hardware()
1246 spin_unlock(&driver_lock); in tpm_register_hardware()
/drivers/scsi/
Du14-34f.c612 static DEFINE_SPINLOCK(driver_lock);
779 spin_unlock_irq(&driver_lock); in board_inquiry()
782 spin_lock_irq(&driver_lock); in board_inquiry()
859 spin_lock_irq(&driver_lock); in port_detect()
890 spin_unlock_irq(&driver_lock); in port_detect()
892 spin_lock_irq(&driver_lock); in port_detect()
975 spin_unlock_irq(&driver_lock); in port_detect()
1023 spin_unlock_irq(&driver_lock); in port_detect()
Deata.c840 static DEFINE_SPINLOCK(driver_lock);
1100 spin_lock_irq(&driver_lock); in port_detect()
1268 spin_unlock_irq(&driver_lock); in port_detect()
1270 spin_lock_irq(&driver_lock); in port_detect()
1348 spin_unlock_irq(&driver_lock); in port_detect()
1442 spin_unlock_irq(&driver_lock); in port_detect()
/drivers/staging/sxg/
Dsxg.c208 spin_lock_init(&sxg_global.driver_lock); in sxg_init_driver()
1612 spin_unlock_irqrestore(&sxg_global.driver_lock, in sxg_register_interrupt()
1620 spin_lock_irqsave(&sxg_global.driver_lock, sxg_global.flags); in sxg_register_interrupt()
1737 spin_lock_irqsave(&sxg_global.driver_lock, sxg_global.flags); in sxg_entry_open()
1760 spin_unlock_irqrestore(&sxg_global.driver_lock, in sxg_entry_open()
1771 spin_unlock_irqrestore(&sxg_global.driver_lock, sxg_global.flags); in sxg_entry_open()
1810 spin_lock_irqsave(&sxg_global.driver_lock, sxg_global.flags); in sxg_entry_halt()
1822 spin_unlock_irqrestore(&sxg_global.driver_lock, sxg_global.flags); in sxg_entry_halt()
Dsxg.h491 spinlock_t driver_lock; member
/drivers/staging/slicoss/
Dslicoss.c229 spin_lock_init(&slic_global.driver_lock.lock); in slic_init_driver()
534 spin_lock_irqsave(&slic_global.driver_lock.lock, in slic_entry_open()
535 slic_global.driver_lock.flags); in slic_entry_open()
551 spin_unlock_irqrestore(&slic_global.driver_lock.lock, in slic_entry_open()
552 slic_global.driver_lock.flags); in slic_entry_open()
567 spin_unlock_irqrestore(&slic_global.driver_lock.lock, in slic_entry_open()
568 slic_global.driver_lock.flags); in slic_entry_open()
653 spin_lock_irqsave(&slic_global.driver_lock.lock, in slic_entry_halt()
654 slic_global.driver_lock.flags); in slic_entry_halt()
725 spin_unlock_irqrestore(&slic_global.driver_lock.lock, in slic_entry_halt()
[all …]
Dslic.h417 struct slic_spinlock driver_lock; member