Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/include/linux/fsl/
Dmc.h22 struct fsl_mc_device;
42 int (*probe)(struct fsl_mc_device *dev);
43 int (*remove)(struct fsl_mc_device *dev);
44 void (*shutdown)(struct fsl_mc_device *dev);
45 int (*suspend)(struct fsl_mc_device *dev, pm_message_t state);
46 int (*resume)(struct fsl_mc_device *dev);
100 struct fsl_mc_device *mc_dev;
194 struct fsl_mc_device { struct
210 container_of(_dev, struct fsl_mc_device, dev) argument
340 struct fsl_mc_device *dpmcp_dev;
[all …]
/kernel/linux/linux-5.10/drivers/bus/fsl-mc/
Ddprc-driver.c26 static bool fsl_mc_device_match(struct fsl_mc_device *mc_dev, in fsl_mc_device_match()
47 struct fsl_mc_device *mc_dev; in __fsl_mc_device_remove_if_not_in_mc()
84 void dprc_remove_devices(struct fsl_mc_device *mc_bus_dev, in dprc_remove_devices()
113 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in __fsl_mc_device_match()
118 struct fsl_mc_device *fsl_mc_device_lookup(struct fsl_mc_obj_desc *obj_desc, in fsl_mc_device_lookup()
119 struct fsl_mc_device *mc_bus_dev) in fsl_mc_device_lookup()
140 static void check_plugged_state_change(struct fsl_mc_device *mc_dev, in check_plugged_state_change()
164 static void fsl_mc_obj_device_add(struct fsl_mc_device *mc_bus_dev, in fsl_mc_obj_device_add()
168 struct fsl_mc_device *child_dev; in fsl_mc_obj_device_add()
197 static void dprc_add_new_devices(struct fsl_mc_device *mc_bus_dev, in dprc_add_new_devices()
[all …]
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 …]
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; in fsl_destroy_mc_io()
165 int __must_check fsl_mc_portal_allocate(struct fsl_mc_device *mc_dev, in fsl_mc_portal_allocate()
169 struct fsl_mc_device *mc_bus_dev; in fsl_mc_portal_allocate()
173 struct fsl_mc_device *dpmcp_dev; in fsl_mc_portal_allocate()
244 struct fsl_mc_device *dpmcp_dev; in fsl_mc_portal_free()
275 struct fsl_mc_device *dpmcp_dev = mc_io->dpmcp_dev; in fsl_mc_portal_reset()
Dfsl-mc-bus.c41 struct fsl_mc_device *root_mc_bus_dev;
80 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_bus_match()
124 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_bus_uevent()
137 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_dma_configure()
152 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in modalias_show()
163 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in driver_override_store()
196 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in driver_override_show()
329 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_driver_probe()
347 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_driver_remove()
362 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_driver_shutdown()
[all …]
Dfsl-mc-private.h555 struct fsl_mc_device mc_dev;
568 struct fsl_mc_device **new_mc_dev);
570 void fsl_mc_device_remove(struct fsl_mc_device *mc_dev);
580 void fsl_mc_init_all_resource_pools(struct fsl_mc_device *mc_bus_dev);
582 void fsl_mc_cleanup_all_resource_pools(struct fsl_mc_device *mc_bus_dev);
601 struct fsl_mc_device *dpmcp_dev,
611 struct fsl_mc_device *fsl_mc_device_lookup(struct fsl_mc_obj_desc *obj_desc,
612 struct fsl_mc_device *mc_bus_dev);
Dfsl-mc-msi.c25 static irq_hw_number_t fsl_mc_domain_calc_hwirq(struct fsl_mc_device *dev, in fsl_mc_domain_calc_hwirq()
60 static void __fsl_mc_msi_write_msg(struct fsl_mc_device *mc_bus_dev, in __fsl_mc_msi_write_msg()
64 struct fsl_mc_device *owner_mc_dev = mc_dev_irq->mc_dev; in __fsl_mc_msi_write_msg()
122 struct fsl_mc_device *mc_bus_dev = to_fsl_mc_device(msi_desc->dev); in fsl_mc_msi_write_msg()
186 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_find_msi_domain()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0014_linux_drivers_bus.patch42 @@ -237,8 +237,8 @@ static void dprc_add_new_devices(struct fsl_mc_device *mc_bus_dev,
46 -static int dprc_scan_objects(struct fsl_mc_device *mc_bus_dev,
48 +int dprc_scan_objects(struct fsl_mc_device *mc_bus_dev,
53 @@ -373,6 +373,34 @@ int dprc_scan_container(struct fsl_mc_device *mc_bus_dev,
62 + struct fsl_mc_device *root_mc_dev;
92 -static int disable_dprc_irq(struct fsl_mc_device *mc_dev)
93 +int disable_dprc_irq(struct fsl_mc_device *mc_dev)
99 @@ -496,9 +525,18 @@ static int disable_dprc_irq(struct fsl_mc_device *mc_dev)
108 +int get_dprc_irq_state(struct fsl_mc_device *mc_dev)
115 static int register_dprc_irq_handler(struct fsl_mc_device *mc_dev)
[all …]
D0033_linux_drivers_soc_scsi_spi_tee_thermal.patch117 @@ -197,13 +202,11 @@ static int dpaa2_dpio_probe(struct fsl_mc_device *dpio_dev)
135 @@ -211,7 +214,7 @@ static int dpaa2_dpio_probe(struct fsl_mc_device *dpio_dev)
D0036_linux_drivers_staging.patch2325 + struct fsl_mc_device *evb_dev = to_fsl_mc_device(dev);
2363 +static int evb_setup_irqs(struct fsl_mc_device *evb_dev)
2426 +static void evb_teardown_irqs(struct fsl_mc_device *evb_dev)
3250 +static int evb_takedown(struct fsl_mc_device *evb_dev)
3264 +static int evb_init(struct fsl_mc_device *evb_dev)
3326 +static int evb_remove(struct fsl_mc_device *evb_dev)
3358 +static int evb_probe(struct fsl_mc_device *evb_dev)
/kernel/linux/linux-5.10/drivers/vfio/fsl-mc/
Dvfio_fsl_mc.c96 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_regions_init()
130 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_regions_cleanup()
172 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_release()
174 struct fsl_mc_device *mc_cont = to_fsl_mc_device(cont_dev); in vfio_fsl_mc_release()
205 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_ioctl()
312 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_ioctl()
336 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_read()
413 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_write()
474 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_mmap()
522 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in vfio_fsl_mc_bus_notifier()
[all …]
Dvfio_fsl_mc_intr.c18 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_irqs_allocate()
111 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_set_irq_trigger()
115 struct fsl_mc_device *mc_cont = to_fsl_mc_device(cont_dev); in vfio_fsl_mc_set_irq_trigger()
177 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_irqs_cleanup()
Dvfio_fsl_mc_private.h39 struct fsl_mc_device *mc_dev;
/kernel/linux/linux-5.10/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()
122 static int dpaa2_dpio_probe(struct fsl_mc_device *dpio_dev) in dpaa2_dpio_probe()
267 static void dpio_teardown_irqs(struct fsl_mc_device *dpio_dev) in dpio_teardown_irqs()
273 static int dpaa2_dpio_remove(struct fsl_mc_device *dpio_dev) in dpaa2_dpio_remove()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-mac.h16 struct fsl_mc_device *mc_dev;
28 bool dpaa2_mac_is_type_fixed(struct fsl_mc_device *dpmac_dev,
Ddpaa2-ptp.c20 struct fsl_mc_device *mc_dev; in dpaa2_ptp_enable()
93 struct fsl_mc_device *mc_dev; in dpaa2_ptp_irq_handler_thread()
129 static int dpaa2_ptp_probe(struct fsl_mc_device *mc_dev) in dpaa2_ptp_probe()
225 static int dpaa2_ptp_remove(struct fsl_mc_device *mc_dev) in dpaa2_ptp_remove()
Ddpaa2-mac.c231 bool dpaa2_mac_is_type_fixed(struct fsl_mc_device *dpmac_dev, in dpaa2_mac_is_type_fixed()
305 struct fsl_mc_device *dpmac_dev = mac->mc_dev; in dpaa2_mac_connect()
460 struct fsl_mc_device *dpmac_dev = mac->mc_dev; in dpaa2_mac_get_ethtool_stats()
Ddpaa2-eth.h448 struct fsl_mc_device *dpcon;
511 struct fsl_mc_device *dpbp_dev;
Ddpaa2-eth.c2535 static struct fsl_mc_device *dpaa2_eth_setup_dpcon(struct dpaa2_eth_priv *priv) in dpaa2_eth_setup_dpcon()
2537 struct fsl_mc_device *dpcon; in dpaa2_eth_setup_dpcon()
2580 struct fsl_mc_device *dpcon) in dpaa2_eth_free_dpcon()
2844 struct fsl_mc_device *dpbp_dev; in dpaa2_eth_setup_dpbp()
3218 static int dpaa2_eth_setup_dpni(struct fsl_mc_device *ls_dev) in dpaa2_eth_setup_dpni()
4049 struct fsl_mc_device *dpni_dev, *dpmac_dev; in dpaa2_eth_connect_mac()
4094 struct fsl_mc_device *dpni_dev = to_fsl_mc_device(dev); in dpni_irq0_handler_thread()
4124 static int dpaa2_eth_setup_irqs(struct fsl_mc_device *ls_dev) in dpaa2_eth_setup_irqs()
4194 static int dpaa2_eth_probe(struct fsl_mc_device *dpni_dev) in dpaa2_eth_probe()
4395 static int dpaa2_eth_remove(struct fsl_mc_device *ls_dev) in dpaa2_eth_remove()
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-gic-v3-its-fsl-mc-msi.c29 struct fsl_mc_device *mc_dev) in fsl_mc_msi_domain_get_msi_id()
45 struct fsl_mc_device *mc_bus_dev; in its_fsl_mc_msi_prepare()
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/
Dmac-phy-support.rst145 (2) The dpni_enable() MC API called on the associated fsl_mc_device.
147 (4) The dpni_enable() MC API called on the associated fsl_mc_device.
187 - bool dpaa2_mac_is_type_fixed(struct fsl_mc_device *dpmac_dev,struct fsl_mc_io *mc_io);
191 to be used and the actual fsl_mc_device structure of the DPMAC.
/kernel/linux/linux-5.10/drivers/dma/fsl-dpaa2-qdma/
Ddpaa2-qdma.c304 static int __cold dpaa2_qdma_setup(struct fsl_mc_device *ls_dev) in dpaa2_qdma_setup()
529 struct fsl_mc_device *ls_dev; in dpaa2_dpdmai_bind()
561 struct fsl_mc_device *ls_dev; in dpaa2_dpdmai_dpio_unbind()
655 static int dpaa2_qdma_probe(struct fsl_mc_device *dpdmai_dev) in dpaa2_qdma_probe()
770 static int dpaa2_qdma_remove(struct fsl_mc_device *ls_dev) in dpaa2_qdma_remove()
796 static void dpaa2_qdma_shutdown(struct fsl_mc_device *ls_dev) in dpaa2_qdma_shutdown()
Ddpaa2-qdma.h119 struct fsl_mc_device *dpdmai_dev;
/kernel/linux/linux-5.10/drivers/staging/fsl-dpaa2/ethsw/
Dethsw.c828 static int dpaa2_switch_setup_irqs(struct fsl_mc_device *sw_dev) in dpaa2_switch_setup_irqs()
889 static void dpaa2_switch_teardown_irqs(struct fsl_mc_device *sw_dev) in dpaa2_switch_teardown_irqs()
1481 static int dpaa2_switch_init(struct fsl_mc_device *sw_dev) in dpaa2_switch_init()
1640 static void dpaa2_switch_takedown(struct fsl_mc_device *sw_dev) in dpaa2_switch_takedown()
1653 static int dpaa2_switch_remove(struct fsl_mc_device *sw_dev) in dpaa2_switch_remove()
1743 static int dpaa2_switch_probe(struct fsl_mc_device *sw_dev) in dpaa2_switch_probe()
/kernel/linux/linux-5.10/drivers/crypto/caam/
Dcaamalg_qi2.c4750 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_bind()
4799 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_free()
4975 static int __cold dpaa2_dpseci_setup(struct fsl_mc_device *ls_dev) in dpaa2_dpseci_setup()
5100 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_enable()
5116 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_disable()
5144 static int dpaa2_caam_probe(struct fsl_mc_device *dpseci_dev) in dpaa2_caam_probe()
5390 static int __cold dpaa2_caam_remove(struct fsl_mc_device *ls_dev) in dpaa2_caam_remove()

12