Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/bus/fsl-mc/
Dfsl-mc-allocator.c31 *mc_bus, in fsl_mc_resource_pool_add_device()
39 struct fsl_mc_device *mc_bus_dev = &mc_bus->mc_dev; in fsl_mc_resource_pool_add_device()
49 res_pool = &mc_bus->resource_pools[pool_type]; in fsl_mc_resource_pool_add_device()
52 if (res_pool->mc_bus != mc_bus) in fsl_mc_resource_pool_add_device()
101 struct fsl_mc_bus *mc_bus; 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()
116 if (res_pool != &mc_bus->resource_pools[resource->type]) in fsl_mc_resource_pool_remove_device()
175 int __must_check fsl_mc_resource_allocate(struct fsl_mc_bus *mc_bus, in fsl_mc_resource_allocate() argument
181 struct fsl_mc_device *mc_bus_dev = &mc_bus->mc_dev; in fsl_mc_resource_allocate()
191 res_pool = &mc_bus->resource_pools[pool_type]; in fsl_mc_resource_allocate()
[all …]
Ddprc-driver.c225 struct fsl_mc_bus *mc_bus = to_fsl_mc_bus(mc_bus_dev); in dprc_scan_objects() local
299 if (dev_get_msi_domain(&mc_bus_dev->dev) && !mc_bus->irq_resources) { in dprc_scan_objects()
306 error = fsl_mc_populate_irq_pool(mc_bus, in dprc_scan_objects()
339 struct fsl_mc_bus *mc_bus = to_fsl_mc_bus(mc_bus_dev); in dprc_scan_container() local
346 mutex_lock(&mc_bus->scan_mutex); in dprc_scan_container()
348 mutex_unlock(&mc_bus->scan_mutex); in dprc_scan_container()
380 struct fsl_mc_bus *mc_bus = to_fsl_mc_bus(mc_dev); in dprc_irq0_handler_thread() local
390 mutex_lock(&mc_bus->scan_mutex); in dprc_irq0_handler_thread()
442 mutex_unlock(&mc_bus->scan_mutex); in dprc_irq0_handler_thread()
593 struct fsl_mc_bus *mc_bus = to_fsl_mc_bus(mc_dev); in dprc_probe() local
[all …]
Dmc-io.c170 struct fsl_mc_bus *mc_bus; in fsl_mc_portal_allocate() local
187 mc_bus = to_fsl_mc_bus(mc_bus_dev); in fsl_mc_portal_allocate()
189 error = fsl_mc_resource_allocate(mc_bus, FSL_MC_POOL_DPMCP, &resource); in fsl_mc_portal_allocate()
Dfsl-mc-private.h491 struct fsl_mc_bus *mc_bus; member
534 int __must_check fsl_mc_resource_allocate(struct fsl_mc_bus *mc_bus,
549 int fsl_mc_populate_irq_pool(struct fsl_mc_bus *mc_bus,
552 void fsl_mc_cleanup_irq_pool(struct fsl_mc_bus *mc_bus);
Dfsl-mc-bus.c536 struct fsl_mc_bus *mc_bus = NULL; in fsl_mc_device_add() local
548 mc_bus = kzalloc(sizeof(*mc_bus), GFP_KERNEL); in fsl_mc_device_add()
549 if (!mc_bus) in fsl_mc_device_add()
552 mc_dev = &mc_bus->mc_dev; in fsl_mc_device_add()
658 kfree(mc_bus); in fsl_mc_device_add()
Dfsl-mc-msi.c122 struct fsl_mc_bus *mc_bus = to_fsl_mc_bus(mc_bus_dev); in fsl_mc_msi_write_msg() local
124 &mc_bus->irq_resources[msi_desc->fsl_mc.msi_index]; in fsl_mc_msi_write_msg()
/linux-4.19.296/drivers/edac/
Dedac_mc.c58 static struct bus_type mc_bus[EDAC_MAX_MCS]; variable
759 mci->bus = &mc_bus[mci->mc_idx]; in edac_mc_add_mc_with_groups()