| /Linux-v5.10/drivers/soc/fsl/dpio/ |
| D | dpio-driver.c | 146 &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 …]
|
| /Linux-v5.10/drivers/net/ethernet/freescale/dpaa2/ |
| D | dpaa2-mac.c | 159 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 …]
|
| D | dpaa2-ptp.c | 51 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() 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()
|
| D | dpaa2-eth.c | 2541 err = dpcon_open(priv->mc_io, 0, dpcon->obj_desc.id, &dpcon->mc_handle); in dpaa2_eth_setup_dpcon() 2547 err = dpcon_reset(priv->mc_io, 0, dpcon->mc_handle); in dpaa2_eth_setup_dpcon() 2553 err = dpcon_enable(priv->mc_io, 0, dpcon->mc_handle); in dpaa2_eth_setup_dpcon() 2562 dpcon_close(priv->mc_io, 0, dpcon->mc_handle); in dpaa2_eth_setup_dpcon() 2572 dpcon_disable(priv->mc_io, 0, dpcon->mc_handle); in dpaa2_eth_free_dpcon() 2573 dpcon_close(priv->mc_io, 0, dpcon->mc_handle); in dpaa2_eth_free_dpcon() 2594 err = dpcon_get_attributes(priv->mc_io, 0, channel->dpcon->mc_handle, in dpaa2_eth_alloc_channel() 2680 channel->dpcon->mc_handle, in dpaa2_eth_setup_dpio() 2851 &dpbp_dev->mc_handle); in dpaa2_eth_setup_dpbp() 2857 err = dpbp_reset(priv->mc_io, 0, dpbp_dev->mc_handle); in dpaa2_eth_setup_dpbp() [all …]
|
| /Linux-v5.10/drivers/bus/fsl-mc/ |
| D | dprc-driver.c | 252 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 …]
|
| D | mc-io.c | 26 &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()
|
| D | fsl-mc-msi.c | 90 mc_bus_dev->mc_handle, in __fsl_mc_msi_write_msg() 103 mc_bus_dev->mc_handle, in __fsl_mc_msi_write_msg()
|
| D | fsl-mc-bus.c | 587 mc_bus_dev->mc_handle, in fsl_mc_device_get_mmio_regions() 824 mc_bus_dev->mc_handle, in fsl_mc_get_endpoint()
|
| /Linux-v5.10/drivers/dma/fsl-dpaa2-qdma/ |
| D | dpaa2-qdma.c | 319 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() 361 err = dpdmai_get_rx_queue(priv->mc_io, 0, ls_dev->mc_handle, in dpaa2_qdma_setup() 369 err = dpdmai_get_tx_queue(priv->mc_io, 0, ls_dev->mc_handle, in dpaa2_qdma_setup() 383 dpdmai_close(priv->mc_io, 0, ls_dev->mc_handle); in dpaa2_qdma_setup() 540 err = dpdmai_set_rx_queue(priv->mc_io, 0, ls_dev->mc_handle, in dpaa2_dpdmai_bind() 570 err = dpdmai_reset(priv->mc_io, 0, ls_dev->mc_handle); in dpaa2_dpdmai_dpio_unbind() 701 err = dpdmai_enable(priv->mc_io, 0, dpdmai_dev->mc_handle); in dpaa2_qdma_probe() 750 dpdmai_disable(priv->mc_io, 0, dpdmai_dev->mc_handle); in dpaa2_qdma_probe() 758 dpdmai_close(priv->mc_io, 0, dpdmai_dev->mc_handle); in dpaa2_qdma_probe() [all …]
|
| /Linux-v5.10/drivers/vfio/fsl-mc/ |
| D | vfio_fsl_mc.c | 180 mc_cont->mc_handle, in vfio_fsl_mc_release() 319 mc_dev->mc_handle, in vfio_fsl_mc_ioctl()
|
| /Linux-v5.10/drivers/crypto/caam/ |
| D | caamalg_qi2.c | 4769 err = dpseci_set_rx_queue(priv->mc_io, 0, ls_dev->mc_handle, i, in dpaa2_dpseci_bind() 4802 err = dpseci_reset(priv->mc_io, 0, ls_dev->mc_handle); in dpaa2_dpseci_free() 4808 dpseci_close(priv->mc_io, 0, ls_dev->mc_handle); in dpaa2_dpseci_free() 4988 err = dpseci_open(priv->mc_io, 0, priv->dpsec_id, &ls_dev->mc_handle); in dpaa2_dpseci_setup() 5004 err = dpseci_reset(priv->mc_io, 0, ls_dev->mc_handle); in dpaa2_dpseci_setup() 5011 err = dpseci_get_attributes(priv->mc_io, 0, ls_dev->mc_handle, in dpaa2_dpseci_setup() 5018 err = dpseci_get_sec_attr(priv->mc_io, 0, ls_dev->mc_handle, in dpaa2_dpseci_setup() 5025 err = dpaa2_dpseci_congestion_setup(priv, ls_dev->mc_handle); in dpaa2_dpseci_setup() 5040 err = dpseci_get_rx_queue(priv->mc_io, 0, ls_dev->mc_handle, i, in dpaa2_dpseci_setup() 5049 err = dpseci_get_tx_queue(priv->mc_io, 0, ls_dev->mc_handle, i, in dpaa2_dpseci_setup() [all …]
|
| /Linux-v5.10/include/linux/fsl/ |
| D | mc.h | 199 u16 mc_handle; member
|