Home
last modified time | relevance | path

Searched refs:mc_bus_dev (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/drivers/bus/fsl-mc/
A Dfsl-mc-allocator.c67 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
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()
201 dev_err(&mc_bus_dev->dev, in fsl_mc_resource_allocate()
272 struct fsl_mc_device *mc_bus_dev; in fsl_mc_object_allocate() local
289 mc_bus = to_fsl_mc_bus(mc_bus_dev); in fsl_mc_object_allocate()
583 struct fsl_mc_device *mc_bus_dev; in fsl_mc_allocator_probe() local
591 if (!dev_is_fsl_mc(&mc_bus_dev->dev)) in fsl_mc_allocator_probe()
[all …]
A Ddprc-driver.c103 device_for_each_child(&mc_bus_dev->dev, NULL, in dprc_remove_devices()
118 struct fsl_mc_device *mc_bus_dev) in fsl_mc_device_lookup() argument
251 mc_bus_dev->mc_handle, in dprc_scan_objects()
277 error = dprc_get_obj(mc_bus_dev->mc_io, in dprc_scan_objects()
279 mc_bus_dev->mc_handle, in dprc_scan_objects()
282 dev_err(&mc_bus_dev->dev, in dprc_scan_objects()
305 dev_dbg(&mc_bus_dev->dev, in dprc_scan_objects()
311 dev_err(&mc_bus_dev->dev, in dprc_scan_objects()
321 if (dev_get_msi_domain(&mc_bus_dev->dev)) { in dprc_scan_objects()
323 dev_warn(&mc_bus_dev->dev, in dprc_scan_objects()
[all …]
A Dfsl-mc-msi.c60 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()
A Dmc-io.c169 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()
A Dfsl-mc-bus.c665 struct fsl_mc_device *mc_bus_dev) in fsl_mc_device_get_mmio_regions() argument
696 error = dprc_get_obj_region(mc_bus_dev->mc_io, in fsl_mc_device_get_mmio_regions()
698 mc_bus_dev->mc_handle, in fsl_mc_device_get_mmio_regions()
943 struct fsl_mc_device *mc_bus_dev, *endpoint; in fsl_mc_get_endpoint() local
949 mc_bus_dev = to_fsl_mc_device(mc_dev->dev.parent); in fsl_mc_get_endpoint()
954 err = dprc_get_connection(mc_bus_dev->mc_io, 0, in fsl_mc_get_endpoint()
955 mc_bus_dev->mc_handle, in fsl_mc_get_endpoint()
981 err = dprc_scan_objects(mc_bus_dev, true); in fsl_mc_get_endpoint()
1114 struct fsl_mc_device *mc_bus_dev = NULL; in fsl_mc_bus_probe() local
1225 mc->root_mc_bus_dev = mc_bus_dev; in fsl_mc_bus_probe()
[all …]
A Dfsl-mc-private.h629 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-6.3-rc2/drivers/irqchip/
A Dirq-gic-v3-its-fsl-mc-msi.c45 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-6.3-rc2/include/linux/fsl/
A Dmc.h539 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);

Completed in 15 milliseconds