Searched refs:handle (Results 1 - 25 of 38) sorted by relevance

12

/system/core/adb/
H A Dusb_windows.c68 /// Checks if there is opened usb handle in handle_list for this device.
71 /// Checks if there is opened usb handle in handle_list for this device.
75 /// Registers opened usb handle (adds it to handle_list).
76 int register_new_device(usb_handle* handle);
79 int recognized_device(usb_handle* handle);
98 /// Writes data to the opened usb handle
99 int usb_write(usb_handle* handle, const void* data, int len);
101 /// Reads data using the opened usb handle
102 int usb_read(usb_handle *handle, void* data, int len);
104 /// Cleans up opened usb handle
145 register_new_device(usb_handle* handle) argument
257 usb_write(usb_handle* handle, const void* data, int len) argument
301 usb_read(usb_handle *handle, void* data, int len) argument
341 usb_cleanup_handle(usb_handle* handle) argument
359 usb_kick(usb_handle* handle) argument
372 usb_close(usb_handle* handle) argument
396 usb_name(usb_handle* handle) argument
406 recognized_device(usb_handle* handle) argument
449 usb_handle* handle = NULL; local
[all...]
H A Dusb_osx.c250 usb_handle* handle = CheckInterface((IOUSBInterfaceInterface**)iface, local
252 if (handle == NULL) {
259 register_usb_transport(handle, (serial[0] ? serial : NULL), 1);
268 handle,
269 &handle->usbNotification);
280 usb_handle *handle = (usb_handle *)refCon; local
283 if (!handle) {
284 DBG("ERR: NULL handle\n");
288 IOObjectRelease(handle->usbNotification);
289 usb_kick(handle);
298 usb_handle* handle = NULL; local
444 usb_write(usb_handle *handle, const void *buf, int len) argument
484 usb_read(usb_handle *handle, void *buf, int len) argument
520 usb_close(usb_handle *handle) argument
525 usb_kick(usb_handle *handle) argument
[all...]
/system/core/fastboot/
H A Dusb_windows.c69 int recognized_device(usb_handle* handle, ifc_match_func callback);
74 /// Writes data to the opened usb handle
75 int usb_write(usb_handle* handle, const void* data, int len);
77 /// Reads data using the opened usb handle
78 int usb_read(usb_handle *handle, void* data, int len);
80 /// Cleans up opened usb handle
81 void usb_cleanup_handle(usb_handle* handle);
83 /// Cleans up (but don't close) opened usb handle
84 void usb_kick(usb_handle* handle);
86 /// Closes opened usb handle
153 usb_write(usb_handle* handle, const void* data, int len) argument
195 usb_read(usb_handle *handle, void* data, int len) argument
232 usb_cleanup_handle(usb_handle* handle) argument
250 usb_kick(usb_handle* handle) argument
259 usb_close(usb_handle* handle) argument
271 recognized_device(usb_handle* handle, ifc_match_func callback) argument
321 usb_handle* handle = NULL; local
[all...]
H A Dusb_osx.c67 static int try_interfaces(IOUSBDeviceInterface **dev, usb_handle *handle) { argument
171 if ((*interface)->GetInterfaceClass(interface, &handle->info.ifc_class) != 0 ||
172 (*interface)->GetInterfaceSubClass(interface, &handle->info.ifc_subclass) != 0 ||
173 (*interface)->GetInterfaceProtocol(interface, &handle->info.ifc_protocol) != 0)
179 handle->info.has_bulk_in = 0;
180 handle->info.has_bulk_out = 0;
201 handle->info.has_bulk_in = 1;
202 handle->bulkIn = endpoint;
204 handle->info.has_bulk_out = 1;
205 handle
262 try_device(io_service_t device, usb_handle *handle) argument
374 init_usb(ifc_match_func callback, usb_handle **handle) argument
448 usb_handle *handle = NULL; local
[all...]
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/Core_Adapt/
H A DCORE_Adapt_Defs.h120 typedef void (*InfoCB_t)(TI_HANDLE handle, char* buf, UINT32 bufSize);
123 typedef void (*MacStatusCB_t)(TI_HANDLE handle, char* str , UINT32 strLen);
126 typedef void (*HealthReportCB_t)(TI_HANDLE handle, char* str , UINT32 strLen);
129 typedef void (*AciIndicationCB_t)(TI_HANDLE handle, char* str , UINT32 strLen);
/system/wlan/ti/wilink_6_1/stad/src/Ctrl_Interface/
H A DCmdDispatcher.c69 typedef TI_STATUS (*TParamFunc) (TI_HANDLE handle, paramInfo_t *pParam);
75 TI_HANDLE handle; member in struct:__anon1711
260 pCmdDispatch->paramAccessTable[GET_PARAM_MODULE_NUMBER(AUTH_MODULE_PARAM) - 1].handle = pCmdDispatch->hAuth;
264 pCmdDispatch->paramAccessTable[GET_PARAM_MODULE_NUMBER(ASSOC_MODULE_PARAM) - 1].handle = pCmdDispatch->hAssoc;
268 pCmdDispatch->paramAccessTable[GET_PARAM_MODULE_NUMBER(RX_DATA_MODULE_PARAM) - 1].handle = pCmdDispatch->hRxData;
272 pCmdDispatch->paramAccessTable[GET_PARAM_MODULE_NUMBER(TX_CTRL_MODULE_PARAM) - 1].handle = pCmdDispatch->hTxCtrl;
276 pCmdDispatch->paramAccessTable[GET_PARAM_MODULE_NUMBER(CTRL_DATA_MODULE_PARAM) - 1].handle = pCmdDispatch->hCtrlData;
280 pCmdDispatch->paramAccessTable[GET_PARAM_MODULE_NUMBER(SITE_MGR_MODULE_PARAM) - 1].handle = pCmdDispatch->hSiteMgr;
284 pCmdDispatch->paramAccessTable[GET_PARAM_MODULE_NUMBER(CONN_MODULE_PARAM) - 1].handle = pCmdDispatch->hConn;
288 pCmdDispatch->paramAccessTable[GET_PARAM_MODULE_NUMBER(RSN_MODULE_PARAM) - 1].handle
[all...]
/system/wlan/ti/sta_dk_4_0_4_32/common/src/BusAccess/Export_Inc/
H A DwhalBus_Defs.h102 typedef void (*InfoCB_t)(TI_HANDLE handle, char* buf, UINT32 bufSize);
107 typedef void (*MacStatusCB_t)(TI_HANDLE handle, char* str , UINT32 strLen);
110 typedef void (*HealthReportCB_t)(TI_HANDLE handle, char* str , UINT32 strLen);
113 typedef void (*AciIndicationCB_t)(TI_HANDLE handle, char* str , UINT32 strLen);
116 typedef void (*failureEventCB_t)(TI_HANDLE handle, failureEvent_e failureEvent);
/system/wlan/ti/sta_dk_4_0_4_32/common/src/hal/hl_data/
H A DwhalEndpntEnt.c181 wlan_memMngrFreeMSDU(pWhalEndpnt->hMemMngr, pMpdu->handle);
191 wlan_memMngrFreeMSDU(pWhalEndpnt->hMemMngr, pMpdu->handle);
198 wlan_memMngrFreeMSDU(pWhalEndpnt->hMemMngr, pMpdu->handle);
206 wlan_memMngrFreeMSDU(pWhalEndpnt->hMemMngr, pMpdu->handle);
207 wlan_memMngrFreeMSDU(pWhalEndpnt->hMemMngr, collectEnt->msduPtr->handle);
220 wlan_memMngrFreeMSDU(pWhalEndpnt->hMemMngr, collectEnt->msduPtr->handle);
229 wlan_memMngrFreeMSDU(pWhalEndpnt->hMemMngr, pMpdu->handle);
H A DwhalDefrag.c183 if (wlan_memMngrFreeMSDU(pWhalDefrag->hMemMngr, pMpdu->handle) != OK)
202 if (wlan_memMngrFreeMSDU(pWhalDefrag->hMemMngr, pMpdu->handle) != OK)
/system/wlan/ti/sta_dk_4_0_4_32/common/inc/
H A DmemMngrEx.h89 #define memMgr_MsduHandle(MsduAddr) ( ((mem_MSDU_T *)MsduAddr)->handle )
162 UINT32 handle; /* Hanlde of this Data Buffer Structure */ member in struct:mem_DataBuf_T
178 UINT32 handle; /* Hanlde of this BD Data Structure */ member in struct:mem_BD_T
200 UINT32 handle; /* handle of this MSDU data structure */ member in struct:mem_MSDU_T
261 TI_HANDLE hReport; /* report handle */
262 TI_HANDLE hOs; /* Os handle */
394 INPUT: handle - handle of the MSDU the user want to duplicate
395 OUTPUT: newHandle - pointer in which this function sets the handle o
[all...]
H A DsrcApi.h120 UINT32 handle);
/system/wlan/ti/sta_dk_4_0_4_32/common/src/utils/
H A DmemMngrEx.c56 * INPUT: hOs - handle to Os abstraction layer
70 WLAN_OS_REPORT(("wlan_memMngrInit() : FATAL ERROR: OS handle Error - Aborting\n"));
207 pMemMngr->msduPool[count].handle = count;
212 pMemMngr->bdPool[count].handle = count;
218 pMemMngr->buffersPool[i].dataBufPool[count].handle = count;
568 wlan_memMngrFreeBD(hMemMngr,bdTmp->handle);
663 * handle - handle to the first MSDU in the list
669 TI_STATUS wlan_memMngrFreeListOfMSDU(TI_HANDLE hMemMngr, UINT32 handle) argument
675 msduTmp = &(pMemMngr->msduPool[handle]);
706 wlan_memMngrFreeMSDU(TI_HANDLE hMemMngr, UINT32 handle) argument
861 wlan_memMngrFreeBD(TI_HANDLE hMemMngr, UINT32 handle) argument
1218 memMngrPrintHandle(TI_HANDLE hMemMngr, UINT32 handle) argument
[all...]
/system/extras/tests/bionic/libc/other/
H A Dtest_timer_create.c36 handle(sigval_t v) function
57 se.sigev_notify_function = handle;
H A Dtest_timer_create2.c36 handle(int v) function
88 act->sa_handler = handle;
H A Dtest_timer_create3.c43 handle(sigval_t v) function
73 se.sigev_notify_function = handle;
/system/wlan/ti/wilink_6_1/TWD/Ctrl/
H A DCmdQueue.h109 typedef void (*TCmdQueueCb) (TI_HANDLE handle, TI_UINT16 uMboxStatus);
112 typedef void (*TCmdQueueGenericCb)(TI_HANDLE handle, TI_UINT16 uCmdType, TI_UINT16 uCmdID, TI_UINT32 status);
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/mlme/
H A DmlmeBuilder.c121 wlan_memMngrFreeMSDU(pHandle->hMemMgr, pMsdu->handle);
129 wlan_memMngrFreeMSDU(pHandle->hMemMgr, pMsdu->handle);
140 wlan_memMngrFreeMSDU(pHandle->hMemMgr, pMsdu->handle);
H A DmlmeParser.c158 wlan_memMngrFreeMSDU(pHandle->hMemMgr, pMsdu->handle);
267 wlan_memMngrFreeMSDU(pHandle->hMemMgr, pMsdu->handle);
281 wlan_memMngrFreeMSDU(pHandle->hMemMgr, pMsdu->handle);
292 wlan_memMngrFreeMSDU(pHandle->hMemMgr, pMsdu->handle);
304 wlan_memMngrFreeMSDU(pHandle->hMemMgr, pMsdu->handle);
334 wlan_memMngrFreeMSDU(pHandle->hMemMgr, pMsdu->handle);
350 wlan_memMngrFreeMSDU(pHandle->hMemMgr, pMsdu->handle);
377 wlan_memMngrFreeMSDU(pHandle->hMemMgr, pMsdu->handle);
394 wlan_memMngrFreeMSDU(pHandle->hMemMgr, pMsdu->handle);
408 wlan_memMngrFreeMSDU(pHandle->hMemMgr, pMsdu->handle);
[all...]
/system/wlan/ti/wilink_6_1/TWD/FW_Transfer/Export_Inc/
H A DHwInit_api.h58 typedef void (* TEndOfHwInitCb) (TI_HANDLE handle);
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/sme/configMgr/
H A DconfigMgr.h67 TI_HANDLE handle; member in struct:__anon672
70 /* Configuration manager handle */
96 /* RSN handle */
120 /* OS handle */
H A DconfigMgr.c416 status = pConfigManager->paramAccessTable[moduleNumber - 1].set(pConfigManager->paramAccessTable[moduleNumber - 1].handle, pParam);
448 /* This is a unique parameter, it checks the driver running status, therefore we handle it here. */
475 return pConfigManager->paramAccessTable[moduleNumber - 1].get(pConfigManager->paramAccessTable[moduleNumber - 1].handle, pParam);
934 handle - handle of the MSDU.
941 TI_STATUS configMgr_memMngrFreeMSDU(TI_HANDLE hConfigMgr, UINT32 handle) argument
950 wlan_memMngrFreeMSDU(pConfigManager->hMemMgr, handle);
1108 - Each module returns a handle if successful and NULL otherwise.
1109 - If the creation of all the modules succeeded, the driver main handle is configured with the
1110 modules handles. Then the driver main handle i
[all...]
/system/wlan/ti/wilink_6_1/TWD/Ctrl/Export_Inc/
H A DCmdQueue_api.h53 typedef void (*TCmdQueueInterrogateCb) (TI_HANDLE handle, TI_UINT16 status, void *pItrBuf);
63 * \param hOs - OS module object handle
116 * Copy the queue nodes to a recovery list, in order handle
143 * \param hCb - The command's Cb handle
158 * \param hCb - The command's Cb handle
176 * \param hCb - The command's Cb handle
/system/wlan/ti/wilink_6_1/TWD/TWDriver/
H A DTWDriverInternal.h72 typedef void (*TEndOfRecoveryCb) (TI_HANDLE handle);
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/data_ctrl/Ctrl/4X/
H A DDeConcatenator.c54 * INPUT: hOs - handle to Os Abstraction Layer
68 WLAN_OS_REPORT(("FATAL ERROR: deConcat_create(): OS handle Error - Aborting\n"));
392 wlan_memMngrFreeMSDU(pDeConcatenator->hMemMngr, (*MsduPtr)->handle);
402 wlan_memMngrFreeMSDU(pDeConcatenator->hMemMngr, firstMsduPtr->handle);
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/inc/
H A DrsnApi.h202 void rsn_MboxFlushFinishCb(TI_HANDLE handle, UINT16 MboxStatus, char *InterrogateParamsBuf);

Completed in 219 milliseconds

12