Home
last modified time | relevance | path

Searched refs:map_lock (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/drivers/media/platform/nvidia/tegra-vde/
Ddmabuf-cache.c58 mutex_lock(&vde->map_lock); in tegra_vde_delayed_unmap()
60 mutex_unlock(&vde->map_lock); in tegra_vde_delayed_unmap()
76 mutex_lock(&vde->map_lock); in tegra_vde_dmabuf_cache_map()
148 mutex_unlock(&vde->map_lock); in tegra_vde_dmabuf_cache_map()
159 mutex_unlock(&vde->map_lock); in tegra_vde_dmabuf_cache_map()
170 mutex_lock(&vde->map_lock); in tegra_vde_dmabuf_cache_unmap()
187 mutex_unlock(&vde->map_lock); in tegra_vde_dmabuf_cache_unmap()
194 mutex_lock(&vde->map_lock); in tegra_vde_dmabuf_cache_unmap_sync()
206 mutex_unlock(&vde->map_lock); in tegra_vde_dmabuf_cache_unmap_sync()
213 mutex_lock(&vde->map_lock); in tegra_vde_dmabuf_cache_unmap_all()
[all …]
Dvde.h107 struct mutex map_lock; member
Dvde.c327 mutex_init(&vde->map_lock); in tegra_vde_probe()
/linux-6.1.9/drivers/dma/ipu/
Dipu_irq.c78 static DEFINE_MUTEX(map_lock);
200 mutex_lock(&map_lock); in ipu_irq_map()
224 mutex_unlock(&map_lock); in ipu_irq_map()
243 mutex_lock(&map_lock); in ipu_irq_unmap()
260 mutex_unlock(&map_lock); in ipu_irq_unmap()
/linux-6.1.9/drivers/pci/controller/
Dpcie-xilinx.c107 struct mutex map_lock; member
238 mutex_lock(&pcie->map_lock); in xilinx_msi_domain_alloc()
242 mutex_unlock(&pcie->map_lock); in xilinx_msi_domain_alloc()
261 mutex_lock(&pcie->map_lock); in xilinx_msi_domain_free()
265 mutex_unlock(&pcie->map_lock); in xilinx_msi_domain_free()
581 mutex_init(&pcie->map_lock); in xilinx_pcie_probe()
Dpcie-rcar-host.c38 struct mutex map_lock; member
702 mutex_lock(&msi->map_lock); in rcar_msi_domain_alloc()
706 mutex_unlock(&msi->map_lock); in rcar_msi_domain_alloc()
725 mutex_lock(&msi->map_lock); in rcar_msi_domain_free()
729 mutex_unlock(&msi->map_lock); in rcar_msi_domain_free()
783 mutex_init(&msi->map_lock); in rcar_pcie_enable_msi()
Dpci-tegra.c271 struct mutex map_lock; member
1665 mutex_lock(&msi->map_lock); in tegra_msi_domain_alloc()
1669 mutex_unlock(&msi->map_lock); in tegra_msi_domain_alloc()
1690 mutex_lock(&msi->map_lock); in tegra_msi_domain_free()
1694 mutex_unlock(&msi->map_lock); in tegra_msi_domain_free()
1747 mutex_init(&msi->map_lock); in tegra_pcie_msi_setup()
Dpci-hyperv.c761 struct mutex map_lock; member
797 mutex_lock(&chip_data->map_lock); in hv_pci_vec_irq_free()
801 mutex_unlock(&chip_data->map_lock); in hv_pci_vec_irq_free()
826 mutex_lock(&chip_data->map_lock); in hv_pci_vec_alloc_device_irq()
830 mutex_unlock(&chip_data->map_lock); in hv_pci_vec_alloc_device_irq()
928 mutex_init(&chip_data->map_lock); in hv_pci_irqchip_init()
/linux-6.1.9/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.c162 spin_lock_bh(&ppm->map_lock); in ppm_get_entries()
167 spin_unlock_bh(&ppm->map_lock); in ppm_get_entries()
179 spin_unlock_bh(&ppm->map_lock); in ppm_get_entries()
213 spin_lock_bh(&ppm->map_lock); in ppm_unmark_entries()
220 spin_unlock_bh(&ppm->map_lock); in ppm_unmark_entries()
468 spin_lock_init(&ppm->map_lock); in cxgbi_ppm_init()
Dlibcxgb_ppm.h143 spinlock_t map_lock; /* ppm map lock */ member
/linux-6.1.9/drivers/net/dsa/realtek/
Drealtek-mdio.c105 mutex_lock(&priv->map_lock); in realtek_mdio_lock()
112 mutex_unlock(&priv->map_lock); in realtek_mdio_unlock()
159 mutex_init(&priv->map_lock); in realtek_mdio_probe()
Drealtek-smi.c318 mutex_lock(&priv->map_lock); in realtek_smi_lock()
325 mutex_unlock(&priv->map_lock); in realtek_smi_unlock()
429 mutex_init(&priv->map_lock); in realtek_smi_probe()
Drealtek.h56 struct mutex map_lock; member
Drtl8366rb.c1656 mutex_lock(&priv->map_lock); in rtl8366rb_phy_read()
1684 mutex_unlock(&priv->map_lock); in rtl8366rb_phy_read()
1698 mutex_lock(&priv->map_lock); in rtl8366rb_phy_write()
1715 mutex_unlock(&priv->map_lock); in rtl8366rb_phy_write()
Drtl8365mb.c690 mutex_lock(&priv->map_lock); in rtl8365mb_phy_ocp_read()
723 mutex_unlock(&priv->map_lock); in rtl8365mb_phy_ocp_read()
734 mutex_lock(&priv->map_lock); in rtl8365mb_phy_ocp_write()
765 mutex_unlock(&priv->map_lock); in rtl8365mb_phy_ocp_write()
/linux-6.1.9/drivers/misc/genwqe/
Dcard_dev.c125 spin_lock_irqsave(&cfile->map_lock, flags); in __genwqe_add_mapping()
127 spin_unlock_irqrestore(&cfile->map_lock, flags); in __genwqe_add_mapping()
135 spin_lock_irqsave(&cfile->map_lock, flags); in __genwqe_del_mapping()
137 spin_unlock_irqrestore(&cfile->map_lock, flags); in __genwqe_del_mapping()
160 spin_lock_irqsave(&cfile->map_lock, flags); in __genwqe_search_mapping()
176 spin_unlock_irqrestore(&cfile->map_lock, flags); in __genwqe_search_mapping()
180 spin_unlock_irqrestore(&cfile->map_lock, flags); in __genwqe_search_mapping()
313 spin_lock_init(&cfile->map_lock); /* list of raw memory allocations */ in genwqe_open()
Dcard_base.h406 spinlock_t map_lock; /* lock for dma_mappings */ member
/linux-6.1.9/drivers/md/
Ddm-zoned-metadata.c193 struct mutex map_lock; member
363 mutex_lock(&zmd->map_lock); in dmz_lock_map()
368 mutex_unlock(&zmd->map_lock); in dmz_unlock_map()
2836 mutex_destroy(&zmd->map_lock); in dmz_cleanup_metadata()
2892 mutex_init(&zmd->map_lock); in dmz_ctr_metadata()