Home
last modified time | relevance | path

Searched refs:larbdev (Results 1 – 3 of 3) sorted by relevance

/drivers/iommu/
Dmtk_iommu_v1.c429 struct device *larbdev; in mtk_iommu_probe_device() local
473 larbdev = data->larb_imu[larbid].dev; in mtk_iommu_probe_device()
474 if (!larbdev) in mtk_iommu_probe_device()
477 link = device_link_add(dev, larbdev, in mtk_iommu_probe_device()
480 dev_err(dev, "Unable to link %s\n", dev_name(larbdev)); in mtk_iommu_probe_device()
503 struct device *larbdev; in mtk_iommu_release_device() local
511 larbdev = data->larb_imu[larbid].dev; in mtk_iommu_release_device()
512 device_link_remove(dev, larbdev); in mtk_iommu_release_device()
Dmtk_iommu.c583 struct device *larbdev; in mtk_iommu_probe_device() local
608 larbdev = data->larb_imu[larbid].dev; in mtk_iommu_probe_device()
609 if (!larbdev) in mtk_iommu_probe_device()
612 link = device_link_add(dev, larbdev, in mtk_iommu_probe_device()
615 dev_err(dev, "Unable to link %s\n", dev_name(larbdev)); in mtk_iommu_probe_device()
623 struct device *larbdev; in mtk_iommu_release_device() local
631 larbdev = data->larb_imu[larbid].dev; in mtk_iommu_release_device()
632 device_link_remove(dev, larbdev); in mtk_iommu_release_device()
/drivers/memory/
Dmtk-smi.c137 int mtk_smi_larb_get(struct device *larbdev) in mtk_smi_larb_get() argument
139 int ret = pm_runtime_resume_and_get(larbdev); in mtk_smi_larb_get()
145 void mtk_smi_larb_put(struct device *larbdev) in mtk_smi_larb_put() argument
147 pm_runtime_put_sync(larbdev); in mtk_smi_larb_put()