Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/fsl/
H A Dmc.h23 struct fsl_mc_device;
50 int (*probe)(struct fsl_mc_device *dev);
51 void (*remove)(struct fsl_mc_device *dev);
52 void (*shutdown)(struct fsl_mc_device *dev);
54 int (*resume)(struct fsl_mc_device *dev);
109 struct fsl_mc_device *mc_dev;
205 struct fsl_mc_device { struct
221 container_of(_dev, struct fsl_mc_device, dev) argument
344 struct fsl_mc_device *dpmcp_dev;
424 struct fsl_mc_device **new_mc_adev);
[all …]
/openbmc/linux/drivers/bus/fsl-mc/
H A Ddprc-driver.c25 static bool fsl_mc_device_match(struct fsl_mc_device *mc_dev, in fsl_mc_device_match()
46 struct fsl_mc_device *mc_dev; in __fsl_mc_device_remove_if_not_in_mc()
118 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in __fsl_mc_device_match()
124 struct fsl_mc_device *mc_bus_dev) in fsl_mc_device_lookup()
173 struct fsl_mc_device *child_dev; in fsl_mc_obj_device_add()
468 int disable_dprc_irq(struct fsl_mc_device *mc_dev) in disable_dprc_irq()
512 int get_dprc_irq_state(struct fsl_mc_device *mc_dev) in get_dprc_irq_state()
545 int enable_dprc_irq(struct fsl_mc_device *mc_dev) in enable_dprc_irq()
619 int dprc_setup(struct fsl_mc_device *mc_dev) in dprc_setup()
738 static int dprc_probe(struct fsl_mc_device *mc_dev) in dprc_probe()
[all …]
H 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()
187 struct fsl_mc_device *mc_bus_dev = &mc_bus->mc_dev; in fsl_mc_resource_allocate()
276 struct fsl_mc_device **new_mc_adev) in fsl_mc_object_allocate()
278 struct fsl_mc_device *mc_bus_dev; in fsl_mc_object_allocate()
280 struct fsl_mc_device *mc_adev; in fsl_mc_object_allocate()
329 void fsl_mc_object_free(struct fsl_mc_device *mc_adev) in fsl_mc_object_free()
355 int fsl_mc_populate_irq_pool(struct fsl_mc_device *mc_bus_dev, in fsl_mc_populate_irq_pool()
511 void fsl_mc_free_irqs(struct fsl_mc_device *mc_dev) in fsl_mc_free_irqs()
[all …]
H 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()
H A Dfsl-mc-bus.c43 struct fsl_mc_device *root_mc_bus_dev;
219 struct fsl_mc_device *root_mc_dev; in scan_fsl_mc_bus()
252 struct fsl_mc_device *root_mc_dev; in fsl_mc_bus_set_autorescan()
275 struct fsl_mc_device *root_mc_dev; in fsl_mc_bus_get_autorescan()
661 struct fsl_mc_device *mc_bus_dev) in fsl_mc_device_get_mmio_regions()
784 struct fsl_mc_device **new_mc_dev) in fsl_mc_device_add()
787 struct fsl_mc_device *mc_dev = NULL; in fsl_mc_device_add()
789 struct fsl_mc_device *parent_mc_dev; in fsl_mc_device_add()
936 struct fsl_mc_device *fsl_mc_get_endpoint(struct fsl_mc_device *mc_dev, in fsl_mc_get_endpoint()
939 struct fsl_mc_device *mc_bus_dev, *endpoint; in fsl_mc_get_endpoint()
[all …]
H 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 …]
H A Dfsl-mc-msi.c23 static irq_hw_number_t fsl_mc_domain_calc_hwirq(struct fsl_mc_device *dev, in fsl_mc_domain_calc_hwirq()
58 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()
120 struct fsl_mc_device *mc_bus_dev = to_fsl_mc_device(msi_desc->dev); in fsl_mc_msi_write_msg()
185 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_find_msi_domain()
H 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()
/openbmc/linux/drivers/vfio/fsl-mc/
H 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()
428 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in vfio_fsl_mc_bus_notifier()
455 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_init_device()
[all …]
H A Dvfio_fsl_mc_intr.c17 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_irqs_allocate()
110 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_set_irq_trigger()
114 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()
H A Dvfio_fsl_mc_private.h35 struct fsl_mc_device *mc_dev;
/openbmc/linux/drivers/soc/fsl/dpio/
H A Ddpio-driver.c55 static int dpaa2_dpio_get_cluster_sdest(struct fsl_mc_device *dpio_dev, int cpu) in dpaa2_dpio_get_cluster_sdest()
83 static void unregister_dpio_irq_handlers(struct fsl_mc_device *dpio_dev) in unregister_dpio_irq_handlers()
93 static int register_dpio_irq_handlers(struct fsl_mc_device *dpio_dev, int cpu) in register_dpio_irq_handlers()
121 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 void dpaa2_dpio_remove(struct fsl_mc_device *dpio_dev) in dpaa2_dpio_remove()
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ptp.c19 struct fsl_mc_device *mc_dev; in dpaa2_ptp_enable()
92 struct fsl_mc_device *mc_dev; in dpaa2_ptp_irq_handler_thread()
128 static int dpaa2_ptp_probe(struct fsl_mc_device *mc_dev) in dpaa2_ptp_probe()
222 static void dpaa2_ptp_remove(struct fsl_mc_device *mc_dev) in dpaa2_ptp_remove()
H A Ddpaa2-mac.h15 struct fsl_mc_device *mc_dev;
H A Ddpaa2-mac.c468 struct fsl_mc_device *dpmac_dev = mac->mc_dev; in dpaa2_mac_open()
516 struct fsl_mc_device *dpmac_dev = mac->mc_dev; in dpaa2_mac_close()
574 struct fsl_mc_device *dpmac_dev = mac->mc_dev; in dpaa2_mac_get_ethtool_stats()
H A Ddpaa2-switch.h185 struct fsl_mc_device *dpbp_dev;
H A Ddpaa2-eth-debugfs.c169 struct fsl_mc_device *dpni_dev; in dpaa2_dbg_add()
H A Ddpaa2-eth.h482 struct fsl_mc_device *dev;
488 struct fsl_mc_device *dpcon;
H A Ddpaa2-switch.c1440 struct fsl_mc_device *dpsw_port_dev, *dpmac_dev; in dpaa2_switch_port_connect_mac()
1552 static int dpaa2_switch_setup_irqs(struct fsl_mc_device *sw_dev) in dpaa2_switch_setup_irqs()
1612 static void dpaa2_switch_teardown_irqs(struct fsl_mc_device *sw_dev) in dpaa2_switch_teardown_irqs()
2641 struct fsl_mc_device *dpbp_dev; in dpaa2_switch_setup_dpbp()
2956 static int dpaa2_switch_init(struct fsl_mc_device *sw_dev) in dpaa2_switch_init()
3202 static void dpaa2_switch_teardown(struct fsl_mc_device *sw_dev) in dpaa2_switch_teardown()
3217 static void dpaa2_switch_remove(struct fsl_mc_device *sw_dev) in dpaa2_switch_remove()
3324 static int dpaa2_switch_probe(struct fsl_mc_device *sw_dev) in dpaa2_switch_probe()
H A Ddpaa2-eth.c3053 static struct fsl_mc_device *dpaa2_eth_setup_dpcon(struct dpaa2_eth_priv *priv) in dpaa2_eth_setup_dpcon()
3055 struct fsl_mc_device *dpcon; in dpaa2_eth_setup_dpcon()
3100 struct fsl_mc_device *dpcon) in dpaa2_eth_free_dpcon()
3366 struct fsl_mc_device *dpbp_dev; in dpaa2_eth_allocate_dpbp()
3788 static int dpaa2_eth_setup_dpni(struct fsl_mc_device *ls_dev) in dpaa2_eth_setup_dpni()
4632 struct fsl_mc_device *dpni_dev, *dpmac_dev; in dpaa2_eth_connect_mac()
4709 struct fsl_mc_device *dpni_dev = to_fsl_mc_device(dev); in dpni_irq0_handler_thread()
4743 static int dpaa2_eth_setup_irqs(struct fsl_mc_device *ls_dev) in dpaa2_eth_setup_irqs()
4812 static int dpaa2_eth_probe(struct fsl_mc_device *dpni_dev) in dpaa2_eth_probe()
5032 static void dpaa2_eth_remove(struct fsl_mc_device *ls_dev) in dpaa2_eth_remove()
/openbmc/linux/drivers/irqchip/
H A Dirq-gic-v3-its-fsl-mc-msi.c27 struct fsl_mc_device *mc_dev) in fsl_mc_msi_domain_get_msi_id()
43 struct fsl_mc_device *mc_bus_dev; in its_fsl_mc_msi_prepare()
/openbmc/linux/drivers/dma/fsl-dpaa2-qdma/
H A Ddpaa2-qdma.c305 static int __cold dpaa2_qdma_setup(struct fsl_mc_device *ls_dev) in dpaa2_qdma_setup()
530 struct fsl_mc_device *ls_dev; in dpaa2_dpdmai_bind()
562 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 void 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()
H A Ddpaa2-qdma.h119 struct fsl_mc_device *dpdmai_dev;
/openbmc/linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/
H 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.
194 to be used and the actual fsl_mc_device structure of the DPMAC.
/openbmc/linux/drivers/crypto/caam/
H A Dcaamalg_qi2.c4763 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_bind()
4812 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_free()
4990 static int __cold dpaa2_dpseci_setup(struct fsl_mc_device *ls_dev) in dpaa2_dpseci_setup()
5116 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_enable()
5132 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_disable()
5160 static int dpaa2_caam_probe(struct fsl_mc_device *dpseci_dev) in dpaa2_caam_probe()
5406 static void __cold dpaa2_caam_remove(struct fsl_mc_device *ls_dev) in dpaa2_caam_remove()