/drivers/hdf_core/adapter/khdf/linux/model/usb/host/src/ |
D | usb_pnp_notify.c | 162 …t UsbPnpNotifyAddInitInfo(struct UsbPnpDeviceInfo *deviceInfo, union UsbPnpDeviceInfoData infoData) in UsbPnpNotifyAddInitInfo() argument 167 deviceInfo->info.usbDevAddr = (uint64_t)infoData.usbDev; in UsbPnpNotifyAddInitInfo() 168 deviceInfo->info.devNum = infoData.usbDev->devnum; in UsbPnpNotifyAddInitInfo() 169 if (infoData.usbDev->bus == NULL) { in UsbPnpNotifyAddInitInfo() 174 deviceInfo->info.busNum = infoData.usbDev->bus->busnum; in UsbPnpNotifyAddInitInfo() 176 deviceInfo->info.deviceInfo.vendorId = le16_to_cpu(infoData.usbDev->descriptor.idVendor); in UsbPnpNotifyAddInitInfo() 177 deviceInfo->info.deviceInfo.productId = le16_to_cpu(infoData.usbDev->descriptor.idProduct); in UsbPnpNotifyAddInitInfo() 178 deviceInfo->info.deviceInfo.bcdDeviceLow = le16_to_cpu(infoData.usbDev->descriptor.bcdDevice); in UsbPnpNotifyAddInitInfo() 179 deviceInfo->info.deviceInfo.bcdDeviceHigh = le16_to_cpu(infoData.usbDev->descriptor.bcdDevice); in UsbPnpNotifyAddInitInfo() 180 deviceInfo->info.deviceInfo.deviceClass = infoData.usbDev->descriptor.bDeviceClass; in UsbPnpNotifyAddInitInfo() [all …]
|
/drivers/hdf_core/adapter/khdf/liteos/model/usb/host/src/ |
D | usb_pnp_notify.c | 202 …t UsbPnpNotifyAddInitInfo(struct UsbPnpDeviceInfo *deviceInfo, union UsbPnpDeviceInfoData infoData) in UsbPnpNotifyAddInitInfo() argument 206 deviceInfo->info.usbDevAddr = (uint64_t)infoData.usbDev; in UsbPnpNotifyAddInitInfo() 207 deviceInfo->info.devNum = infoData.usbDev->address; in UsbPnpNotifyAddInitInfo() 208 deviceInfo->info.busNum = (int32_t)infoData.usbDev->port_no; in UsbPnpNotifyAddInitInfo() 210 deviceInfo->info.deviceInfo.vendorId = UGETW(infoData.usbDev->ddesc.idVendor); in UsbPnpNotifyAddInitInfo() 211 deviceInfo->info.deviceInfo.productId = UGETW(infoData.usbDev->ddesc.idProduct); in UsbPnpNotifyAddInitInfo() 212 deviceInfo->info.deviceInfo.bcdDeviceLow = UGETW(infoData.usbDev->ddesc.bcdDevice); in UsbPnpNotifyAddInitInfo() 213 deviceInfo->info.deviceInfo.bcdDeviceHigh = UGETW(infoData.usbDev->ddesc.bcdDevice); in UsbPnpNotifyAddInitInfo() 214 deviceInfo->info.deviceInfo.deviceClass = infoData.usbDev->ddesc.bDeviceClass; in UsbPnpNotifyAddInitInfo() 215 deviceInfo->info.deviceInfo.deviceSubClass = infoData.usbDev->ddesc.bDeviceSubClass; in UsbPnpNotifyAddInitInfo() [all …]
|
/drivers/peripheral/audio/test/audio_utils/audio_mixer/ |
D | audio_mixer.c | 113 …c int32_t AudioMixerGet(const struct HdfIoService *service, struct AudioMixerCtlElemInfo *infoData) in AudioMixerGet() argument 122 return AmixerGetCtlElem(g_pcmT, service, infoData); in AudioMixerGet() 125 …c int32_t AudioMixerSet(const struct HdfIoService *service, struct AudioMixerCtlElemInfo *infoData) in AudioMixerSet() argument 134 return AmixerSetCtlElem(g_pcmT, service, infoData); in AudioMixerSet() 932 struct AudioMixerCtlElemInfo infoData; in SetChannels() local 940 (void)memset_s(infoData.cardSrvName, AUDIO_CARD_SRV_NAME_LEN, 0, AUDIO_CARD_SRV_NAME_LEN); in SetChannels() 941 ret = strncpy_s(infoData.cardSrvName, AUDIO_CARD_SRV_NAME_LEN, cardSrv, strlen(cardSrv) + 1); in SetChannels() 946 infoData.cardSrvName[AUDIO_CARD_SRV_NAME_LEN - 1] = '\0'; in SetChannels() 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 …]
|
D | audio_mixer.h | 136 …int32_t (*GetElemProp)(const struct HdfIoService *service, struct AudioMixerCtlElemInfo *infoData); 146 …int32_t (*SetElemProp)(const struct HdfIoService *service, struct AudioMixerCtlElemInfo *infoData);
|
/drivers/hdf_core/adapter/khdf/linux/model/usb/host/include/ |
D | usb_pnp_notify.h | 75 struct UsbPnpAddRemoveInfo *infoData; member
|
/drivers/hdf_core/adapter/khdf/liteos/model/usb/host/include/ |
D | usb_pnp_notify.h | 96 struct UsbPnpAddRemoveInfo *infoData; member
|
/drivers/peripheral/audio/supportlibs/adm_adapter/src/ |
D | audio_interface_lib_common.c | 1321 struct AudioMixerCtlElemInfo *infoData = (struct AudioMixerCtlElemInfo *)data; in AudioMixerCtlGetElemProp() local 1323 return (pcm == PCM_CAPTURE) ? AudioCtlCaptureGetElemProp(service, cmd, infoData) : in AudioMixerCtlGetElemProp() 1324 AudioCtlRenderGetElemProp(service, cmd, infoData); in AudioMixerCtlGetElemProp() 1349 struct AudioMixerCtlElemInfo *infoData = (struct AudioMixerCtlElemInfo *)data; in AudioMixerCtlSetElemProp() local 1351 return (pcm == PCM_CAPTURE) ? AudioCtlCaptureSetElemProp(service, cmd, infoData) : in AudioMixerCtlSetElemProp() 1352 AudioCtlRenderSetElemProp(service, cmd, infoData); in AudioMixerCtlSetElemProp() 1368 …tlGetElem(AudioPcmType pcm, const struct HdfIoService *srv, struct AudioMixerCtlElemInfo *infoData) in AudioMixerCtlGetElem() argument 1373 if (srv == NULL || infoData == NULL) { in AudioMixerCtlGetElem() 1378 return AudioMixerCtlElemRoute(stream, srv, cmd, infoData); in AudioMixerCtlGetElem() 1382 AudioPcmType pcm, const struct HdfIoService *service, struct AudioMixerCtlElemInfo *infoData) in AudioMixerCtlSetElem() argument [all …]
|
/drivers/peripheral/usb/ddk/host/include/ |
D | usb_raw_api_library.h | 134 int32_t RawInitPnpService(enum UsbPnpNotifyServiceCmd cmdType, struct UsbPnpAddRemoveInfo infoData);
|
/drivers/peripheral/usb/ddk/host/src/ |
D | usb_interface_pool.c | 1109 struct UsbPnpAddRemoveInfo infoData = {0}; in UsbAddOrRemoveInterface() local 1144 infoData.devNum = (int32_t)interfacePool->devAddr; in UsbAddOrRemoveInterface() 1145 infoData.busNum = (int32_t)interfacePool->busNum; in UsbAddOrRemoveInterface() 1146 infoData.interfaceNumber = interfaceObj->interface.info.interfaceIndex; in UsbAddOrRemoveInterface() 1147 infoData.interfaceClass = interfaceObj->interface.info.interfaceClass; in UsbAddOrRemoveInterface() 1148 infoData.interfaceSubClass = interfaceObj->interface.info.interfaceSubClass; in UsbAddOrRemoveInterface() 1149 infoData.interfaceProtocol = interfaceObj->interface.info.interfaceProtocol; in UsbAddOrRemoveInterface() 1150 ret = RawInitPnpService(cmdType, infoData); in UsbAddOrRemoveInterface()
|
D | usb_raw_api_library.c | 1474 int32_t RawInitPnpService(enum UsbPnpNotifyServiceCmd cmdType, struct UsbPnpAddRemoveInfo infoData) in RawInitPnpService() argument 1497 … if (!HdfSbufWriteBuffer(pnpData, (const void *)(&infoData), sizeof(struct UsbPnpAddRemoveInfo))) { in RawInitPnpService()
|