ls_dev 4718 drivers/crypto/caam/caamalg_qi2.c struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); ls_dev 4738 drivers/crypto/caam/caamalg_qi2.c err = dpseci_set_rx_queue(priv->mc_io, 0, ls_dev->mc_handle, i, ls_dev 4767 drivers/crypto/caam/caamalg_qi2.c struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); ls_dev 4770 drivers/crypto/caam/caamalg_qi2.c dpseci_close(priv->mc_io, 0, ls_dev->mc_handle); ls_dev 4936 drivers/crypto/caam/caamalg_qi2.c static int __cold dpaa2_dpseci_setup(struct fsl_mc_device *ls_dev) ls_dev 4938 drivers/crypto/caam/caamalg_qi2.c struct device *dev = &ls_dev->dev; ls_dev 4947 drivers/crypto/caam/caamalg_qi2.c priv->dpsec_id = ls_dev->obj_desc.id; ls_dev 4950 drivers/crypto/caam/caamalg_qi2.c err = dpseci_open(priv->mc_io, 0, priv->dpsec_id, &ls_dev->mc_handle); ls_dev 4965 drivers/crypto/caam/caamalg_qi2.c err = dpseci_get_attributes(priv->mc_io, 0, ls_dev->mc_handle, ls_dev 4972 drivers/crypto/caam/caamalg_qi2.c err = dpseci_get_sec_attr(priv->mc_io, 0, ls_dev->mc_handle, ls_dev 4979 drivers/crypto/caam/caamalg_qi2.c err = dpaa2_dpseci_congestion_setup(priv, ls_dev->mc_handle); ls_dev 4994 drivers/crypto/caam/caamalg_qi2.c err = dpseci_get_rx_queue(priv->mc_io, 0, ls_dev->mc_handle, i, ls_dev 5003 drivers/crypto/caam/caamalg_qi2.c err = dpseci_get_tx_queue(priv->mc_io, 0, ls_dev->mc_handle, i, ls_dev 5045 drivers/crypto/caam/caamalg_qi2.c dpseci_close(priv->mc_io, 0, ls_dev->mc_handle); ls_dev 5053 drivers/crypto/caam/caamalg_qi2.c struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); ls_dev 5062 drivers/crypto/caam/caamalg_qi2.c return dpseci_enable(priv->mc_io, 0, ls_dev->mc_handle); ls_dev 5069 drivers/crypto/caam/caamalg_qi2.c struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); ls_dev 5072 drivers/crypto/caam/caamalg_qi2.c err = dpseci_disable(priv->mc_io, 0, ls_dev->mc_handle); ls_dev 5078 drivers/crypto/caam/caamalg_qi2.c err = dpseci_is_enabled(priv->mc_io, 0, ls_dev->mc_handle, &enabled); ls_dev 5344 drivers/crypto/caam/caamalg_qi2.c static int __cold dpaa2_caam_remove(struct fsl_mc_device *ls_dev) ls_dev 5350 drivers/crypto/caam/caamalg_qi2.c dev = &ls_dev->dev; ls_dev 2594 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c static int setup_dpni(struct fsl_mc_device *ls_dev) ls_dev 2596 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = &ls_dev->dev; ls_dev 2605 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c err = dpni_open(priv->mc_io, 0, ls_dev->obj_desc.id, &priv->mc_token); ls_dev 2626 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c ls_dev->mc_io = priv->mc_io; ls_dev 2627 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c ls_dev->mc_handle = priv->mc_token; ls_dev 3372 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c static int setup_irqs(struct fsl_mc_device *ls_dev) ls_dev 3377 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c err = fsl_mc_allocate_irqs(ls_dev); ls_dev 3379 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c dev_err(&ls_dev->dev, "MC irqs allocation failed\n"); ls_dev 3383 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c irq = ls_dev->irqs[0]; ls_dev 3384 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c err = devm_request_threaded_irq(&ls_dev->dev, irq->msi_desc->irq, ls_dev 3387 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c dev_name(&ls_dev->dev), &ls_dev->dev); ls_dev 3389 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c dev_err(&ls_dev->dev, "devm_request_threaded_irq(): %d\n", err); ls_dev 3393 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c err = dpni_set_irq_mask(ls_dev->mc_io, 0, ls_dev->mc_handle, ls_dev 3397 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c dev_err(&ls_dev->dev, "dpni_set_irq_mask(): %d\n", err); ls_dev 3401 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c err = dpni_set_irq_enable(ls_dev->mc_io, 0, ls_dev->mc_handle, ls_dev 3404 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c dev_err(&ls_dev->dev, "dpni_set_irq_enable(): %d\n", err); ls_dev 3411 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c devm_free_irq(&ls_dev->dev, irq->msi_desc->irq, &ls_dev->dev); ls_dev 3413 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c fsl_mc_free_irqs(ls_dev); ls_dev 3586 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c static int dpaa2_eth_remove(struct fsl_mc_device *ls_dev) ls_dev 3592 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c dev = &ls_dev->dev; ls_dev 3604 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c fsl_mc_free_irqs(ls_dev);