Searched refs:mc_bus (Results 1 – 8 of 8) sorted by relevance
31 *mc_bus, in fsl_mc_resource_pool_add_device()52 if (res_pool->mc_bus != mc_bus) in fsl_mc_resource_pool_add_device()101 struct fsl_mc_bus *mc_bus; in fsl_mc_resource_pool_remove_device() local198 if (res_pool->mc_bus != mc_bus) in fsl_mc_resource_allocate()279 struct fsl_mc_bus *mc_bus; in fsl_mc_object_allocate() local367 if (mc_bus->irq_resources) in fsl_mc_populate_irq_pool()423 if (!mc_bus->irq_resources) in fsl_mc_cleanup_irq_pool()450 struct fsl_mc_bus *mc_bus; in fsl_mc_allocate_irqs() local515 struct fsl_mc_bus *mc_bus; in fsl_mc_free_irqs() local552 res_pool->mc_bus = mc_bus; in fsl_mc_init_all_resource_pools()[all …]
375 mutex_lock(&mc_bus->scan_mutex); in dprc_scan_container()377 mutex_unlock(&mc_bus->scan_mutex); in dprc_scan_container()416 mutex_lock(&mc_bus->scan_mutex); in dprc_irq0_handler_thread()461 mutex_unlock(&mc_bus->scan_mutex); in dprc_irq0_handler_thread()507 mc_bus->irq_enabled = 0; in disable_dprc_irq()516 return mc_bus->irq_enabled; in get_dprc_irq_state()575 mc_bus->irq_enabled = 1; in enable_dprc_irq()683 &mc_bus->dprc_attr); in dprc_setup()722 fsl_mc_uapi_remove_device_file(mc_bus); in dprc_setup()827 fsl_mc_uapi_remove_device_file(mc_bus); in dprc_cleanup()[all …]
476 struct fsl_mc_bus *mc_bus; in fsl_mc_uapi_dev_open() local484 mc_bus = container_of(mc_uapi, struct fsl_mc_bus, uapi_misc); in fsl_mc_uapi_dev_open()485 root_mc_device = &mc_bus->mc_dev; in fsl_mc_uapi_dev_open()548 struct fsl_mc_bus *mc_bus; in fsl_mc_uapi_dev_ioctl() local552 root_mc_device = &mc_bus->mc_dev; in fsl_mc_uapi_dev_ioctl()573 int fsl_mc_uapi_create_device_file(struct fsl_mc_bus *mc_bus) in fsl_mc_uapi_create_device_file() argument575 struct fsl_mc_device *mc_dev = &mc_bus->mc_dev; in fsl_mc_uapi_create_device_file()576 struct fsl_mc_uapi *mc_uapi = &mc_bus->uapi_misc; in fsl_mc_uapi_create_device_file()587 mc_uapi->static_mc_io = mc_bus->mc_dev.mc_io; in fsl_mc_uapi_create_device_file()594 void fsl_mc_uapi_remove_device_file(struct fsl_mc_bus *mc_bus) in fsl_mc_uapi_remove_device_file() argument[all …]
575 struct fsl_mc_bus *mc_bus; member640 int __must_check fsl_mc_resource_allocate(struct fsl_mc_bus *mc_bus,674 int fsl_mc_uapi_create_device_file(struct fsl_mc_bus *mc_bus);676 void fsl_mc_uapi_remove_device_file(struct fsl_mc_bus *mc_bus);680 static inline int fsl_mc_uapi_create_device_file(struct fsl_mc_bus *mc_bus) in fsl_mc_uapi_create_device_file() argument685 static inline void fsl_mc_uapi_remove_device_file(struct fsl_mc_bus *mc_bus) in fsl_mc_uapi_remove_device_file() argument
170 struct fsl_mc_bus *mc_bus; in fsl_mc_portal_allocate() local187 mc_bus = to_fsl_mc_bus(mc_bus_dev); in fsl_mc_portal_allocate()189 error = fsl_mc_resource_allocate(mc_bus, FSL_MC_POOL_DPMCP, &resource); in fsl_mc_portal_allocate()
788 struct fsl_mc_bus *mc_bus = NULL; in fsl_mc_device_add() local800 mc_bus = kzalloc(sizeof(*mc_bus), GFP_KERNEL); in fsl_mc_device_add()801 if (!mc_bus) in fsl_mc_device_add()804 mutex_init(&mc_bus->scan_mutex); in fsl_mc_device_add()805 mc_dev = &mc_bus->mc_dev; in fsl_mc_device_add()908 kfree(mc_bus); in fsl_mc_device_add()974 struct fsl_mc_bus *mc_bus = to_fsl_mc_bus(mc_bus_dev); in fsl_mc_get_endpoint() local976 if (mutex_trylock(&mc_bus->scan_mutex)) { in fsl_mc_get_endpoint()978 mutex_unlock(&mc_bus->scan_mutex); in fsl_mc_get_endpoint()
121 struct fsl_mc_bus *mc_bus = to_fsl_mc_bus(mc_bus_dev); in fsl_mc_msi_write_msg() local123 &mc_bus->irq_resources[msi_desc->msi_index]; in fsl_mc_msi_write_msg()
358 u32 mc_bus; member1044 go.addr = req->mc_bus; in _trigger()1422 PL330_DBGMC_START(req->mc_bus); in _setup_req()1870 thrd->req[0].mc_bus = pl330->mcode_bus in _reset_thread()1876 thrd->req[1].mc_bus = thrd->req[0].mc_bus in _reset_thread()