/Linux-v6.1/drivers/bus/fsl-mc/ |
D | fsl-mc-allocator.c | 39 struct fsl_mc_device *mc_bus_dev = &mc_bus->mc_dev; in fsl_mc_resource_pool_add_device() local 63 resource = devm_kzalloc(&mc_bus_dev->dev, sizeof(*resource), in fsl_mc_resource_pool_add_device() 67 dev_err(&mc_bus_dev->dev, in fsl_mc_resource_pool_add_device() 100 struct fsl_mc_device *mc_bus_dev; in fsl_mc_resource_pool_remove_device() local 113 mc_bus_dev = to_fsl_mc_device(mc_dev->dev.parent); in fsl_mc_resource_pool_remove_device() 114 mc_bus = to_fsl_mc_bus(mc_bus_dev); in fsl_mc_resource_pool_remove_device() 133 dev_err(&mc_bus_dev->dev, in fsl_mc_resource_pool_remove_device() 143 devm_kfree(&mc_bus_dev->dev, resource); in fsl_mc_resource_pool_remove_device() 181 struct fsl_mc_device *mc_bus_dev = &mc_bus->mc_dev; in fsl_mc_resource_allocate() local 201 dev_err(&mc_bus_dev->dev, in fsl_mc_resource_allocate() [all …]
|
D | dprc-driver.c | 84 void dprc_remove_devices(struct fsl_mc_device *mc_bus_dev, in dprc_remove_devices() argument 97 device_for_each_child(&mc_bus_dev->dev, &objs, in dprc_remove_devices() 104 device_for_each_child(&mc_bus_dev->dev, NULL, in dprc_remove_devices() 119 struct fsl_mc_device *mc_bus_dev) in fsl_mc_device_lookup() argument 123 dev = device_find_child(&mc_bus_dev->dev, obj_desc, in fsl_mc_device_lookup() 164 static void fsl_mc_obj_device_add(struct fsl_mc_device *mc_bus_dev, in fsl_mc_obj_device_add() argument 173 child_dev = fsl_mc_device_lookup(obj_desc, mc_bus_dev); in fsl_mc_obj_device_add() 178 error = fsl_mc_device_add(obj_desc, NULL, &mc_bus_dev->dev, in fsl_mc_obj_device_add() 197 static void dprc_add_new_devices(struct fsl_mc_device *mc_bus_dev, in dprc_add_new_devices() argument 209 fsl_mc_obj_device_add(mc_bus_dev, obj_desc); in dprc_add_new_devices() [all …]
|
D | fsl-mc-msi.c | 60 static void __fsl_mc_msi_write_msg(struct fsl_mc_device *mc_bus_dev, in __fsl_mc_msi_write_msg() argument 84 if (owner_mc_dev == mc_bus_dev) { in __fsl_mc_msi_write_msg() 88 error = dprc_set_irq(mc_bus_dev->mc_io, in __fsl_mc_msi_write_msg() 90 mc_bus_dev->mc_handle, in __fsl_mc_msi_write_msg() 101 error = dprc_set_obj_irq(mc_bus_dev->mc_io, in __fsl_mc_msi_write_msg() 103 mc_bus_dev->mc_handle, in __fsl_mc_msi_write_msg() 122 struct fsl_mc_device *mc_bus_dev = to_fsl_mc_device(msi_desc->dev); in fsl_mc_msi_write_msg() local 123 struct fsl_mc_bus *mc_bus = to_fsl_mc_bus(mc_bus_dev); in fsl_mc_msi_write_msg() 132 __fsl_mc_msi_write_msg(mc_bus_dev, mc_dev_irq, msi_desc); in fsl_mc_msi_write_msg()
|
D | mc-io.c | 169 struct fsl_mc_device *mc_bus_dev; in fsl_mc_portal_allocate() local 179 mc_bus_dev = mc_dev; in fsl_mc_portal_allocate() 184 mc_bus_dev = to_fsl_mc_device(mc_dev->dev.parent); in fsl_mc_portal_allocate() 187 mc_bus = to_fsl_mc_bus(mc_bus_dev); in fsl_mc_portal_allocate() 210 error = fsl_create_mc_io(&mc_bus_dev->dev, in fsl_mc_portal_allocate()
|
D | fsl-mc-bus.c | 666 struct fsl_mc_device *mc_bus_dev) in fsl_mc_device_get_mmio_regions() argument 697 error = dprc_get_obj_region(mc_bus_dev->mc_io, in fsl_mc_device_get_mmio_regions() 699 mc_bus_dev->mc_handle, in fsl_mc_device_get_mmio_regions() 944 struct fsl_mc_device *mc_bus_dev, *endpoint; in fsl_mc_get_endpoint() local 950 mc_bus_dev = to_fsl_mc_device(mc_dev->dev.parent); in fsl_mc_get_endpoint() 955 err = dprc_get_connection(mc_bus_dev->mc_io, 0, in fsl_mc_get_endpoint() 956 mc_bus_dev->mc_handle, in fsl_mc_get_endpoint() 964 dev_err(&mc_bus_dev->dev, "dprc_get_connection() = %d\n", err); in fsl_mc_get_endpoint() 970 endpoint = fsl_mc_device_lookup(&endpoint_desc, mc_bus_dev); in fsl_mc_get_endpoint() 979 struct fsl_mc_bus *mc_bus = to_fsl_mc_bus(mc_bus_dev); in fsl_mc_get_endpoint() [all …]
|
D | fsl-mc-private.h | 629 int dprc_scan_objects(struct fsl_mc_device *mc_bus_dev, 636 void fsl_mc_init_all_resource_pools(struct fsl_mc_device *mc_bus_dev); 638 void fsl_mc_cleanup_all_resource_pools(struct fsl_mc_device *mc_bus_dev); 668 struct fsl_mc_device *mc_bus_dev);
|
/Linux-v6.1/drivers/irqchip/ |
D | irq-gic-v3-its-fsl-mc-msi.c | 45 struct fsl_mc_device *mc_bus_dev; in its_fsl_mc_msi_prepare() local 51 mc_bus_dev = to_fsl_mc_device(dev); in its_fsl_mc_msi_prepare() 52 if (!(mc_bus_dev->flags & FSL_MC_IS_DPRC)) in its_fsl_mc_msi_prepare() 62 mc_bus_dev); in its_fsl_mc_msi_prepare()
|
/Linux-v6.1/include/linux/fsl/ |
D | mc.h | 539 int dprc_scan_container(struct fsl_mc_device *mc_bus_dev, 542 void dprc_remove_devices(struct fsl_mc_device *mc_bus_dev, 556 int fsl_mc_populate_irq_pool(struct fsl_mc_device *mc_bus_dev, 559 void fsl_mc_cleanup_irq_pool(struct fsl_mc_device *mc_bus_dev);
|