Home
last modified time | relevance | path

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

/drivers/net/ethernet/amd/pds_core/
Dmain.c245 mutex_init(&pdsc->config_lock); in pdsc_init_pf()
248 mutex_lock(&pdsc->config_lock); in pdsc_init_pf()
253 mutex_unlock(&pdsc->config_lock); in pdsc_init_pf()
259 mutex_unlock(&pdsc->config_lock); in pdsc_init_pf()
263 mutex_unlock(&pdsc->config_lock); in pdsc_init_pf()
304 mutex_destroy(&pdsc->config_lock); in pdsc_init_pf()
432 mutex_lock(&pdsc->config_lock); in pdsc_remove()
437 mutex_unlock(&pdsc->config_lock); in pdsc_remove()
438 mutex_destroy(&pdsc->config_lock); in pdsc_remove()
Dauxbus.c183 mutex_lock(&pf->config_lock); in pdsc_auxbus_dev_del()
194 mutex_unlock(&pf->config_lock); in pdsc_auxbus_dev_del()
207 mutex_lock(&pf->config_lock); in pdsc_auxbus_dev_add()
248 mutex_unlock(&pf->config_lock); in pdsc_auxbus_dev_add()
Ddevlink.c160 mutex_lock(&pdsc->config_lock); in pdsc_fw_reporter_diagnose()
169 mutex_unlock(&pdsc->config_lock); in pdsc_fw_reporter_diagnose()
Dcore.c604 mutex_lock(&pdsc->config_lock); in pdsc_health_thread()
627 mutex_unlock(&pdsc->config_lock); in pdsc_health_thread()
Dcore.h185 struct mutex config_lock; /* lock for configuration operations */ member
/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()
642 mutex_destroy(&lif->phc->config_lock); in ionic_lif_free_phc()
Dionic_lif.h179 struct mutex config_lock; /* lock for config actions */ member
240 struct mutex config_lock; /* lock for ts_config */ member
Dionic_lif.c1362 mutex_lock(&lif->config_lock); in ionic_lif_rx_mode()
1430 mutex_unlock(&lif->config_lock); in ionic_lif_rx_mode()
3173 mutex_init(&lif->config_lock); in ionic_lif_alloc()
3224 mutex_destroy(&lif->config_lock); in ionic_lif_alloc()
3401 mutex_destroy(&lif->config_lock); in ionic_lif_free()
/drivers/hwmon/
Dina2xx.c119 struct mutex config_lock; member
375 mutex_lock(&data->config_lock); in ina226_alert_show()
389 mutex_unlock(&data->config_lock); in ina226_alert_show()
411 mutex_lock(&data->config_lock); in ina226_alert_store()
432 mutex_unlock(&data->config_lock); in ina226_alert_store()
467 mutex_lock(&data->config_lock); in ina2xx_set_shunt()
472 mutex_unlock(&data->config_lock); in ina2xx_set_shunt()
637 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()
/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()
/drivers/block/
Dnbd.c122 struct mutex config_lock; member
1331 &nbd->config_lock)) { in nbd_config_put()
1363 mutex_unlock(&nbd->config_lock); in nbd_config_put()
1442 mutex_unlock(&nbd->config_lock); in nbd_start_device_ioctl()
1451 mutex_lock(&nbd->config_lock); in nbd_start_device_ioctl()
1544 mutex_lock(&nbd->config_lock); in nbd_ioctl()
1554 mutex_unlock(&nbd->config_lock); in nbd_ioctl()
1612 mutex_lock(&nbd->config_lock); in nbd_open()
1614 mutex_unlock(&nbd->config_lock); in nbd_open()
1619 mutex_unlock(&nbd->config_lock); in nbd_open()
[all …]
/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
/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.h384 spinlock_t config_lock; /* locks the buffers list 'params' */ member
/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()
2019 spin_lock_irqsave(&port->config_lock, flags); in gmac_set_features()
[all …]
/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()
/drivers/pci/controller/
Dpci-hyperv.c505 spinlock_t config_lock; /* Avoid two threads writing index page */ member
1150 spin_lock_irqsave(&hbus->config_lock, flags); in _hv_pcifront_read_config()
1182 spin_unlock_irqrestore(&hbus->config_lock, flags); in _hv_pcifront_read_config()
1196 spin_lock_irqsave(&hbus->config_lock, flags); in hv_pcifront_get_vendor_id()
1221 spin_unlock_irqrestore(&hbus->config_lock, flags); in hv_pcifront_get_vendor_id()
1245 spin_lock_irqsave(&hbus->config_lock, flags); in _hv_pcifront_write_config()
1278 spin_unlock_irqrestore(&hbus->config_lock, flags); in _hv_pcifront_write_config()
3702 spin_lock_init(&hbus->config_lock); in hv_pci_probe()