Home
last modified time | relevance | path

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

/drivers/bus/fsl-mc/
Dfsl-mc-allocator.c274 struct fsl_mc_device *mc_adev; in fsl_mc_object_allocate() local
294 mc_adev = resource->data; in fsl_mc_object_allocate()
295 if (!mc_adev) { in fsl_mc_object_allocate()
300 mc_adev->consumer_link = device_link_add(&mc_dev->dev, in fsl_mc_object_allocate()
301 &mc_adev->dev, in fsl_mc_object_allocate()
303 if (!mc_adev->consumer_link) { in fsl_mc_object_allocate()
308 *new_mc_adev = mc_adev; in fsl_mc_object_allocate()
323 void fsl_mc_object_free(struct fsl_mc_device *mc_adev) in fsl_mc_object_free() argument
327 resource = mc_adev->resource; in fsl_mc_object_free()
330 if (resource->data != mc_adev) in fsl_mc_object_free()
[all …]