Searched refs:mc_bus_dev (Results 1 – 4 of 4) sorted by relevance
/drivers/staging/fsl-mc/bus/ |
D | dprc-driver.c | 68 static void dprc_remove_devices(struct fsl_mc_device *mc_bus_dev, in dprc_remove_devices() argument 81 device_for_each_child(&mc_bus_dev->dev, &objs, in dprc_remove_devices() 88 device_for_each_child(&mc_bus_dev->dev, NULL, in dprc_remove_devices() 104 *mc_bus_dev) in fsl_mc_device_lookup() 108 dev = device_find_child(&mc_bus_dev->dev, obj_desc, in fsl_mc_device_lookup() 161 static void dprc_add_new_devices(struct fsl_mc_device *mc_bus_dev, in dprc_add_new_devices() argument 178 child_dev = fsl_mc_device_lookup(obj_desc, mc_bus_dev); in dprc_add_new_devices() 184 error = fsl_mc_device_add(obj_desc, NULL, &mc_bus_dev->dev, in dprc_add_new_devices() 191 static void dprc_init_all_resource_pools(struct fsl_mc_device *mc_bus_dev) in dprc_init_all_resource_pools() argument 194 struct fsl_mc_bus *mc_bus = to_fsl_mc_bus(mc_bus_dev); in dprc_init_all_resource_pools() [all …]
|
D | mc-allocator.c | 39 struct fsl_mc_device *mc_bus_dev = &mc_bus->mc_dev; in fsl_mc_resource_pool_add_device() local 65 resource = devm_kzalloc(&mc_bus_dev->dev, sizeof(*resource), in fsl_mc_resource_pool_add_device() 69 dev_err(&mc_bus_dev->dev, in fsl_mc_resource_pool_add_device() 103 struct fsl_mc_device *mc_bus_dev; in fsl_mc_resource_pool_remove_device() local 117 mc_bus_dev = to_fsl_mc_device(mc_dev->dev.parent); in fsl_mc_resource_pool_remove_device() 118 mc_bus = to_fsl_mc_bus(mc_bus_dev); in fsl_mc_resource_pool_remove_device() 138 dev_err(&mc_bus_dev->dev, in fsl_mc_resource_pool_remove_device() 149 devm_kfree(&mc_bus_dev->dev, resource); in fsl_mc_resource_pool_remove_device() 187 struct fsl_mc_device *mc_bus_dev = &mc_bus->mc_dev; in fsl_mc_resource_allocate() local 210 dev_err(&mc_bus_dev->dev, in fsl_mc_resource_allocate() [all …]
|
D | mc-bus.c | 319 struct fsl_mc_device *mc_bus_dev) in fsl_mc_device_get_mmio_regions() argument 351 error = dprc_get_obj_region(mc_bus_dev->mc_io, in fsl_mc_device_get_mmio_regions() 353 mc_bus_dev->mc_handle, in fsl_mc_device_get_mmio_regions() 675 struct fsl_mc_device *mc_bus_dev = NULL; in fsl_mc_bus_probe() local 755 error = fsl_mc_device_add(&obj_desc, mc_io, &pdev->dev, &mc_bus_dev); in fsl_mc_bus_probe() 759 mc->root_mc_bus_dev = mc_bus_dev; in fsl_mc_bus_probe()
|
/drivers/staging/fsl-mc/include/ |
D | mc-private.h | 100 int dprc_scan_container(struct fsl_mc_device *mc_bus_dev); 102 int dprc_scan_objects(struct fsl_mc_device *mc_bus_dev);
|