Searched refs:config_lock (Results 1 – 9 of 9) sorted by relevance
/drivers/virtio/ |
D | virtio.c | 138 spin_lock_irqsave(&dev->config_lock, flags); in virtio_config_changed() 140 spin_unlock_irqrestore(&dev->config_lock, flags); in virtio_config_changed() 146 spin_lock_irq(&dev->config_lock); in virtio_config_disable() 148 spin_unlock_irq(&dev->config_lock); in virtio_config_disable() 154 spin_lock_irq(&dev->config_lock); in virtio_config_enable() 159 spin_unlock_irq(&dev->config_lock); in virtio_config_enable() 333 spin_lock_init(&dev->config_lock); in register_virtio_device()
|
/drivers/block/ |
D | nbd.c | 113 struct mutex config_lock; member 1189 &nbd->config_lock)) { in nbd_config_put() 1219 mutex_unlock(&nbd->config_lock); in nbd_config_put() 1296 mutex_unlock(&nbd->config_lock); in nbd_start_device_ioctl() 1303 mutex_lock(&nbd->config_lock); in nbd_start_device_ioctl() 1409 mutex_lock(&nbd->config_lock); in nbd_ioctl() 1419 mutex_unlock(&nbd->config_lock); in nbd_ioctl() 1457 mutex_lock(&nbd->config_lock); in nbd_open() 1459 mutex_unlock(&nbd->config_lock); in nbd_open() 1465 mutex_unlock(&nbd->config_lock); in nbd_open() [all …]
|
/drivers/hwmon/ |
D | ina2xx.c | 109 struct mutex config_lock; member 319 mutex_lock(&data->config_lock); in ina2xx_set_shunt() 324 mutex_unlock(&data->config_lock); in ina2xx_set_shunt() 455 mutex_init(&data->config_lock); in ina2xx_probe()
|
/drivers/media/usb/pulse8-cec/ |
D | pulse8-cec.c | 128 struct mutex config_lock; member 484 mutex_lock(&pulse8->config_lock); in pulse8_cec_adap_log_addr() 592 mutex_unlock(&pulse8->config_lock); in pulse8_cec_adap_log_addr() 672 mutex_init(&pulse8->config_lock); in pulse8_connect() 726 mutex_lock(&pulse8->config_lock); in pulse8_ping_eeprom_work_handler() 736 mutex_unlock(&pulse8->config_lock); in pulse8_ping_eeprom_work_handler()
|
/drivers/media/platform/qcom/camss/ |
D | camss-ispif.c | 790 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()
|
D | camss-ispif.h | 63 struct mutex config_lock; member
|
/drivers/net/ethernet/cortina/ |
D | gemini.c | 133 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() 2010 spin_lock_irqsave(&port->config_lock, flags); in gmac_set_features() [all …]
|
/drivers/pci/controller/ |
D | pci-hyperv.c | 475 spinlock_t config_lock; /* Avoid two threads writing index page */ member 694 spin_lock_irqsave(&hpdev->hbus->config_lock, flags); in _hv_pcifront_read_config() 716 spin_unlock_irqrestore(&hpdev->hbus->config_lock, flags); in _hv_pcifront_read_config() 730 spin_lock_irqsave(&hpdev->hbus->config_lock, flags); in hv_pcifront_get_vendor_id() 743 spin_unlock_irqrestore(&hpdev->hbus->config_lock, flags); in hv_pcifront_get_vendor_id() 765 spin_lock_irqsave(&hpdev->hbus->config_lock, flags); in _hv_pcifront_write_config() 787 spin_unlock_irqrestore(&hpdev->hbus->config_lock, flags); in _hv_pcifront_write_config() 2915 spin_lock_init(&hbus->config_lock); in hv_pci_probe()
|
/drivers/perf/ |
D | arm-ccn.c | 149 spinlock_t config_lock; member 911 spin_lock(&ccn->dt.config_lock); in arm_ccn_pmu_xp_dt_config() 919 spin_unlock(&ccn->dt.config_lock); in arm_ccn_pmu_xp_dt_config() 1069 spin_lock(&ccn->dt.config_lock); in arm_ccn_pmu_event_config() 1089 spin_unlock(&ccn->dt.config_lock); in arm_ccn_pmu_event_config() 1233 spin_lock_init(&ccn->dt.config_lock); in arm_ccn_pmu_init()
|