Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/drivers/media/platform/amphion/
A Dvpu_cmds.c175 mutex_lock(&core->cmd_lock); in vpu_request_cmd()
183 mutex_unlock(&core->cmd_lock); in vpu_request_cmd()
222 mutex_lock(&core->cmd_lock); in vpu_response_cmd()
227 mutex_unlock(&core->cmd_lock); in vpu_response_cmd()
237 mutex_lock(&inst->core->cmd_lock); in vpu_clear_request()
254 mutex_lock(&core->cmd_lock); in check_is_responsed()
267 mutex_unlock(&core->cmd_lock); in check_is_responsed()
307 mutex_lock(&core->cmd_lock); in vpu_core_keep_active()
309 mutex_unlock(&core->cmd_lock); in vpu_core_keep_active()
451 mutex_lock(&core->cmd_lock); in vpu_core_sw_reset()
[all …]
/linux-6.3-rc2/drivers/crypto/ccp/
A 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()
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()
561 spin_lock_irqsave(&ccp->cmd_lock, flags); in ccp_dev_suspend()
[all …]
/linux-6.3-rc2/drivers/target/iscsi/
A 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()
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()
402 spin_lock_bh(&conn->cmd_lock); in iscsit_prepare_cmds_for_reallegiance()
[all …]
A 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 …]
A 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()
970 spin_lock_bh(&conn->cmd_lock); in iscsit_ack_from_expstatsn()
1234 spin_lock_bh(&conn->cmd_lock); in iscsit_setup_scsi_cmd()
2150 spin_lock_bh(&conn->cmd_lock); in iscsit_handle_task_mgt_cmd()
2265 spin_lock_bh(&conn->cmd_lock); in iscsit_process_text_cmd()
2539 spin_lock_bh(&conn->cmd_lock); in iscsit_handle_logout_cmd()
[all …]
/linux-6.3-rc2/drivers/infiniband/hw/vmw_pvrdma/
A 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()
/linux-6.3-rc2/drivers/net/ethernet/wiznet/
A 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 …]
/linux-6.3-rc2/drivers/fsi/
A Dfsi-master-gpio.c571 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()
690 mutex_lock(&master->cmd_lock); in fsi_master_gpio_link_enable()
708 mutex_lock(&master->cmd_lock); in fsi_master_gpio_link_config()
739 mutex_lock(&master->cmd_lock); in external_mode_store()
[all …]
/linux-6.3-rc2/drivers/iio/common/cros_ec_sensors/
A 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()
264 mutex_init(&state->cmd_lock); in cros_ec_sensors_core_init()
449 mutex_lock(&st->cmd_lock); in cros_ec_sensors_calibrate()
459 mutex_unlock(&st->cmd_lock); in cros_ec_sensors_calibrate()
710 mutex_lock(&st->cmd_lock); in cros_ec_sensors_capture()
732 mutex_unlock(&st->cmd_lock); in cros_ec_sensors_capture()
852 mutex_lock(&st->cmd_lock); in cros_ec_sensors_resume()
[all …]
A 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()
A 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()
/linux-6.3-rc2/drivers/iio/pressure/
A 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()
/linux-6.3-rc2/drivers/scsi/qla2xxx/
A Dqla_nvme.c155 spin_lock_irqsave(&priv->cmd_lock, flags); in qla_nvme_release_fcp_cmd_kref()
166 spin_unlock_irqrestore(&priv->cmd_lock, flags); in qla_nvme_release_fcp_cmd_kref()
183 spin_lock_irqsave(&priv->cmd_lock, flags); in qla_nvme_release_ls_cmd_kref()
186 spin_unlock_irqrestore(&priv->cmd_lock, flags); in qla_nvme_release_ls_cmd_kref()
296 spin_lock_irqsave(&priv->cmd_lock, flags); in qla_nvme_ls_abort()
298 spin_unlock_irqrestore(&priv->cmd_lock, flags); in qla_nvme_ls_abort()
306 spin_unlock_irqrestore(&priv->cmd_lock, flags); in qla_nvme_ls_abort()
345 spin_lock_init(&priv->cmd_lock); in qla_nvme_ls_req()
380 spin_lock_irqsave(&priv->cmd_lock, flags); in qla_nvme_fcp_abort()
389 spin_unlock_irqrestore(&priv->cmd_lock, flags); in qla_nvme_fcp_abort()
[all …]
/linux-6.3-rc2/drivers/net/vmxnet3/
A 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()
384 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_disable_encap_offloads()
435 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_set_features()
453 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_get_ethtool_stats()
821 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_get_rss_hash_opts()
1013 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_set_rss_hash_opt()
1020 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_set_rss_hash_opt()
1152 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_set_rss()
[all …]
A 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()
2551 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_set_mc()
2742 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_init_bufsize()
2758 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_init_coalesce()
2785 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_init_rssfields()
2873 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_activate_dev()
2930 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_reset_dev()
2945 spin_lock_irqsave(&adapter->cmd_lock, flags); in vmxnet3_quiesce_dev()
[all …]
/linux-6.3-rc2/net/nfc/
A Ddigital_core.c117 mutex_lock(&ddev->cmd_lock); in digital_wq_cmd_complete()
122 mutex_unlock(&ddev->cmd_lock); in digital_wq_cmd_complete()
128 mutex_unlock(&ddev->cmd_lock); in digital_wq_cmd_complete()
161 mutex_lock(&ddev->cmd_lock); in digital_wq_cmd()
166 mutex_unlock(&ddev->cmd_lock); in digital_wq_cmd()
172 mutex_unlock(&ddev->cmd_lock); in digital_wq_cmd()
216 mutex_lock(&ddev->cmd_lock); in digital_wq_cmd()
218 mutex_unlock(&ddev->cmd_lock); in digital_wq_cmd()
246 mutex_lock(&ddev->cmd_lock); in digital_send_cmd()
248 mutex_unlock(&ddev->cmd_lock); in digital_send_cmd()
[all …]
/linux-6.3-rc2/drivers/iio/light/
A 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()
/linux-6.3-rc2/include/linux/mfd/
A Dsi476x-core.h121 struct mutex cmd_lock; /* for serializing fm radio operations */ member
172 mutex_lock(&core->cmd_lock); in si476x_core_lock()
181 mutex_unlock(&core->cmd_lock); in si476x_core_unlock()
/linux-6.3-rc2/drivers/platform/olpc/
A 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()
/linux-6.3-rc2/arch/powerpc/sysdev/
A Dcpm2.c79 static DEFINE_SPINLOCK(cmd_lock);
88 spin_lock_irqsave(&cmd_lock, flags); in cpm_command()
99 spin_unlock_irqrestore(&cmd_lock, flags); in cpm_command()
/linux-6.3-rc2/drivers/iio/accel/
A 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()
/linux-6.3-rc2/drivers/net/wireless/ath/carl9170/
A 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()
/linux-6.3-rc2/drivers/platform/chrome/
A 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()
/linux-6.3-rc2/drivers/atm/
A 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()
236 spin_lock_irqsave(&card->cmd_lock, flags); in write_utility()
372 spin_lock_irqsave(&card->cmd_lock, flags); in idt77252_write_gp()
1830 spin_lock_irqsave(&card->cmd_lock, flags); in push_rx_skb()
2371 spin_lock_irqsave(&card->cmd_lock, flags); in idt77252_init_rx()
2510 spin_lock_irqsave(&card->cmd_lock, flags); in idt77252_close()
[all …]
/linux-6.3-rc2/drivers/dma/idxd/
A Ddevice.c481 spin_lock(&idxd->cmd_lock); in idxd_device_init_reset()
487 spin_unlock(&idxd->cmd_lock); in idxd_device_init_reset()
510 spin_lock(&idxd->cmd_lock); in idxd_cmd_exec()
513 idxd->cmd_lock); in idxd_cmd_exec()
527 spin_unlock(&idxd->cmd_lock); in idxd_cmd_exec()
530 spin_lock(&idxd->cmd_lock); in idxd_cmd_exec()
538 spin_unlock(&idxd->cmd_lock); in idxd_cmd_exec()
660 spin_lock(&idxd->cmd_lock); in idxd_device_release_int_handle()
666 spin_unlock(&idxd->cmd_lock); in idxd_device_release_int_handle()

Completed in 88 milliseconds

1234