Home
last modified time | relevance | path

Searched refs:iommu_spec (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/drivers/iommu/
Dof_iommu.c23 struct of_phandle_args *iommu_spec) in of_iommu_xlate() argument
26 struct fwnode_handle *fwnode = &iommu_spec->np->fwnode; in of_iommu_xlate()
31 !of_device_is_available(iommu_spec->np)) in of_iommu_xlate()
34 ret = iommu_fwspec_init(dev, &iommu_spec->np->fwnode, ops); in of_iommu_xlate()
48 ret = ops->of_xlate(dev, iommu_spec); in of_iommu_xlate()
57 struct of_phandle_args iommu_spec = { .args_count = 1 }; in of_iommu_configure_dev_id() local
61 "iommu-map-mask", &iommu_spec.np, in of_iommu_configure_dev_id()
62 iommu_spec.args); in of_iommu_configure_dev_id()
66 err = of_iommu_xlate(dev, &iommu_spec); in of_iommu_configure_dev_id()
67 of_node_put(iommu_spec.np); in of_iommu_configure_dev_id()
[all …]
Dmtk_iommu_v1.c454 struct of_phandle_args iommu_spec; in mtk_iommu_v1_probe_device() local
471 idx, &iommu_spec)) { in mtk_iommu_v1_probe_device()
473 err = mtk_iommu_v1_create_mapping(dev, &iommu_spec); in mtk_iommu_v1_probe_device()
474 of_node_put(iommu_spec.np); in mtk_iommu_v1_probe_device()
/Linux-v6.1/drivers/xen/
Dgrant-dma-ops.c328 struct of_phandle_args iommu_spec; in xen_dt_grant_init_backend_domid() local
331 0, &iommu_spec)) { in xen_dt_grant_init_backend_domid()
336 if (!of_device_is_compatible(iommu_spec.np, "xen,grant-dma") || in xen_dt_grant_init_backend_domid()
337 iommu_spec.args_count != 1) { in xen_dt_grant_init_backend_domid()
339 of_node_put(iommu_spec.np); in xen_dt_grant_init_backend_domid()
343 of_node_put(iommu_spec.np); in xen_dt_grant_init_backend_domid()
349 data->backend_domid = iommu_spec.args[0]; in xen_dt_grant_init_backend_domid()
/Linux-v6.1/drivers/dma/
Dtegra186-gpc-dma.c1346 struct iommu_fwspec *iommu_spec; in tegra_dma_probe() local
1376 iommu_spec = dev_iommu_fwspec_get(&pdev->dev); in tegra_dma_probe()
1377 if (!iommu_spec) { in tegra_dma_probe()
1381 stream_id = iommu_spec->ids[0] & 0xffff; in tegra_dma_probe()