Home
last modified time | relevance | path

Searched refs:interfaceObj (Results 1 – 6 of 6) sorted by relevance

/drivers/peripheral/usb/ddk/host/src/
Dusb_protocol.c60 struct UsbSdkInterface *interfaceObj = NULL; in CreateCtrPipe() local
68 ret = UsbIfCreatInterfaceObj(pool, &interfaceObj); in CreateCtrPipe()
72 interfaceObj->interface.info.interfaceIndex = USB_CTRL_INTERFACE_ID; in CreateCtrPipe()
73 interfaceObj->interface.info.pipeNum = 1; in CreateCtrPipe()
74 interfaceObj->altSettingId = 0; in CreateCtrPipe()
75 interfaceObj->interface.info.curAltSetting = 0; in CreateCtrPipe()
76 ret = UsbIfCreatPipeObj(interfaceObj, &pipe); in CreateCtrPipe()
89 static int32_t UsbInterfaceInit(struct UsbSdkInterface *interfaceObj, in UsbInterfaceInit() argument
94 if ((interfaceObj == NULL) || (iface == NULL)) { in UsbInterfaceInit()
98 ptr = &interfaceObj->interface.info; in UsbInterfaceInit()
[all …]
Dusb_interface_pool.c40 static HDF_STATUS IfDestroyPipeObj(const struct UsbSdkInterface *interfaceObj, const struct UsbPipe… in IfDestroyPipeObj() argument
48 if (interfaceObj == NULL) { in IfDestroyPipeObj()
53 if (DListIsEmpty((struct DListHead *)&interfaceObj->pipeList)) { in IfDestroyPipeObj()
66 OsalMutexLock((struct OsalMutex *)&interfaceObj->listLock); in IfDestroyPipeObj()
67 …DLIST_FOR_EACH_ENTRY_SAFE(pipePos, pipeTemp, &interfaceObj->pipeList, struct UsbPipe, object.entry… in IfDestroyPipeObj()
82 OsalMutexUnlock((struct OsalMutex *)&interfaceObj->listLock); in IfDestroyPipeObj()
93 static void IfInterfaceObjInit(struct UsbSdkInterface *interfaceObj) in IfInterfaceObjInit() argument
95 DListHeadInit(&interfaceObj->pipeList); in IfInterfaceObjInit()
96 OsalMutexInit(&interfaceObj->listLock); in IfInterfaceObjInit()
97 OsalAtomicSet(&interfaceObj->refCount, 0); in IfInterfaceObjInit()
[all …]
/drivers/peripheral/usb/ddk/host/include/
Dusb_interface_pool.h115 int32_t UsbIfCreatPipeObj(const struct UsbSdkInterface *interfaceObj, struct UsbPipe **pipeObj);
116 …tInterfaceObj(const struct UsbInterfacePool *interfacePool, struct UsbSdkInterface **interfaceObj);
118 const struct UsbInterfacePool *interfacePool, const struct UsbSdkInterface *interfaceObj);
/drivers/peripheral/usb/interfaces/ddk/host/
Dusb_ddk_interface.h356 int32_t UsbReleaseInterface(const struct UsbInterface *interfaceObj);
378 UsbInterfaceHandle *UsbOpenInterface(const struct UsbInterface *interfaceObj);
400 struct UsbInterface **interfaceObj);
/drivers/peripheral/usb/
DREADME_zh.md82 …a name="p77031566584"></a>int32_t UsbReleaseInterface(const struct UsbInterface *interfaceObj);</p>
92 …48323975814"></a>UsbInterfaceHandle *UsbOpenInterface(const struct UsbInterface *interfaceObj);</p>
102 …UsbInterfaceHandle *interfaceHandle, uint8_t settingIndex, struct UsbInterface **interfaceObj);</p>
DREADME.md82 …a name="p77031566584"></a>int32_t UsbReleaseInterface(const struct UsbInterface *interfaceObj);</p>
92 …48323975814"></a>UsbInterfaceHandle *UsbOpenInterface(const struct UsbInterface *interfaceObj);</p>
102 …UsbInterfaceHandle *interfaceHandle, uint8_t settingIndex, struct UsbInterface **interfaceObj);</p>