Home
last modified time | relevance | path

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

/linux/include/linux/fsl/
A Dmc.h23 struct fsl_mc_device;
43 int (*probe)(struct fsl_mc_device *dev);
44 int (*remove)(struct fsl_mc_device *dev);
45 void (*shutdown)(struct fsl_mc_device *dev);
47 int (*resume)(struct fsl_mc_device *dev);
101 struct fsl_mc_device *mc_dev;
195 struct fsl_mc_device { struct
211 container_of(_dev, struct fsl_mc_device, dev) argument
334 struct fsl_mc_device *dpmcp_dev;
414 struct fsl_mc_device **new_mc_adev);
[all …]
/linux/drivers/bus/fsl-mc/
A Ddprc-driver.c47 struct fsl_mc_device *mc_dev; in __fsl_mc_device_remove_if_not_in_mc()
113 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in __fsl_mc_device_match()
119 struct fsl_mc_device *mc_bus_dev) in fsl_mc_device_lookup()
168 struct fsl_mc_device *child_dev; in fsl_mc_obj_device_add()
463 int disable_dprc_irq(struct fsl_mc_device *mc_dev) in disable_dprc_irq()
507 int get_dprc_irq_state(struct fsl_mc_device *mc_dev) in get_dprc_irq_state()
540 int enable_dprc_irq(struct fsl_mc_device *mc_dev) in enable_dprc_irq()
614 int dprc_setup(struct fsl_mc_device *mc_dev) in dprc_setup()
733 static int dprc_probe(struct fsl_mc_device *mc_dev) in dprc_probe()
788 int dprc_cleanup(struct fsl_mc_device *mc_dev) in dprc_cleanup()
[all …]
A Dfsl-mc-allocator.c34 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()
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()
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()
323 void fsl_mc_object_free(struct fsl_mc_device *mc_adev) in fsl_mc_object_free()
349 int fsl_mc_populate_irq_pool(struct fsl_mc_device *mc_bus_dev, in fsl_mc_populate_irq_pool()
510 void fsl_mc_free_irqs(struct fsl_mc_device *mc_dev) in fsl_mc_free_irqs()
[all …]
A 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()
A Dfsl-mc-bus.c42 struct fsl_mc_device *root_mc_bus_dev;
217 struct fsl_mc_device *root_mc_dev; in scan_fsl_mc_bus()
250 struct fsl_mc_device *root_mc_dev; in fsl_mc_bus_set_autorescan()
273 struct fsl_mc_device *root_mc_dev; in fsl_mc_bus_get_autorescan()
663 struct fsl_mc_device *mc_bus_dev) in fsl_mc_device_get_mmio_regions()
786 struct fsl_mc_device **new_mc_dev) in fsl_mc_device_add()
789 struct fsl_mc_device *mc_dev = NULL; in fsl_mc_device_add()
791 struct fsl_mc_device *parent_mc_dev; in fsl_mc_device_add()
938 struct fsl_mc_device *fsl_mc_get_endpoint(struct fsl_mc_device *mc_dev, in fsl_mc_get_endpoint()
941 struct fsl_mc_device *mc_bus_dev, *endpoint; in fsl_mc_get_endpoint()
[all …]
A Dfsl-mc-private.h606 struct fsl_mc_device mc_dev;
621 struct fsl_mc_device **new_mc_dev);
623 void fsl_mc_device_remove(struct fsl_mc_device *mc_dev);
629 int dprc_scan_objects(struct fsl_mc_device *mc_bus_dev,
636 void fsl_mc_init_all_resource_pools(struct fsl_mc_device *mc_bus_dev);
638 void fsl_mc_cleanup_all_resource_pools(struct fsl_mc_device *mc_bus_dev);
657 struct fsl_mc_device *dpmcp_dev,
668 struct fsl_mc_device *mc_bus_dev);
691 int disable_dprc_irq(struct fsl_mc_device *mc_dev);
692 int enable_dprc_irq(struct fsl_mc_device *mc_dev);
[all …]
A 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()
A Dfsl-mc-uapi.c374 static int fsl_mc_command_check(struct fsl_mc_device *mc_dev, in fsl_mc_command_check()
445 static int fsl_mc_uapi_send_command(struct fsl_mc_device *mc_dev, unsigned long arg, in fsl_mc_uapi_send_command()
472 struct fsl_mc_device *root_mc_device; in fsl_mc_uapi_dev_open()
547 struct fsl_mc_device *root_mc_device; in fsl_mc_uapi_dev_ioctl()
575 struct fsl_mc_device *mc_dev = &mc_bus->mc_dev; in fsl_mc_uapi_create_device_file()
/linux/drivers/vfio/fsl-mc/
A Dvfio_fsl_mc.c26 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_open_device()
60 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_regions_cleanup()
70 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_reset_device()
101 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_close_device()
126 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_ioctl()
247 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_read()
326 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_write()
389 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_mmap()
437 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in vfio_fsl_mc_bus_notifier()
464 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_init_device()
[all …]
A 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()
A Dvfio_fsl_mc_private.h35 struct fsl_mc_device *mc_dev;
/linux/drivers/soc/fsl/dpio/
A 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()
268 static void dpio_teardown_irqs(struct fsl_mc_device *dpio_dev) in dpio_teardown_irqs()
274 static int dpaa2_dpio_remove(struct fsl_mc_device *dpio_dev) in dpaa2_dpio_remove()
/linux/drivers/net/ethernet/freescale/dpaa2/
A 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()
223 static int dpaa2_ptp_remove(struct fsl_mc_device *mc_dev) in dpaa2_ptp_remove()
A Ddpaa2-mac.h16 struct fsl_mc_device *mc_dev;
30 bool dpaa2_mac_is_type_fixed(struct fsl_mc_device *dpmac_dev,
A Ddpaa2-mac.c382 struct fsl_mc_device *dpmac_dev = mac->mc_dev; in dpaa2_mac_open()
415 struct fsl_mc_device *dpmac_dev = mac->mc_dev; in dpaa2_mac_close()
473 struct fsl_mc_device *dpmac_dev = mac->mc_dev; in dpaa2_mac_get_ethtool_stats()
A Ddpaa2-eth.h450 struct fsl_mc_device *dpcon;
519 struct fsl_mc_device *dpbp_dev;
A Ddpaa2-eth-debugfs.c124 struct fsl_mc_device *dpni_dev; in dpaa2_dbg_add()
A Ddpaa2-switch.h183 struct fsl_mc_device *dpbp_dev;
A Ddpaa2-switch.c1428 struct fsl_mc_device *dpsw_port_dev, *dpmac_dev; in dpaa2_switch_port_connect_mac()
1528 static int dpaa2_switch_setup_irqs(struct fsl_mc_device *sw_dev) in dpaa2_switch_setup_irqs()
1589 static void dpaa2_switch_teardown_irqs(struct fsl_mc_device *sw_dev) in dpaa2_switch_teardown_irqs()
2623 struct fsl_mc_device *dpbp_dev; in dpaa2_switch_setup_dpbp()
2940 static int dpaa2_switch_init(struct fsl_mc_device *sw_dev) in dpaa2_switch_init()
3186 static void dpaa2_switch_teardown(struct fsl_mc_device *sw_dev) in dpaa2_switch_teardown()
3201 static int dpaa2_switch_remove(struct fsl_mc_device *sw_dev) in dpaa2_switch_remove()
3308 static int dpaa2_switch_probe(struct fsl_mc_device *sw_dev) in dpaa2_switch_probe()
A Ddpaa2-eth.c2628 static struct fsl_mc_device *dpaa2_eth_setup_dpcon(struct dpaa2_eth_priv *priv) in dpaa2_eth_setup_dpcon()
2630 struct fsl_mc_device *dpcon; in dpaa2_eth_setup_dpcon()
2673 struct fsl_mc_device *dpcon) in dpaa2_eth_free_dpcon()
2937 struct fsl_mc_device *dpbp_dev; in dpaa2_eth_setup_dpbp()
3311 static int dpaa2_eth_setup_dpni(struct fsl_mc_device *ls_dev) in dpaa2_eth_setup_dpni()
4145 struct fsl_mc_device *dpni_dev, *dpmac_dev; in dpaa2_eth_connect_mac()
4207 struct fsl_mc_device *dpni_dev = to_fsl_mc_device(dev); in dpni_irq0_handler_thread()
4237 static int dpaa2_eth_setup_irqs(struct fsl_mc_device *ls_dev) in dpaa2_eth_setup_irqs()
4307 static int dpaa2_eth_probe(struct fsl_mc_device *dpni_dev) in dpaa2_eth_probe()
4511 static int dpaa2_eth_remove(struct fsl_mc_device *ls_dev) in dpaa2_eth_remove()
/linux/drivers/irqchip/
A 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()
/linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/
A 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.
/linux/drivers/dma/fsl-dpaa2-qdma/
A Ddpaa2-qdma.c303 static int __cold dpaa2_qdma_setup(struct fsl_mc_device *ls_dev) in dpaa2_qdma_setup()
528 struct fsl_mc_device *ls_dev; in dpaa2_dpdmai_bind()
560 struct fsl_mc_device *ls_dev; in dpaa2_dpdmai_dpio_unbind()
653 static int dpaa2_qdma_probe(struct fsl_mc_device *dpdmai_dev) in dpaa2_qdma_probe()
768 static int dpaa2_qdma_remove(struct fsl_mc_device *ls_dev) in dpaa2_qdma_remove()
794 static void dpaa2_qdma_shutdown(struct fsl_mc_device *ls_dev) in dpaa2_qdma_shutdown()
A Ddpaa2-qdma.h119 struct fsl_mc_device *dpdmai_dev;
/linux/drivers/crypto/caam/
A Dcaamalg_qi2.c4753 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_bind()
4802 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_free()
4978 static int __cold dpaa2_dpseci_setup(struct fsl_mc_device *ls_dev) in dpaa2_dpseci_setup()
5103 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_enable()
5119 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_disable()
5147 static int dpaa2_caam_probe(struct fsl_mc_device *dpseci_dev) in dpaa2_caam_probe()
5393 static int __cold dpaa2_caam_remove(struct fsl_mc_device *ls_dev) in dpaa2_caam_remove()

Completed in 57 milliseconds