Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/bus/fsl-mc/
Dfsl-mc-allocator.c39 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 …]
Ddprc-driver.c74 static void dprc_remove_devices(struct fsl_mc_device *mc_bus_dev, in dprc_remove_devices() argument
87 device_for_each_child(&mc_bus_dev->dev, &objs, in dprc_remove_devices()
94 device_for_each_child(&mc_bus_dev->dev, NULL, in dprc_remove_devices()
110 *mc_bus_dev) in fsl_mc_device_lookup()
114 dev = device_find_child(&mc_bus_dev->dev, obj_desc, in fsl_mc_device_lookup()
167 static void dprc_add_new_devices(struct fsl_mc_device *mc_bus_dev, in dprc_add_new_devices() argument
184 child_dev = fsl_mc_device_lookup(obj_desc, mc_bus_dev); in dprc_add_new_devices()
191 error = fsl_mc_device_add(obj_desc, NULL, &mc_bus_dev->dev, in dprc_add_new_devices()
217 static int dprc_scan_objects(struct fsl_mc_device *mc_bus_dev, in dprc_scan_objects() argument
223 unsigned int irq_count = mc_bus_dev->obj_desc.irq_count; in dprc_scan_objects()
[all …]
Dfsl-mc-msi.c59 static void __fsl_mc_msi_write_msg(struct fsl_mc_device *mc_bus_dev, in __fsl_mc_msi_write_msg() argument
83 if (owner_mc_dev == mc_bus_dev) { in __fsl_mc_msi_write_msg()
87 error = dprc_set_irq(mc_bus_dev->mc_io, in __fsl_mc_msi_write_msg()
89 mc_bus_dev->mc_handle, in __fsl_mc_msi_write_msg()
100 error = dprc_set_obj_irq(mc_bus_dev->mc_io, in __fsl_mc_msi_write_msg()
102 mc_bus_dev->mc_handle, in __fsl_mc_msi_write_msg()
121 struct fsl_mc_device *mc_bus_dev = to_fsl_mc_device(msi_desc->dev); in fsl_mc_msi_write_msg() local
122 struct fsl_mc_bus *mc_bus = to_fsl_mc_bus(mc_bus_dev); in fsl_mc_msi_write_msg()
131 __fsl_mc_msi_write_msg(mc_bus_dev, mc_dev_irq); in fsl_mc_msi_write_msg()
Dmc-io.c164 struct fsl_mc_device *mc_bus_dev; in fsl_mc_portal_allocate() local
174 mc_bus_dev = mc_dev; in fsl_mc_portal_allocate()
179 mc_bus_dev = to_fsl_mc_device(mc_dev->dev.parent); in fsl_mc_portal_allocate()
182 mc_bus = to_fsl_mc_bus(mc_bus_dev); in fsl_mc_portal_allocate()
205 error = fsl_create_mc_io(&mc_bus_dev->dev, in fsl_mc_portal_allocate()
Dfsl-mc-bus.c433 struct fsl_mc_device *mc_bus_dev) in fsl_mc_device_get_mmio_regions() argument
464 error = dprc_get_obj_region(mc_bus_dev->mc_io, in fsl_mc_device_get_mmio_regions()
466 mc_bus_dev->mc_handle, in fsl_mc_device_get_mmio_regions()
793 struct fsl_mc_device *mc_bus_dev = NULL; in fsl_mc_bus_probe() local
862 error = fsl_mc_device_add(&obj_desc, mc_io, &pdev->dev, &mc_bus_dev); in fsl_mc_bus_probe()
866 mc->root_mc_bus_dev = mc_bus_dev; in fsl_mc_bus_probe()
Dfsl-mc-private.h530 void fsl_mc_init_all_resource_pools(struct fsl_mc_device *mc_bus_dev);
532 void fsl_mc_cleanup_all_resource_pools(struct fsl_mc_device *mc_bus_dev);
/Linux-v4.19/drivers/irqchip/
Dirq-gic-v3-its-fsl-mc-msi.c30 struct fsl_mc_device *mc_bus_dev; in its_fsl_mc_msi_prepare() local
36 mc_bus_dev = to_fsl_mc_device(dev); in its_fsl_mc_msi_prepare()
37 if (!(mc_bus_dev->flags & FSL_MC_IS_DPRC)) in its_fsl_mc_msi_prepare()
46 info->scratchpad[0].ul = mc_bus_dev->icid; in its_fsl_mc_msi_prepare()