Searched refs:ppd (Results 1 – 4 of 4) sorted by relevance
/device/board/osware/imx8mm/drivers/audio/soc/src/ |
D | dma_driver.c | 38 struct PrivPlatformData *ppd = (struct PrivPlatformData *)platformData->dmaPrv; in DMATxComplete() local 40 ppd->tx_dma_pos += platformData->renderBufInfo.periodSize; in DMATxComplete() 41 if (ppd->tx_dma_pos == platformData->renderBufInfo.cirBufSize) { in DMATxComplete() 42 ppd->tx_dma_pos = 0; in DMATxComplete() 45 AUDIO_DRIVER_LOG_INFO("dma tx complete. pos:%x", ppd->tx_dma_pos); in DMATxComplete() 47 status = dmaengine_tx_status(ppd->dma_chan_tx, ppd->cookie_tx, &state); in DMATxComplete() 52 struct PrivPlatformData *ppd; in DMADeinitTxBuff() local 59 ppd = (struct PrivPlatformData *)platformData->dmaPrv; in DMADeinitTxBuff() 60 if (ppd->dma_chan_tx) { in DMADeinitTxBuff() 61 dmaengine_terminate_sync(ppd->dma_chan_tx); in DMADeinitTxBuff() [all …]
|
D | imx8mm_platform_adapter.c | 187 static int32_t PlatformGetInfoFromHcs(struct PrivPlatformData *ppd, in PlatformGetInfoFromHcs() argument 191 if (ppd == NULL || node == NULL || iface == NULL || iface->GetString == NULL) { in PlatformGetInfoFromHcs() 196 if (iface->GetString(node, "sai_name", &ppd->sai_name, NULL) != HDF_SUCCESS) { in PlatformGetInfoFromHcs() 201 AUDIO_DRIVER_LOG_ERR("sai name = %s", ppd->sai_name); in PlatformGetInfoFromHcs() 209 struct PrivPlatformData *ppd = (struct PrivPlatformData*)para; in PlatformFindDeviceFromBus() local 222 if (!strstr(pdev->name, ppd->sai_name)) { in PlatformFindDeviceFromBus() 225 ppd->pdev = pdev; in PlatformFindDeviceFromBus() 233 struct PrivPlatformData *ppd = NULL; in PlatformDmaPrvDataInit() local 240 ppd = (struct PrivPlatformData *)OsalMemCalloc(sizeof(struct PrivPlatformData)); in PlatformDmaPrvDataInit() 241 if (ppd == NULL) { in PlatformDmaPrvDataInit() [all …]
|
D | sai_driver.c | 58 struct PrivPlatformData *ppd = NULL; in GetDrvSai() local 63 ppd = (struct PrivPlatformData *)pd->dmaPrv; in GetDrvSai() 64 if (ppd != NULL) { in GetDrvSai() 65 return &(ppd->sai); in GetDrvSai() 161 struct PrivPlatformData *ppd = (struct PrivPlatformData *)devid; in fsl_sai_rx_irq() local 162 struct fsl_sai *sai = (struct fsl_sai *)&(ppd->sai); in fsl_sai_rx_irq() 196 struct PrivPlatformData *ppd = (struct PrivPlatformData *)devid; in fsl_sai_isr() local 197 struct fsl_sai *sai = (struct fsl_sai *)&(ppd->sai); in fsl_sai_isr() 1141 static int32_t SaiSetDaiFmtTr(struct PrivPlatformData *ppd, unsigned int fmt, int fsl_dir) in SaiSetDaiFmtTr() argument 1149 if (ppd == NULL) { in SaiSetDaiFmtTr() [all …]
|
D | imx8mm_platform_ops.c | 232 struct PrivPlatformData *ppd = NULL; in Imx8mmDmaPause() local 239 ppd = (struct PrivPlatformData *)data->dmaPrv; in Imx8mmDmaPause() 247 ppd->tx_dma_pos = 0; in Imx8mmDmaPause() 283 struct PrivPlatformData *ppd = NULL; in Imx8mmDmaPointer() local 290 ppd = (struct PrivPlatformData *)data->dmaPrv; in Imx8mmDmaPointer() 294 *pointer = (ppd->tx_dma_pos) / (data->renderPcmInfo.frameSize); in Imx8mmDmaPointer() 298 *pointer = (ppd->rx_dma_pos) / (data->capturePcmInfo.frameSize); in Imx8mmDmaPointer()
|