/drivers/peripheral/usb/gadget/function/ecm/ |
D | cdcecm.c | 49 static int32_t UsbEcmStartTx(struct UsbEcm *port) in UsbEcmStartTx() argument 51 struct DListHead *pool = &port->writePool; in UsbEcmStartTx() 52 if (port->ecm == NULL) { in UsbEcmStartTx() 56 while (!port->writeBusy && !DListIsEmpty(pool)) { in UsbEcmStartTx() 59 if (port->writeStarted >= QUEUE_SIZE) { in UsbEcmStartTx() 63 OsalMutexLock(&port->lockWriteFifo); in UsbEcmStartTx() 64 len = DataFifoRead(&port->writeFifo, req->buf, port->ecm->dataInPipe.maxPacketSize); in UsbEcmStartTx() 65 OsalMutexUnlock(&port->lockWriteFifo); in UsbEcmStartTx() 71 port->writeBusy = true; in UsbEcmStartTx() 73 port->writeBusy = false; in UsbEcmStartTx() [all …]
|
/drivers/peripheral/usb/gadget/function/acm/ |
D | cdcacm.c | 47 static int32_t UsbSerialStartTx(struct UsbSerial *port) in UsbSerialStartTx() argument 49 if (port == NULL) { in UsbSerialStartTx() 52 struct DListHead *pool = &port->writePool; in UsbSerialStartTx() 54 if (port->acm == NULL) { in UsbSerialStartTx() 57 while (!port->writeBusy && !DListIsEmpty(pool)) { in UsbSerialStartTx() 60 if (port->writeStarted >= QUEUE_SIZE) { in UsbSerialStartTx() 67 len = DataFifoRead(&port->writeFifo, req->buf, port->acm->dataInPipe.maxPacketSize); in UsbSerialStartTx() 73 port->writeBusy = true; in UsbSerialStartTx() 75 port->writeBusy = false; in UsbSerialStartTx() 81 port->writeStarted++; in UsbSerialStartTx() [all …]
|
/drivers/peripheral/usb/hdi_service/src/ |
D | usb_impl.cpp | 76 HostDevice *port = nullptr; in FindDevFromService() local 82 port = reinterpret_cast<HostDevice *>(HdfSListIteratorNext(&it)); in FindDevFromService() 83 if (port == nullptr) { in FindDevFromService() 86 if (port->busNum == busNum && port->devAddr == devAddr) { in FindDevFromService() 95 return port; in FindDevFromService() 210 int32_t UsbImpl::ReOpenDevice(HostDevice *port) in ReOpenDevice() argument 212 if (port == nullptr) { in ReOpenDevice() 217 uint8_t busNum = port->busNum; in ReOpenDevice() 218 uint8_t devAddr = port->devAddr; in ReOpenDevice() 219 UsbdDispatcher::UsbdRelease(port); in ReOpenDevice() [all …]
|
D | usbd_dispatcher.cpp | 200 UsbdRequestSync *UsbdDispatcher::UsbdFindRequestSync(HostDevice *port, uint8_t interfaceId, uint8_t… in UsbdFindRequestSync() argument 202 if (port == nullptr) { in UsbdFindRequestSync() 210 OsalMutexLock(&port->reqSyncLock); in UsbdFindRequestSync() 211 HdfSListIteratorInit(&it, &port->reqSyncList); in UsbdFindRequestSync() 222 OsalMutexUnlock(&port->reqSyncLock); in UsbdFindRequestSync() 263 HostDevice *port, UsbInterfaceHandle *ifHandle, UsbPipeInfo *pipe, UsbdRequestSync *requestSync) in UsbdRequestSyncInit() argument 265 if (port == nullptr || requestSync == nullptr || ifHandle == nullptr || pipe == nullptr) { in UsbdRequestSyncInit() 283 requestSync->params.userData = port; in UsbdRequestSyncInit() 284 OsalMutexLock(&port->reqSyncLock); in UsbdRequestSyncInit() 285 HdfSListAdd(&port->reqSyncList, &requestSync->node); in UsbdRequestSyncInit() [all …]
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/pipeline_core/nodes/mpi_node/ |
D | mpi_node.cpp | 41 std::shared_ptr<IPort> port = nullptr; in ConnectMpi() local 46 port = it; in ConnectMpi() 50 if (port == nullptr) { in ConnectMpi() 55 auto peerPort = port->Peer(); in ConnectMpi() 61 port->GetNode()->GetName().c_str(), peerNode->GetName().c_str()); in ConnectMpi() 62 …RetCode rc = deviceManager_->Connect(name_, port->GetName(), peerNode->GetName(), peerPort->GetNam… in ConnectMpi() 79 std::shared_ptr<IPort> port = nullptr; in DisConnectMpi() local 84 port = it; in DisConnectMpi() 88 if (port == nullptr) { in DisConnectMpi() 93 auto peerPort = port->Peer(); in DisConnectMpi() [all …]
|
/drivers/hdf_core/adapter/platform/uart/ |
D | uart_asr.c | 57 uint32_t port; member 211 params->port = udd->resource.port; in Asr582xUartConfig() 217 params->priv = (void *)g_evtHandler[udd->resource.port]; in Asr582xUartConfig() 232 uint8_t port = 0; in UartHostDevRead() local 240 port = udd->resource.port; in UartHostDevRead() 241 src = rx_buf[port]; in UartHostDevRead() 243 HDF_LOGE("%s: uart_%d not useable", __func__, port); in UartHostDevRead() 247 LOS_MuxPend(g_uartRxMutex[port], LOS_WAIT_FOREVER); in UartHostDevRead() 250 if (rx_head[port] != rx_tail[port]) { in UartHostDevRead() 251 data[recv_len++] = src[rx_tail[port]++]; in UartHostDevRead() [all …]
|
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/server/src/ |
D | hdf_audio_server.cpp | 97 for (uint32_t port = 0; port < desc->portNum; port++) { in SwitchAdapter() local 98 if (desc->ports[port].dir == portFlag) { in SwitchAdapter() 99 *renderPort = desc->ports[port]; in SwitchAdapter() 137 AudioPortDirection port = (AudioPortDirection)tempDir; in HdiServiceLoadAdapter() local 143 int index = SwitchAdapter(g_descs, adapterName, port, in HdiServiceLoadAdapter() 231 struct AudioPort port; in HdiServiceGetPortCapability() local 243 port.dir = (AudioPortDirection)tempDir; in HdiServiceGetPortCapability() 244 if (!HdfSbufReadUint32(data, &port.portId)) { in HdiServiceGetPortCapability() 247 if ((port.portName = HdfSbufReadString(data)) == NULL) { in HdiServiceGetPortCapability() 250 HDF_LOGE("port.portName = %{public}s", port.portName); in HdiServiceGetPortCapability() [all …]
|
/drivers/peripheral/usb/serial/src/ |
D | usb_serial_rawapi.c | 498 struct SerialDevice *port = NULL; in UsbSerialDeviceAlloc() local 505 port = (struct SerialDevice *)OsalMemCalloc(sizeof(*port)); in UsbSerialDeviceAlloc() 506 if (port == NULL) { in UsbSerialDeviceAlloc() 510 if (OsalMutexInit(&port->lock) != HDF_SUCCESS) { in UsbSerialDeviceAlloc() 514 port->lineCoding.dwDTERate = CPU_TO_LE32(DATARATE); in UsbSerialDeviceAlloc() 515 port->lineCoding.bCharFormat = USB_CDC_1_STOP_BITS; in UsbSerialDeviceAlloc() 516 port->lineCoding.bParityType = USB_CDC_NO_PARITY; in UsbSerialDeviceAlloc() 517 port->lineCoding.bDataBits = DATA_BITS_LENGTH; in UsbSerialDeviceAlloc() 518 acm->lineCoding = port->lineCoding; in UsbSerialDeviceAlloc() 519 acm->port = port; in UsbSerialDeviceAlloc() [all …]
|
D | usb_serial.c | 528 struct SerialDevice *port = NULL; in UsbSerialDeviceAlloc() local 533 port = (struct SerialDevice *)OsalMemCalloc(sizeof(*port)); in UsbSerialDeviceAlloc() 534 if (port == NULL) { in UsbSerialDeviceAlloc() 538 if (OsalMutexInit(&port->lock) != HDF_SUCCESS) { in UsbSerialDeviceAlloc() 542 port->lineCoding.dwDTERate = CPU_TO_LE32(DATARATE); in UsbSerialDeviceAlloc() 543 port->lineCoding.bCharFormat = USB_CDC_1_STOP_BITS; in UsbSerialDeviceAlloc() 544 port->lineCoding.bParityType = USB_CDC_NO_PARITY; in UsbSerialDeviceAlloc() 545 port->lineCoding.bDataBits = DATA_BITS_LENGTH; in UsbSerialDeviceAlloc() 546 acm->lineCoding = port->lineCoding; in UsbSerialDeviceAlloc() 547 acm->port = port; in UsbSerialDeviceAlloc() [all …]
|
/drivers/peripheral/usb/test/unittest/device_sdk/ |
D | usb_device_cdcacm_test.cpp | 323 struct Serial *port = nullptr; in SerialAlloc() local 324 port = static_cast<struct Serial *>(OsalMemCalloc(sizeof(*port))); in SerialAlloc() 325 if (port == nullptr) { in SerialAlloc() 328 OsalMutexInit(&port->lock); in SerialAlloc() 329 DListHeadInit(&port->readPool); in SerialAlloc() 330 DListHeadInit(&port->readQueue); in SerialAlloc() 331 DListHeadInit(&port->writePool); in SerialAlloc() 333 port->lineCoding.dwDTERate = CPU_TO_LE32(PORT_RATE); in SerialAlloc() 334 port->lineCoding.bCharFormat = USB_CDC_1_STOP_BITS; in SerialAlloc() 335 port->lineCoding.bParityType = USB_CDC_NO_PARITY; in SerialAlloc() [all …]
|
/drivers/hdf_core/adapter/platform/gpio/ |
D | gpio_asr.c | 70 uint8_t port; member 84 if ((uint16_t)dev->port >= ASR_GPIO_TOTAL_NUM) { in OemGpioIrqHdl() 85 HDF_LOGE("%s %d, error pin:%d", __func__, __LINE__, (uint16_t)dev->port); in OemGpioIrqHdl() 115 HDF_LOGE("%s %d, error pin:%d", __func__, __LINE__, dev->port); in GpioDevWrite() 133 HDF_LOGE("%s %d, error pin:%d", __func__, __LINE__, dev->port); in GpioDevRead() 152 HDF_LOGE("%s %d, error pin:%d", __func__, __LINE__, dev->port); in GpioDevSetDir() 167 if (dev->port >= ASR_GPIO_TOTAL_NUM) { in GpioDevGetDir() 168 HDF_LOGE("%s %d, error pin:%d", __func__, __LINE__, dev->port); in GpioDevGetDir() 181 HDF_LOGE("%s %d, pin:%d", __func__, __LINE__, (uint16_t)dev->port); in GpioDevSetIrq() 182 if (dev->port >= ASR_GPIO_TOTAL_NUM) { in GpioDevSetIrq() [all …]
|
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/proxy/src/ |
D | audio_proxy_adapter.cpp | 254 portCapability[i].port = ports[i]; in AudioProxyAdapterInitAllPorts() 389 const struct AudioPort *port, struct HdfSBuf *data) in AudioProxyAdapterWritePortCapability() argument 391 if (hwAdapter == NULL || port == NULL || data == NULL) { in AudioProxyAdapterWritePortCapability() 401 uint32_t tempDir = (uint32_t)port->dir; in AudioProxyAdapterWritePortCapability() 405 if (!HdfSbufWriteUint32(data, port->portId)) { in AudioProxyAdapterWritePortCapability() 408 if (port->portName == NULL) { in AudioProxyAdapterWritePortCapability() 411 if (!HdfSbufWriteString(data, port->portName)) { in AudioProxyAdapterWritePortCapability() 418 const struct AudioPort *port, struct AudioPortCapability *capability) in AudioProxyAdapterGetPortCapability() argument 421 if (adapter == NULL || port == NULL || port->portName == NULL || capability == NULL) { in AudioProxyAdapterGetPortCapability() 424 if (port->portId < 0) { in AudioProxyAdapterGetPortCapability() [all …]
|
/drivers/peripheral/codec/test/unittest/idl_omx/ |
D | codec_function_utils.cpp | 58 void FunctionUtil::InitCodecBufferWithAshMem(enum PortIndex port, int bufferSize, shared_ptr<OmxCod… in InitCodecBufferWithAshMem() argument 64 if (port == PortIndex::INDEX_INPUT) { in InitCodecBufferWithAshMem() 74 uint32_t port, CodecBufferType bufferType) in InitBufferHandleParameter() argument 77 param.nPortIndex = port; in InitBufferHandleParameter() 104 type.portIndex = port; in InitBufferHandleParameter() 136 bool FunctionUtil::UseDynaBuffer(sptr<ICodecComponent> component, enum PortIndex port, int bufferCo… in UseDynaBuffer() argument 150 auto ret = component->UseBuffer(static_cast<uint32_t>(port), *omxBuffer.get(), outBuffer); in UseDynaBuffer() 164 bool FunctionUtil::UseHandleBuffer(sptr<ICodecComponent> component, enum PortIndex port, in UseHandleBuffer() argument 179 auto ret = component->UseBuffer(static_cast<uint32_t>(port), *omxBuffer.get(), outBuffer); in UseHandleBuffer() 193 bool FunctionUtil::UseBufferOnPort(sptr<ICodecComponent> component, enum PortIndex port, in UseBufferOnPort() argument [all …]
|
D | codec_function_utils.h | 125 …void InitCodecBufferWithAshMem(enum PortIndex port, int bufferSize, std::shared_ptr<OmxCodecBuffer… 129 uint32_t port, CodecBufferType bufferType); 133 …bool UseDynaBuffer(sptr<ICodecComponent> component, enum PortIndex port, int bufferCount, int buff… 135 …bool UseHandleBuffer(sptr<ICodecComponent> component, enum PortIndex port, int bufferCount, int bu… 137 bool UseBufferOnPort(sptr<ICodecComponent> component, enum PortIndex port, int32_t bufferCount, 140 …bool AllocateBufferOnPort(sptr<ICodecComponent> component, enum PortIndex port, int32_t bufferCoun… 143 bool FreeBufferOnPort(sptr<ICodecComponent> component, enum PortIndex port);
|
/drivers/hdf_core/framework/test/unittest/model/usb/device/src/ |
D | usb_device_lite_cdcacm_test.c | 311 struct Serial *port = NULL; in SerialAlloc() local 312 port = (struct Serial *)OsalMemCalloc(sizeof(*port)); in SerialAlloc() 313 if (port == NULL) { in SerialAlloc() 316 OsalMutexInit(&port->lock); in SerialAlloc() 317 DListHeadInit(&port->readPool); in SerialAlloc() 318 DListHeadInit(&port->readQueue); in SerialAlloc() 319 DListHeadInit(&port->writePool); in SerialAlloc() 321 port->lineCoding.dwDTERate = CPU_TO_LE32(PORT_RATE); in SerialAlloc() 322 port->lineCoding.bCharFormat = USB_CDC_1_STOP_BITS; in SerialAlloc() 323 port->lineCoding.bParityType = USB_CDC_NO_PARITY; in SerialAlloc() [all …]
|
/drivers/peripheral/codec/hal/idl_service/src/ |
D | codec_component_config.cpp | 320 {CODEC_CONFIG_KEY_MIN_WIDTH, cap.port.video.minSize.width, 0}, in GetVideoPortCapability() 321 {CODEC_CONFIG_KEY_MIN_HEIGHT, cap.port.video.minSize.height, 0}, in GetVideoPortCapability() 322 {CODEC_CONFIG_KEY_MAX_WIDTH, cap.port.video.maxSize.width, 0}, in GetVideoPortCapability() 323 {CODEC_CONFIG_KEY_MAX_HEIGHT, cap.port.video.maxSize.height, 0}, in GetVideoPortCapability() 324 {CODEC_CONFIG_KEY_WIDTH_ALIGNMENT, cap.port.video.whAlignment.widthAlignment, 0}, in GetVideoPortCapability() 325 {CODEC_CONFIG_KEY_HEIGHT_ALIGNMENT, cap.port.video.whAlignment.heightAlignment, 0}, in GetVideoPortCapability() 326 {CODEC_CONFIG_KEY_MIN_BLOCK_COUNT, cap.port.video.blockCount.min, 0}, in GetVideoPortCapability() 327 {CODEC_CONFIG_KEY_MAX_BLOCK_COUNT, cap.port.video.blockCount.max, 0}, in GetVideoPortCapability() 328 {CODEC_CONFIG_KEY_MIN_BLOCKS_PER_SECOND, cap.port.video.blocksPerSecond.min, 0}, in GetVideoPortCapability() 329 {CODEC_CONFIG_KEY_MAX_BLOCKS_PER_SECOND, cap.port.video.blocksPerSecond.max, 0}, in GetVideoPortCapability() [all …]
|
/drivers/peripheral/codec/hal/src/ |
D | codec_config_parser.c | 128 …{CODEC_CONFIG_KEY_MIN_WIDTH, (uint32_t*)&cap->port.video.minSize.width, … in GetVideoPortCapability() 129 …{CODEC_CONFIG_KEY_MIN_HEIGHT, (uint32_t*)&cap->port.video.minSize.height, … in GetVideoPortCapability() 130 …{CODEC_CONFIG_KEY_MAX_WIDTH, (uint32_t*)&cap->port.video.maxSize.width, … in GetVideoPortCapability() 131 …{CODEC_CONFIG_KEY_MAX_HEIGHT, (uint32_t*)&cap->port.video.maxSize.height, … in GetVideoPortCapability() 132 …{CODEC_CONFIG_KEY_WIDTH_ALIGNMENT, (uint32_t*)&cap->port.video.whAlignment.widthAlignment, … in GetVideoPortCapability() 133 …{CODEC_CONFIG_KEY_HEIGHT_ALIGNMENT, (uint32_t*)&cap->port.video.whAlignment.heightAlignment, … in GetVideoPortCapability() 134 …{CODEC_CONFIG_KEY_MIN_BLOCK_COUNT, (uint32_t*)&cap->port.video.blockCount.min, … in GetVideoPortCapability() 135 …{CODEC_CONFIG_KEY_MAX_BLOCK_COUNT, (uint32_t*)&cap->port.video.blockCount.max, … in GetVideoPortCapability() 136 …{CODEC_CONFIG_KEY_MIN_BLOCKS_PER_SECOND, (uint32_t*)&cap->port.video.blocksPerSecond.min, … in GetVideoPortCapability() 137 …{CODEC_CONFIG_KEY_MAX_BLOCKS_PER_SECOND, (uint32_t*)&cap->port.video.blocksPerSecond.max, … in GetVideoPortCapability() [all …]
|
/drivers/peripheral/usb/hdi_service/include/ |
D | usbd_dispatcher.h | 80 …static UsbdRequestSync *UsbdFindRequestSync(HostDevice *port, uint8_t interfaceId, uint8_t pipeAdd… 84 … HostDevice *port, UsbInterfaceHandle *ifHandle, UsbPipeInfo *pipe, UsbdRequestSync *requestSync); 92 static void RemoveDevFromService(UsbImpl *service, HostDevice *port); 108 … HostDevice *port, UsbInterfaceHandle *ifHandle, UsbPipeInfo *pipe, UsbdRequestASync *request); 109 …static UsbdRequestASync *UsbdRequestASyncCreatAndInsert(HostDevice *port, uint8_t interfaceId, uin… 110 static int32_t HostDeviceInit(HostDevice *port); 111 static int32_t HostDeviceCreate(HostDevice **port); 112 static int32_t FunAttachDevice(HostDevice *port, HdfSBuf *data, HdfSBuf *reply); 114 static int32_t FunDetachDevice(HostDevice *port, HdfSBuf *data); 119 static UsbdBulkASyncList *UsbdBulkASyncListAlloc(HostDevice *port, uint8_t ifId, uint8_t epId);
|
D | usb_impl.h | 90 static int32_t UsbdRequestSyncReleaseList(HostDevice *port); 91 static int32_t UsbdRequestASyncReleaseList(HostDevice *port); 92 static int32_t UsbdBulkASyncListReleasePort(HostDevice *port); 108 static int32_t ReOpenDevice(HostDevice *port); 110 HostDevice *port, uint8_t interfaceId, uint8_t pipeAddr, UsbdRequestSync **request); 114 …HostDevice *port, UsbdRequestSync *requestSync, const uint8_t *buffer, uint32_t length, int32_t ti… 115 UsbdRequestASync *UsbdFindRequestASync(HostDevice *port, uint8_t interfaceId, uint8_t pipeAddr); 117 HostDevice *port, UsbdRequestASync *reqAsync, const uint8_t *buffer, uint32_t length); 118 int32_t GetRequestMsgFromQueue(HostDevice *port, UsbdRequestASync **reqMsg); 120 … HostDevice *port, UsbdRequestASync *reqMsg, int32_t timeout, uint8_t **buffer, uint32_t *length); [all …]
|
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/ |
D | audio_adapter.cpp | 283 portCapability[i].port = ports[i]; in AudioAdapterInitAllPorts() 389 int32_t AudioAdapterGetPortCapability(struct AudioAdapter *adapter, const struct AudioPort *port, in AudioAdapterGetPortCapability() argument 393 if (hwAdapter == NULL || port == NULL || port->portName == NULL || capability == NULL) { in AudioAdapterGetPortCapability() 396 if (port->portId < 0) { in AudioAdapterGetPortCapability() 406 if (hwAdapterPortCapabilitys->port.portId == port->portId) { in AudioAdapterGetPortCapability() 417 const struct AudioPort *port, AudioPortPassthroughMode mode) in AudioAdapterSetPassthroughMode() argument 419 if (adapter == NULL || port == NULL || port->portName == NULL) { in AudioAdapterSetPassthroughMode() 422 if (port->dir != PORT_OUT || port->portId < 0 || strcmp(port->portName, "AOP") != 0) { in AudioAdapterSetPassthroughMode() 434 if (portCapabilityTemp->port.portId == port->portId) { in AudioAdapterSetPassthroughMode() 465 int32_t AudioAdapterGetPassthroughMode(struct AudioAdapter *adapter, const struct AudioPort *port, in AudioAdapterGetPassthroughMode() argument [all …]
|
/drivers/peripheral/codec/test/fuzztest/omx_fuzzer/codeccomponenttunnelrequestomx_fuzzer/ |
D | codeccomponenttunnelrequest_fuzzer.cpp | 23 uint32_t port; member 41 params.port = Convert2Uint32(rawData); in CodecComponentTunnelRequest() 50 params.port = Convert2Uint32(rawData); in CodecComponentTunnelRequest() 61 … int32_t ret = g_component->ComponentTunnelRequest(g_component, params.port, params.tunneledComp, in CodecComponentTunnelRequest()
|
/drivers/peripheral/audio/test/unittest/common/adapter/ |
D | audio_adapter_common_test.cpp | 285 struct AudioPort port = {}; variable 287 EXPECT_NE(HDF_SUCCESS, adapter_->GetPortCapability(nullptr, &port, &capability)); 298 struct AudioPort port = {}; variable 299 EXPECT_EQ(HDF_ERR_INVALID_PARAM, adapter_->GetPortCapability(adapter_, &port, nullptr)); 304 struct AudioPort port = {}; variable 306 port.dir = PORT_OUT; 307 port.portId = 0; 308 port.portName = const_cast<char*>("primary"); 309 int32_t ret = adapter_->GetPortCapability(adapter_, &port, &capability); 315 struct AudioPort port = adapterDescs_[0].ports[0]; variable [all …]
|
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/source_node/ |
D | source_node.cpp | 40 std::shared_ptr<IPort> port = nullptr; in Start() local 46 port = p; in Start() 50 if (port == nullptr) { in Start() 63 std::shared_ptr<PortHandler> ph = std::make_shared<PortHandler>(port); in Start() 171 SourceNode::PortHandler::PortHandler(std::shared_ptr<IPort>& p) : port(p) in PortHandler() 177 CHECK_IF_PTR_NULL_RETURN_VALUE(port, RC_ERROR); in StartCollectBuffers() 179 port->GetFormat(format); in StartCollectBuffers() 219 auto node = port->GetNode(); in StopCollectBuffers() 239 port->GetFormat(format); in CollectBuffers() 245 auto node = port->GetNode(); in CollectBuffers() [all …]
|
/drivers/peripheral/bluetooth/audio/interfaces/include/ |
D | audio_adapter.h | 99 int32_t (*GetPortCapability)(struct AudioAdapter *adapter, const struct AudioPort *port, 111 int32_t (*SetPassthroughMode)(struct AudioAdapter *adapter, const struct AudioPort *port, 123 int32_t (*GetPassthroughMode)(struct AudioAdapter *adapter, const struct AudioPort *port,
|
/drivers/hdf_core/adapter/platform/i2c/ |
D | i2c_wm.c | 24 uint32_t port; member 34 uint32_t port; member 73 device->port = resource->port; in InitI2cDevice() 74 i2cPort = device->port; in InitI2cDevice() 118 device->port = resource->port; in HostRestI2cDevice() 119 i2cPort = device->port; in HostRestI2cDevice() 149 if (dri->GetUint32(resourceNode, "port", &resource->port, 0) != HDF_SUCCESS) { in GetI2cDeviceResource() 202 host->busId = i2cDevice->port; in AttachI2cDevice() 311 i2cPort = (uint32_t)device->port; in i2c_transfer()
|