Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/soc/fsl/dpio/
Ddpio-driver.c145 &dpio_dev->mc_handle); in dpaa2_dpio_probe()
151 err = dpio_reset(dpio_dev->mc_io, 0, dpio_dev->mc_handle); in dpaa2_dpio_probe()
157 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 …]
/linux-6.12.1/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ptp.c50 err = dprtc_get_irq_mask(mc_dev->mc_io, 0, mc_dev->mc_handle, in dpaa2_ptp_enable()
62 err = dprtc_set_irq_mask(mc_dev->mc_io, 0, mc_dev->mc_handle, in dpaa2_ptp_enable()
100 err = dprtc_get_irq_status(mc_dev->mc_io, 0, mc_dev->mc_handle, in dpaa2_ptp_irq_handler_thread()
118 err = dprtc_clear_irq_status(mc_dev->mc_io, 0, mc_dev->mc_handle, in dpaa2_ptp_irq_handler_thread()
150 &mc_dev->mc_handle); in dpaa2_ptp_probe()
189 err = dprtc_set_irq_enable(mc_dev->mc_io, 0, mc_dev->mc_handle, in dpaa2_ptp_probe()
215 dprtc_close(mc_dev->mc_io, 0, mc_dev->mc_handle); in dpaa2_ptp_probe()
233 dprtc_close(mc_dev->mc_io, 0, mc_dev->mc_handle); in dpaa2_ptp_remove()
Ddpaa2-mac.c174 mac->mc_dev->mc_handle, dpmac_state); in dpaa2_mac_config()
183 err = dpmac_set_protocol(mac->mc_io, 0, mac->mc_dev->mc_handle, in dpaa2_mac_config()
223 mac->mc_dev->mc_handle, dpmac_state); in dpaa2_mac_link_up()
239 mac->mc_dev->mc_handle, dpmac_state); in dpaa2_mac_link_down()
474 &dpmac_dev->mc_handle); in dpaa2_mac_open()
475 if (err || !dpmac_dev->mc_handle) { in dpaa2_mac_open()
480 err = dpmac_get_attributes(mac->mc_io, 0, dpmac_dev->mc_handle, in dpaa2_mac_open()
510 dpmac_close(mac->mc_io, 0, dpmac_dev->mc_handle); in dpaa2_mac_open()
518 dpmac_close(mac->mc_io, 0, dpmac_dev->mc_handle); in dpaa2_mac_close()
579 err = dpmac_get_counter(mac->mc_io, 0, dpmac_dev->mc_handle, in dpaa2_mac_get_ethtool_stats()
Ddpaa2-eth.c3075 err = dpcon_open(priv->mc_io, 0, dpcon->obj_desc.id, &dpcon->mc_handle); in dpaa2_eth_setup_dpcon()
3081 err = dpcon_reset(priv->mc_io, 0, dpcon->mc_handle); in dpaa2_eth_setup_dpcon()
3087 err = dpcon_enable(priv->mc_io, 0, dpcon->mc_handle); in dpaa2_eth_setup_dpcon()
3096 dpcon_close(priv->mc_io, 0, dpcon->mc_handle); in dpaa2_eth_setup_dpcon()
3106 dpcon_disable(priv->mc_io, 0, dpcon->mc_handle); in dpaa2_eth_free_dpcon()
3107 dpcon_close(priv->mc_io, 0, dpcon->mc_handle); in dpaa2_eth_free_dpcon()
3128 err = dpcon_get_attributes(priv->mc_io, 0, channel->dpcon->mc_handle, in dpaa2_eth_alloc_channel()
3216 channel->dpcon->mc_handle, in dpaa2_eth_setup_dpio()
3392 &dpbp_dev->mc_handle); in dpaa2_eth_allocate_dpbp()
3398 err = dpbp_reset(priv->mc_io, 0, dpbp_dev->mc_handle); in dpaa2_eth_allocate_dpbp()
[all …]
Ddpaa2-switch.c2693 &dpbp_dev->mc_handle); in dpaa2_switch_setup_dpbp()
2699 err = dpbp_reset(ethsw->mc_io, 0, dpbp_dev->mc_handle); in dpaa2_switch_setup_dpbp()
2705 err = dpbp_enable(ethsw->mc_io, 0, dpbp_dev->mc_handle); in dpaa2_switch_setup_dpbp()
2711 err = dpbp_get_attributes(ethsw->mc_io, 0, dpbp_dev->mc_handle, in dpaa2_switch_setup_dpbp()
2734 dpbp_disable(ethsw->mc_io, 0, dpbp_dev->mc_handle); in dpaa2_switch_setup_dpbp()
2737 dpbp_close(ethsw->mc_io, 0, dpbp_dev->mc_handle); in dpaa2_switch_setup_dpbp()
2745 dpbp_disable(ethsw->mc_io, 0, ethsw->dpbp_dev->mc_handle); in dpaa2_switch_free_dpbp()
2746 dpbp_close(ethsw->mc_io, 0, ethsw->dpbp_dev->mc_handle); in dpaa2_switch_free_dpbp()
/linux-6.12.1/drivers/bus/fsl-mc/
Ddprc-driver.c257 mc_bus_dev->mc_handle, in dprc_scan_objects()
285 mc_bus_dev->mc_handle, in dprc_scan_objects()
421 error = dprc_get_irq_status(mc_io, 0, mc_dev->mc_handle, 0, in dprc_irq0_handler_thread()
429 error = dprc_clear_irq_status(mc_io, 0, mc_dev->mc_handle, 0, in dprc_irq0_handler_thread()
477 error = dprc_set_irq_enable(mc_io, 0, mc_dev->mc_handle, 0, 0); in disable_dprc_irq()
488 error = dprc_set_irq_mask(mc_io, 0, mc_dev->mc_handle, 0, 0x0); in disable_dprc_irq()
499 error = dprc_clear_irq_status(mc_io, 0, mc_dev->mc_handle, 0, ~0x0U); in disable_dprc_irq()
553 error = dprc_set_irq_mask(mc_dev->mc_io, 0, mc_dev->mc_handle, 0, in enable_dprc_irq()
566 error = dprc_set_irq_enable(mc_dev->mc_io, 0, mc_dev->mc_handle, 0, 1); in enable_dprc_irq()
676 &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.c88 mc_bus_dev->mc_handle, in __fsl_mc_msi_write_msg()
101 mc_bus_dev->mc_handle, in __fsl_mc_msi_write_msg()
Dfsl-mc-bus.c694 mc_bus_dev->mc_handle, in fsl_mc_device_get_mmio_regions()
951 mc_bus_dev->mc_handle, in fsl_mc_get_endpoint()
/linux-6.12.1/drivers/dma/fsl-dpaa2-qdma/
Ddpaa2-qdma.c320 err = dpdmai_open(priv->mc_io, 0, priv->dpqdma_id, &ls_dev->mc_handle); in dpaa2_qdma_setup()
328 err = dpdmai_get_attributes(priv->mc_io, 0, ls_dev->mc_handle, in dpaa2_qdma_setup()
364 err = dpdmai_get_rx_queue(priv->mc_io, 0, ls_dev->mc_handle, in dpaa2_qdma_setup()
372 err = dpdmai_get_tx_queue(priv->mc_io, 0, ls_dev->mc_handle, in dpaa2_qdma_setup()
386 dpdmai_close(priv->mc_io, 0, ls_dev->mc_handle); in dpaa2_qdma_setup()
544 err = dpdmai_set_rx_queue(priv->mc_io, 0, ls_dev->mc_handle, in dpaa2_dpdmai_bind()
574 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 …]
/linux-6.12.1/drivers/crypto/caam/
Dcaamalg_qi2.c4786 err = dpseci_set_rx_queue(priv->mc_io, 0, ls_dev->mc_handle, i, in dpaa2_dpseci_bind()
4819 err = dpseci_reset(priv->mc_io, 0, ls_dev->mc_handle); in dpaa2_dpseci_free()
4825 dpseci_close(priv->mc_io, 0, ls_dev->mc_handle); in dpaa2_dpseci_free()
5023 err = dpseci_open(priv->mc_io, 0, priv->dpsec_id, &ls_dev->mc_handle); in dpaa2_dpseci_setup()
5039 err = dpseci_reset(priv->mc_io, 0, ls_dev->mc_handle); in dpaa2_dpseci_setup()
5046 err = dpseci_get_attributes(priv->mc_io, 0, ls_dev->mc_handle, in dpaa2_dpseci_setup()
5053 err = dpseci_get_sec_attr(priv->mc_io, 0, ls_dev->mc_handle, in dpaa2_dpseci_setup()
5060 err = dpaa2_dpseci_congestion_setup(priv, ls_dev->mc_handle); in dpaa2_dpseci_setup()
5075 err = dpseci_get_rx_queue(priv->mc_io, 0, ls_dev->mc_handle, i, in dpaa2_dpseci_setup()
5084 err = dpseci_get_tx_queue(priv->mc_io, 0, ls_dev->mc_handle, i, in dpaa2_dpseci_setup()
[all …]
/linux-6.12.1/include/linux/fsl/
Dmc.h210 u16 mc_handle; member
/linux-6.12.1/drivers/vfio/fsl-mc/
Dvfio_fsl_mc.c75 mc_dev->mc_handle, in vfio_fsl_mc_reset_device()