Home
last modified time | relevance | path

Searched refs:port (Results 1 – 25 of 134) sorted by relevance

123456

/drivers/peripheral/usb/gadget/function/ecm/
Dcdcecm.c49 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/
Dcdcacm.c47 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/
Dusb_impl.cpp76 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 …]
Dusbd_dispatcher.cpp200 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/
Dmpi_node.cpp41 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/
Duart_asr.c57 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/
Dhdf_audio_server.cpp97 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/
Dusb_serial_rawapi.c498 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 …]
Dusb_serial.c528 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/
Dusb_device_cdcacm_test.cpp323 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/
Dgpio_asr.c70 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/
Daudio_proxy_adapter.cpp254 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/
Dcodec_function_utils.cpp58 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 …]
Dcodec_function_utils.h125 …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/
Dusb_device_lite_cdcacm_test.c311 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/
Dcodec_component_config.cpp320 {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/
Dcodec_config_parser.c128 …{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/
Dusbd_dispatcher.h80 …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);
Dusb_impl.h90 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/
Daudio_adapter.cpp283 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/
Dcodeccomponenttunnelrequest_fuzzer.cpp23 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/
Daudio_adapter_common_test.cpp285 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/
Dsource_node.cpp40 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/
Daudio_adapter.h99 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/
Di2c_wm.c24 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()

123456