/device/board/hisilicon/hispark_taurus/audio_drivers/soc/include/ |
H A D | hi3516_dma_ops.h | 31 int32_t Hi3516DmaBufAlloc(struct PlatformData *data, const enum AudioStreamType streamType); 32 int32_t Hi3516DmaBufFree(struct PlatformData *data, const enum AudioStreamType streamType); 33 int32_t Hi3516DmaRequestChannel(const struct PlatformData *data, const enum AudioStreamType streamType); 34 int32_t Hi3516DmaConfigChannel(const struct PlatformData *data, const enum AudioStreamType streamType); 35 int32_t Hi3516DmaPrep(const struct PlatformData *data, const enum AudioStreamType streamType); 36 int32_t Hi3516DmaSubmit(const struct PlatformData *data, const enum AudioStreamType streamType); 37 int32_t Hi3516DmaPending(struct PlatformData *data, const enum AudioStreamType streamType); 38 int32_t Hi3516DmaPause(struct PlatformData *data, const enum AudioStreamType streamType); 39 int32_t Hi3516DmaResume(const struct PlatformData *data, const enum AudioStreamType streamType); 40 int32_t Hi3516DmaPointer(struct PlatformData *data, const enum AudioStreamType streamType, uint32_ [all...] |
/device/board/hihope/dayu210/audio_drivers/soc/include/ |
H A D | rk3588_dma_ops.h | 22 int32_t Rk3588DmaBufAlloc(struct PlatformData *data, const enum AudioStreamType streamType); 23 int32_t Rk3588DmaBufFree(struct PlatformData *data, const enum AudioStreamType streamType); 24 int32_t Rk3588DmaRequestChannel(const struct PlatformData *data, const enum AudioStreamType streamType); 25 int32_t Rk3588DmaConfigChannel(const struct PlatformData *data, const enum AudioStreamType streamType); 26 int32_t Rk3588PcmPointer(struct PlatformData *data, const enum AudioStreamType streamType, uint32_t *pointer); 27 int32_t Rk3588DmaPrep(const struct PlatformData *data, const enum AudioStreamType streamType); 28 int32_t Rk3588DmaSubmit(const struct PlatformData *data, const enum AudioStreamType streamType); 29 int32_t Rk3588DmaPending(struct PlatformData *data, const enum AudioStreamType streamType); 30 int32_t Rk3588DmaPause(struct PlatformData *data, const enum AudioStreamType streamType); 31 int32_t Rk3588DmaResume(const struct PlatformData *data, const enum AudioStreamType streamType); [all...] |
/device/board/hihope/rk3568/audio_drivers/soc/include/ |
H A D | rk3568_dma_ops.h | 22 int32_t Rk3568DmaBufAlloc(struct PlatformData *data, const enum AudioStreamType streamType); 23 int32_t Rk3568DmaBufFree(struct PlatformData *data, const enum AudioStreamType streamType); 24 int32_t Rk3568DmaRequestChannel(const struct PlatformData *data, const enum AudioStreamType streamType); 25 int32_t Rk3568DmaConfigChannel(const struct PlatformData *data, const enum AudioStreamType streamType); 26 int32_t Rk3568PcmPointer(struct PlatformData *data, const enum AudioStreamType streamType, uint32_t *pointer); 27 int32_t Rk3568DmaPrep(const struct PlatformData *data, const enum AudioStreamType streamType); 28 int32_t Rk3568DmaSubmit(const struct PlatformData *data, const enum AudioStreamType streamType); 29 int32_t Rk3568DmaPending(struct PlatformData *data, const enum AudioStreamType streamType); 30 int32_t Rk3568DmaPause(struct PlatformData *data, const enum AudioStreamType streamType); 31 int32_t Rk3568DmaResume(const struct PlatformData *data, const enum AudioStreamType streamType); [all...] |
/device/board/hisilicon/hispark_taurus/audio_drivers/soc/src/ |
H A D | hi3516_dma_ops.c | 125 int32_t Hi3516DmaBufAlloc(struct PlatformData *data, const enum AudioStreamType streamType) in Hi3516DmaBufAlloc() argument 132 if (streamType == AUDIO_CAPTURE_STREAM) { in Hi3516DmaBufAlloc() 141 } else if (streamType == AUDIO_RENDER_STREAM) { in Hi3516DmaBufAlloc() 158 int32_t Hi3516DmaBufFree(struct PlatformData *data, const enum AudioStreamType streamType) in Hi3516DmaBufFree() argument 165 if (streamType == AUDIO_CAPTURE_STREAM) { in Hi3516DmaBufFree() 174 } else if (streamType == AUDIO_RENDER_STREAM) { in Hi3516DmaBufFree() 190 int32_t Hi3516DmaRequestChannel(const struct PlatformData *data, const enum AudioStreamType streamType) in Hi3516DmaRequestChannel() argument 196 int32_t Hi3516DmaConfigChannel(const struct PlatformData *data, const enum AudioStreamType streamType) in Hi3516DmaConfigChannel() argument 203 if (streamType == AUDIO_CAPTURE_STREAM) { in Hi3516DmaConfigChannel() 214 } else if (streamType in Hi3516DmaConfigChannel() 232 Hi3516DmaPrep(const struct PlatformData *data, const enum AudioStreamType streamType) Hi3516DmaPrep() argument 238 Hi3516DmaSubmit(const struct PlatformData *data, const enum AudioStreamType streamType) Hi3516DmaSubmit() argument 244 Hi3516DmaPending(struct PlatformData *data, const enum AudioStreamType streamType) Hi3516DmaPending() argument 264 Hi3516DmaPause(struct PlatformData *data, const enum AudioStreamType streamType) Hi3516DmaPause() argument 286 Hi3516DmaResume(const struct PlatformData *data, const enum AudioStreamType streamType) Hi3516DmaResume() argument 304 Hi3516DmaPointer(struct PlatformData *data, const enum AudioStreamType streamType, uint32_t *pointer) Hi3516DmaPointer() argument [all...] |
H A D | hi3516_dai_ops.c | 205 if (device->devData->pcmInfo.streamType == AUDIO_CAPTURE_STREAM) { in SetIISRate() 256 if (device->devData->pcmInfo.streamType == AUDIO_CAPTURE_STREAM) { in DaiParamsUpdate() 320 data->pcmInfo.streamType = param->streamType; in Hi3516DaiHwParams()
|
/device/board/hihope/dayu210/audio_drivers/soc/src/ |
H A D | rk3588_dma_ops.c | 48 uint32_t streamType; member 105 AUDIO_DEVICE_LOG_ERR("dma_request_slave_channel streamType=%d failed", i); in AudioDmaDeviceInit() 114 static int32_t DmaRtdMemAlloc(struct PlatformData *data, enum AudioStreamType streamType) in DmaRtdMemAlloc() argument 129 dmaRtd->streamType = streamType; in DmaRtdMemAlloc() 130 AUDIO_DEVICE_LOG_DEBUG("streamType = %d", streamType); in DmaRtdMemAlloc() 131 dmaRtd->dmaChn[streamType] = g_dmaChn[streamType]; in DmaRtdMemAlloc() 136 int32_t Rk3588DmaBufAlloc(struct PlatformData *data, const enum AudioStreamType streamType) in Rk3588DmaBufAlloc() argument 176 Rk3588DmaBufFree(struct PlatformData *data, const enum AudioStreamType streamType) Rk3588DmaBufFree() argument 202 Rk3588DmaRequestChannel(const struct PlatformData *data, const enum AudioStreamType streamType) Rk3588DmaRequestChannel() argument 209 Rk3588DmaConfigChannel(const struct PlatformData *data, const enum AudioStreamType streamType) Rk3588DmaConfigChannel() argument 255 Rk3588PcmPointer(struct PlatformData *data, const enum AudioStreamType streamType, uint32_t *pointer) Rk3588PcmPointer() argument 311 Rk3588DmaPrep(const struct PlatformData *data, const enum AudioStreamType streamType) Rk3588DmaPrep() argument 319 Rk3588DmaSubmit(const struct PlatformData *data, const enum AudioStreamType streamType) Rk3588DmaSubmit() argument 371 Rk3588DmaPending(struct PlatformData *data, const enum AudioStreamType streamType) Rk3588DmaPending() argument 393 Rk3588DmaPause(struct PlatformData *data, const enum AudioStreamType streamType) Rk3588DmaPause() argument 412 Rk3588DmaResume(const struct PlatformData *data, const enum AudioStreamType streamType) Rk3588DmaResume() argument [all...] |
/device/board/hihope/dayu210/audio_drivers/dai/src/ |
H A D | rk3588_dai_ops.c | 186 if (param->streamType == AUDIO_RENDER_STREAM) { in RK3588SetI2sChannels() 232 if (param->streamType == AUDIO_RENDER_STREAM) { in ConfigInfoSetToReg() 260 if (param->streamType == AUDIO_RENDER_STREAM) { in RK3588I2sTdmSetMclk() 267 } else if (param->streamType == AUDIO_CAPTURE_STREAM) { in RK3588I2sTdmSetMclk() 275 AUDIO_DEVICE_LOG_ERR("streamType is invalid."); in RK3588I2sTdmSetMclk() 366 data->pcmInfo.streamType = param->streamType; in Rk3588DaiHwParams() 412 enum AudioStreamType streamType = AUDIO_CAPTURE_STREAM; in GetStreamType() local 418 streamType = AUDIO_RENDER_STREAM; in GetStreamType() 424 streamType in GetStreamType() 434 Rk3588TxAndRxStart(struct rk3588_i2s_tdm_dev *i2sTdm, enum AudioStreamType streamType) Rk3588TxAndRxStart() argument 491 Rk3588TxAndRxStop(struct rk3588_i2s_tdm_dev *i2sTdm, enum AudioStreamType streamType) Rk3588TxAndRxStop() argument 550 Rk3588TxAndRxSetReg(struct rk3588_i2s_tdm_dev *i2sTdm, enum AudioStreamType streamType, int on) Rk3588TxAndRxSetReg() argument 584 enum AudioStreamType streamType = GetStreamType(cmd); Rk3588NormalTrigger() local [all...] |
/device/board/hihope/rk3568/audio_drivers/dai/src/ |
H A D | rk3568_dai_ops.c | 177 if (param->streamType == AUDIO_RENDER_STREAM) { in RK3568SetI2sChannels() 223 if (param->streamType == AUDIO_RENDER_STREAM) { in ConfigInfoSetToReg() 251 if (param->streamType == AUDIO_RENDER_STREAM) { in RK3568I2sTdmSetMclk() 258 } else if (param->streamType == AUDIO_CAPTURE_STREAM) { in RK3568I2sTdmSetMclk() 266 AUDIO_DEVICE_LOG_ERR("streamType is invalid."); in RK3568I2sTdmSetMclk() 364 data->pcmInfo.streamType = param->streamType; in Rk3568DaiHwParams() 414 enum AudioStreamType streamType = AUDIO_CAPTURE_STREAM; in GetStreamType() local 420 streamType = AUDIO_RENDER_STREAM; in GetStreamType() 426 streamType in GetStreamType() 436 Rk3568TxAndRxStart(struct rk3568_i2s_tdm_dev *i2sTdm, enum AudioStreamType streamType) Rk3568TxAndRxStart() argument 493 Rk3568TxAndRxStop(struct rk3568_i2s_tdm_dev *i2sTdm, enum AudioStreamType streamType) Rk3568TxAndRxStop() argument 552 Rk3568TxAndRxSetReg(struct rk3568_i2s_tdm_dev *i2sTdm, enum AudioStreamType streamType, int on) Rk3568TxAndRxSetReg() argument 586 enum AudioStreamType streamType = GetStreamType(cmd); Rk3568NormalTrigger() local [all...] |
/device/board/hihope/rk3568/audio_drivers/soc/src/ |
H A D | rk3568_dma_ops.c | 218 int32_t Rk3568DmaBufAlloc(struct PlatformData *data, const enum AudioStreamType streamType) in Rk3568DmaBufAlloc() argument 241 if (streamType == AUDIO_CAPTURE_STREAM) { in Rk3568DmaBufAlloc() 248 } else if (streamType == AUDIO_RENDER_STREAM) { in Rk3568DmaBufAlloc() 264 int32_t Rk3568DmaBufFree(struct PlatformData *data, const enum AudioStreamType streamType) in Rk3568DmaBufFree() argument 281 if (streamType == AUDIO_CAPTURE_STREAM) { in Rk3568DmaBufFree() 284 } else if (streamType == AUDIO_RENDER_STREAM) { in Rk3568DmaBufFree() 296 int32_t Rk3568DmaRequestChannel(const struct PlatformData *data, const enum AudioStreamType streamType) in Rk3568DmaRequestChannel() argument 303 int32_t Rk3568DmaConfigChannel(const struct PlatformData *data, const enum AudioStreamType streamType) in Rk3568DmaConfigChannel() argument 317 if (streamType == AUDIO_RENDER_STREAM) { in Rk3568DmaConfigChannel() 356 int32_t Rk3568PcmPointer(struct PlatformData *data, const enum AudioStreamType streamType, uint32_ argument 414 Rk3568DmaPrep(const struct PlatformData *data, const enum AudioStreamType streamType) Rk3568DmaPrep() argument 474 Rk3568DmaSubmit(const struct PlatformData *data, const enum AudioStreamType streamType) Rk3568DmaSubmit() argument 533 Rk3568DmaPending(struct PlatformData *data, const enum AudioStreamType streamType) Rk3568DmaPending() argument 567 Rk3568DmaPause(struct PlatformData *data, const enum AudioStreamType streamType) Rk3568DmaPause() argument 598 Rk3568DmaResume(const struct PlatformData *data, const enum AudioStreamType streamType) Rk3568DmaResume() argument [all...] |
/device/board/hisilicon/hispark_taurus/audio_drivers/unittest/src/ |
H A D | hi3516_common_func.c | 48 hwParam->streamType = 0; // AUDIO_RENDER_STREAM in InitHwParam()
|
/device/board/hihope/rk3568/audio_drivers/codec/rk809_codec/src/ |
H A D | rk809_codec_impl.c | 344 int32_t RK809DaiParamsUpdate(struct DaiDevice *codecDai, enum AudioStreamType streamType, in RK809DaiParamsUpdate() argument 362 if (streamType == AUDIO_RENDER_STREAM) { in RK809DaiParamsUpdate() 368 } else if (streamType == AUDIO_CAPTURE_STREAM) { in RK809DaiParamsUpdate() 375 AUDIO_DEVICE_LOG_ERR("streamType is invalid."); in RK809DaiParamsUpdate() 524 ret = RK809DaiParamsUpdate(card->rtd->codecDai, param->streamType, codecDaiParamsVal); in Rk809DaiHwParams()
|
/device/board/hihope/dayu210/audio_drivers/accessory/es8323/src/ |
H A D | es8323_impl.c | 691 playback = (param->streamType == AUDIO_RENDER_STREAM) ? true : false; in Es8323DaiHwParams()
|