Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/bus/fsl-mc/
A Dfsl-mc-allocator.c31 *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() local
192 if (res_pool->mc_bus != mc_bus) in fsl_mc_resource_allocate()
273 struct fsl_mc_bus *mc_bus; in fsl_mc_object_allocate() local
361 if (mc_bus->irq_resources) in fsl_mc_populate_irq_pool()
417 if (!mc_bus->irq_resources) in fsl_mc_cleanup_irq_pool()
444 struct fsl_mc_bus *mc_bus; in fsl_mc_allocate_irqs() local
509 struct fsl_mc_bus *mc_bus; in fsl_mc_free_irqs() local
546 res_pool->mc_bus = mc_bus; in fsl_mc_init_all_resource_pools()
[all …]
A Ddprc-driver.c369 mutex_lock(&mc_bus->scan_mutex); in dprc_scan_container()
371 mutex_unlock(&mc_bus->scan_mutex); in dprc_scan_container()
410 mutex_lock(&mc_bus->scan_mutex); in dprc_irq0_handler_thread()
455 mutex_unlock(&mc_bus->scan_mutex); in dprc_irq0_handler_thread()
501 mc_bus->irq_enabled = 0; in disable_dprc_irq()
510 return mc_bus->irq_enabled; in get_dprc_irq_state()
569 mc_bus->irq_enabled = 1; in enable_dprc_irq()
677 &mc_bus->dprc_attr); in dprc_setup()
716 fsl_mc_uapi_remove_device_file(mc_bus); in dprc_setup()
821 fsl_mc_uapi_remove_device_file(mc_bus); in dprc_cleanup()
[all …]
A Dfsl-mc-uapi.c476 struct fsl_mc_bus *mc_bus; in fsl_mc_uapi_dev_open() local
484 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() local
552 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() argument
575 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 …]
A Dfsl-mc-private.h575 struct fsl_mc_bus *mc_bus; member
640 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() argument
685 static inline void fsl_mc_uapi_remove_device_file(struct fsl_mc_bus *mc_bus) in fsl_mc_uapi_remove_device_file() argument
A Dmc-io.c170 struct fsl_mc_bus *mc_bus; in fsl_mc_portal_allocate() local
187 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()
A Dfsl-mc-bus.c792 struct fsl_mc_bus *mc_bus = NULL; in fsl_mc_device_add() local
804 mc_bus = kzalloc(sizeof(*mc_bus), GFP_KERNEL); in fsl_mc_device_add()
805 if (!mc_bus) in fsl_mc_device_add()
808 mutex_init(&mc_bus->scan_mutex); in fsl_mc_device_add()
809 mc_dev = &mc_bus->mc_dev; in fsl_mc_device_add()
912 kfree(mc_bus); in fsl_mc_device_add()
978 struct fsl_mc_bus *mc_bus = to_fsl_mc_bus(mc_bus_dev); in fsl_mc_get_endpoint() local
980 if (mutex_trylock(&mc_bus->scan_mutex)) { in fsl_mc_get_endpoint()
982 mutex_unlock(&mc_bus->scan_mutex); in fsl_mc_get_endpoint()
A Dfsl-mc-msi.c123 struct fsl_mc_bus *mc_bus = to_fsl_mc_bus(mc_bus_dev); in fsl_mc_msi_write_msg() local
125 &mc_bus->irq_resources[msi_desc->msi_index]; in fsl_mc_msi_write_msg()
/linux-6.3-rc2/drivers/dma/
A Dpl330.c358 u32 mc_bus; member
1038 go.addr = req->mc_bus; in _trigger()
1416 PL330_DBGMC_START(req->mc_bus); in _setup_req()
1864 thrd->req[0].mc_bus = pl330->mcode_bus in _reset_thread()
1870 thrd->req[1].mc_bus = thrd->req[0].mc_bus in _reset_thread()

Completed in 21 milliseconds