Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/fsl/
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);
99 struct fsl_mc_device *mc_dev;
185 struct fsl_mc_device { struct
200 container_of(_dev, struct fsl_mc_device, dev) argument
330 struct fsl_mc_device *dpmcp_dev;
[all …]
/Linux-v5.4/drivers/bus/fsl-mc/
Dfsl-mc-allocator.c15 static bool __must_check fsl_mc_is_allocatable(struct fsl_mc_device *mc_dev) in fsl_mc_is_allocatable()
34 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()
97 static int __must_check fsl_mc_resource_pool_remove_device(struct fsl_mc_device in fsl_mc_resource_pool_remove_device()
100 struct fsl_mc_device *mc_bus_dev; in fsl_mc_resource_pool_remove_device()
181 struct fsl_mc_device *mc_bus_dev = &mc_bus->mc_dev; in fsl_mc_resource_allocate()
268 int __must_check fsl_mc_object_allocate(struct fsl_mc_device *mc_dev, in fsl_mc_object_allocate()
270 struct fsl_mc_device **new_mc_adev) in fsl_mc_object_allocate()
272 struct fsl_mc_device *mc_bus_dev; in fsl_mc_object_allocate()
274 struct fsl_mc_device *mc_adev; in fsl_mc_object_allocate()
[all …]
Ddprc-driver.c25 static bool fsl_mc_device_match(struct fsl_mc_device *mc_dev, in fsl_mc_device_match()
37 struct fsl_mc_device *mc_dev; in __fsl_mc_device_remove_if_not_in_mc()
74 static void dprc_remove_devices(struct fsl_mc_device *mc_bus_dev, in dprc_remove_devices()
102 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in __fsl_mc_device_match()
107 static struct fsl_mc_device *fsl_mc_device_lookup(struct fsl_mc_obj_desc in fsl_mc_device_lookup()
109 struct fsl_mc_device in fsl_mc_device_lookup()
131 static void check_plugged_state_change(struct fsl_mc_device *mc_dev, in check_plugged_state_change()
167 static void dprc_add_new_devices(struct fsl_mc_device *mc_bus_dev, in dprc_add_new_devices()
175 struct fsl_mc_device *child_dev; in dprc_add_new_devices()
217 static int dprc_scan_objects(struct fsl_mc_device *mc_bus_dev, in dprc_scan_objects()
[all …]
Dmc-io.c13 struct fsl_mc_device *dpmcp_dev) in fsl_mc_io_set_dpmcp()
38 struct fsl_mc_device *dpmcp_dev = mc_io->dpmcp_dev; in fsl_mc_io_unset_dpmcp()
68 struct fsl_mc_device *dpmcp_dev, in fsl_create_mc_io()
132 struct fsl_mc_device *dpmcp_dev = mc_io->dpmcp_dev; in fsl_destroy_mc_io()
160 int __must_check fsl_mc_portal_allocate(struct fsl_mc_device *mc_dev, in fsl_mc_portal_allocate()
164 struct fsl_mc_device *mc_bus_dev; in fsl_mc_portal_allocate()
168 struct fsl_mc_device *dpmcp_dev; in fsl_mc_portal_allocate()
239 struct fsl_mc_device *dpmcp_dev; in fsl_mc_portal_free()
270 struct fsl_mc_device *dpmcp_dev = mc_io->dpmcp_dev; in fsl_mc_portal_reset()
Dfsl-mc-bus.c36 struct fsl_mc_device *root_mc_bus_dev;
82 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_bus_match()
120 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_bus_uevent()
143 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in modalias_show()
236 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_driver_probe()
254 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_driver_remove()
269 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_driver_shutdown()
413 static int translate_mc_addr(struct fsl_mc_device *mc_dev, in translate_mc_addr()
448 static int fsl_mc_device_get_mmio_regions(struct fsl_mc_device *mc_dev, in fsl_mc_device_get_mmio_regions()
449 struct fsl_mc_device *mc_bus_dev) in fsl_mc_device_get_mmio_regions()
[all …]
Dfsl-mc-private.h518 struct fsl_mc_device mc_dev;
531 struct fsl_mc_device **new_mc_dev);
533 void fsl_mc_device_remove(struct fsl_mc_device *mc_dev);
543 void fsl_mc_init_all_resource_pools(struct fsl_mc_device *mc_bus_dev);
545 void fsl_mc_cleanup_all_resource_pools(struct fsl_mc_device *mc_bus_dev);
570 struct fsl_mc_device *dpmcp_dev,
Dfsl-mc-msi.c24 static irq_hw_number_t fsl_mc_domain_calc_hwirq(struct fsl_mc_device *dev, in fsl_mc_domain_calc_hwirq()
59 static void __fsl_mc_msi_write_msg(struct fsl_mc_device *mc_bus_dev, in __fsl_mc_msi_write_msg()
63 struct fsl_mc_device *owner_mc_dev = mc_dev_irq->mc_dev; in __fsl_mc_msi_write_msg()
121 struct fsl_mc_device *mc_bus_dev = to_fsl_mc_device(msi_desc->dev); in fsl_mc_msi_write_msg()
/Linux-v5.4/drivers/soc/fsl/dpio/
Ddpio-driver.c56 static int dpaa2_dpio_get_cluster_sdest(struct fsl_mc_device *dpio_dev, int cpu) in dpaa2_dpio_get_cluster_sdest()
84 static void unregister_dpio_irq_handlers(struct fsl_mc_device *dpio_dev) in unregister_dpio_irq_handlers()
94 static int register_dpio_irq_handlers(struct fsl_mc_device *dpio_dev, int cpu) in register_dpio_irq_handlers()
125 static int dpaa2_dpio_probe(struct fsl_mc_device *dpio_dev) in dpaa2_dpio_probe()
270 static void dpio_teardown_irqs(struct fsl_mc_device *dpio_dev) in dpio_teardown_irqs()
276 static int dpaa2_dpio_remove(struct fsl_mc_device *dpio_dev) in dpaa2_dpio_remove()
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ptp.c20 struct fsl_mc_device *mc_dev; in dpaa2_ptp_enable()
79 struct fsl_mc_device *mc_dev; in dpaa2_ptp_irq_handler_thread()
109 static int dpaa2_ptp_probe(struct fsl_mc_device *mc_dev) in dpaa2_ptp_probe()
200 static int dpaa2_ptp_remove(struct fsl_mc_device *mc_dev) in dpaa2_ptp_remove()
Ddpaa2-eth.h330 struct fsl_mc_device *dpcon;
375 struct fsl_mc_device *dpbp_dev;
Ddpaa2-eth.c2045 static struct fsl_mc_device *setup_dpcon(struct dpaa2_eth_priv *priv) in setup_dpcon()
2047 struct fsl_mc_device *dpcon; in setup_dpcon()
2097 struct fsl_mc_device *dpcon) in free_dpcon()
2354 struct fsl_mc_device *dpbp_dev; in setup_dpbp()
2589 static int setup_dpni(struct fsl_mc_device *ls_dev) in setup_dpni()
3347 struct fsl_mc_device *dpni_dev = to_fsl_mc_device(dev); in dpni_irq0_handler_thread()
3367 static int setup_irqs(struct fsl_mc_device *ls_dev) in setup_irqs()
3437 static int dpaa2_eth_probe(struct fsl_mc_device *dpni_dev) in dpaa2_eth_probe()
3581 static int dpaa2_eth_remove(struct fsl_mc_device *ls_dev) in dpaa2_eth_remove()
/Linux-v5.4/drivers/irqchip/
Dirq-gic-v3-its-fsl-mc-msi.c30 struct fsl_mc_device *mc_bus_dev; in its_fsl_mc_msi_prepare()
/Linux-v5.4/drivers/staging/fsl-dpaa2/ethsw/
Dethsw.c736 static int ethsw_setup_irqs(struct fsl_mc_device *sw_dev) in ethsw_setup_irqs()
797 static void ethsw_teardown_irqs(struct fsl_mc_device *sw_dev) in ethsw_teardown_irqs()
1360 static int ethsw_init(struct fsl_mc_device *sw_dev) in ethsw_init()
1514 static void ethsw_takedown(struct fsl_mc_device *sw_dev) in ethsw_takedown()
1527 static int ethsw_remove(struct fsl_mc_device *sw_dev) in ethsw_remove()
1611 static int ethsw_probe(struct fsl_mc_device *sw_dev) in ethsw_probe()
/Linux-v5.4/drivers/iommu/
Dof_iommu.c134 static int of_fsl_mc_iommu_init(struct fsl_mc_device *mc_dev, in of_fsl_mc_iommu_init()
/Linux-v5.4/drivers/crypto/caam/
Dcaamalg_qi2.c4718 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_bind()
4767 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_free()
4936 static int __cold dpaa2_dpseci_setup(struct fsl_mc_device *ls_dev) in dpaa2_dpseci_setup()
5053 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_enable()
5069 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_disable()
5097 static int dpaa2_caam_probe(struct fsl_mc_device *dpseci_dev) in dpaa2_caam_probe()
5344 static int __cold dpaa2_caam_remove(struct fsl_mc_device *ls_dev) in dpaa2_caam_remove()