if (of_property_read_bool(node, "dma-coherent")) { of_node_put(node); return true; } node = of_get_next_parent(node); } of_node_put(node); return false; } EXPORT_SYMBOL_GPL(of_dma_is_coherent); 6 changes: 6 additions & 0 deletions 6 include/linux/of_address.h Original ...
struct platform_device *acpi_create_platform_device(struct acpi_device *adev, struct property_entry *properties) { struct platform_device *pdev = NULL; struct platform_device_info pdevinfo; struct resource_entry *rentry; struct list_head resource_list; struct resource *resources = NULL; int co...
ret = of_property_read_u32(np, "cache-line-size", &ax45mp_priv.ax45mp_cache_line_size); if (ret) { pr_err("Failed to get cache-line-size, defaulting to 64 bytes\n"); return ret; } if (ax45mp_priv.ax45mp_cache_line_size != AX45MP_CACHE_LINE_SIZE) { pr_err("Expected...