Home
last modified time | relevance | path

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

/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);
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;
202 struct fsl_mc_device { struct
217 container_of(_dev, struct fsl_mc_device, dev) argument
340 struct fsl_mc_device *dpmcp_dev;
[all …]
/linux/drivers/bus/fsl-mc/
H A Dfsl-mc-allocator.c15 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 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()
251 struct fsl_mc_device *dpmcp_dev; in fsl_mc_portal_free()
H A Dfsl-mc-uapi.c381 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 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()
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 Dvfio_fsl_mc_private.h35 struct fsl_mc_device *mc_dev;
/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-eth-debugfs.c169 struct fsl_mc_device *dpni_dev; in dpaa2_dbg_add()
H A Ddpaa2-switch.h209 struct fsl_mc_device *dpbp_dev;
H A Ddpaa2-eth.h482 struct fsl_mc_device *dev;
488 struct fsl_mc_device *dpcon;
H A Ddpaa2-switch.c1643 struct fsl_mc_device *dpsw_port_dev, *dpmac_dev; in dpaa2_switch_port_connect_mac()
1769 static int dpaa2_switch_setup_irqs(struct fsl_mc_device *sw_dev) in dpaa2_switch_setup_irqs()
1829 static void dpaa2_switch_teardown_irqs(struct fsl_mc_device *sw_dev) in dpaa2_switch_teardown_irqs()
3381 struct fsl_mc_device *dpbp_dev; in dpaa2_switch_setup_dpbp()
3696 static int dpaa2_switch_init(struct fsl_mc_device *sw_dev) in dpaa2_switch_init()
3950 static void dpaa2_switch_teardown(struct fsl_mc_device *sw_dev) in dpaa2_switch_teardown()
3965 static void dpaa2_switch_remove(struct fsl_mc_device *sw_dev) in dpaa2_switch_remove()
4085 static int dpaa2_switch_probe(struct fsl_mc_device *sw_dev) in dpaa2_switch_probe()
H A Ddpaa2-eth.c3069 static struct fsl_mc_device *dpaa2_eth_setup_dpcon(struct dpaa2_eth_priv *priv) in dpaa2_eth_setup_dpcon()
3071 struct fsl_mc_device *dpcon; in dpaa2_eth_setup_dpcon()
3116 struct fsl_mc_device *dpcon) in dpaa2_eth_free_dpcon()
3382 struct fsl_mc_device *dpbp_dev; in dpaa2_eth_allocate_dpbp()
3804 static int dpaa2_eth_setup_dpni(struct fsl_mc_device *ls_dev) in dpaa2_eth_setup_dpni()
4658 struct fsl_mc_device *dpni_dev, *dpmac_dev; in dpaa2_eth_connect_mac()
4745 struct fsl_mc_device *dpni_dev = to_fsl_mc_device(dev); in dpni_irq0_handler_thread()
4779 static int dpaa2_eth_setup_irqs(struct fsl_mc_device *ls_dev) in dpaa2_eth_setup_irqs()
4859 static int dpaa2_eth_probe(struct fsl_mc_device *dpni_dev) in dpaa2_eth_probe()
5080 static void dpaa2_eth_remove(struct fsl_mc_device *ls_dev) in dpaa2_eth_remove()
/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.h120 struct fsl_mc_device *dpdmai_dev;
/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.