/linux-6.12.1/include/linux/fsl/ |
D | mc.h | 23 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); 53 int (*suspend)(struct fsl_mc_device *dev, pm_message_t state); 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; [all …]
|
/linux-6.12.1/drivers/bus/fsl-mc/ |
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() 89 void dprc_remove_devices(struct fsl_mc_device *mc_bus_dev, in dprc_remove_devices() 118 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in __fsl_mc_device_match() 123 struct fsl_mc_device *fsl_mc_device_lookup(struct fsl_mc_obj_desc *obj_desc, in fsl_mc_device_lookup() 124 struct fsl_mc_device *mc_bus_dev) in fsl_mc_device_lookup() 145 static void check_plugged_state_change(struct fsl_mc_device *mc_dev, in check_plugged_state_change() 169 static void fsl_mc_obj_device_add(struct fsl_mc_device *mc_bus_dev, in fsl_mc_obj_device_add() 173 struct fsl_mc_device *child_dev; in fsl_mc_obj_device_add() 202 static void dprc_add_new_devices(struct fsl_mc_device *mc_bus_dev, in dprc_add_new_devices() [all …]
|
D | fsl-mc-allocator.c | 15 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() 187 struct fsl_mc_device *mc_bus_dev = &mc_bus->mc_dev; in fsl_mc_resource_allocate() 274 int __must_check fsl_mc_object_allocate(struct fsl_mc_device *mc_dev, in fsl_mc_object_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() [all …]
|
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()
|
D | fsl-mc-bus.c | 43 struct fsl_mc_device *root_mc_bus_dev; 86 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in fsl_mc_bus_match() 130 const 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 fsl_mc_dma_configure() 176 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in modalias_show() 187 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in driver_override_store() 203 struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev); in driver_override_show() 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() [all …]
|
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, 667 struct fsl_mc_device *fsl_mc_device_lookup(struct fsl_mc_obj_desc *obj_desc, 668 struct fsl_mc_device *mc_bus_dev); 691 int disable_dprc_irq(struct fsl_mc_device *mc_dev); [all …]
|
D | fsl-mc-msi.c | 23 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()
|
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.12.1/drivers/vfio/fsl-mc/ |
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() 103 struct fsl_mc_device *mc_cont = to_fsl_mc_device(cont_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() [all …]
|
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() 113 struct fsl_mc_device *mc_cont = to_fsl_mc_device(cont_dev); in vfio_fsl_mc_set_irq_trigger() 175 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_irqs_cleanup()
|
D | vfio_fsl_mc_private.h | 35 struct fsl_mc_device *mc_dev;
|
/linux-6.12.1/drivers/soc/fsl/dpio/ |
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 void dpaa2_dpio_remove(struct fsl_mc_device *dpio_dev) in dpaa2_dpio_remove()
|
/linux-6.12.1/drivers/net/ethernet/freescale/dpaa2/ |
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 void dpaa2_ptp_remove(struct fsl_mc_device *mc_dev) in dpaa2_ptp_remove()
|
D | dpaa2-mac.h | 15 struct fsl_mc_device *mc_dev;
|
D | dpaa2-mac.c | 468 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()
|
D | dpaa2-switch.h | 185 struct fsl_mc_device *dpbp_dev;
|
D | dpaa2-eth-debugfs.c | 169 struct fsl_mc_device *dpni_dev; in dpaa2_dbg_add()
|
D | dpaa2-eth.h | 482 struct fsl_mc_device *dev; 488 struct fsl_mc_device *dpcon;
|
D | dpaa2-switch.c | 1440 struct fsl_mc_device *dpsw_port_dev, *dpmac_dev; in dpaa2_switch_port_connect_mac() 1551 static int dpaa2_switch_setup_irqs(struct fsl_mc_device *sw_dev) in dpaa2_switch_setup_irqs() 1611 static void dpaa2_switch_teardown_irqs(struct fsl_mc_device *sw_dev) in dpaa2_switch_teardown_irqs() 2677 struct fsl_mc_device *dpbp_dev; in dpaa2_switch_setup_dpbp() 2992 static int dpaa2_switch_init(struct fsl_mc_device *sw_dev) in dpaa2_switch_init() 3238 static void dpaa2_switch_teardown(struct fsl_mc_device *sw_dev) in dpaa2_switch_teardown() 3253 static void dpaa2_switch_remove(struct fsl_mc_device *sw_dev) in dpaa2_switch_remove() 3361 static int dpaa2_switch_probe(struct fsl_mc_device *sw_dev) in dpaa2_switch_probe()
|
D | dpaa2-eth.c | 3057 static struct fsl_mc_device *dpaa2_eth_setup_dpcon(struct dpaa2_eth_priv *priv) in dpaa2_eth_setup_dpcon() 3059 struct fsl_mc_device *dpcon; in dpaa2_eth_setup_dpcon() 3104 struct fsl_mc_device *dpcon) in dpaa2_eth_free_dpcon() 3370 struct fsl_mc_device *dpbp_dev; in dpaa2_eth_allocate_dpbp() 3792 static int dpaa2_eth_setup_dpni(struct fsl_mc_device *ls_dev) in dpaa2_eth_setup_dpni() 4637 struct fsl_mc_device *dpni_dev, *dpmac_dev; in dpaa2_eth_connect_mac() 4714 struct fsl_mc_device *dpni_dev = to_fsl_mc_device(dev); in dpni_irq0_handler_thread() 4748 static int dpaa2_eth_setup_irqs(struct fsl_mc_device *ls_dev) in dpaa2_eth_setup_irqs() 4817 static int dpaa2_eth_probe(struct fsl_mc_device *dpni_dev) in dpaa2_eth_probe() 5037 static void dpaa2_eth_remove(struct fsl_mc_device *ls_dev) in dpaa2_eth_remove()
|
/linux-6.12.1/drivers/irqchip/ |
D | irq-gic-v3-its-fsl-mc-msi.c | 27 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()
|
/linux-6.12.1/drivers/dma/fsl-dpaa2-qdma/ |
D | dpaa2-qdma.c | 305 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()
|
D | dpaa2-qdma.h | 120 struct fsl_mc_device *dpdmai_dev;
|
/linux-6.12.1/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
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.12.1/drivers/crypto/caam/ |
D | caamalg_qi2.c | 4766 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_bind() 4815 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_free() 5004 static int __cold dpaa2_dpseci_setup(struct fsl_mc_device *ls_dev) in dpaa2_dpseci_setup() 5147 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_enable() 5163 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_disable() 5192 static int dpaa2_caam_probe(struct fsl_mc_device *dpseci_dev) in dpaa2_caam_probe() 5438 static void __cold dpaa2_caam_remove(struct fsl_mc_device *ls_dev) in dpaa2_caam_remove()
|