| /linux/include/linux/fsl/ |
| H A 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/drivers/bus/fsl-mc/ |
| H A D | dprc-driver.c | 25 static bool fsl_mc_device_match(const 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 …]
|
| H A 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 …]
|
| H 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() 251 struct fsl_mc_device *dpmcp_dev; in fsl_mc_portal_free()
|
| H A D | fsl-mc-private.h | 602 struct fsl_mc_device mc_dev; 617 struct fsl_mc_device **new_mc_dev); 619 void fsl_mc_device_remove(struct fsl_mc_device *mc_dev); 625 int dprc_scan_objects(struct fsl_mc_device *mc_bus_dev, 630 void fsl_mc_init_all_resource_pools(struct fsl_mc_device *mc_bus_dev); 649 struct fsl_mc_device *dpmcp_dev, 659 struct fsl_mc_device *fsl_mc_device_lookup(struct fsl_mc_obj_desc *obj_desc, 660 struct fsl_mc_device *mc_bus_dev); 683 int disable_dprc_irq(struct fsl_mc_device *mc_dev); 684 int enable_dprc_irq(struct fsl_mc_device *mc_dev); [all …]
|
| H A 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()
|
| H A D | fsl-mc-uapi.c | 381 static int fsl_mc_command_check(struct fsl_mc_device *mc_dev, in fsl_mc_command_check() 452 static int fsl_mc_uapi_send_command(struct fsl_mc_device *mc_dev, unsigned long arg, in fsl_mc_uapi_send_command() 479 struct fsl_mc_device *root_mc_device; in fsl_mc_uapi_dev_open() 554 struct fsl_mc_device *root_mc_device; in fsl_mc_uapi_dev_ioctl() 582 struct fsl_mc_device *mc_dev = &mc_bus->mc_dev; in fsl_mc_uapi_create_device_file()
|
| /linux/drivers/vfio/fsl-mc/ |
| H 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() 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_get_region_info() 144 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_ioctl() 241 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_read() 320 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_write() 383 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_mmap() [all …]
|
| H 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() 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()
|
| H A D | vfio_fsl_mc_private.h | 35 struct fsl_mc_device *mc_dev;
|
| /linux/drivers/soc/fsl/dpio/ |
| H 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 void dpaa2_dpio_remove(struct fsl_mc_device *dpio_dev) in dpaa2_dpio_remove()
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H 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 void dpaa2_ptp_remove(struct fsl_mc_device *mc_dev) in dpaa2_ptp_remove()
|
| H A D | dpaa2-switch.h | 185 struct fsl_mc_device *dpbp_dev;
|
| H A D | dpaa2-eth-debugfs.c | 169 struct fsl_mc_device *dpni_dev; in dpaa2_dbg_add()
|
| H A D | dpaa2-eth.h | 482 struct fsl_mc_device *dev; 488 struct fsl_mc_device *dpcon;
|
| H A D | dpaa2-switch.c | 1441 struct fsl_mc_device *dpsw_port_dev, *dpmac_dev; in dpaa2_switch_port_connect_mac() 1561 static int dpaa2_switch_setup_irqs(struct fsl_mc_device *sw_dev) in dpaa2_switch_setup_irqs() 1621 static void dpaa2_switch_teardown_irqs(struct fsl_mc_device *sw_dev) in dpaa2_switch_teardown_irqs() 2687 struct fsl_mc_device *dpbp_dev; in dpaa2_switch_setup_dpbp() 3002 static int dpaa2_switch_init(struct fsl_mc_device *sw_dev) in dpaa2_switch_init() 3248 static void dpaa2_switch_teardown(struct fsl_mc_device *sw_dev) in dpaa2_switch_teardown() 3263 static void dpaa2_switch_remove(struct fsl_mc_device *sw_dev) in dpaa2_switch_remove() 3371 static int dpaa2_switch_probe(struct fsl_mc_device *sw_dev) in dpaa2_switch_probe()
|
| H A D | dpaa2-eth.c | 3067 static struct fsl_mc_device *dpaa2_eth_setup_dpcon(struct dpaa2_eth_priv *priv) in dpaa2_eth_setup_dpcon() 3069 struct fsl_mc_device *dpcon; in dpaa2_eth_setup_dpcon() 3114 struct fsl_mc_device *dpcon) in dpaa2_eth_free_dpcon() 3380 struct fsl_mc_device *dpbp_dev; in dpaa2_eth_allocate_dpbp() 3802 static int dpaa2_eth_setup_dpni(struct fsl_mc_device *ls_dev) in dpaa2_eth_setup_dpni() 4656 struct fsl_mc_device *dpni_dev, *dpmac_dev; in dpaa2_eth_connect_mac() 4742 struct fsl_mc_device *dpni_dev = to_fsl_mc_device(dev); in dpni_irq0_handler_thread() 4776 static int dpaa2_eth_setup_irqs(struct fsl_mc_device *ls_dev) in dpaa2_eth_setup_irqs() 4856 static int dpaa2_eth_probe(struct fsl_mc_device *dpni_dev) in dpaa2_eth_probe() 5077 static void dpaa2_eth_remove(struct fsl_mc_device *ls_dev) in dpaa2_eth_remove()
|
| /linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
| H 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/drivers/dma/fsl-dpaa2-qdma/ |
| H A D | dpaa2-qdma.h | 120 struct fsl_mc_device *dpdmai_dev;
|