Home
last modified time | relevance | path

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

/linux-6.1.9/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()
167 err = dpio_enable(dpio_dev->mc_io, 0, dpio_dev->mc_handle); in dpaa2_dpio_probe()
191 dpio_dev->mc_handle, in dpaa2_dpio_probe()
248 dpio_close(dpio_dev->mc_io, 0, dpio_dev->mc_handle); in dpaa2_dpio_probe()
257 dpio_disable(dpio_dev->mc_io, 0, dpio_dev->mc_handle); in dpaa2_dpio_probe()
260 dpio_close(dpio_dev->mc_io, 0, dpio_dev->mc_handle); in dpaa2_dpio_probe()
291 &dpio_dev->mc_handle); in dpaa2_dpio_remove()
297 dpio_disable(dpio_dev->mc_io, 0, dpio_dev->mc_handle); in dpaa2_dpio_remove()
[all …]
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/
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()
151 &mc_dev->mc_handle); in dpaa2_ptp_probe()
190 err = dprtc_set_irq_enable(mc_dev->mc_io, 0, mc_dev->mc_handle, in dpaa2_ptp_probe()
216 dprtc_close(mc_dev->mc_io, 0, mc_dev->mc_handle); in dpaa2_ptp_probe()
234 dprtc_close(mc_dev->mc_io, 0, mc_dev->mc_handle); in dpaa2_ptp_remove()
Ddpaa2-mac.c167 mac->mc_dev->mc_handle, dpmac_state); in dpaa2_mac_config()
176 err = dpmac_set_protocol(mac->mc_io, 0, mac->mc_dev->mc_handle, in dpaa2_mac_config()
216 mac->mc_dev->mc_handle, dpmac_state); in dpaa2_mac_link_up()
232 mac->mc_dev->mc_handle, dpmac_state); in dpaa2_mac_link_down()
459 &dpmac_dev->mc_handle); in dpaa2_mac_open()
460 if (err || !dpmac_dev->mc_handle) { in dpaa2_mac_open()
465 err = dpmac_get_attributes(mac->mc_io, 0, dpmac_dev->mc_handle, in dpaa2_mac_open()
495 dpmac_close(mac->mc_io, 0, dpmac_dev->mc_handle); in dpaa2_mac_open()
503 dpmac_close(mac->mc_io, 0, dpmac_dev->mc_handle); in dpaa2_mac_close()
564 err = dpmac_get_counter(mac->mc_io, 0, dpmac_dev->mc_handle, in dpaa2_mac_get_ethtool_stats()
Ddpaa2-eth.c2918 err = dpcon_open(priv->mc_io, 0, dpcon->obj_desc.id, &dpcon->mc_handle); in dpaa2_eth_setup_dpcon()
2924 err = dpcon_reset(priv->mc_io, 0, dpcon->mc_handle); in dpaa2_eth_setup_dpcon()
2930 err = dpcon_enable(priv->mc_io, 0, dpcon->mc_handle); in dpaa2_eth_setup_dpcon()
2939 dpcon_close(priv->mc_io, 0, dpcon->mc_handle); in dpaa2_eth_setup_dpcon()
2949 dpcon_disable(priv->mc_io, 0, dpcon->mc_handle); in dpaa2_eth_free_dpcon()
2950 dpcon_close(priv->mc_io, 0, dpcon->mc_handle); in dpaa2_eth_free_dpcon()
2971 err = dpcon_get_attributes(priv->mc_io, 0, channel->dpcon->mc_handle, in dpaa2_eth_alloc_channel()
3057 channel->dpcon->mc_handle, in dpaa2_eth_setup_dpio()
3228 &dpbp_dev->mc_handle); in dpaa2_eth_setup_dpbp()
3234 err = dpbp_reset(priv->mc_io, 0, dpbp_dev->mc_handle); in dpaa2_eth_setup_dpbp()
[all …]
Ddpaa2-switch.c2644 &dpbp_dev->mc_handle); in dpaa2_switch_setup_dpbp()
2650 err = dpbp_reset(ethsw->mc_io, 0, dpbp_dev->mc_handle); in dpaa2_switch_setup_dpbp()
2656 err = dpbp_enable(ethsw->mc_io, 0, dpbp_dev->mc_handle); in dpaa2_switch_setup_dpbp()
2662 err = dpbp_get_attributes(ethsw->mc_io, 0, dpbp_dev->mc_handle, in dpaa2_switch_setup_dpbp()
2685 dpbp_disable(ethsw->mc_io, 0, dpbp_dev->mc_handle); in dpaa2_switch_setup_dpbp()
2688 dpbp_close(ethsw->mc_io, 0, dpbp_dev->mc_handle); in dpaa2_switch_setup_dpbp()
2696 dpbp_disable(ethsw->mc_io, 0, ethsw->dpbp_dev->mc_handle); in dpaa2_switch_free_dpbp()
2697 dpbp_close(ethsw->mc_io, 0, ethsw->dpbp_dev->mc_handle); in dpaa2_switch_free_dpbp()
/linux-6.1.9/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()
416 error = dprc_get_irq_status(mc_io, 0, mc_dev->mc_handle, 0, in dprc_irq0_handler_thread()
424 error = dprc_clear_irq_status(mc_io, 0, mc_dev->mc_handle, 0, in dprc_irq0_handler_thread()
472 error = dprc_set_irq_enable(mc_io, 0, mc_dev->mc_handle, 0, 0); in disable_dprc_irq()
483 error = dprc_set_irq_mask(mc_io, 0, mc_dev->mc_handle, 0, 0x0); in disable_dprc_irq()
494 error = dprc_clear_irq_status(mc_io, 0, mc_dev->mc_handle, 0, ~0x0U); in disable_dprc_irq()
548 error = dprc_set_irq_mask(mc_dev->mc_io, 0, mc_dev->mc_handle, 0, in enable_dprc_irq()
561 error = dprc_set_irq_enable(mc_dev->mc_io, 0, mc_dev->mc_handle, 0, 1); in enable_dprc_irq()
671 &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.c699 mc_bus_dev->mc_handle, in fsl_mc_device_get_mmio_regions()
956 mc_bus_dev->mc_handle, in fsl_mc_get_endpoint()
/linux-6.1.9/drivers/dma/fsl-dpaa2-qdma/
Ddpaa2-qdma.c318 err = dpdmai_open(priv->mc_io, 0, priv->dpqdma_id, &ls_dev->mc_handle); in dpaa2_qdma_setup()
326 err = dpdmai_get_attributes(priv->mc_io, 0, ls_dev->mc_handle, in dpaa2_qdma_setup()
362 err = dpdmai_get_rx_queue(priv->mc_io, 0, ls_dev->mc_handle, in dpaa2_qdma_setup()
370 err = dpdmai_get_tx_queue(priv->mc_io, 0, ls_dev->mc_handle, in dpaa2_qdma_setup()
384 dpdmai_close(priv->mc_io, 0, ls_dev->mc_handle); in dpaa2_qdma_setup()
542 err = dpdmai_set_rx_queue(priv->mc_io, 0, ls_dev->mc_handle, in dpaa2_dpdmai_bind()
572 err = dpdmai_reset(priv->mc_io, 0, ls_dev->mc_handle); in dpaa2_dpdmai_dpio_unbind()
702 err = dpdmai_enable(priv->mc_io, 0, dpdmai_dev->mc_handle); in dpaa2_qdma_probe()
751 dpdmai_disable(priv->mc_io, 0, dpdmai_dev->mc_handle); in dpaa2_qdma_probe()
759 dpdmai_close(priv->mc_io, 0, dpdmai_dev->mc_handle); in dpaa2_qdma_probe()
[all …]
/linux-6.1.9/drivers/crypto/caam/
Dcaamalg_qi2.c4773 err = dpseci_set_rx_queue(priv->mc_io, 0, ls_dev->mc_handle, i, in dpaa2_dpseci_bind()
4806 err = dpseci_reset(priv->mc_io, 0, ls_dev->mc_handle); in dpaa2_dpseci_free()
4812 dpseci_close(priv->mc_io, 0, ls_dev->mc_handle); in dpaa2_dpseci_free()
4992 err = dpseci_open(priv->mc_io, 0, priv->dpsec_id, &ls_dev->mc_handle); in dpaa2_dpseci_setup()
5008 err = dpseci_reset(priv->mc_io, 0, ls_dev->mc_handle); in dpaa2_dpseci_setup()
5015 err = dpseci_get_attributes(priv->mc_io, 0, ls_dev->mc_handle, in dpaa2_dpseci_setup()
5022 err = dpseci_get_sec_attr(priv->mc_io, 0, ls_dev->mc_handle, in dpaa2_dpseci_setup()
5029 err = dpaa2_dpseci_congestion_setup(priv, ls_dev->mc_handle); in dpaa2_dpseci_setup()
5044 err = dpseci_get_rx_queue(priv->mc_io, 0, ls_dev->mc_handle, i, in dpaa2_dpseci_setup()
5053 err = dpseci_get_tx_queue(priv->mc_io, 0, ls_dev->mc_handle, i, in dpaa2_dpseci_setup()
[all …]
/linux-6.1.9/include/linux/fsl/
Dmc.h210 u16 mc_handle; member
/linux-6.1.9/drivers/vfio/fsl-mc/
Dvfio_fsl_mc.c75 mc_dev->mc_handle, in vfio_fsl_mc_reset_device()