Searched refs:fsl_mc_device (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/drivers/staging/fsl-mc/include/ |
D | mc.h | 21 struct fsl_mc_device; 41 int (*probe)(struct fsl_mc_device *dev); 42 int (*remove)(struct fsl_mc_device *dev); 43 void (*shutdown)(struct fsl_mc_device *dev); 44 int (*suspend)(struct fsl_mc_device *dev, pm_message_t state); 45 int (*resume)(struct fsl_mc_device *dev); 149 struct fsl_mc_device { struct 162 container_of(_dev, struct fsl_mc_device, dev) argument 185 int __must_check fsl_mc_portal_allocate(struct fsl_mc_device *mc_dev, 193 int __must_check fsl_mc_object_allocate(struct fsl_mc_device *mc_dev, [all …]
|
D | mc-private.h | 35 struct fsl_mc_device *root_mc_bus_dev; 82 struct fsl_mc_device mc_dev; 93 struct fsl_mc_device **new_mc_dev); 95 void fsl_mc_device_remove(struct fsl_mc_device *mc_dev); 97 int dprc_scan_container(struct fsl_mc_device *mc_bus_dev); 99 int dprc_scan_objects(struct fsl_mc_device *mc_bus_dev);
|
/linux-4.1.27/drivers/staging/fsl-mc/bus/ |
D | dprc-driver.c | 27 struct fsl_mc_device *mc_dev; in __fsl_mc_device_remove_if_not_in_mc() 68 static void dprc_remove_devices(struct fsl_mc_device *mc_bus_dev, in dprc_remove_devices() 96 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in __fsl_mc_device_match() 101 static struct fsl_mc_device *fsl_mc_device_lookup(struct dprc_obj_desc in fsl_mc_device_lookup() 103 struct fsl_mc_device in fsl_mc_device_lookup() 125 static void check_plugged_state_change(struct fsl_mc_device *mc_dev, in check_plugged_state_change() 161 static void dprc_add_new_devices(struct fsl_mc_device *mc_bus_dev, in dprc_add_new_devices() 169 struct fsl_mc_device *child_dev; in dprc_add_new_devices() 191 static void dprc_init_all_resource_pools(struct fsl_mc_device *mc_bus_dev) in dprc_init_all_resource_pools() 209 static void dprc_cleanup_resource_pool(struct fsl_mc_device *mc_bus_dev, in dprc_cleanup_resource_pool() [all …]
|
D | mc-allocator.c | 34 struct fsl_mc_device 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() 100 static int __must_check fsl_mc_resource_pool_remove_device(struct fsl_mc_device in fsl_mc_resource_pool_remove_device() 103 struct fsl_mc_device *mc_bus_dev; in fsl_mc_resource_pool_remove_device() 187 struct fsl_mc_device *mc_bus_dev = &mc_bus->mc_dev; in fsl_mc_resource_allocate() 279 int __must_check fsl_mc_portal_allocate(struct fsl_mc_device *mc_dev, in fsl_mc_portal_allocate() 283 struct fsl_mc_device *mc_bus_dev; in fsl_mc_portal_allocate() 287 struct fsl_mc_device *mc_adev; in fsl_mc_portal_allocate() 368 struct fsl_mc_device *mc_dev = resource->data; in fsl_mc_portal_reset() 415 int __must_check fsl_mc_object_allocate(struct fsl_mc_device *mc_dev, in fsl_mc_object_allocate() [all …]
|
D | mc-bus.c | 36 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_bus_match() 113 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_driver_probe() 136 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_driver_remove() 156 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_driver_shutdown() 265 static int fsl_mc_device_get_mmio_regions(struct fsl_mc_device *mc_dev, in fsl_mc_device_get_mmio_regions() 266 struct fsl_mc_device *mc_bus_dev) in fsl_mc_device_get_mmio_regions() 322 struct fsl_mc_device **new_mc_dev) in fsl_mc_device_add() 325 struct fsl_mc_device *mc_dev = NULL; in fsl_mc_device_add() 327 struct fsl_mc_device *parent_mc_dev; in fsl_mc_device_add() 455 void fsl_mc_device_remove(struct fsl_mc_device *mc_dev) in fsl_mc_device_remove() [all …]
|