Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/fsl-mc/include/
Dmc.h21 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
187 int __must_check fsl_mc_portal_allocate(struct fsl_mc_device *mc_dev,
195 int __must_check fsl_mc_object_allocate(struct fsl_mc_device *mc_dev,
[all …]
Dmc-private.h36 struct fsl_mc_device *root_mc_bus_dev;
85 struct fsl_mc_device mc_dev;
96 struct fsl_mc_device **new_mc_dev);
98 void fsl_mc_device_remove(struct fsl_mc_device *mc_dev);
100 int dprc_scan_container(struct fsl_mc_device *mc_bus_dev);
102 int dprc_scan_objects(struct fsl_mc_device *mc_bus_dev);
Dmc-sys.h82 struct fsl_mc_device *dpmcp_dev;
101 struct fsl_mc_device *dpmcp_dev,
107 struct fsl_mc_device *dpmcp_dev);
/linux-4.4.14/drivers/staging/fsl-mc/bus/
Ddprc-driver.c27 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 …]
Dmc-allocator.c34 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 *dpmcp_dev; in fsl_mc_portal_allocate()
345 struct fsl_mc_device *dpmcp_dev; in fsl_mc_portal_free()
376 struct fsl_mc_device *dpmcp_dev = mc_io->dpmcp_dev; in fsl_mc_portal_reset()
[all …]
Dmc-bus.c38 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_bus_match()
117 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_driver_probe()
140 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_driver_remove()
160 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_driver_shutdown()
281 static int translate_mc_addr(struct fsl_mc_device *mc_dev, in translate_mc_addr()
318 static int fsl_mc_device_get_mmio_regions(struct fsl_mc_device *mc_dev, in fsl_mc_device_get_mmio_regions()
319 struct fsl_mc_device *mc_bus_dev) in fsl_mc_device_get_mmio_regions()
393 struct fsl_mc_device **new_mc_dev) in fsl_mc_device_add()
396 struct fsl_mc_device *mc_dev = NULL; in fsl_mc_device_add()
398 struct fsl_mc_device *parent_mc_dev; in fsl_mc_device_add()
[all …]
Dmc-sys.c75 struct fsl_mc_device *dpmcp_dev, in fsl_create_mc_io()
140 struct fsl_mc_device *dpmcp_dev = mc_io->dpmcp_dev; in fsl_destroy_mc_io()
156 struct fsl_mc_device *dpmcp_dev) in fsl_mc_io_set_dpmcp()
185 struct fsl_mc_device *dpmcp_dev = mc_io->dpmcp_dev; in fsl_mc_io_unset_dpmcp()