Searched refs:mc_bus (Results 1 – 7 of 7) sorted by relevance
31 *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() local114 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() argument181 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 …]
225 struct fsl_mc_bus *mc_bus = to_fsl_mc_bus(mc_bus_dev); in dprc_scan_objects() local299 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() local346 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() local390 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 …]
170 struct fsl_mc_bus *mc_bus; in fsl_mc_portal_allocate() local187 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()
491 struct fsl_mc_bus *mc_bus; member534 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);
536 struct fsl_mc_bus *mc_bus = NULL; in fsl_mc_device_add() local548 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()
122 struct fsl_mc_bus *mc_bus = to_fsl_mc_bus(mc_bus_dev); in fsl_mc_msi_write_msg() local124 &mc_bus->irq_resources[msi_desc->fsl_mc.msi_index]; in fsl_mc_msi_write_msg()
58 static struct bus_type mc_bus[EDAC_MAX_MCS]; variable759 mci->bus = &mc_bus[mci->mc_idx]; in edac_mc_add_mc_with_groups()