Home
last modified time | relevance | path

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

/Linux-v4.19/arch/mips/pic32/pic32mzda/
Dconfig.c31 static DEFINE_SPINLOCK(config_lock);
50 spin_lock_irqsave(&config_lock, flags); in pic32_conf_modify_atomic()
55 spin_unlock_irqrestore(&config_lock, flags); in pic32_conf_modify_atomic()
/Linux-v4.19/drivers/virtio/
Dvirtio.c137 spin_lock_irqsave(&dev->config_lock, flags); in virtio_config_changed()
139 spin_unlock_irqrestore(&dev->config_lock, flags); in virtio_config_changed()
145 spin_lock_irq(&dev->config_lock); in virtio_config_disable()
147 spin_unlock_irq(&dev->config_lock); in virtio_config_disable()
153 spin_lock_irq(&dev->config_lock); in virtio_config_enable()
158 spin_unlock_irq(&dev->config_lock); in virtio_config_enable()
330 spin_lock_init(&dev->config_lock); in register_virtio_device()
/Linux-v4.19/drivers/block/
Dnbd.c107 struct mutex config_lock; member
1106 &nbd->config_lock)) { in nbd_config_put()
1132 mutex_unlock(&nbd->config_lock); in nbd_config_put()
1201 mutex_unlock(&nbd->config_lock); in nbd_start_device_ioctl()
1206 mutex_lock(&nbd->config_lock); in nbd_start_device_ioctl()
1299 mutex_lock(&nbd->config_lock); in nbd_ioctl()
1309 mutex_unlock(&nbd->config_lock); in nbd_ioctl()
1347 mutex_lock(&nbd->config_lock); in nbd_open()
1349 mutex_unlock(&nbd->config_lock); in nbd_open()
1355 mutex_unlock(&nbd->config_lock); in nbd_open()
[all …]
/Linux-v4.19/drivers/hwmon/
Dina2xx.c112 struct mutex config_lock; member
322 mutex_lock(&data->config_lock); in ina2xx_set_shunt()
327 mutex_unlock(&data->config_lock); in ina2xx_set_shunt()
466 mutex_init(&data->config_lock); in ina2xx_probe()
/Linux-v4.19/drivers/media/usb/pulse8-cec/
Dpulse8-cec.c132 struct mutex config_lock; member
480 mutex_lock(&pulse8->config_lock); in pulse8_cec_adap_log_addr()
587 mutex_unlock(&pulse8->config_lock); in pulse8_cec_adap_log_addr()
667 mutex_init(&pulse8->config_lock); in pulse8_connect()
721 mutex_lock(&pulse8->config_lock); in pulse8_ping_eeprom_work_handler()
731 mutex_unlock(&pulse8->config_lock); in pulse8_ping_eeprom_work_handler()
/Linux-v4.19/drivers/media/platform/qcom/camss/
Dcamss-ispif.c790 mutex_lock(&ispif->config_lock); in ispif_set_stream()
795 mutex_unlock(&ispif->config_lock); in ispif_set_stream()
809 mutex_lock(&ispif->config_lock); in ispif_set_stream()
812 mutex_unlock(&ispif->config_lock); in ispif_set_stream()
818 mutex_lock(&ispif->config_lock); in ispif_set_stream()
829 mutex_unlock(&ispif->config_lock); in ispif_set_stream()
1191 mutex_init(&ispif->config_lock); in msm_ispif_subdev_init()
1365 mutex_destroy(&ispif->config_lock); in msm_ispif_unregister_entities()
Dcamss-ispif.h63 struct mutex config_lock; member
/Linux-v4.19/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()
2012 spin_lock_irqsave(&port->config_lock, flags); in gmac_set_features()
[all …]
/Linux-v4.19/include/linux/
Dvirtio.h130 spinlock_t config_lock; member
/Linux-v4.19/drivers/pci/controller/
Dpci-hyperv.c450 spinlock_t config_lock; /* Avoid two threads writing index page */ member
662 spin_lock_irqsave(&hpdev->hbus->config_lock, flags); in _hv_pcifront_read_config()
684 spin_unlock_irqrestore(&hpdev->hbus->config_lock, flags); in _hv_pcifront_read_config()
698 spin_lock_irqsave(&hpdev->hbus->config_lock, flags); in hv_pcifront_get_vendor_id()
711 spin_unlock_irqrestore(&hpdev->hbus->config_lock, flags); in hv_pcifront_get_vendor_id()
733 spin_lock_irqsave(&hpdev->hbus->config_lock, flags); in _hv_pcifront_write_config()
755 spin_unlock_irqrestore(&hpdev->hbus->config_lock, flags); in _hv_pcifront_write_config()
2537 spin_lock_init(&hbus->config_lock); in hv_pci_probe()
/Linux-v4.19/drivers/perf/
Darm-ccn.c156 spinlock_t config_lock; member
921 spin_lock(&ccn->dt.config_lock); in arm_ccn_pmu_xp_dt_config()
929 spin_unlock(&ccn->dt.config_lock); in arm_ccn_pmu_xp_dt_config()
1079 spin_lock(&ccn->dt.config_lock); in arm_ccn_pmu_event_config()
1099 spin_unlock(&ccn->dt.config_lock); in arm_ccn_pmu_event_config()
1243 spin_lock_init(&ccn->dt.config_lock); in arm_ccn_pmu_init()