Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/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.c1270 mutex_lock(&lif->config_lock); in ionic_lif_rx_mode()
1338 mutex_unlock(&lif->config_lock); in ionic_lif_rx_mode()
2908 mutex_init(&lif->config_lock); in ionic_lif_alloc()
2959 mutex_destroy(&lif->config_lock); in ionic_lif_alloc()
3111 mutex_destroy(&lif->config_lock); in ionic_lif_free()
/Linux-v6.1/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-v6.1/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()
439 spin_lock_init(&dev->config_lock); in register_virtio_device()
/Linux-v6.1/drivers/block/
Dnbd.c121 struct mutex config_lock; member
1301 &nbd->config_lock)) { in nbd_config_put()
1333 mutex_unlock(&nbd->config_lock); in nbd_config_put()
1411 mutex_unlock(&nbd->config_lock); in nbd_start_device_ioctl()
1420 mutex_lock(&nbd->config_lock); in nbd_start_device_ioctl()
1514 mutex_lock(&nbd->config_lock); in nbd_ioctl()
1524 mutex_unlock(&nbd->config_lock); in nbd_ioctl()
1567 mutex_lock(&nbd->config_lock); in nbd_open()
1569 mutex_unlock(&nbd->config_lock); in nbd_open()
1575 mutex_unlock(&nbd->config_lock); in nbd_open()
[all …]
/Linux-v6.1/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()
1445 mutex_destroy(&ispif->config_lock); in msm_ispif_unregister_entities()
Dcamss-ispif.h63 struct mutex config_lock; member
/Linux-v6.1/drivers/media/platform/rockchip/rkisp1/
Drkisp1-params.c1533 spin_lock(&params->config_lock); in rkisp1_params_isr()
1558 spin_unlock(&params->config_lock); in rkisp1_params_isr()
1632 spin_lock_irq(&params->config_lock); in rkisp1_params_pre_configure()
1647 spin_unlock_irq(&params->config_lock); in rkisp1_params_pre_configure()
1655 spin_lock_irq(&params->config_lock); in rkisp1_params_post_configure()
1678 spin_unlock_irq(&params->config_lock); in rkisp1_params_post_configure()
1829 spin_lock_irq(&params->config_lock); in rkisp1_params_vb2_buf_queue()
1831 spin_unlock_irq(&params->config_lock); in rkisp1_params_vb2_buf_queue()
1855 spin_lock_irq(&params->config_lock); in rkisp1_params_vb2_stop_streaming()
1857 spin_unlock_irq(&params->config_lock); in rkisp1_params_vb2_stop_streaming()
[all …]
Drkisp1-common.h376 spinlock_t config_lock; /* locks the buffers list 'params' */ member
/Linux-v6.1/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-v6.1/include/linux/
Dvirtio.h119 spinlock_t config_lock; member
/Linux-v6.1/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-v6.1/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()
3593 spin_lock_init(&hbus->config_lock); in hv_pci_probe()