Home
last modified time | relevance | path

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

/linux/drivers/bus/fsl-mc/
H A 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
106 mc_bus_dev = to_fsl_mc_device(mc_dev->dev.parent); in fsl_mc_resource_pool_remove_device()
107 mc_bus = to_fsl_mc_bus(mc_bus_dev); in fsl_mc_resource_pool_remove_device()
111 dev_err(&mc_bus_dev->dev, "resource mismatch\n"); in fsl_mc_resource_pool_remove_device()
117 dev_err(&mc_bus_dev->dev, "pool mismatch\n"); in fsl_mc_resource_pool_remove_device()
124 dev_err(&mc_bus_dev->dev, "max_count underflow\n"); in fsl_mc_resource_pool_remove_device()
129 dev_err(&mc_bus_dev->dev, "free_count mismatch\n"); in fsl_mc_resource_pool_remove_device()
[all …]
H A Ddprc-driver.c89 void dprc_remove_devices(struct fsl_mc_device *mc_bus_dev, in dprc_remove_devices() argument
102 device_for_each_child(&mc_bus_dev->dev, &objs, in dprc_remove_devices()
109 device_for_each_child(&mc_bus_dev->dev, NULL, in dprc_remove_devices()
124 struct fsl_mc_device *mc_bus_dev) in fsl_mc_device_lookup() argument
128 dev = device_find_child(&mc_bus_dev->dev, obj_desc, in fsl_mc_device_lookup()
169 static void fsl_mc_obj_device_add(struct fsl_mc_device *mc_bus_dev, in fsl_mc_obj_device_add() argument
178 child_dev = fsl_mc_device_lookup(obj_desc, mc_bus_dev); in fsl_mc_obj_device_add()
183 error = fsl_mc_device_add(obj_desc, NULL, &mc_bus_dev->dev, in fsl_mc_obj_device_add()
202 static void dprc_add_new_devices(struct fsl_mc_device *mc_bus_dev, in dprc_add_new_devices() argument
214 fsl_mc_obj_device_add(mc_bus_dev, obj_desc); in dprc_add_new_devices()
[all …]
H A Dfsl-mc-msi.c58 static void __fsl_mc_msi_write_msg(struct fsl_mc_device *mc_bus_dev, in __fsl_mc_msi_write_msg() argument
82 if (owner_mc_dev == mc_bus_dev) { in __fsl_mc_msi_write_msg()
86 error = dprc_set_irq(mc_bus_dev->mc_io, in __fsl_mc_msi_write_msg()
88 mc_bus_dev->mc_handle, in __fsl_mc_msi_write_msg()
99 error = dprc_set_obj_irq(mc_bus_dev->mc_io, in __fsl_mc_msi_write_msg()
101 mc_bus_dev->mc_handle, in __fsl_mc_msi_write_msg()
120 struct fsl_mc_device *mc_bus_dev = to_fsl_mc_device(msi_desc->dev); in fsl_mc_msi_write_msg() local
121 struct fsl_mc_bus *mc_bus = to_fsl_mc_bus(mc_bus_dev); in fsl_mc_msi_write_msg()
130 __fsl_mc_msi_write_msg(mc_bus_dev, mc_dev_irq, msi_desc); in fsl_mc_msi_write_msg()
H 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()
H 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/drivers/irqchip/
H A Dirq-gic-v3-its-fsl-mc-msi.c43 struct fsl_mc_device *mc_bus_dev; in its_fsl_mc_msi_prepare() local
49 mc_bus_dev = to_fsl_mc_device(dev); in its_fsl_mc_msi_prepare()
50 if (!(mc_bus_dev->flags & FSL_MC_IS_DPRC)) in its_fsl_mc_msi_prepare()
60 mc_bus_dev); in its_fsl_mc_msi_prepare()