Home
last modified time | relevance | path

Searched refs:config_lock (Results 1 – 16 of 16) sorted by relevance

/linux-5.19.10/arch/mips/pic32/pic32mzda/
Dconfig.c23 static DEFINE_SPINLOCK(config_lock);
42 spin_lock_irqsave(&config_lock, flags); in pic32_conf_modify_atomic()
47 spin_unlock_irqrestore(&config_lock, flags); in pic32_conf_modify_atomic()
/linux-5.19.10/drivers/net/ethernet/pensando/ionic/
Dionic_phc.c82 mutex_lock(&lif->phc->config_lock); in ionic_lif_hwstamp_set_ts_config()
159 mutex_unlock(&lif->phc->config_lock); in ionic_lif_hwstamp_set_ts_config()
182 mutex_unlock(&lif->phc->config_lock); in ionic_lif_hwstamp_set_ts_config()
232 mutex_lock(&lif->phc->config_lock); in ionic_lif_hwstamp_recreate_queues()
246 mutex_unlock(&lif->phc->config_lock); in ionic_lif_hwstamp_recreate_queues()
256 mutex_lock(&lif->phc->config_lock); in ionic_lif_hwstamp_get()
258 mutex_unlock(&lif->phc->config_lock); in ionic_lif_hwstamp_get()
560 mutex_init(&phc->config_lock); in ionic_lif_alloc_phc()
643 mutex_destroy(&lif->phc->config_lock); in ionic_lif_free_phc()
Dionic_lif.h169 struct mutex config_lock; /* lock for config actions */ member
229 struct mutex config_lock; /* lock for ts_config */ member
Dionic_lif.c1273 mutex_lock(&lif->config_lock); in ionic_lif_rx_mode()
1341 mutex_unlock(&lif->config_lock); in ionic_lif_rx_mode()
2907 mutex_init(&lif->config_lock); in ionic_lif_alloc()
2958 mutex_destroy(&lif->config_lock); in ionic_lif_alloc()
3110 mutex_destroy(&lif->config_lock); in ionic_lif_free()
/linux-5.19.10/drivers/hwmon/
Dina2xx.c120 struct mutex config_lock; member
376 mutex_lock(&data->config_lock); in ina226_alert_show()
390 mutex_unlock(&data->config_lock); in ina226_alert_show()
412 mutex_lock(&data->config_lock); in ina226_alert_store()
433 mutex_unlock(&data->config_lock); in ina226_alert_store()
468 mutex_lock(&data->config_lock); in ina2xx_set_shunt()
473 mutex_unlock(&data->config_lock); in ina2xx_set_shunt()
638 mutex_init(&data->config_lock); in ina2xx_probe()
Dina238.c107 struct mutex config_lock; member
430 mutex_lock(&data->config_lock); in ina238_write()
447 mutex_unlock(&data->config_lock); in ina238_write()
547 mutex_init(&data->config_lock); in ina238_probe()
/linux-5.19.10/drivers/virtio/
Dvirtio.c140 spin_lock_irqsave(&dev->config_lock, flags); in virtio_config_changed()
142 spin_unlock_irqrestore(&dev->config_lock, flags); in virtio_config_changed()
148 spin_lock_irq(&dev->config_lock); in virtio_config_disable()
150 spin_unlock_irq(&dev->config_lock); in virtio_config_disable()
155 spin_lock_irq(&dev->config_lock); in virtio_config_enable()
160 spin_unlock_irq(&dev->config_lock); in virtio_config_enable()
437 spin_lock_init(&dev->config_lock); in register_virtio_device()
/linux-5.19.10/drivers/block/
Dnbd.c121 struct mutex config_lock; member
1304 &nbd->config_lock)) { in nbd_config_put()
1336 mutex_unlock(&nbd->config_lock); in nbd_config_put()
1414 mutex_unlock(&nbd->config_lock); in nbd_start_device_ioctl()
1421 mutex_lock(&nbd->config_lock); in nbd_start_device_ioctl()
1515 mutex_lock(&nbd->config_lock); in nbd_ioctl()
1525 mutex_unlock(&nbd->config_lock); in nbd_ioctl()
1568 mutex_lock(&nbd->config_lock); in nbd_open()
1570 mutex_unlock(&nbd->config_lock); in nbd_open()
1576 mutex_unlock(&nbd->config_lock); in nbd_open()
[all …]
/linux-5.19.10/drivers/media/platform/qcom/camss/
Dcamss-ispif.c820 mutex_lock(&ispif->config_lock); in ispif_set_stream()
825 mutex_unlock(&ispif->config_lock); in ispif_set_stream()
840 mutex_lock(&ispif->config_lock); in ispif_set_stream()
843 mutex_unlock(&ispif->config_lock); in ispif_set_stream()
849 mutex_lock(&ispif->config_lock); in ispif_set_stream()
861 mutex_unlock(&ispif->config_lock); in ispif_set_stream()
1225 mutex_init(&ispif->config_lock); in msm_ispif_subdev_init()
1410 mutex_destroy(&ispif->config_lock); in msm_ispif_unregister_entities()
Dcamss-ispif.h63 struct mutex config_lock; member
/linux-5.19.10/drivers/media/platform/rockchip/rkisp1/
Drkisp1-params.c1492 spin_lock(&params->config_lock); in rkisp1_params_isr()
1495 spin_unlock(&params->config_lock); in rkisp1_params_isr()
1564 spin_lock_irq(&params->config_lock); in rkisp1_params_config_parameter()
1569 spin_unlock_irq(&params->config_lock); in rkisp1_params_config_parameter()
1729 spin_lock_irq(&params->config_lock); in rkisp1_params_vb2_buf_queue()
1731 spin_unlock_irq(&params->config_lock); in rkisp1_params_vb2_buf_queue()
1755 spin_lock_irq(&params->config_lock); in rkisp1_params_vb2_stop_streaming()
1757 spin_unlock_irq(&params->config_lock); in rkisp1_params_vb2_stop_streaming()
1823 spin_lock_init(&params->config_lock); in rkisp1_params_register()
Drkisp1-common.h304 spinlock_t config_lock; /* locks the buffers list 'params' */ member
/linux-5.19.10/drivers/net/ethernet/cortina/
Dgemini.c133 spinlock_t config_lock; /* Locks config register */ member
231 spin_lock_irqsave(&port->config_lock, flags); in gmac_update_config0_reg()
237 spin_unlock_irqrestore(&port->config_lock, flags); in gmac_update_config0_reg()
246 spin_lock_irqsave(&port->config_lock, flags); in gmac_enable_tx_rx()
252 spin_unlock_irqrestore(&port->config_lock, flags); in gmac_enable_tx_rx()
261 spin_lock_irqsave(&port->config_lock, flags); in gmac_disable_tx_rx()
267 spin_unlock_irqrestore(&port->config_lock, flags); in gmac_disable_tx_rx()
278 spin_lock_irqsave(&port->config_lock, flags); in gmac_set_flow_control()
288 spin_unlock_irqrestore(&port->config_lock, flags); in gmac_set_flow_control()
1998 spin_lock_irqsave(&port->config_lock, flags); in gmac_set_features()
[all …]
/linux-5.19.10/include/linux/
Dvirtio.h112 spinlock_t config_lock; member
/linux-5.19.10/drivers/perf/
Darm-ccn.c149 spinlock_t config_lock; member
906 spin_lock(&ccn->dt.config_lock); in arm_ccn_pmu_xp_dt_config()
914 spin_unlock(&ccn->dt.config_lock); in arm_ccn_pmu_xp_dt_config()
1064 spin_lock(&ccn->dt.config_lock); in arm_ccn_pmu_event_config()
1084 spin_unlock(&ccn->dt.config_lock); in arm_ccn_pmu_event_config()
1228 spin_lock_init(&ccn->dt.config_lock); in arm_ccn_pmu_init()
/linux-5.19.10/drivers/pci/controller/
Dpci-hyperv.c501 spinlock_t config_lock; /* Avoid two threads writing index page */ member
1104 spin_lock_irqsave(&hpdev->hbus->config_lock, flags); in _hv_pcifront_read_config()
1126 spin_unlock_irqrestore(&hpdev->hbus->config_lock, flags); in _hv_pcifront_read_config()
1140 spin_lock_irqsave(&hpdev->hbus->config_lock, flags); in hv_pcifront_get_vendor_id()
1153 spin_unlock_irqrestore(&hpdev->hbus->config_lock, flags); in hv_pcifront_get_vendor_id()
1175 spin_lock_irqsave(&hpdev->hbus->config_lock, flags); in _hv_pcifront_write_config()
1197 spin_unlock_irqrestore(&hpdev->hbus->config_lock, flags); in _hv_pcifront_write_config()
3523 spin_lock_init(&hbus->config_lock); in hv_pci_probe()