Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/bus/fsl-mc/
Dfsl-mc-uapi.c475 struct fsl_mc_uapi *mc_uapi; in fsl_mc_uapi_dev_open() local
483 mc_uapi = container_of(filep->private_data, struct fsl_mc_uapi, misc); in fsl_mc_uapi_dev_open()
484 mc_bus = container_of(mc_uapi, struct fsl_mc_bus, uapi_misc); in fsl_mc_uapi_dev_open()
487 mutex_lock(&mc_uapi->mutex); in fsl_mc_uapi_dev_open()
489 if (!mc_uapi->local_instance_in_use) { in fsl_mc_uapi_dev_open()
490 priv_data->mc_io = mc_uapi->static_mc_io; in fsl_mc_uapi_dev_open()
491 mc_uapi->local_instance_in_use = 1; in fsl_mc_uapi_dev_open()
503 priv_data->uapi = mc_uapi; in fsl_mc_uapi_dev_open()
506 mutex_unlock(&mc_uapi->mutex); in fsl_mc_uapi_dev_open()
511 mutex_unlock(&mc_uapi->mutex); in fsl_mc_uapi_dev_open()
[all …]