Home
last modified time | relevance | path

Searched refs:cmd_lock (Results 1 – 25 of 64) sorted by relevance

123

/drivers/crypto/ccp/
Dccp-dev.c308 spin_lock_irqsave(&ccp->cmd_lock, flags); in ccp_enqueue_cmd()
335 spin_unlock_irqrestore(&ccp->cmd_lock, flags); in ccp_enqueue_cmd()
354 spin_lock_irqsave(&ccp->cmd_lock, flags); in ccp_do_cmd_backlog()
367 spin_unlock_irqrestore(&ccp->cmd_lock, flags); in ccp_do_cmd_backlog()
381 spin_lock_irqsave(&ccp->cmd_lock, flags); in ccp_dequeue_cmd()
388 spin_unlock_irqrestore(&ccp->cmd_lock, flags); in ccp_dequeue_cmd()
409 spin_unlock_irqrestore(&ccp->cmd_lock, flags); in ccp_dequeue_cmd()
490 spin_lock_init(&ccp->cmd_lock); in ccp_alloc_struct()
540 spin_lock_irqsave(&ccp->cmd_lock, flags); in ccp_queues_suspended()
546 spin_unlock_irqrestore(&ccp->cmd_lock, flags); in ccp_queues_suspended()
[all …]
/drivers/target/iscsi/
Discsi_target_erl2.c288 spin_lock_bh(&conn->cmd_lock); in iscsit_discard_unacknowledged_ooo_cmdsns_for_conn()
295 spin_unlock_bh(&conn->cmd_lock); in iscsit_discard_unacknowledged_ooo_cmdsns_for_conn()
297 spin_lock_bh(&conn->cmd_lock); in iscsit_discard_unacknowledged_ooo_cmdsns_for_conn()
299 spin_unlock_bh(&conn->cmd_lock); in iscsit_discard_unacknowledged_ooo_cmdsns_for_conn()
337 spin_lock_bh(&conn->cmd_lock); in iscsit_prepare_cmds_for_reallegiance()
348 spin_unlock_bh(&conn->cmd_lock); in iscsit_prepare_cmds_for_reallegiance()
350 spin_lock_bh(&conn->cmd_lock); in iscsit_prepare_cmds_for_reallegiance()
368 spin_unlock_bh(&conn->cmd_lock); in iscsit_prepare_cmds_for_reallegiance()
370 spin_lock_bh(&conn->cmd_lock); in iscsit_prepare_cmds_for_reallegiance()
390 spin_unlock_bh(&conn->cmd_lock); in iscsit_prepare_cmds_for_reallegiance()
[all …]
Discsi_target_util.c386 spin_lock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_itt()
389 spin_unlock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_itt()
393 spin_unlock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_itt()
408 spin_lock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_itt_or_dump()
413 spin_unlock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_itt_or_dump()
417 spin_unlock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_itt_or_dump()
434 spin_lock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_ttt()
437 spin_unlock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_ttt()
441 spin_unlock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_ttt()
885 spin_lock_bh(&conn->cmd_lock); in iscsit_add_nopin()
[all …]
Discsi_target.c485 spin_lock_bh(&conn->cmd_lock); in iscsit_aborted_task()
488 spin_unlock_bh(&conn->cmd_lock); in iscsit_aborted_task()
819 spin_lock_bh(&conn->cmd_lock); in iscsit_add_reject()
821 spin_unlock_bh(&conn->cmd_lock); in iscsit_add_reject()
857 spin_lock_bh(&conn->cmd_lock); in iscsit_add_reject_from_cmd()
859 spin_unlock_bh(&conn->cmd_lock); in iscsit_add_reject_from_cmd()
970 spin_lock_bh(&conn->cmd_lock); in iscsit_ack_from_expstatsn()
982 spin_unlock_bh(&conn->cmd_lock); in iscsit_ack_from_expstatsn()
1235 spin_lock_bh(&conn->cmd_lock); in iscsit_setup_scsi_cmd()
1237 spin_unlock_bh(&conn->cmd_lock); in iscsit_setup_scsi_cmd()
[all …]
Discsi_target_tmr.c217 spin_lock_bh(&conn->cmd_lock); in iscsit_task_reassign_complete_nop_out()
219 spin_unlock_bh(&conn->cmd_lock); in iscsit_task_reassign_complete_nop_out()
385 spin_lock_bh(&conn->cmd_lock); in iscsit_task_reassign_complete_scsi_cmnd()
387 spin_unlock_bh(&conn->cmd_lock); in iscsit_task_reassign_complete_scsi_cmnd()
/drivers/media/platform/amphion/
Dvpu_cmds.c179 mutex_lock(&core->cmd_lock); in vpu_request_cmd()
188 mutex_unlock(&core->cmd_lock); in vpu_request_cmd()
227 mutex_lock(&core->cmd_lock); in vpu_response_cmd()
232 mutex_unlock(&core->cmd_lock); in vpu_response_cmd()
242 mutex_lock(&inst->core->cmd_lock); in vpu_clear_request()
250 mutex_unlock(&inst->core->cmd_lock); in vpu_clear_request()
281 mutex_lock(&inst->core->cmd_lock); in sync_session_response()
283 mutex_unlock(&inst->core->cmd_lock); in sync_session_response()
298 mutex_lock(&core->cmd_lock); in vpu_core_keep_active()
301 mutex_unlock(&core->cmd_lock); in vpu_core_keep_active()
[all …]
/drivers/fsi/
Dfsi-master-gpio.c26 struct mutex cmd_lock; /* mutex for command ordering */ member
571 mutex_lock(&master->cmd_lock); in fsi_master_gpio_read()
575 mutex_unlock(&master->cmd_lock); in fsi_master_gpio_read()
590 mutex_lock(&master->cmd_lock); in fsi_master_gpio_write()
594 mutex_unlock(&master->cmd_lock); in fsi_master_gpio_write()
609 mutex_lock(&master->cmd_lock); in fsi_master_gpio_term()
613 mutex_unlock(&master->cmd_lock); in fsi_master_gpio_term()
628 mutex_lock(&master->cmd_lock); in fsi_master_gpio_break()
630 mutex_unlock(&master->cmd_lock); in fsi_master_gpio_break()
648 mutex_unlock(&master->cmd_lock); in fsi_master_gpio_break()
[all …]
/drivers/net/ethernet/wiznet/
Dw5100-spi.c117 struct mutex cmd_lock; member
134 mutex_init(&spi_priv->cmd_lock); in w5200_spi_init()
200 mutex_lock(&spi_priv->cmd_lock); in w5200_spi_readbulk()
208 mutex_unlock(&spi_priv->cmd_lock); in w5200_spi_readbulk()
230 mutex_lock(&spi_priv->cmd_lock); in w5200_spi_writebulk()
238 mutex_unlock(&spi_priv->cmd_lock); in w5200_spi_writebulk()
262 struct mutex cmd_lock; member
279 mutex_init(&spi_priv->cmd_lock); in w5500_spi_init()
360 mutex_lock(&spi_priv->cmd_lock); in w5500_spi_readbulk()
367 mutex_unlock(&spi_priv->cmd_lock); in w5500_spi_readbulk()
[all …]
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_cmd.c68 spin_lock(&dev->cmd_lock); in pvrdma_cmd_recv()
70 spin_unlock(&dev->cmd_lock); in pvrdma_cmd_recv()
96 spin_lock(&dev->cmd_lock); in pvrdma_cmd_post()
98 spin_unlock(&dev->cmd_lock); in pvrdma_cmd_post()
/drivers/iio/common/cros_ec_sensors/
Dcros_ec_sensors_core.c106 mutex_lock(&st->cmd_lock); in cros_ec_sensor_set_ec_rate()
110 mutex_unlock(&st->cmd_lock); in cros_ec_sensor_set_ec_rate()
144 mutex_lock(&st->cmd_lock); in cros_ec_sensor_get_report_latency()
150 mutex_unlock(&st->cmd_lock); in cros_ec_sensor_get_report_latency()
268 mutex_init(&state->cmd_lock); in cros_ec_sensors_core_init()
453 mutex_lock(&st->cmd_lock); in cros_ec_sensors_calibrate()
463 mutex_unlock(&st->cmd_lock); in cros_ec_sensors_calibrate()
714 mutex_lock(&st->cmd_lock); in cros_ec_sensors_capture()
736 mutex_unlock(&st->cmd_lock); in cros_ec_sensors_capture()
856 mutex_lock(&st->cmd_lock); in cros_ec_sensors_resume()
[all …]
Dcros_ec_sensors.c47 mutex_lock(&st->core.cmd_lock); in cros_ec_sensors_read()
145 mutex_unlock(&st->core.cmd_lock); in cros_ec_sensors_read()
159 mutex_lock(&st->core.cmd_lock); in cros_ec_sensors_write()
215 mutex_unlock(&st->core.cmd_lock); in cros_ec_sensors_write()
Dcros_ec_lid_angle.c76 mutex_lock(&st->core.cmd_lock); in cros_ec_lid_angle_read()
82 mutex_unlock(&st->core.cmd_lock); in cros_ec_lid_angle_read()
/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c135 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_get_stats64()
137 spin_unlock_irqrestore(&adapter->cmd_lock, flags); in vmxnet3_get_stats64()
344 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_enable_encap_offloads()
347 spin_unlock_irqrestore(&adapter->cmd_lock, flags); in vmxnet3_enable_encap_offloads()
384 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_disable_encap_offloads()
387 spin_unlock_irqrestore(&adapter->cmd_lock, flags); in vmxnet3_disable_encap_offloads()
435 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_set_features()
438 spin_unlock_irqrestore(&adapter->cmd_lock, flags); in vmxnet3_set_features()
453 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_get_ethtool_stats()
455 spin_unlock_irqrestore(&adapter->cmd_lock, flags); in vmxnet3_get_ethtool_stats()
[all …]
Dvmxnet3_drv.c170 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_check_link()
173 spin_unlock_irqrestore(&adapter->cmd_lock, flags); in vmxnet3_check_link()
214 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_process_events()
217 spin_unlock_irqrestore(&adapter->cmd_lock, flags); in vmxnet3_process_events()
2438 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_vlan_rx_add_vid()
2441 spin_unlock_irqrestore(&adapter->cmd_lock, flags); in vmxnet3_vlan_rx_add_vid()
2460 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_vlan_rx_kill_vid()
2463 spin_unlock_irqrestore(&adapter->cmd_lock, flags); in vmxnet3_vlan_rx_kill_vid()
2553 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_set_mc()
2564 spin_unlock_irqrestore(&adapter->cmd_lock, flags); in vmxnet3_set_mc()
[all …]
/drivers/scsi/qla2xxx/
Dqla_nvme.c156 spin_lock_irqsave(&priv->cmd_lock, flags); in qla_nvme_release_fcp_cmd_kref()
167 spin_unlock_irqrestore(&priv->cmd_lock, flags); in qla_nvme_release_fcp_cmd_kref()
184 spin_lock_irqsave(&priv->cmd_lock, flags); in qla_nvme_release_ls_cmd_kref()
187 spin_unlock_irqrestore(&priv->cmd_lock, flags); in qla_nvme_release_ls_cmd_kref()
297 spin_lock_irqsave(&priv->cmd_lock, flags); in qla_nvme_ls_abort()
299 spin_unlock_irqrestore(&priv->cmd_lock, flags); in qla_nvme_ls_abort()
304 spin_unlock_irqrestore(&priv->cmd_lock, flags); in qla_nvme_ls_abort()
307 spin_unlock_irqrestore(&priv->cmd_lock, flags); in qla_nvme_ls_abort()
346 spin_lock_init(&priv->cmd_lock); in qla_nvme_ls_req()
380 spin_lock_irqsave(&priv->cmd_lock, flags); in qla_nvme_fcp_abort()
[all …]
/drivers/iio/pressure/
Dcros_ec_baro.c46 mutex_lock(&st->core.cmd_lock); in cros_ec_baro_read()
78 mutex_unlock(&st->core.cmd_lock); in cros_ec_baro_read()
90 mutex_lock(&st->core.cmd_lock); in cros_ec_baro_write()
112 mutex_unlock(&st->core.cmd_lock); in cros_ec_baro_write()
/drivers/iio/light/
Dcros_ec_light_prox.c49 mutex_lock(&st->core.cmd_lock); in cros_ec_light_prox_read()
120 mutex_unlock(&st->core.cmd_lock); in cros_ec_light_prox_read()
133 mutex_lock(&st->core.cmd_lock); in cros_ec_light_prox_write()
161 mutex_unlock(&st->core.cmd_lock); in cros_ec_light_prox_write()
/drivers/platform/olpc/
Dolpc-ec.c37 struct mutex cmd_lock; member
96 mutex_lock(&ec->cmd_lock); in olpc_ec_worker()
99 mutex_unlock(&ec->cmd_lock); in olpc_ec_worker()
420 mutex_init(&ec->cmd_lock); in olpc_ec_probe()
/drivers/net/wireless/ath/carl9170/
Dusb.c670 spin_lock_bh(&ar->cmd_lock); in carl9170_exec_cmd()
673 spin_unlock_bh(&ar->cmd_lock); in carl9170_exec_cmd()
707 spin_lock_bh(&ar->cmd_lock); in carl9170_exec_cmd()
710 spin_unlock_bh(&ar->cmd_lock); in carl9170_exec_cmd()
781 spin_lock_bh(&ar->cmd_lock); in carl9170_usb_stop()
783 spin_unlock_bh(&ar->cmd_lock); in carl9170_usb_stop()
/drivers/iio/accel/
Dcros_ec_accel_legacy.c83 mutex_lock(&st->cmd_lock); in cros_ec_accel_legacy_read()
114 mutex_unlock(&st->cmd_lock); in cros_ec_accel_legacy_read()
/drivers/platform/chrome/
Dcros_ec_sensorhub_ring.c115 mutex_lock(&sensorhub->cmd_lock); in cros_ec_sensorhub_ring_fifo_enable()
127 mutex_unlock(&sensorhub->cmd_lock); in cros_ec_sensorhub_ring_fifo_enable()
776 mutex_lock(&sensorhub->cmd_lock); in cros_ec_sensorhub_ring_handler()
864 mutex_unlock(&sensorhub->cmd_lock); in cros_ec_sensorhub_ring_handler()
911 mutex_unlock(&sensorhub->cmd_lock); in cros_ec_sensorhub_ring_handler()
/drivers/atm/
Didt77252.c176 spin_lock_irqsave(&card->cmd_lock, flags); in read_sram()
180 spin_unlock_irqrestore(&card->cmd_lock, flags); in read_sram()
198 spin_lock_irqsave(&card->cmd_lock, flags); in write_sram()
202 spin_unlock_irqrestore(&card->cmd_lock, flags); in write_sram()
217 spin_lock_irqsave(&card->cmd_lock, flags); in read_utility()
221 spin_unlock_irqrestore(&card->cmd_lock, flags); in read_utility()
236 spin_lock_irqsave(&card->cmd_lock, flags); in write_utility()
240 spin_unlock_irqrestore(&card->cmd_lock, flags); in write_utility()
372 spin_lock_irqsave(&card->cmd_lock, flags); in idt77252_write_gp()
375 spin_unlock_irqrestore(&card->cmd_lock, flags); in idt77252_write_gp()
[all …]
/drivers/dma/idxd/
Ddevice.c482 spin_lock(&idxd->cmd_lock); in idxd_device_init_reset()
488 spin_unlock(&idxd->cmd_lock); in idxd_device_init_reset()
512 spin_lock_irqsave(&idxd->cmd_lock, flags); in idxd_cmd_exec()
515 idxd->cmd_lock); in idxd_cmd_exec()
529 spin_unlock_irqrestore(&idxd->cmd_lock, flags); in idxd_cmd_exec()
532 spin_lock(&idxd->cmd_lock); in idxd_cmd_exec()
540 spin_unlock(&idxd->cmd_lock); in idxd_cmd_exec()
662 spin_lock(&idxd->cmd_lock); in idxd_device_release_int_handle()
668 spin_unlock(&idxd->cmd_lock); in idxd_device_release_int_handle()
/drivers/net/can/peak_canfd/
Dpeak_pciefd_main.c193 spinlock_t cmd_lock; /* 64-bits cmds must be atomic */ member
453 spin_lock_irqsave(&priv->board->cmd_lock, flags); in pciefd_write_cmd()
460 spin_unlock_irqrestore(&priv->board->cmd_lock, flags); in pciefd_write_cmd()
756 spin_lock_init(&pciefd->cmd_lock); in peak_pciefd_probe()
/drivers/ntb/hw/epf/
Dntb_hw_epf.c64 struct mutex cmd_lock; member
107 mutex_lock(&ndev->cmd_lock); in ntb_epf_send_command()
133 mutex_unlock(&ndev->cmd_lock); in ntb_epf_send_command()
697 mutex_init(&ndev->cmd_lock); in ntb_epf_pci_probe()

123