Home
last modified time | relevance | path

Searched refs:ls_dev (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/drivers/dma/fsl-dpaa2-qdma/
Ddpaa2-qdma.c303 static int __cold dpaa2_qdma_setup(struct fsl_mc_device *ls_dev) in dpaa2_qdma_setup() argument
306 struct device *dev = &ls_dev->dev; in dpaa2_qdma_setup()
315 priv->dpqdma_id = ls_dev->obj_desc.id; in dpaa2_qdma_setup()
318 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()
528 struct fsl_mc_device *ls_dev; in dpaa2_dpdmai_bind() local
532 ls_dev = to_fsl_mc_device(dev); in dpaa2_dpdmai_bind()
[all …]
/Linux-v6.1/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c3585 static int dpaa2_eth_setup_dpni(struct fsl_mc_device *ls_dev) in dpaa2_eth_setup_dpni() argument
3587 struct device *dev = &ls_dev->dev; in dpaa2_eth_setup_dpni()
3596 err = dpni_open(priv->mc_io, 0, ls_dev->obj_desc.id, &priv->mc_token); in dpaa2_eth_setup_dpni()
3617 ls_dev->mc_io = priv->mc_io; in dpaa2_eth_setup_dpni()
3618 ls_dev->mc_handle = priv->mc_token; in dpaa2_eth_setup_dpni()
4514 static int dpaa2_eth_setup_irqs(struct fsl_mc_device *ls_dev) in dpaa2_eth_setup_irqs() argument
4519 err = fsl_mc_allocate_irqs(ls_dev); in dpaa2_eth_setup_irqs()
4521 dev_err(&ls_dev->dev, "MC irqs allocation failed\n"); in dpaa2_eth_setup_irqs()
4525 irq = ls_dev->irqs[0]; in dpaa2_eth_setup_irqs()
4526 err = devm_request_threaded_irq(&ls_dev->dev, irq->virq, in dpaa2_eth_setup_irqs()
[all …]
/Linux-v6.1/drivers/crypto/caam/
Dcaamalg_qi2.c4753 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_bind() local
4773 err = dpseci_set_rx_queue(priv->mc_io, 0, ls_dev->mc_handle, i, in dpaa2_dpseci_bind()
4802 struct fsl_mc_device *ls_dev = to_fsl_mc_device(dev); in dpaa2_dpseci_free() local
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()
4978 static int __cold dpaa2_dpseci_setup(struct fsl_mc_device *ls_dev) in dpaa2_dpseci_setup() argument
4980 struct device *dev = &ls_dev->dev; in dpaa2_dpseci_setup()
4989 priv->dpsec_id = ls_dev->obj_desc.id; in dpaa2_dpseci_setup()
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()
[all …]