Home
last modified time | relevance | path

Searched refs:cmd_lock (Results 1 – 25 of 51) 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.c403 spin_lock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_itt()
406 spin_unlock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_itt()
410 spin_unlock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_itt()
425 spin_lock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_itt_or_dump()
430 spin_unlock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_itt_or_dump()
434 spin_unlock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_itt_or_dump()
451 spin_lock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_ttt()
454 spin_unlock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_ttt()
458 spin_unlock_bh(&conn->cmd_lock); in iscsit_find_cmd_from_ttt()
901 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()
810 spin_lock_bh(&conn->cmd_lock); in iscsit_add_reject()
812 spin_unlock_bh(&conn->cmd_lock); in iscsit_add_reject()
848 spin_lock_bh(&conn->cmd_lock); in iscsit_add_reject_from_cmd()
850 spin_unlock_bh(&conn->cmd_lock); in iscsit_add_reject_from_cmd()
961 spin_lock_bh(&conn->cmd_lock); in iscsit_ack_from_expstatsn()
973 spin_unlock_bh(&conn->cmd_lock); in iscsit_ack_from_expstatsn()
1194 spin_lock_bh(&conn->cmd_lock); in iscsit_setup_scsi_cmd()
1196 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/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/scsi/qla2xxx/
Dqla_nvme.c150 spin_lock_irqsave(&priv->cmd_lock, flags); in qla_nvme_release_fcp_cmd_kref()
161 spin_unlock_irqrestore(&priv->cmd_lock, flags); in qla_nvme_release_fcp_cmd_kref()
178 spin_lock_irqsave(&priv->cmd_lock, flags); in qla_nvme_release_ls_cmd_kref()
181 spin_unlock_irqrestore(&priv->cmd_lock, flags); in qla_nvme_release_ls_cmd_kref()
266 spin_lock_irqsave(&priv->cmd_lock, flags); in qla_nvme_ls_abort()
268 spin_unlock_irqrestore(&priv->cmd_lock, flags); in qla_nvme_ls_abort()
273 spin_unlock_irqrestore(&priv->cmd_lock, flags); in qla_nvme_ls_abort()
276 spin_unlock_irqrestore(&priv->cmd_lock, flags); in qla_nvme_ls_abort()
316 spin_lock_init(&priv->cmd_lock); in qla_nvme_ls_req()
350 spin_lock_irqsave(&priv->cmd_lock, flags); in qla_nvme_fcp_abort()
[all …]
Dqla_nvme.h32 spinlock_t cmd_lock; member
/drivers/iio/common/cros_ec_sensors/
Dcros_ec_sensors_core.c111 mutex_lock(&st->cmd_lock); in cros_ec_sensor_set_ec_rate()
115 mutex_unlock(&st->cmd_lock); in cros_ec_sensor_set_ec_rate()
149 mutex_lock(&st->cmd_lock); in cros_ec_sensor_get_report_latency()
155 mutex_unlock(&st->cmd_lock); in cros_ec_sensor_get_report_latency()
274 mutex_init(&state->cmd_lock); in cros_ec_sensors_core_init()
430 mutex_lock(&st->cmd_lock); in cros_ec_sensors_calibrate()
440 mutex_unlock(&st->cmd_lock); in cros_ec_sensors_calibrate()
705 mutex_lock(&st->cmd_lock); in cros_ec_sensors_capture()
727 mutex_unlock(&st->cmd_lock); in cros_ec_sensors_capture()
848 mutex_lock(&st->cmd_lock); in cros_ec_sensors_resume()
[all …]
Dcros_ec_sensors.c46 mutex_lock(&st->core.cmd_lock); in cros_ec_sensors_read()
144 mutex_unlock(&st->core.cmd_lock); in cros_ec_sensors_read()
158 mutex_lock(&st->core.cmd_lock); in cros_ec_sensors_write()
214 mutex_unlock(&st->core.cmd_lock); in cros_ec_sensors_write()
Dcros_ec_lid_angle.c75 mutex_lock(&st->core.cmd_lock); in cros_ec_lid_angle_read()
81 mutex_unlock(&st->core.cmd_lock); in cros_ec_lid_angle_read()
/drivers/iio/pressure/
Dcros_ec_baro.c45 mutex_lock(&st->core.cmd_lock); in cros_ec_baro_read()
77 mutex_unlock(&st->core.cmd_lock); in cros_ec_baro_read()
89 mutex_lock(&st->core.cmd_lock); in cros_ec_baro_write()
111 mutex_unlock(&st->core.cmd_lock); in cros_ec_baro_write()
/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()
386 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_set_features()
389 spin_unlock_irqrestore(&adapter->cmd_lock, flags); in vmxnet3_set_features()
404 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_get_ethtool_stats()
406 spin_unlock_irqrestore(&adapter->cmd_lock, flags); in vmxnet3_get_ethtool_stats()
763 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_get_rss_hash_opts()
768 spin_unlock_irqrestore(&adapter->cmd_lock, flags); in vmxnet3_get_rss_hash_opts()
909 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_set_rss_hash_opt()
921 spin_unlock_irqrestore(&adapter->cmd_lock, flags); in vmxnet3_set_rss_hash_opt()
[all …]
Dvmxnet3_drv.c144 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_check_link()
147 spin_unlock_irqrestore(&adapter->cmd_lock, flags); in vmxnet3_check_link()
188 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_process_events()
191 spin_unlock_irqrestore(&adapter->cmd_lock, flags); in vmxnet3_process_events()
2342 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_vlan_rx_add_vid()
2345 spin_unlock_irqrestore(&adapter->cmd_lock, flags); in vmxnet3_vlan_rx_add_vid()
2364 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_vlan_rx_kill_vid()
2367 spin_unlock_irqrestore(&adapter->cmd_lock, flags); in vmxnet3_vlan_rx_kill_vid()
2457 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_set_mc()
2468 spin_unlock_irqrestore(&adapter->cmd_lock, flags); in vmxnet3_set_mc()
[all …]
/drivers/iio/light/
Dcros_ec_light_prox.c48 mutex_lock(&st->core.cmd_lock); in cros_ec_light_prox_read()
119 mutex_unlock(&st->core.cmd_lock); in cros_ec_light_prox_read()
132 mutex_lock(&st->core.cmd_lock); in cros_ec_light_prox_write()
160 mutex_unlock(&st->core.cmd_lock); in cros_ec_light_prox_write()
/drivers/platform/olpc/
Dolpc-ec.c37 struct mutex cmd_lock; member
97 mutex_lock(&ec->cmd_lock); in olpc_ec_worker()
100 mutex_unlock(&ec->cmd_lock); in olpc_ec_worker()
419 mutex_init(&ec->cmd_lock); in olpc_ec_probe()
/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/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/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/net/ethernet/qlogic/qed/
Dqed_mcp.c147 spin_lock_bh(&p_hwfn->mcp_info->cmd_lock); in qed_mcp_free()
153 spin_unlock_bh(&p_hwfn->mcp_info->cmd_lock); in qed_mcp_free()
249 spin_lock_init(&p_info->cmd_lock); in qed_mcp_cmd_init()
306 spin_lock_bh(&p_hwfn->mcp_info->cmd_lock); in qed_mcp_reset()
332 spin_unlock_bh(&p_hwfn->mcp_info->cmd_lock); in qed_mcp_reset()
475 spin_lock_bh(&p_hwfn->mcp_info->cmd_lock); in _qed_mcp_cmd_and_union()
478 spin_unlock_bh(&p_hwfn->mcp_info->cmd_lock); in _qed_mcp_cmd_and_union()
484 spin_unlock_bh(&p_hwfn->mcp_info->cmd_lock); in _qed_mcp_cmd_and_union()
490 spin_unlock_bh(&p_hwfn->mcp_info->cmd_lock); in _qed_mcp_cmd_and_union()
505 spin_lock_bh(&p_hwfn->mcp_info->cmd_lock); in _qed_mcp_cmd_and_union()
[all …]
/drivers/net/can/peak_canfd/
Dpeak_pciefd_main.c194 spinlock_t cmd_lock; /* 64-bits cmds must be atomic */ member
454 spin_lock_irqsave(&priv->board->cmd_lock, flags); in pciefd_write_cmd()
461 spin_unlock_irqrestore(&priv->board->cmd_lock, flags); in pciefd_write_cmd()
757 spin_lock_init(&pciefd->cmd_lock); in peak_pciefd_probe()
/drivers/infiniband/ulp/isert/
Dib_isert.c1442 spin_lock_bh(&conn->cmd_lock); in isert_put_cmd()
1445 spin_unlock_bh(&conn->cmd_lock); in isert_put_cmd()
1467 spin_lock_bh(&conn->cmd_lock); in isert_put_cmd()
1470 spin_unlock_bh(&conn->cmd_lock); in isert_put_cmd()
1482 spin_lock_bh(&conn->cmd_lock); in isert_put_cmd()
1485 spin_unlock_bh(&conn->cmd_lock); in isert_put_cmd()
1818 spin_lock_bh(&conn->cmd_lock); in isert_aborted_task()
1821 spin_unlock_bh(&conn->cmd_lock); in isert_aborted_task()
2161 spin_lock_bh(&conn->cmd_lock); in isert_immediate_queue()
2163 spin_unlock_bh(&conn->cmd_lock); in isert_immediate_queue()
[all …]

123