Lines Matching refs:dev
61 struct device *dev = component->dev; in fsl_asrc_dma_prepare_and_submit() local
75 dev_err(dev, "failed to prepare slave DMA for Front-End\n"); in fsl_asrc_dma_prepare_and_submit()
88 dev_err(dev, "failed to prepare slave DMA for Back-End\n"); in fsl_asrc_dma_prepare_and_submit()
145 struct device *dev = component->dev; in fsl_asrc_dma_hw_params() local
166 dev_be = dai->dev; in fsl_asrc_dma_hw_params()
171 dev_err(dev, "failed to get the substream of Back-End\n"); in fsl_asrc_dma_hw_params()
182 dev_err(dev, "failed to request DMA channel\n"); in fsl_asrc_dma_hw_params()
188 dev_err(dev, "failed to prepare DMA config for Front-End\n"); in fsl_asrc_dma_hw_params()
194 dev_err(dev, "failed to config DMA channel for Front-End\n"); in fsl_asrc_dma_hw_params()
215 dev_err(dev, "failed to request DMA channel for Back-End\n"); in fsl_asrc_dma_hw_params()
242 of_dma_node = pair->dma_chan[!dir]->device->dev->of_node; in fsl_asrc_dma_hw_params()
254 dev_err(dev, "failed to request DMA channel for Back-End\n"); in fsl_asrc_dma_hw_params()
299 dev_err(dev, "failed to config DMA channel for Back-End\n"); in fsl_asrc_dma_hw_params()
336 struct device *dev = component->dev; in fsl_asrc_dma_startup() local
337 struct fsl_asrc *asrc = dev_get_drvdata(dev); in fsl_asrc_dma_startup()
347 dev_err(dev, "failed to set pcm hw params periods\n"); in fsl_asrc_dma_startup()
366 dev_err(dev, "failed to request asrc pair\n"); in fsl_asrc_dma_startup()
373 dev_err(dev, "failed to get dma channel\n"); in fsl_asrc_dma_startup()
386 dev_err(dev, "failed to refine runtime hwparams\n"); in fsl_asrc_dma_startup()
443 ret = dma_coerce_mask_and_coherent(card->dev, DMA_BIT_MASK(32)); in fsl_asrc_dma_pcm_new()
445 dev_err(card->dev, "failed to set DMA mask\n"); in fsl_asrc_dma_pcm_new()
450 card->dev, FSL_ASRC_DMABUF_SIZE); in fsl_asrc_dma_pcm_new()