/drivers/hdf_core/framework/model/audio/usb/src/ |
D | audio_usb_validate_desc.c | 47 uint8_t protocol; member 238 static bool ValidateDesc(uint8_t *hdr, int32_t protocol, const struct UsbDescValidator *usbDesc) in ValidateDesc() argument 247 (usbDesc->protocol == UAC_VERSION_ALL || usbDesc->protocol == protocol)) { in ValidateDesc() 282 switch (usbDesc->protocol) { in ValidateMixerUnit() 305 switch (usbDesc->protocol) { in UacProcessGetLength() 394 switch (usbDesc->protocol) { in ValidateProcessingUnitSub() 475 switch (usbDesc->protocol) { in ValidateSelectorUnit() 515 …{.protocol = UAC_VERSION_1, .type = UAC_HEADER, .func = ValidateUac1Header … 516 …{.protocol = UAC_VERSION_1, .type = UAC_INPUT_TERMINAL, .size = sizeof(struct uac_input_terminal… 517 …{.protocol = UAC_VERSION_1, .type = UAC_OUTPUT_TERMINAL, .size = sizeof(struct uac1_output_termin… [all …]
|
D | audio_usb_parse_interface.c | 118 int32_t protocol; member 129 …d *AudioUsbFindInputDesc(struct usb_host_interface *ctlIface, int32_t terminalId, int32_t protocol) in AudioUsbFindInputDesc() argument 139 if (!AudioUsbValidateAudioDesc(term, protocol)) { in AudioUsbFindInputDesc() 151 static int32_t ParseUacEndpointAttr(struct usb_host_interface *alts, int32_t protocol, int32_t *att… in ParseUacEndpointAttr() argument 170 if (protocol == UAC_VERSION_1) { in ParseUacEndpointAttr() 172 } else if (protocol == UAC_VERSION_2) { in ParseUacEndpointAttr() 236 switch (audioUsbFormat->protocol) { in AudioUsbFormatTypeInit() 471 switch (audioUsbFormat->protocol) { in AudioUsbParseFormatSub() 497 if (audioUsbFormat->protocol == UAC_VERSION_1) { in AudioUsbParseFormatSub() 588 fp->protocol = uacFmt->protocol; in AudioUsbFormatInit() [all …]
|
D | audio_usb_mixer.c | 73 int32_t protocol; /* the usb audio specification version this interface complies to */ member 622 if (mixElemInfo->head.mixer->protocol == UAC_VERSION_1) { in AudioUsbGetCtlValue() 672 if (mixElemInfo->head.mixer->protocol == UAC_VERSION_1) { in AudioUsbMixerSetCtlValue() 874 if (state->mixer->protocol == UAC_VERSION_3) { in AudioUsbMixerUnitGetChannels() 905 int32_t protocol = state->mixer->protocol; in AudioUsbParseTermMixerUnit() local 915 if (protocol != UAC_VERSION_3) { in AudioUsbParseTermMixerUnit() 916 term->chconfig = uac_mixer_unit_wChannelConfig(mixUnitDesc, protocol); in AudioUsbParseTermMixerUnit() 934 if (state->mixer->protocol != UAC_VERSION_3) in AudioUsbParseTermSelectorUnit() 943 int32_t protocol = state->mixer->protocol; in AudioUsbParseTermProcUnit() local 958 if (protocol == UAC_VERSION_3) { in AudioUsbParseTermProcUnit() [all …]
|
D | audio_usb_linux.c | 101 uint32_t i, ifNum, protocol; in AudioUsbDriverInit() local 111 protocol = altsd->bInterfaceProtocol; in AudioUsbDriverInit() 134 if (protocol != UAC_VERSION_1) { in AudioUsbDriverInit()
|
/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/src/ |
D | hdi_interface_test.cpp | 63 scLimit.protocol = "sc"; 67 buckLimit.protocol = "buck"; 78 std::string writeChargeInfo = scLimit.protocol + " " + std::to_string(scLimit.value) + "\n" + 79 buckLimit.protocol + " " + std::to_string(buckLimit.value) + "\n"; 98 scLimit.protocol = "sc"; 102 buckLimit.protocol = "buck"; 113 std::string writeVoltageInfo = scLimit.protocol + " " + std::to_string(scLimit.value) + "\n" + 114 buckLimit.protocol + " " + std::to_string(buckLimit.value) + "\n";
|
/drivers/interface/usb/ddk/v1_0/ |
D | UsbDdkTypes.idl | 38 * @brief Setup data for control transfer. It corresponds to <b>Setup Data</b> in the USB protocol. 41 /** Request type, corresponding to bmRequestType in the USB protocol. */ 43 /** Request command, corresponding to bRequest in the USB protocol. */ 45 …/** Value corresponding to wValue in the USB protocol. Its meaning varies according to the request… 47 …/** Index corresponding to wIndex in the USB protocol. It is usually used to transfer the index or… 51 /** Data length, corresponding to wLength in the USB protocol. If data is transferred,\n 58 …Standard device descriptor, corresponding to <b>Standard Device Descriptor</b> in the USB protocol. 65 /** USB protocol release number. */
|
D | IUsbDdk.idl | 64 * @param desc Standard device descriptor defined in the USB protocol. 75 …nfigIndex Configuration index, which corresponds to <b>bConfigurationValue</b> in the USB protocol. 77 * USB protocol and the associated interface descriptor and endpoint descriptor. 88 …m interfaceIndex Interface index, which corresponds to <b>bInterfaceNumber</b> in the USB protocol. 112 * in the USB protocol. 123 * in the USB protocol. 134 * @param setup Request data, which corresponds to <b>Setup Data</b> in the USB protocol. 146 * @param setup Request data, which corresponds to <b>Setup Data</b> in the USB protocol.
|
/drivers/hdf_core/framework/model/audio/usb/include/ |
D | audio_usb_validate_desc.h | 31 bool AudioUsbValidateAudioDesc(void *ptr, int32_t protocol);
|
D | audio_usb_linux.h | 110 uint8_t protocol; /* UAC_VERSION_1/2/3 */ member
|
/drivers/peripheral/usb/interfaces/ddk/device/ |
D | usbfn_interface.h | 188 uint8_t protocol; member
|
/drivers/hdf_core/framework/model/network/wifi/platform/src/qos/ |
D | flow_control.c | 108 if (ipHeader->protocol == UDP_PROTOCOL) { in IpProcessFunc() 127 } else if (ipHeader->protocol == TCP_PROTOCOL) { in IpProcessFunc()
|
/drivers/peripheral/battery/interfaces/hdi_service/test/fuzztest/batteryhdi_fuzzer/ |
D | batteryhdi_fuzz.cpp | 162 item.protocol = std::string(reinterpret_cast<const char *>(data), size); in SetChargingLimit()
|
/drivers/interface/battery/v1_1/ |
D | Types.idl | 162 String protocol;
|
/drivers/interface/location/agnss/v1_0/ |
D | AGnssTypes.idl | 50 * @brief Defines the protocol type of the AGNSS user plane.
|
/drivers/interface/battery/v1_2/ |
D | Types.idl | 162 String protocol;
|
/drivers/hdf_core/framework/include/net/ |
D | net_device.h | 362 …uint8_t protocol; /**< Protocol, such as 1 (ICMP), 2 (IGMP), 6 (TCP), 17 (UDP), and 89 (O… member
|
/drivers/interface/ril/v1_1/ |
D | Types.idl | 590 * @brief Enumerates radio protocol phases. 620 * @brief Enumerates radio protocol states. 899 String protocol; 902 * Roaming protocol version 2029 * @brief Defines the protocol stack information of the primary and secondary SIM cards. 2043 * Radio protocol parameters. For details, see {@link RadioProtocolPhase}. 2048 * Radio protocol technology: 2070 * Radio protocol status. For details, see {@link RadioProtocolStatus}.
|
D | IRil.idl | 613 * @brief Activates the packet data protocol (PDP) context. 1109 * @brief Obtains the protocol stack of the primary and secondary SIM cards. 1123 * @brief Sets the protocol stack for the primary and secondary SIM cards. 1127 * @param radioProtocol Radio protocol information. For details, see {@link RadioProtocol}. 1138 * @brief Opens the logical channel of the application protocol data unit (APDU).
|
D | IRilCallback.idl | 878 * @brief Callback for reporting STK Radio protocol updates. 1064 …* @brief Callback for the response of querying the protocol stack of the primary and secondary SIM… 1068 * @param RadioProtocol Radio protocol. For details, see {@link RadioProtocol}. 1076 …* @brief Callback for the response of setting the protocol stack of the primary and secondary SIM … 1080 * @param RadioProtocol Radio protocol. For details, see {@link RadioProtocol}.
|
/drivers/interface/ril/v1_0/ |
D | Types.idl | 590 * @brief Enumerates radio protocol phases. 620 * @brief Enumerates radio protocol states. 859 String protocol; 862 * Roaming protocol version 1989 * @brief Defines the protocol stack information of the primary and secondary SIM cards. 2003 * Radio protocol parameters. For details, see {@link RadioProtocolPhase}. 2008 * Radio protocol technology: 2030 * Radio protocol status. For details, see {@link RadioProtocolStatus}.
|
D | IRil.idl | 583 * @brief Activates the packet data protocol (PDP) context. 1065 * @brief Obtains the protocol stack of the primary and secondary SIM cards. 1079 * @brief Sets the protocol stack for the primary and secondary SIM cards. 1083 * @param radioProtocol Radio protocol information. For details, see {@link RadioProtocol}. 1094 * @brief Opens the logical channel of the application protocol data unit (APDU).
|
D | IRilCallback.idl | 820 * @brief Callback for reporting STK Radio protocol updates. 1006 …* @brief Callback for the response of querying the protocol stack of the primary and secondary SIM… 1010 * @param RadioProtocol Radio protocol. For details, see {@link RadioProtocol}. 1018 …* @brief Callback for the response of setting the protocol stack of the primary and secondary SIM … 1022 * @param RadioProtocol Radio protocol. For details, see {@link RadioProtocol}.
|
/drivers/peripheral/usb/gadget/function/mtp/src/ |
D | usbfn_mtp_impl.cpp | 698 …fnIface->info.interfaceClass, fnIface->info.subclass, fnIface->info.protocol, fnIface->info.config… in UsbMtpDeviceParseEachPipe() 754 … iface->info.configIndex, iface->info.interfaceClass, iface->info.subclass, iface->info.protocol); in UsbFnInterfaceIsUsbMtpPtpDevice() 756 iface->info.protocol == USB_MTP_DEVICE_PROTOCOL) { in UsbFnInterfaceIsUsbMtpPtpDevice() 761 iface->info.protocol == USB_PTP_DEVICE_PROTOCOL) { in UsbFnInterfaceIsUsbMtpPtpDevice()
|
/drivers/hdf_core/adapter/khdf/linux/network/src/ |
D | net_device_adapter.c | 402 buff->protocol = eth_type_trans(buff, dev); in NetDevReceive()
|
/drivers/peripheral/usb/ddk/device/src/ |
D | usbfn_dev_mgr.c | 50 info->protocol = intf->bInterfaceProtocol; in GetInterfaceInfo()
|