mc_bus_dev 74 drivers/bus/fsl-mc/dprc-driver.c static void dprc_remove_devices(struct fsl_mc_device *mc_bus_dev, mc_bus_dev 87 drivers/bus/fsl-mc/dprc-driver.c device_for_each_child(&mc_bus_dev->dev, &objs, mc_bus_dev 94 drivers/bus/fsl-mc/dprc-driver.c device_for_each_child(&mc_bus_dev->dev, NULL, mc_bus_dev 110 drivers/bus/fsl-mc/dprc-driver.c *mc_bus_dev) mc_bus_dev 114 drivers/bus/fsl-mc/dprc-driver.c dev = device_find_child(&mc_bus_dev->dev, obj_desc, mc_bus_dev 167 drivers/bus/fsl-mc/dprc-driver.c static void dprc_add_new_devices(struct fsl_mc_device *mc_bus_dev, mc_bus_dev 184 drivers/bus/fsl-mc/dprc-driver.c child_dev = fsl_mc_device_lookup(obj_desc, mc_bus_dev); mc_bus_dev 191 drivers/bus/fsl-mc/dprc-driver.c error = fsl_mc_device_add(obj_desc, NULL, &mc_bus_dev->dev, mc_bus_dev 217 drivers/bus/fsl-mc/dprc-driver.c static int dprc_scan_objects(struct fsl_mc_device *mc_bus_dev, mc_bus_dev 223 drivers/bus/fsl-mc/dprc-driver.c unsigned int irq_count = mc_bus_dev->obj_desc.irq_count; mc_bus_dev 225 drivers/bus/fsl-mc/dprc-driver.c struct fsl_mc_bus *mc_bus = to_fsl_mc_bus(mc_bus_dev); mc_bus_dev 227 drivers/bus/fsl-mc/dprc-driver.c error = dprc_get_obj_count(mc_bus_dev->mc_io, mc_bus_dev 229 drivers/bus/fsl-mc/dprc-driver.c mc_bus_dev->mc_handle, mc_bus_dev 232 drivers/bus/fsl-mc/dprc-driver.c dev_err(&mc_bus_dev->dev, "dprc_get_obj_count() failed: %d\n", mc_bus_dev 241 drivers/bus/fsl-mc/dprc-driver.c devm_kmalloc_array(&mc_bus_dev->dev, num_child_objects, mc_bus_dev 255 drivers/bus/fsl-mc/dprc-driver.c error = dprc_get_obj(mc_bus_dev->mc_io, mc_bus_dev 257 drivers/bus/fsl-mc/dprc-driver.c mc_bus_dev->mc_handle, mc_bus_dev 260 drivers/bus/fsl-mc/dprc-driver.c dev_err(&mc_bus_dev->dev, mc_bus_dev 283 drivers/bus/fsl-mc/dprc-driver.c dev_dbg(&mc_bus_dev->dev, mc_bus_dev 289 drivers/bus/fsl-mc/dprc-driver.c dev_err(&mc_bus_dev->dev, mc_bus_dev 299 drivers/bus/fsl-mc/dprc-driver.c if (dev_get_msi_domain(&mc_bus_dev->dev) && !mc_bus->irq_resources) { mc_bus_dev 301 drivers/bus/fsl-mc/dprc-driver.c dev_warn(&mc_bus_dev->dev, mc_bus_dev 315 drivers/bus/fsl-mc/dprc-driver.c dprc_remove_devices(mc_bus_dev, child_obj_desc_array, mc_bus_dev 318 drivers/bus/fsl-mc/dprc-driver.c dprc_add_new_devices(mc_bus_dev, child_obj_desc_array, mc_bus_dev 322 drivers/bus/fsl-mc/dprc-driver.c devm_kfree(&mc_bus_dev->dev, child_obj_desc_array); mc_bus_dev 336 drivers/bus/fsl-mc/dprc-driver.c static int dprc_scan_container(struct fsl_mc_device *mc_bus_dev) mc_bus_dev 339 drivers/bus/fsl-mc/dprc-driver.c struct fsl_mc_bus *mc_bus = to_fsl_mc_bus(mc_bus_dev); mc_bus_dev 341 drivers/bus/fsl-mc/dprc-driver.c fsl_mc_init_all_resource_pools(mc_bus_dev); mc_bus_dev 347 drivers/bus/fsl-mc/dprc-driver.c error = dprc_scan_objects(mc_bus_dev, NULL); mc_bus_dev 350 drivers/bus/fsl-mc/dprc-driver.c fsl_mc_cleanup_all_resource_pools(mc_bus_dev); mc_bus_dev 39 drivers/bus/fsl-mc/fsl-mc-allocator.c struct fsl_mc_device *mc_bus_dev = &mc_bus->mc_dev; mc_bus_dev 63 drivers/bus/fsl-mc/fsl-mc-allocator.c resource = devm_kzalloc(&mc_bus_dev->dev, sizeof(*resource), mc_bus_dev 67 drivers/bus/fsl-mc/fsl-mc-allocator.c dev_err(&mc_bus_dev->dev, mc_bus_dev 100 drivers/bus/fsl-mc/fsl-mc-allocator.c struct fsl_mc_device *mc_bus_dev; mc_bus_dev 113 drivers/bus/fsl-mc/fsl-mc-allocator.c mc_bus_dev = to_fsl_mc_device(mc_dev->dev.parent); mc_bus_dev 114 drivers/bus/fsl-mc/fsl-mc-allocator.c mc_bus = to_fsl_mc_bus(mc_bus_dev); mc_bus_dev 133 drivers/bus/fsl-mc/fsl-mc-allocator.c dev_err(&mc_bus_dev->dev, mc_bus_dev 143 drivers/bus/fsl-mc/fsl-mc-allocator.c devm_kfree(&mc_bus_dev->dev, resource); mc_bus_dev 181 drivers/bus/fsl-mc/fsl-mc-allocator.c struct fsl_mc_device *mc_bus_dev = &mc_bus->mc_dev; mc_bus_dev 201 drivers/bus/fsl-mc/fsl-mc-allocator.c dev_err(&mc_bus_dev->dev, mc_bus_dev 272 drivers/bus/fsl-mc/fsl-mc-allocator.c struct fsl_mc_device *mc_bus_dev; mc_bus_dev 288 drivers/bus/fsl-mc/fsl-mc-allocator.c mc_bus_dev = to_fsl_mc_device(mc_dev->dev.parent); mc_bus_dev 289 drivers/bus/fsl-mc/fsl-mc-allocator.c mc_bus = to_fsl_mc_bus(mc_bus_dev); mc_bus_dev 355 drivers/bus/fsl-mc/fsl-mc-allocator.c struct fsl_mc_device *mc_bus_dev = &mc_bus->mc_dev; mc_bus_dev 363 drivers/bus/fsl-mc/fsl-mc-allocator.c error = fsl_mc_msi_domain_alloc_irqs(&mc_bus_dev->dev, irq_count); mc_bus_dev 367 drivers/bus/fsl-mc/fsl-mc-allocator.c irq_resources = devm_kcalloc(&mc_bus_dev->dev, mc_bus_dev 389 drivers/bus/fsl-mc/fsl-mc-allocator.c for_each_msi_entry(msi_desc, &mc_bus_dev->dev) { mc_bus_dev 401 drivers/bus/fsl-mc/fsl-mc-allocator.c fsl_mc_msi_domain_free_irqs(&mc_bus_dev->dev); mc_bus_dev 412 drivers/bus/fsl-mc/fsl-mc-allocator.c struct fsl_mc_device *mc_bus_dev = &mc_bus->mc_dev; mc_bus_dev 429 drivers/bus/fsl-mc/fsl-mc-allocator.c fsl_mc_msi_domain_free_irqs(&mc_bus_dev->dev); mc_bus_dev 533 drivers/bus/fsl-mc/fsl-mc-allocator.c void fsl_mc_init_all_resource_pools(struct fsl_mc_device *mc_bus_dev) mc_bus_dev 536 drivers/bus/fsl-mc/fsl-mc-allocator.c struct fsl_mc_bus *mc_bus = to_fsl_mc_bus(mc_bus_dev); mc_bus_dev 551 drivers/bus/fsl-mc/fsl-mc-allocator.c static void fsl_mc_cleanup_resource_pool(struct fsl_mc_device *mc_bus_dev, mc_bus_dev 556 drivers/bus/fsl-mc/fsl-mc-allocator.c struct fsl_mc_bus *mc_bus = to_fsl_mc_bus(mc_bus_dev); mc_bus_dev 563 drivers/bus/fsl-mc/fsl-mc-allocator.c devm_kfree(&mc_bus_dev->dev, resource); mc_bus_dev 567 drivers/bus/fsl-mc/fsl-mc-allocator.c void fsl_mc_cleanup_all_resource_pools(struct fsl_mc_device *mc_bus_dev) mc_bus_dev 572 drivers/bus/fsl-mc/fsl-mc-allocator.c fsl_mc_cleanup_resource_pool(mc_bus_dev, pool_type); mc_bus_dev 582 drivers/bus/fsl-mc/fsl-mc-allocator.c struct fsl_mc_device *mc_bus_dev; mc_bus_dev 589 drivers/bus/fsl-mc/fsl-mc-allocator.c mc_bus_dev = to_fsl_mc_device(mc_dev->dev.parent); mc_bus_dev 590 drivers/bus/fsl-mc/fsl-mc-allocator.c if (!dev_is_fsl_mc(&mc_bus_dev->dev)) mc_bus_dev 593 drivers/bus/fsl-mc/fsl-mc-allocator.c mc_bus = to_fsl_mc_bus(mc_bus_dev); mc_bus_dev 449 drivers/bus/fsl-mc/fsl-mc-bus.c struct fsl_mc_device *mc_bus_dev) mc_bus_dev 480 drivers/bus/fsl-mc/fsl-mc-bus.c error = dprc_get_obj_region(mc_bus_dev->mc_io, mc_bus_dev 482 drivers/bus/fsl-mc/fsl-mc-bus.c mc_bus_dev->mc_handle, mc_bus_dev 817 drivers/bus/fsl-mc/fsl-mc-bus.c struct fsl_mc_device *mc_bus_dev = NULL; mc_bus_dev 886 drivers/bus/fsl-mc/fsl-mc-bus.c error = fsl_mc_device_add(&obj_desc, mc_io, &pdev->dev, &mc_bus_dev); mc_bus_dev 890 drivers/bus/fsl-mc/fsl-mc-bus.c mc->root_mc_bus_dev = mc_bus_dev; mc_bus_dev 59 drivers/bus/fsl-mc/fsl-mc-msi.c static void __fsl_mc_msi_write_msg(struct fsl_mc_device *mc_bus_dev, mc_bus_dev 83 drivers/bus/fsl-mc/fsl-mc-msi.c if (owner_mc_dev == mc_bus_dev) { mc_bus_dev 87 drivers/bus/fsl-mc/fsl-mc-msi.c error = dprc_set_irq(mc_bus_dev->mc_io, mc_bus_dev 89 drivers/bus/fsl-mc/fsl-mc-msi.c mc_bus_dev->mc_handle, mc_bus_dev 100 drivers/bus/fsl-mc/fsl-mc-msi.c error = dprc_set_obj_irq(mc_bus_dev->mc_io, mc_bus_dev 102 drivers/bus/fsl-mc/fsl-mc-msi.c mc_bus_dev->mc_handle, mc_bus_dev 121 drivers/bus/fsl-mc/fsl-mc-msi.c struct fsl_mc_device *mc_bus_dev = to_fsl_mc_device(msi_desc->dev); mc_bus_dev 122 drivers/bus/fsl-mc/fsl-mc-msi.c struct fsl_mc_bus *mc_bus = to_fsl_mc_bus(mc_bus_dev); mc_bus_dev 131 drivers/bus/fsl-mc/fsl-mc-msi.c __fsl_mc_msi_write_msg(mc_bus_dev, mc_dev_irq); mc_bus_dev 543 drivers/bus/fsl-mc/fsl-mc-private.h void fsl_mc_init_all_resource_pools(struct fsl_mc_device *mc_bus_dev); mc_bus_dev 545 drivers/bus/fsl-mc/fsl-mc-private.h void fsl_mc_cleanup_all_resource_pools(struct fsl_mc_device *mc_bus_dev); mc_bus_dev 164 drivers/bus/fsl-mc/mc-io.c struct fsl_mc_device *mc_bus_dev; mc_bus_dev 174 drivers/bus/fsl-mc/mc-io.c mc_bus_dev = mc_dev; mc_bus_dev 179 drivers/bus/fsl-mc/mc-io.c mc_bus_dev = to_fsl_mc_device(mc_dev->dev.parent); mc_bus_dev 182 drivers/bus/fsl-mc/mc-io.c mc_bus = to_fsl_mc_bus(mc_bus_dev); mc_bus_dev 205 drivers/bus/fsl-mc/mc-io.c error = fsl_create_mc_io(&mc_bus_dev->dev, mc_bus_dev 30 drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c struct fsl_mc_device *mc_bus_dev; mc_bus_dev 36 drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c mc_bus_dev = to_fsl_mc_device(dev); mc_bus_dev 37 drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c if (!(mc_bus_dev->flags & FSL_MC_IS_DPRC)) mc_bus_dev 46 drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c info->scratchpad[0].ul = mc_bus_dev->icid;