/linux-6.3-rc2/include/linux/fsl/ |
A D | mc.h | 23 struct fsl_mc_device; 50 int (*probe)(struct fsl_mc_device *dev); 51 int (*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 …]
|
/linux-6.3-rc2/drivers/bus/fsl-mc/ |
A D | dprc-driver.c | 25 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() 112 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in __fsl_mc_device_match() 118 struct fsl_mc_device *mc_bus_dev) in fsl_mc_device_lookup() 167 struct fsl_mc_device *child_dev; in fsl_mc_obj_device_add() 462 int disable_dprc_irq(struct fsl_mc_device *mc_dev) in disable_dprc_irq() 506 int get_dprc_irq_state(struct fsl_mc_device *mc_dev) in get_dprc_irq_state() 539 int enable_dprc_irq(struct fsl_mc_device *mc_dev) in enable_dprc_irq() 613 int dprc_setup(struct fsl_mc_device *mc_dev) in dprc_setup() 732 static int dprc_probe(struct fsl_mc_device *mc_dev) in dprc_probe() [all …]
|
A D | fsl-mc-allocator.c | 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() 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() 505 void fsl_mc_free_irqs(struct fsl_mc_device *mc_dev) in fsl_mc_free_irqs() [all …]
|
A D | mc-io.c | 13 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 D | fsl-mc-bus.c | 42 struct fsl_mc_device *root_mc_bus_dev; 218 struct fsl_mc_device *root_mc_dev; in scan_fsl_mc_bus() 251 struct fsl_mc_device *root_mc_dev; in fsl_mc_bus_set_autorescan() 274 struct fsl_mc_device *root_mc_dev; in fsl_mc_bus_get_autorescan() 665 struct fsl_mc_device *mc_bus_dev) in fsl_mc_device_get_mmio_regions() 788 struct fsl_mc_device **new_mc_dev) in fsl_mc_device_add() 791 struct fsl_mc_device *mc_dev = NULL; in fsl_mc_device_add() 793 struct fsl_mc_device *parent_mc_dev; in fsl_mc_device_add() 940 struct fsl_mc_device *fsl_mc_get_endpoint(struct fsl_mc_device *mc_dev, in fsl_mc_get_endpoint() 943 struct fsl_mc_device *mc_bus_dev, *endpoint; in fsl_mc_get_endpoint() [all …]
|
A D | fsl-mc-private.h | 606 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 D | fsl-mc-msi.c | 25 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() 65 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() 187 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_find_msi_domain()
|
A D | fsl-mc-uapi.c | 374 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-6.3-rc2/drivers/vfio/fsl-mc/ |
A D | vfio_fsl_mc.c | 26 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 …]
|
A D | vfio_fsl_mc_intr.c | 17 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() 176 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_irqs_cleanup()
|
A D | vfio_fsl_mc_private.h | 35 struct fsl_mc_device *mc_dev;
|
/linux-6.3-rc2/drivers/soc/fsl/dpio/ |
A D | dpio-driver.c | 55 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 int dpaa2_dpio_remove(struct fsl_mc_device *dpio_dev) in dpaa2_dpio_remove()
|
/linux-6.3-rc2/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-ptp.c | 19 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 int dpaa2_ptp_remove(struct fsl_mc_device *mc_dev) in dpaa2_ptp_remove()
|
A D | dpaa2-mac.h | 15 struct fsl_mc_device *mc_dev;
|
A D | dpaa2-mac.c | 465 struct fsl_mc_device *dpmac_dev = mac->mc_dev; in dpaa2_mac_open() 513 struct fsl_mc_device *dpmac_dev = mac->mc_dev; in dpaa2_mac_close() 571 struct fsl_mc_device *dpmac_dev = mac->mc_dev; in dpaa2_mac_get_ethtool_stats()
|
A D | dpaa2-switch.h | 185 struct fsl_mc_device *dpbp_dev;
|
A D | dpaa2-eth-debugfs.c | 169 struct fsl_mc_device *dpni_dev; in dpaa2_dbg_add()
|
A D | dpaa2-eth.h | 481 struct fsl_mc_device *dev; 487 struct fsl_mc_device *dpcon;
|
A D | dpaa2-switch.c | 1440 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() 2648 struct fsl_mc_device *dpbp_dev; in dpaa2_switch_setup_dpbp() 2963 static int dpaa2_switch_init(struct fsl_mc_device *sw_dev) in dpaa2_switch_init() 3209 static void dpaa2_switch_teardown(struct fsl_mc_device *sw_dev) in dpaa2_switch_teardown() 3224 static int dpaa2_switch_remove(struct fsl_mc_device *sw_dev) in dpaa2_switch_remove() 3333 static int dpaa2_switch_probe(struct fsl_mc_device *sw_dev) in dpaa2_switch_probe()
|
A D | dpaa2-eth.c | 3051 static struct fsl_mc_device *dpaa2_eth_setup_dpcon(struct dpaa2_eth_priv *priv) in dpaa2_eth_setup_dpcon() 3053 struct fsl_mc_device *dpcon; in dpaa2_eth_setup_dpcon() 3098 struct fsl_mc_device *dpcon) in dpaa2_eth_free_dpcon() 3364 struct fsl_mc_device *dpbp_dev; in dpaa2_eth_allocate_dpbp() 3786 static int dpaa2_eth_setup_dpni(struct fsl_mc_device *ls_dev) in dpaa2_eth_setup_dpni() 4630 struct fsl_mc_device *dpni_dev, *dpmac_dev; in dpaa2_eth_connect_mac() 4707 struct fsl_mc_device *dpni_dev = to_fsl_mc_device(dev); in dpni_irq0_handler_thread() 4741 static int dpaa2_eth_setup_irqs(struct fsl_mc_device *ls_dev) in dpaa2_eth_setup_irqs() 4810 static int dpaa2_eth_probe(struct fsl_mc_device *dpni_dev) in dpaa2_eth_probe() 5028 static int dpaa2_eth_remove(struct fsl_mc_device *ls_dev) in dpaa2_eth_remove()
|
/linux-6.3-rc2/drivers/irqchip/ |
A D | irq-gic-v3-its-fsl-mc-msi.c | 29 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-6.3-rc2/drivers/dma/fsl-dpaa2-qdma/ |
A D | dpaa2-qdma.c | 303 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 D | dpaa2-qdma.h | 119 struct fsl_mc_device *dpdmai_dev;
|
/linux-6.3-rc2/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
A D | mac-phy-support.rst | 145 (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.
|
/linux-6.3-rc2/drivers/crypto/caam/ |
A D | caamalg_qi2.c | 4762 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_bind() 4811 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_free() 4989 static int __cold dpaa2_dpseci_setup(struct fsl_mc_device *ls_dev) in dpaa2_dpseci_setup() 5115 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_enable() 5131 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_disable() 5159 static int dpaa2_caam_probe(struct fsl_mc_device *dpseci_dev) in dpaa2_caam_probe() 5405 static int __cold dpaa2_caam_remove(struct fsl_mc_device *ls_dev) in dpaa2_caam_remove()
|