Home
last modified time | relevance | path

Searched refs:eId (Results 1 – 5 of 5) sorted by relevance

/drivers/peripheral/audio/test/audio_utils/audio_mixer/
Daudio_mixer.c306 return (const char *)id->eId.name; in CtlElemName()
436 …rFindSelem(const struct HdfIoService *srv, const char *cardSrv, const struct AudioHwCtlElemId *eId) in MixerFindSelem() argument
442 if (eId == NULL) { in MixerFindSelem()
458 if (strcmp(eId->name, findElem[index].name) == 0) { in MixerFindSelem()
474 return id->eId.iface; in GetCtlElemIface()
751 …ret = strncpy_s(info.eIndexId.eId.name, AUDIO_ELEM_NAME_LEN - 1, ctlInfo->edx.eId.name, AUDIO_ELEM… in MctlGetElem()
756 info.eIndexId.eId.name[AUDIO_ELEM_NAME_LEN - 1] = '\0'; in MctlGetElem()
757 info.eIndexId.eId.iface = ctlInfo->edx.eId.iface; in MctlGetElem()
948 (void)memset_s(infoData.eIndexId.eId.name, AUDIO_ELEM_NAME_LEN, 0, AUDIO_ELEM_NAME_LEN); in SetChannels()
950 …infoData.eIndexId.eId.name, AUDIO_ELEM_NAME_LEN, "Captrue Channel Mode", strlen("Captrue Channel M… in SetChannels()
[all …]
Daudio_mixer_main.c310 static int32_t ParseName(const char *s, struct AudioHwCtlElemId *eId) in ParseName() argument
348 len = (int32_t)sizeof(eId->name); in ParseName()
350 return DupCtlName((char *)eId->name, len, buf, size); in ParseName()
394 sid->eId.iface = AUDIO_CTL_ELEM_IFACE_MIXER; in ParseElemIndex()
396 ret = ParseName(str + strlen("name"), &sid->eId); in ParseElemIndex()
461 … printf("index=%u, iface=%s, name='%s'\n", ctlInfo.edx.index, STRING(MIXER), ctlInfo.edx.eId.name); in MixerESet()
471 if (!MixerFindSelem(g_service, g_serviceName, &ctlInfo.edx.eId)) { in MixerESet()
472 … DEBUG_LOG("Can't find scontrol identifier: %s, %i\n", ctlInfo.edx.eId.name, ctlInfo.edx.index); in MixerESet()
Daudio_mixer.h161 …FindSelem(const struct HdfIoService *srv, const char *cardSrv, const struct AudioHwCtlElemId *eId);
/drivers/peripheral/audio/supportlibs/adm_adapter/src/
Daudio_interface_lib_common.c880 struct AudioCtlElemId eId = { in AudioFillDataInt() local
882 .itemName = data->eIndexId.eId.name, in AudioFillDataInt()
883 .iface = data->eIndexId.eId.iface in AudioFillDataInt()
886 if (!HdfSbufWriteInt32(sBuf, eId.iface)) { in AudioFillDataInt()
890 if (!HdfSbufWriteString(sBuf, eId.cardServiceName)) { in AudioFillDataInt()
894 if (!HdfSbufWriteString(sBuf, eId.itemName)) { in AudioFillDataInt()
1096 .id.itemName = data->eIndexId.eId.name, in AudioFillInfoDataToBuf()
1097 .id.iface = data->eIndexId.eId.iface in AudioFillInfoDataToBuf()
1206 .id.itemName = data->eIndexId.eId.name, in AudioFillSetDataToBuf()
1207 .id.iface = data->eIndexId.eId.iface, in AudioFillSetDataToBuf()
/drivers/peripheral/audio/supportlibs/adm_adapter/include/
Daudio_interface_lib_mixer.h97 struct AudioHwCtlElemId eId; member