Home
last modified time | relevance | path

Searched refs:mc_handle (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/soc/fsl/dpio/
Ddpio-driver.c146 &dpio_dev->mc_handle); in dpaa2_dpio_probe()
152 err = dpio_reset(dpio_dev->mc_io, 0, dpio_dev->mc_handle); in dpaa2_dpio_probe()
158 err = dpio_get_attributes(dpio_dev->mc_io, 0, dpio_dev->mc_handle, in dpaa2_dpio_probe()
166 err = dpio_enable(dpio_dev->mc_io, 0, dpio_dev->mc_handle); in dpaa2_dpio_probe()
190 dpio_dev->mc_handle, in dpaa2_dpio_probe()
247 dpio_close(dpio_dev->mc_io, 0, dpio_dev->mc_handle); in dpaa2_dpio_probe()
256 dpio_disable(dpio_dev->mc_io, 0, dpio_dev->mc_handle); in dpaa2_dpio_probe()
259 dpio_close(dpio_dev->mc_io, 0, dpio_dev->mc_handle); in dpaa2_dpio_probe()
290 &dpio_dev->mc_handle); in dpaa2_dpio_remove()
296 dpio_disable(dpio_dev->mc_io, 0, dpio_dev->mc_handle); in dpaa2_dpio_remove()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-mac.c159 mac->mc_dev->mc_handle, dpmac_state); in dpaa2_mac_config()
203 mac->mc_dev->mc_handle, dpmac_state); in dpaa2_mac_link_up()
219 mac->mc_dev->mc_handle, dpmac_state); in dpaa2_mac_link_down()
236 u16 mc_handle = 0; in dpaa2_mac_is_type_fixed() local
240 &mc_handle); in dpaa2_mac_is_type_fixed()
241 if (err || !mc_handle) in dpaa2_mac_is_type_fixed()
244 err = dpmac_get_attributes(mc_io, 0, mc_handle, &attr); in dpaa2_mac_is_type_fixed()
252 dpmac_close(mc_io, 0, mc_handle); in dpaa2_mac_is_type_fixed()
313 &dpmac_dev->mc_handle); in dpaa2_mac_connect()
314 if (err || !dpmac_dev->mc_handle) { in dpaa2_mac_connect()
[all …]
Ddpaa2-ptp.c51 err = dprtc_get_irq_mask(mc_dev->mc_io, 0, mc_dev->mc_handle, in dpaa2_ptp_enable()
63 err = dprtc_set_irq_mask(mc_dev->mc_io, 0, mc_dev->mc_handle, in dpaa2_ptp_enable()
101 err = dprtc_get_irq_status(mc_dev->mc_io, 0, mc_dev->mc_handle, in dpaa2_ptp_irq_handler_thread()
119 err = dprtc_clear_irq_status(mc_dev->mc_io, 0, mc_dev->mc_handle, in dpaa2_ptp_irq_handler_thread()
152 &mc_dev->mc_handle); in dpaa2_ptp_probe()
192 err = dprtc_set_irq_enable(mc_dev->mc_io, 0, mc_dev->mc_handle, in dpaa2_ptp_probe()
218 dprtc_close(mc_dev->mc_io, 0, mc_dev->mc_handle); in dpaa2_ptp_probe()
236 dprtc_close(mc_dev->mc_io, 0, mc_dev->mc_handle); in dpaa2_ptp_remove()
Ddpaa2-eth.c2551 err = dpcon_open(priv->mc_io, 0, dpcon->obj_desc.id, &dpcon->mc_handle); in dpaa2_eth_setup_dpcon()
2557 err = dpcon_reset(priv->mc_io, 0, dpcon->mc_handle); in dpaa2_eth_setup_dpcon()
2563 err = dpcon_enable(priv->mc_io, 0, dpcon->mc_handle); in dpaa2_eth_setup_dpcon()
2572 dpcon_close(priv->mc_io, 0, dpcon->mc_handle); in dpaa2_eth_setup_dpcon()
2582 dpcon_disable(priv->mc_io, 0, dpcon->mc_handle); in dpaa2_eth_free_dpcon()
2583 dpcon_close(priv->mc_io, 0, dpcon->mc_handle); in dpaa2_eth_free_dpcon()
2604 err = dpcon_get_attributes(priv->mc_io, 0, channel->dpcon->mc_handle, in dpaa2_eth_alloc_channel()
2690 channel->dpcon->mc_handle, in dpaa2_eth_setup_dpio()
2861 &dpbp_dev->mc_handle); in dpaa2_eth_setup_dpbp()
2867 err = dpbp_reset(priv->mc_io, 0, dpbp_dev->mc_handle); in dpaa2_eth_setup_dpbp()
[all …]
/kernel/linux/linux-5.10/drivers/bus/fsl-mc/
Ddprc-driver.c252 mc_bus_dev->mc_handle, in dprc_scan_objects()
280 mc_bus_dev->mc_handle, in dprc_scan_objects()
414 error = dprc_get_irq_status(mc_io, 0, mc_dev->mc_handle, 0, in dprc_irq0_handler_thread()
422 error = dprc_clear_irq_status(mc_io, 0, mc_dev->mc_handle, 0, in dprc_irq0_handler_thread()
469 error = dprc_set_irq_enable(mc_io, 0, mc_dev->mc_handle, 0, 0); in disable_dprc_irq()
480 error = dprc_set_irq_mask(mc_io, 0, mc_dev->mc_handle, 0, 0x0); in disable_dprc_irq()
491 error = dprc_clear_irq_status(mc_io, 0, mc_dev->mc_handle, 0, ~0x0U); in disable_dprc_irq()
535 error = dprc_set_irq_mask(mc_dev->mc_io, 0, mc_dev->mc_handle, 0, in enable_dprc_irq()
548 error = dprc_set_irq_enable(mc_dev->mc_io, 0, mc_dev->mc_handle, 0, 1); in enable_dprc_irq()
650 &mc_dev->mc_handle); in dprc_setup()
[all …]
Dmc-io.c26 &dpmcp_dev->mc_handle); in fsl_mc_io_set_dpmcp()
42 dpmcp_dev->mc_handle); in fsl_mc_io_unset_dpmcp()
277 error = dpmcp_reset(mc_io, 0, dpmcp_dev->mc_handle); in fsl_mc_portal_reset()
Dfsl-mc-msi.c90 mc_bus_dev->mc_handle, in __fsl_mc_msi_write_msg()
103 mc_bus_dev->mc_handle, in __fsl_mc_msi_write_msg()
Dfsl-mc-bus.c589 mc_bus_dev->mc_handle, in fsl_mc_device_get_mmio_regions()
842 mc_bus_dev->mc_handle, in fsl_mc_get_endpoint()
/kernel/linux/linux-5.10/drivers/dma/fsl-dpaa2-qdma/
Ddpaa2-qdma.c319 err = dpdmai_open(priv->mc_io, 0, priv->dpqdma_id, &ls_dev->mc_handle); in dpaa2_qdma_setup()
327 err = dpdmai_get_attributes(priv->mc_io, 0, ls_dev->mc_handle, in dpaa2_qdma_setup()
363 err = dpdmai_get_rx_queue(priv->mc_io, 0, ls_dev->mc_handle, in dpaa2_qdma_setup()
371 err = dpdmai_get_tx_queue(priv->mc_io, 0, ls_dev->mc_handle, in dpaa2_qdma_setup()
385 dpdmai_close(priv->mc_io, 0, ls_dev->mc_handle); in dpaa2_qdma_setup()
543 err = dpdmai_set_rx_queue(priv->mc_io, 0, ls_dev->mc_handle, in dpaa2_dpdmai_bind()
573 err = dpdmai_reset(priv->mc_io, 0, ls_dev->mc_handle); in dpaa2_dpdmai_dpio_unbind()
704 err = dpdmai_enable(priv->mc_io, 0, dpdmai_dev->mc_handle); in dpaa2_qdma_probe()
753 dpdmai_disable(priv->mc_io, 0, dpdmai_dev->mc_handle); in dpaa2_qdma_probe()
761 dpdmai_close(priv->mc_io, 0, dpdmai_dev->mc_handle); in dpaa2_qdma_probe()
[all …]
/kernel/linux/linux-5.10/drivers/vfio/fsl-mc/
Dvfio_fsl_mc.c180 mc_cont->mc_handle, in vfio_fsl_mc_release()
319 mc_dev->mc_handle, in vfio_fsl_mc_ioctl()
/kernel/linux/linux-5.10/drivers/crypto/caam/
Dcaamalg_qi2.c4770 err = dpseci_set_rx_queue(priv->mc_io, 0, ls_dev->mc_handle, i, in dpaa2_dpseci_bind()
4803 err = dpseci_reset(priv->mc_io, 0, ls_dev->mc_handle); in dpaa2_dpseci_free()
4809 dpseci_close(priv->mc_io, 0, ls_dev->mc_handle); in dpaa2_dpseci_free()
4989 err = dpseci_open(priv->mc_io, 0, priv->dpsec_id, &ls_dev->mc_handle); in dpaa2_dpseci_setup()
5005 err = dpseci_reset(priv->mc_io, 0, ls_dev->mc_handle); in dpaa2_dpseci_setup()
5012 err = dpseci_get_attributes(priv->mc_io, 0, ls_dev->mc_handle, in dpaa2_dpseci_setup()
5019 err = dpseci_get_sec_attr(priv->mc_io, 0, ls_dev->mc_handle, in dpaa2_dpseci_setup()
5026 err = dpaa2_dpseci_congestion_setup(priv, ls_dev->mc_handle); in dpaa2_dpseci_setup()
5041 err = dpseci_get_rx_queue(priv->mc_io, 0, ls_dev->mc_handle, i, in dpaa2_dpseci_setup()
5050 err = dpseci_get_tx_queue(priv->mc_io, 0, ls_dev->mc_handle, i, in dpaa2_dpseci_setup()
[all …]
/kernel/linux/linux-5.10/include/linux/fsl/
Dmc.h199 u16 mc_handle; member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0034_linux_drivers_usb_vfio_wdt_tty_uio.patch7474 + mc_dev->mc_handle,
7501 - mc_cont->mc_handle,