Home
last modified time | relevance | path

Searched defs:port (Results 1 – 25 of 84) sorted by relevance

1234

/drivers/peripheral/usb/gadget/function/acm/
Dcdcacm.c49 static int32_t UsbSerialStartTx(struct UsbSerial *port) in UsbSerialStartTx()
92 static uint32_t UsbSerialStartRx(struct UsbSerial *port) in UsbSerialStartRx()
122 static void UsbSerialRxPush(struct UsbSerial *port) in UsbSerialRxPush()
187 struct UsbSerial *port = (struct UsbSerial *)req->context; in UsbSerialReadComplete() local
234 static int32_t StartThreadReadSpeed(struct UsbSerial *port) in StartThreadReadSpeed()
262 static int32_t UsbSerialGetTempReadSpeed(struct UsbSerial *port, struct HdfSBuf *reply) in UsbSerialGetTempReadSpeed()
272 static int32_t UsbSerialGetTempReadSpeedInt(struct UsbSerial *port, struct HdfSBuf *reply) in UsbSerialGetTempReadSpeedInt()
283 static int32_t UsbSerialReadSpeedDone(struct UsbSerial *port) in UsbSerialReadSpeedDone()
292 static int32_t UsbSerialReadSpeedStart(struct UsbSerial *port) in UsbSerialReadSpeedStart()
301 struct UsbSerial *port = (struct UsbSerial *)req->context; in UsbSerialWriteComplete() local
[all …]
/drivers/peripheral/usb/hdi_service/src/
Dusb_impl.cpp77 HostDevice *port = nullptr; in FindDevFromService() local
211 int32_t UsbImpl::ReOpenDevice(HostDevice *port) in ReOpenDevice()
261 int32_t UsbImpl::UsbdRequestSyncReleaseList(HostDevice *port) in UsbdRequestSyncReleaseList()
287 int32_t UsbImpl::UsbdRequestASyncReleaseList(HostDevice *port) in UsbdRequestASyncReleaseList()
313 int32_t UsbImpl::UsbdBulkASyncListReleasePort(HostDevice *port) in UsbdBulkASyncListReleasePort()
331 HostDevice *port, uint8_t interfaceId, uint8_t pipeAddr, UsbdRequestSync **request) in UsbdFindRequestSyncAndCreat()
440HostDevice *port, UsbdRequestSync *requestSync, const uint8_t *buffer, uint32_t length, int32_t ti… in UsbdBulkWriteSyncBase()
477 UsbdRequestASync *UsbImpl::UsbdFindRequestASync(HostDevice *port, uint8_t interfaceId, uint8_t pipe… in UsbdFindRequestASync()
530 HostDevice *port, UsbdRequestASync *reqAsync, const uint8_t *buffer, uint32_t length) in FunRequestQueueFillAndSubmit()
571 int32_t UsbImpl::GetRequestMsgFromQueue(HostDevice *port, UsbdRequestASync **reqMsg) in GetRequestMsgFromQueue()
[all …]
Dusbd_dispatcher.cpp200 UsbdRequestSync *UsbdDispatcher::UsbdFindRequestSync(HostDevice *port, uint8_t interfaceId, uint8_t… in UsbdFindRequestSync()
263 HostDevice *port, UsbInterfaceHandle *ifHandle, UsbPipeInfo *pipe, UsbdRequestSync *requestSync) in UsbdRequestSyncInit()
463 void UsbdDispatcher::RemoveDevFromService(UsbImpl *service, HostDevice *port) in RemoveDevFromService()
722 HostDevice *port, UsbInterfaceHandle *ifHandle, UsbPipeInfo *pipe, UsbdRequestASync *request) in UsbdRequestASyncInit()
749 HostDevice *port, uint8_t interfaceId, uint8_t pipeAddr) in UsbdRequestASyncCreatAndInsert()
785 int32_t UsbdDispatcher::HostDeviceInit(HostDevice *port) in HostDeviceInit()
832 int32_t UsbdDispatcher::HostDeviceCreate(HostDevice **port) in HostDeviceCreate()
858 int32_t UsbdDispatcher::FunAttachDevice(HostDevice *port, HdfSBuf *data, HdfSBuf *reply) in FunAttachDevice()
904 HostDevice *port = service->FindDevFromService(busNum, devAddr); in UsbdDeviceCreateAndAttach() local
925 int32_t UsbdDispatcher::FunDetachDevice(HostDevice *port, HdfSBuf *data) in FunDetachDevice()
[all …]
/drivers/peripheral/usb/gadget/function/ecm/
Dcdcecm.c52 static int32_t UsbEcmStartTx(struct UsbEcm *port) in UsbEcmStartTx()
91 static uint32_t UsbEcmStartRx(struct UsbEcm *port) in UsbEcmStartRx()
122 static void UsbEcmRxPush(struct UsbEcm *port) in UsbEcmRxPush()
180 struct UsbEcm *port = (struct UsbEcm *)req->context; in UsbEcmReadComplete() local
189 struct UsbEcm *port = (struct UsbEcm *)req->context; in UsbEcmWriteComplete() local
208 static int32_t UsbEcmAllocReadRequests(struct UsbEcm *port, int32_t num) in UsbEcmAllocReadRequests()
229 static int32_t UsbEcmAllocWriteRequests(struct UsbEcm *port, int32_t num) in UsbEcmAllocWriteRequests()
250 static int32_t UsbEcmStartIo(struct UsbEcm *port) in UsbEcmStartIo()
297 static int32_t UsbEcmOpen(struct UsbEcm *port) in UsbEcmOpen()
338 static int32_t UsbEcmClose(struct UsbEcm *port) in UsbEcmClose()
[all …]
/drivers/peripheral/audio/config/
Daudio_adapter.json6 "port": [{ array
20 "port": [{ array
39 "port": [{ array
48 "port": [{ array
67 "port": [{ array
/drivers/peripheral/bluetooth/audio/hal/hdi_config/
Da2dp_adapter_config.json6 "port": [{ array
20 "port": [{ array
39 "port": [{ array
48 "port": [{ array
/drivers/peripheral/audio/test/unittest/common/adapter/
Daudio_adapter_common_test.cpp285 struct AudioPort port = {}; variable
298 struct AudioPort port = {}; variable
304 struct AudioPort port = {}; variable
315 struct AudioPort port = adapterDescs_[0].ports[0]; variable
329 struct AudioPort port = {}; variable
342 struct AudioPort port = {}; variable
358 struct AudioPort port = {}; variable
371 struct AudioPort port = {}; variable
/drivers/peripheral/codec/test/unittest/idl_omx/
Dcodec_function_utils.cpp61 void FunctionUtil::InitCodecBufferWithAshMem(enum PortIndex port, int bufferSize, shared_ptr<OmxCod… in InitCodecBufferWithAshMem()
77 uint32_t port, CodecBufferType bufferType) in InitBufferHandleParameter()
139 bool FunctionUtil::UseDynaBuffer(sptr<ICodecComponent> component, enum PortIndex port, int bufferCo… in UseDynaBuffer()
168 bool FunctionUtil::UseHandleBuffer(sptr<ICodecComponent> component, enum PortIndex port, in UseHandleBuffer()
197 bool FunctionUtil::UseBufferOnPort(sptr<ICodecComponent> component, enum PortIndex port, in UseBufferOnPort()
228 bool FunctionUtil::AllocateBufferOnPort(sptr<ICodecComponent> component, enum PortIndex port, in AllocateBufferOnPort()
267 bool FunctionUtil::FreeBufferOnPort(sptr<ICodecComponent> component, enum PortIndex port) in FreeBufferOnPort()
/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
79 std::shared_ptr<IPort> port = nullptr; in DisConnectMpi() local
/drivers/peripheral/usb/serial/src/
Dusb_serial_rawapi.c498 struct SerialDevice *port = NULL; in UsbSerialDeviceAlloc() local
527 struct SerialDevice *port = acm->port; in UsbSeriaDevicelFree() local
537 static int32_t UsbSerialRead(struct SerialDevice *port, struct HdfSBuf *reply) in UsbSerialRead()
585 static int32_t SerialSetBaudrate(struct SerialDevice *port, const struct HdfSBuf *data) in SerialSetBaudrate()
616 static int32_t SerialGetBaudrate(struct SerialDevice *port, struct HdfSBuf *reply) in SerialGetBaudrate()
629 static int32_t SerialOpen(struct SerialDevice *port, struct HdfSBuf *data) in SerialOpen()
681 static int32_t SerialClose(struct SerialDevice *port, struct HdfSBuf *data) in SerialClose()
714 static int32_t SerialWrite(struct SerialDevice *port, struct HdfSBuf *data) in SerialWrite()
789 static int32_t SerialWriteSync(const struct SerialDevice *port, const struct HdfSBuf *data) in SerialWriteSync()
844 static int32_t UsbSerialReadSync(const struct SerialDevice *port, const struct HdfSBuf *reply) in UsbSerialReadSync()
[all …]
Dusb_serial.c530 struct SerialDevice *port = NULL; in UsbSerialDeviceAlloc() local
556 struct SerialDevice *port = acm->port; in UsbSeriaDevicelFree() local
565 static int32_t UsbSerialRead(struct SerialDevice *port, struct HdfSBuf *reply) in UsbSerialRead()
613 static int32_t SerialSetBaudrate(struct SerialDevice *port, const struct HdfSBuf *data) in SerialSetBaudrate()
640 static int32_t UsbCtrlMsg(struct SerialDevice *port, struct HdfSBuf *data) in UsbCtrlMsg()
659 static int32_t SerialGetBaudrate(struct SerialDevice *port, struct HdfSBuf *reply) in SerialGetBaudrate()
671 static int32_t UsbSerialReadSync(const struct SerialDevice *port, const struct HdfSBuf *reply) in UsbSerialReadSync()
721 static int32_t UsbStdCtrlCmd(struct SerialDevice *port, SerialOPCmd cmd, struct HdfSBuf *reply) in UsbStdCtrlCmd()
810 static int32_t SerialWriteSync(const struct SerialDevice *port, const struct HdfSBuf *data) in SerialWriteSync()
864 static int32_t SerialOpen(const struct SerialDevice *port, struct HdfSBuf *data) in SerialOpen()
[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
137 AudioPortDirection port = (AudioPortDirection)tempDir; in HdiServiceLoadAdapter() local
231 struct AudioPort port; in HdiServiceGetPortCapability() local
274 struct AudioPort port; in HdiServiceSetPassthroughMode() local
322 struct AudioPort port; in HdiServiceGetPassthroughMode() local
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/proxy/src/
Daudio_proxy_adapter.cpp389 const struct AudioPort *port, struct HdfSBuf *data) in AudioProxyAdapterWritePortCapability()
418 const struct AudioPort *port, struct AudioPortCapability *capability) in AudioProxyAdapterGetPortCapability()
466 const struct HdfSBuf *reply, const struct AudioPort *port) in AudioProxyAdapterSetAndGetPassthroughModeSBuf()
486 const struct AudioPort *port, AudioPortPassthroughMode mode) in AudioProxyAdapterSetPassthroughMode()
535 const struct AudioPort *port, AudioPortPassthroughMode *mode) in AudioProxyAdapterGetPassthroughMode()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/merge_node/
Dmerge_node.cpp87 void MergeNode::DealSecondBuffer(std::shared_ptr<IPort>& port) in DealSecondBuffer()
138 for (auto port : outPorts) { in MergeBuffers() local
/drivers/hdf_core/adapter/platform/i2c/
Di2c_bes.h24 uint32_t port; member
40 uint32_t port; member
/drivers/peripheral/audio/test/fuzztest/audio_hdi_fuzzer/audioadapter_fuzzer/
Daudioadapter_fuzzer.cpp78 struct AudioPort port = { in AdapterFucSwitch() local
88 struct AudioPort port = { in AdapterFucSwitch() local
/drivers/hdf_core/framework/sample/platform/uart/dispatch/
Duart_if.c16 struct DevHandle *UartOpen(uint32_t port) in UartOpen()
/drivers/peripheral/codec/test/fuzztest/adapter_fuzzer/codeccomponenttunnelrequestadapter_fuzzer/
Dcodeccomponenttunnelrequest_fuzzer.cpp22 uint32_t port; member
/drivers/peripheral/usb/test/unittest/device_sdk/
Dusb_device_cdcacm_test.cpp324 struct Serial *port = nullptr; in SerialAlloc() local
567 struct Serial *port = acm->port; in Enable() local
644 struct Serial *port = acm->port; in Suspend() local
653 struct Serial *port = acm->port; in Resume() local
/drivers/peripheral/codec/test/fuzztest/omx_fuzzer/codeccomponenttunnelrequestomx_fuzzer/
Dcodeccomponenttunnelrequest_fuzzer.cpp23 uint32_t port; member
/drivers/peripheral/audio/test/fuzztest/audio_hdi_fuzzer/audiomanager_fuzzer/
Daudiomanager_fuzzer.cpp53 struct AudioPort port = { in DoSomethingInterestingWithMyAPI() local
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/node_base/
Dnode_base.cpp128 std::shared_ptr<IPort> port = std::make_shared<PortBase>(name, shared_from_this()); in GetPort() local
237 [&buffer](const auto &port) { return port->format_.bufferPoolId_ == buffer->GetPoolId(); }); in DeliverBuffer()
252 … [&buffers](const auto &port) { return port->format_.bufferPoolId_ == buffers[0]->GetPoolId(); }); in DeliverBuffers()
/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codeccomponenttunnelrequesthdi_fuzzer/
Dcodeccomponenttunnelrequest_fuzzer.cpp23 uint32_t port; member
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
Daudio_adapter.cpp389 int32_t AudioAdapterGetPortCapability(struct AudioAdapter *adapter, const struct AudioPort *port, in AudioAdapterGetPortCapability()
417 const struct AudioPort *port, AudioPortPassthroughMode mode) in AudioAdapterSetPassthroughMode()
465 int32_t AudioAdapterGetPassthroughMode(struct AudioAdapter *adapter, const struct AudioPort *port, in AudioAdapterGetPassthroughMode()
/drivers/hdf_core/framework/test/unittest/model/usb/device/src/
Dusb_device_lite_cdcacm_test.c311 struct Serial *port = NULL; in SerialAlloc() local
557 struct Serial *port = acm->port; in Enable() local
637 struct Serial *port = acm->port; in Suspend() local
646 struct Serial *port = acm->port; in Resume() local

1234