/linux/drivers/virtio/ |
H A D | virtio.c | 142 spin_lock_irqsave(&dev->config_lock, flags); in virtio_config_changed() 144 spin_unlock_irqrestore(&dev->config_lock, flags); in virtio_config_changed() 157 spin_lock_irq(&dev->config_lock); in virtio_config_driver_disable() 159 spin_unlock_irq(&dev->config_lock); in virtio_config_driver_disable() 172 spin_lock_irq(&dev->config_lock); in virtio_config_driver_enable() 176 spin_unlock_irq(&dev->config_lock); in virtio_config_driver_enable() 182 spin_lock_irq(&dev->config_lock); in virtio_config_core_disable() 184 spin_unlock_irq(&dev->config_lock); in virtio_config_core_disable() 189 spin_lock_irq(&dev->config_lock); in virtio_config_core_enable() 193 spin_unlock_irq(&dev->config_lock); in virtio_config_core_enable() [all …]
|
/linux/arch/mips/pic32/pic32mzda/ |
H A D | config.c | 23 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/drivers/net/ethernet/amd/pds_core/ |
H A D | main.c | 247 mutex_init(&pdsc->config_lock); in pdsc_init_pf() 250 mutex_lock(&pdsc->config_lock); in pdsc_init_pf() 255 mutex_unlock(&pdsc->config_lock); in pdsc_init_pf() 261 mutex_unlock(&pdsc->config_lock); in pdsc_init_pf() 265 mutex_unlock(&pdsc->config_lock); in pdsc_init_pf() 306 mutex_destroy(&pdsc->config_lock); in pdsc_init_pf() 434 mutex_lock(&pdsc->config_lock); in pdsc_remove() 439 mutex_unlock(&pdsc->config_lock); in pdsc_remove() 440 mutex_destroy(&pdsc->config_lock); in pdsc_remove()
|
H A D | auxbus.c | 186 mutex_lock(&pf->config_lock); in pdsc_auxbus_dev_del() 197 mutex_unlock(&pf->config_lock); in pdsc_auxbus_dev_del() 214 mutex_lock(&pf->config_lock); in pdsc_auxbus_dev_add() 264 mutex_unlock(&pf->config_lock); in pdsc_auxbus_dev_add()
|
H A D | devlink.c | 162 mutex_lock(&pdsc->config_lock); in pdsc_fw_reporter_diagnose() 169 mutex_unlock(&pdsc->config_lock); in pdsc_fw_reporter_diagnose()
|
/linux/arch/arm64/kvm/ |
H A D | pkvm.c | 208 mutex_lock(&host_kvm->arch.config_lock); in pkvm_create_hyp_vm() 211 mutex_unlock(&host_kvm->arch.config_lock); in pkvm_create_hyp_vm() 218 mutex_lock(&host_kvm->arch.config_lock); in pkvm_destroy_hyp_vm() 220 mutex_unlock(&host_kvm->arch.config_lock); in pkvm_destroy_hyp_vm()
|
H A D | pmu-emul.c | 921 lockdep_assert_held(&kvm->arch.config_lock); in kvm_arm_set_pmu() 957 lockdep_assert_held(&kvm->arch.config_lock); in kvm_arm_pmu_v3_set_pmu() 984 lockdep_assert_held(&kvm->arch.config_lock); in kvm_arm_pmu_v3_set_attr()
|
H A D | arch_timer.c | 1457 mutex_lock(&vcpu->kvm->arch.config_lock); in timer_irqs_are_valid() 1480 mutex_unlock(&vcpu->kvm->arch.config_lock); in timer_irqs_are_valid() 1573 mutex_lock(&vcpu->kvm->arch.config_lock); in kvm_arm_timer_set_attr() 1607 mutex_unlock(&vcpu->kvm->arch.config_lock); in kvm_arm_timer_set_attr()
|
/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_phc.c | 82 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() 642 mutex_destroy(&lif->phc->config_lock); in ionic_lif_free_phc()
|
H A D | ionic_lif.h | 190 struct mutex config_lock; /* lock for config actions */ member 253 struct mutex config_lock; /* lock for ts_config */ member
|
/linux/drivers/hwmon/ |
H A D | ina2xx.c | 146 struct mutex config_lock; member 343 mutex_lock(&data->config_lock); in ina226_alert_limit_read() 357 mutex_unlock(&data->config_lock); in ina226_alert_limit_read() 374 mutex_lock(&data->config_lock); in ina226_alert_limit_write() 389 mutex_unlock(&data->config_lock); in ina226_alert_limit_write() 768 mutex_lock(&data->config_lock); in shunt_resistor_store() 770 mutex_unlock(&data->config_lock); in shunt_resistor_store() 841 mutex_init(&data->config_lock); in ina2xx_probe()
|
H A D | ina238.c | 107 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/arch/arm64/kvm/vgic/ |
H A D | vgic-debug.c | 124 mutex_lock(&kvm->arch.config_lock); in vgic_debug_start() 143 mutex_unlock(&kvm->arch.config_lock); in vgic_debug_start() 171 mutex_lock(&kvm->arch.config_lock); in vgic_debug_stop() 176 mutex_unlock(&kvm->arch.config_lock); in vgic_debug_stop()
|
H A D | vgic-mmio-v3.c | 114 mutex_lock(&vcpu->kvm->arch.config_lock); in vgic_mmio_write_v3_misc() 142 mutex_unlock(&vcpu->kvm->arch.config_lock); in vgic_mmio_write_v3_misc() 757 mutex_lock(&kvm->arch.config_lock); in vgic_register_redist_iodev() 789 mutex_unlock(&kvm->arch.config_lock); in vgic_register_redist_iodev() 801 mutex_unlock(&kvm->arch.config_lock); in vgic_register_redist_iodev() 927 lockdep_assert_held(&kvm->arch.config_lock); in vgic_v3_free_redist_region() 943 mutex_lock(&kvm->arch.config_lock); in vgic_v3_set_redist_base() 945 mutex_unlock(&kvm->arch.config_lock); in vgic_v3_set_redist_base() 957 mutex_lock(&kvm->arch.config_lock); in vgic_v3_set_redist_base() 960 mutex_unlock(&kvm->arch.config_lock); in vgic_v3_set_redist_base()
|
H A D | vgic-v4.c | 193 lockdep_assert_held(&kvm->arch.config_lock); in vgic_v4_configure_vsgis() 246 lockdep_assert_held(&kvm->arch.config_lock); in vgic_v4_init() 320 lockdep_assert_held(&kvm->arch.config_lock); in vgic_v4_teardown()
|
H A D | vgic-mmio.c | 518 mutex_lock(&vcpu->kvm->arch.config_lock); in vgic_mmio_read_active() 524 mutex_unlock(&vcpu->kvm->arch.config_lock); in vgic_mmio_read_active() 613 mutex_lock(&vcpu->kvm->arch.config_lock); in vgic_mmio_write_cactive() 619 mutex_unlock(&vcpu->kvm->arch.config_lock); in vgic_mmio_write_cactive() 650 mutex_lock(&vcpu->kvm->arch.config_lock); in vgic_mmio_write_sactive() 656 mutex_unlock(&vcpu->kvm->arch.config_lock); in vgic_mmio_write_sactive()
|
H A D | vgic-its.c | 1836 mutex_lock(&dev->kvm->arch.config_lock); in vgic_its_create() 1841 mutex_unlock(&dev->kvm->arch.config_lock); in vgic_its_create() 1879 mutex_unlock(&dev->kvm->arch.config_lock); in vgic_its_create() 1957 mutex_lock(&dev->kvm->arch.config_lock); in vgic_its_attr_regs_access() 1986 mutex_unlock(&dev->kvm->arch.config_lock); in vgic_its_attr_regs_access() 2669 mutex_lock(&kvm->arch.config_lock); in vgic_its_ctrl() 2685 mutex_unlock(&kvm->arch.config_lock); in vgic_its_ctrl()
|
/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_crtc.c | 73 spinlock_t config_lock; member 115 spin_lock_irqsave(&mtk_crtc->config_lock, flags); in mtk_drm_finish_page_flip() 120 spin_unlock_irqrestore(&mtk_crtc->config_lock, flags); in mtk_drm_finish_page_flip() 286 spin_lock_irqsave(&mtk_crtc->config_lock, flags); in ddp_cmdq_cb() 288 spin_unlock_irqrestore(&mtk_crtc->config_lock, flags); in ddp_cmdq_cb() 318 spin_unlock_irqrestore(&mtk_crtc->config_lock, flags); in ddp_cmdq_cb() 556 spin_lock_irqsave(&mtk_crtc->config_lock, flags); in mtk_crtc_update_config() 558 spin_unlock_irqrestore(&mtk_crtc->config_lock, flags); in mtk_crtc_update_config() 613 spin_lock_irqsave(&mtk_crtc->config_lock, flags); in mtk_crtc_update_config() 615 spin_unlock_irqrestore(&mtk_crtc->config_lock, flags); in mtk_crtc_update_config() [all …]
|
/linux/drivers/block/ |
H A D | nbd.c | 122 struct mutex config_lock; member 1361 &nbd->config_lock)) { in nbd_config_put() 1391 mutex_unlock(&nbd->config_lock); in nbd_config_put() 1470 mutex_unlock(&nbd->config_lock); in nbd_start_device_ioctl() 1479 mutex_lock(&nbd->config_lock); in nbd_start_device_ioctl() 1572 mutex_lock(&nbd->config_lock); in nbd_ioctl() 1582 mutex_unlock(&nbd->config_lock); in nbd_ioctl() 1640 mutex_lock(&nbd->config_lock); in nbd_open() 1642 mutex_unlock(&nbd->config_lock); in nbd_open() 1647 mutex_unlock(&nbd->config_lock); in nbd_open() [all …]
|
/linux/drivers/media/platform/qcom/camss/ |
H A D | camss-ispif.c | 820 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() 1224 mutex_init(&ispif->config_lock); in msm_ispif_subdev_init() 1444 mutex_destroy(&ispif->config_lock); in msm_ispif_unregister_entities()
|
H A D | camss-ispif.h | 63 struct mutex config_lock; member
|
/linux/drivers/net/ethernet/cortina/ |
H A 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() 2018 spin_lock_irqsave(&port->config_lock, flags); in gmac_set_features() [all …]
|
/linux/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-params.c | 2177 spin_lock(¶ms->config_lock); in rkisp1_params_isr() 2210 spin_unlock(¶ms->config_lock); in rkisp1_params_isr() 2283 spin_lock_irq(¶ms->config_lock); in rkisp1_params_pre_configure() 2305 spin_unlock_irq(¶ms->config_lock); in rkisp1_params_pre_configure() 2312 spin_lock_irq(¶ms->config_lock); in rkisp1_params_post_configure() 2340 spin_unlock_irq(¶ms->config_lock); in rkisp1_params_post_configure() 2546 spin_lock_irq(¶ms->config_lock); in rkisp1_params_vb2_buf_queue() 2548 spin_unlock_irq(¶ms->config_lock); in rkisp1_params_vb2_buf_queue() 2693 spin_lock_irq(¶ms->config_lock); in rkisp1_params_vb2_stop_streaming() 2695 spin_unlock_irq(¶ms->config_lock); in rkisp1_params_vb2_stop_streaming() [all …]
|
/linux/drivers/perf/ |
H A D | arm-ccn.c | 149 spinlock_t config_lock; member 897 spin_lock(&ccn->dt.config_lock); in arm_ccn_pmu_xp_dt_config() 905 spin_unlock(&ccn->dt.config_lock); in arm_ccn_pmu_xp_dt_config() 1055 spin_lock(&ccn->dt.config_lock); in arm_ccn_pmu_event_config() 1075 spin_unlock(&ccn->dt.config_lock); in arm_ccn_pmu_event_config() 1219 spin_lock_init(&ccn->dt.config_lock); in arm_ccn_pmu_init()
|
/linux/include/linux/ |
H A D | virtio.h | 143 spinlock_t config_lock; member
|