Lines Matching defs:ops
21 #include <linux/dma-map-ops.h>
1224 const struct iommu_ops *ops;
1235 * If the ops look-up fails, this means that either
1242 ops = iommu_ops_from_fwnode(iort_fwnode);
1243 if (!ops)
1247 return acpi_iommu_fwspec_init(dev, streamid, iort_fwnode, ops);
1785 * @ops: Pointer to IORT device config struct
1790 const struct iort_dev_config *ops)
1797 pdev = platform_device_alloc(ops->name, PLATFORM_DEVID_AUTO);
1801 if (ops->dev_set_proximity) {
1802 ret = ops->dev_set_proximity(&pdev->dev, node);
1807 count = ops->dev_count_resources(node);
1815 ops->dev_init_resources(r, node);
1833 if (ops->dev_add_platdata)
1834 ret = ops->dev_add_platdata(pdev);
1850 if (ops->dev_dma_configure)
1851 ops->dev_dma_configure(&pdev->dev, node);
1914 const struct iort_dev_config *ops;
1936 ops = iort_get_dev_cfg(iort_node);
1937 if (ops) {
1944 ret = iort_add_platform_device(iort_node, ops);