Home
last modified time | relevance | path

Searched refs:req (Results 1 – 24 of 24) sorted by relevance

/system/wlan/ti/sta_dk_4_0_4_32/pform/linux/src/
Dioctl_list.c53 void print_priv_ioctl_params(struct net_device *dev, tiioctl_req_t *req, char *extra) in print_priv_ioctl_params() argument
55 print_deb(" priv_ioctl_params(*dev:%p,*req:%p, *extra:%p)\n", dev, req, extra); in print_priv_ioctl_params()
56 … print_deb(" wrqu.point: user_data=%p, length=%ld, cmd=%ld\n", (void *) req->user_data_pointer, in print_priv_ioctl_params()
57 req->length, req->cmd ); in print_priv_ioctl_params()
59 print_memory_dump((char *) req, sizeof(*req) ); in print_priv_ioctl_params()
65 print_memory_dump(extra, req->length ); in print_priv_ioctl_params()
86 tiioctl_req_t *req = (tiioctl_req_t *) req_data->u.req.p1; in ti1610_ioctl_priv_proc_tl() local
90 ULONG *data = (ULONG *) req_data->u.req.p2; in ti1610_ioctl_priv_proc_tl()
95 req->cmd, data, req->user_data_pointer, req->length); in ti1610_ioctl_priv_proc_tl()
96 if( !drv_started && (req->cmd != TIWLN_DRIVER_STATUS_SET)) { /* Dm: Fix */ in ti1610_ioctl_priv_proc_tl()
[all …]
Dchip_stat.c102 SDIO_Request_t req; in export_wifi_chip_id() local
111 req.buffer = (unsigned char *)&amap; in export_wifi_chip_id()
112 req.buffer_len = 4; in export_wifi_chip_id()
113 req.peripheral_addr = 0x1ffc4; in export_wifi_chip_id()
114 SDIO_SyncWrite(func, &req); in export_wifi_chip_id()
117 req.buffer = (unsigned char *)&amap; in export_wifi_chip_id()
118 req.buffer_len = 4; in export_wifi_chip_id()
119 req.peripheral_addr = 0x1ffc0; in export_wifi_chip_id()
120 SDIO_SyncWrite(func, &req); in export_wifi_chip_id()
123 req.buffer = (unsigned char *)&amap; in export_wifi_chip_id()
[all …]
Dosapi.c98 static int os_tl_timerHandlr(struct tiwlan_req *req);
321 INIT_LIST_HEAD(&tmr->req.list); in os_timerCreate()
324 tmr->req.drv = (tiwlan_net_dev_t *)OsContext; in os_timerCreate()
325 tmr->req.u.req.p1 = (UINT32)pRoutine; in os_timerCreate()
326 tmr->req.u.req.p2 = (UINT32)Context; in os_timerCreate()
327 tmr->req.u.req.f = os_tl_timerHandlr; in os_timerCreate()
390 tmr->req.u.req.p3 = bPeriodic; in os_timerStart()
391 tmr->req.u.req.p4 = jiffie_cnt; in os_timerStart()
419 tmr->req.u.req.p3 = 0; /* Turn "periodic" off */ in os_timerStop()
420 list_del_init(&tmr->req.list); in os_timerStop()
[all …]
Desta_drv.c899 tiwlan_req_t *req = list_entry(entry, tiwlan_req_t, list); in tiwlan_handle_control_requests() local
908 __FUNCTION__, req->u.req.f, req, req->u.req.reply_expected); in tiwlan_handle_control_requests()
910 tmp_req.u.req.p1 = 0x1234; in tiwlan_handle_control_requests()
911 tmp_req.u.req.p2 = 0x4321; in tiwlan_handle_control_requests()
912 tmp_req.u.req.p3 = 0x1221; in tiwlan_handle_control_requests()
913 tmp_req.u.req.p4 = 0x4334; in tiwlan_handle_control_requests()
914 tmp_req.u.req.reply_expected = 0x50; in tiwlan_handle_control_requests()
916 req->u.reply = req->u.req.f(req); in tiwlan_handle_control_requests()
918 …(tmp_req.u.req.p1 != 0x1234) || (tmp_req.u.req.p2 != 0x4321) || (tmp_req.u.req.p3 != 0x1221) || (t… in tiwlan_handle_control_requests()
920 printk("\n\n !!! ERROR: STACK CORRUPTION !!! : \nf=%p\n", tmp_req.u.req.f); in tiwlan_handle_control_requests()
[all …]
/system/extras/tests/framebuffer/
Dmdp_test.c177 struct mdp_blit_req *req; in main() local
192 req = req_list->req; in main()
295 req->src.width = src_imgw; in main()
296 req->src.height = src_imgh; in main()
297 req->src.format = src_fmt; in main()
298 req->src.offset = 0; in main()
299 req->src.memory_id = src_fd; in main()
300 req->src_rect.x = srcx; in main()
301 req->src_rect.y = srcy; in main()
302 req->src_rect.w = srcw; in main()
[all …]
/system/core/sdcard/
Dsdcard.c419 struct fuse_forget_in *req = data; in handle_fuse_request() local
420 TRACE("FORGET %llx (%s) #%lld\n", hdr->nodeid, node->name, req->nlookup); in handle_fuse_request()
422 while (req->nlookup--) in handle_fuse_request()
427 struct fuse_getattr_in *req = data; in handle_fuse_request() local
430 TRACE("GETATTR flags=%x fh=%llx\n",req->getattr_flags, req->fh); in handle_fuse_request()
440 struct fuse_setattr_in *req = data; in handle_fuse_request() local
443 req->fh, hdr->nodeid, req->valid); in handle_fuse_request()
456 struct fuse_mknod_in *req = data; in handle_fuse_request() local
458 char *name = ((char*) data) + sizeof(*req); in handle_fuse_request()
463 req->mode = (req->mode & (~0777)) | 0664; in handle_fuse_request()
[all …]
/system/media/opensles/tests/sandbox/
Dsrcsink.c64 SLboolean req[1] = {SL_BOOLEAN_TRUE}; in main() local
67 &audioSnk, 1, ids, req); in main()
74 &audioSnk, 1, ids, req); in main()
86 &audioSnk, 1, ids, req); in main()
96 &audioSnk, 1, ids, req); in main()
108 &audioSnk, 1, ids, req); in main()
113 &audioSnk, 1, ids, req); in main()
121 &audioSnk, 1, ids, req); in main()
126 &audioSnk, 1, ids, req); in main()
134 &audioSnk, 1, ids, req); in main()
[all …]
Durimime.c79 SLboolean req[1]; in main() local
81 req[0] = SL_BOOLEAN_TRUE; in main()
84 &audioSnk, numInterfaces, ids, req); in main()
90 &audioSnk, numInterfaces, ids, req); in main()
Dconfigbq.c130 SLboolean req[1]; in main() local
132 req[0] = SL_BOOLEAN_TRUE; in main()
135 &audioSnk, numInterfaces, ids, req); in main()
Dplaybq.c155 SLboolean req[1] = {SL_BOOLEAN_TRUE}; in main() local
157 ids, req); in main()
Doutputmix.c130 SLboolean req[10] = {SL_BOOLEAN_TRUE, SL_BOOLEAN_FALSE /*SL_BOOLEAN_TRUE*/, SL_BOOLEAN_TRUE, in main() local
133 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 10, ids, req); in main()
Dmonkey.c118 SLboolean req[1] = {SL_BOOLEAN_TRUE}; in actionCreate() local
120 &audioSnk, 1, ids, req); in actionCreate()
/system/core/nexus/
DSupplicant.cpp396 char req[64]; in removeNetwork() local
398 sprintf(req, "REMOVE_NETWORK %d", wn->getNetworkId()); in removeNetwork()
402 if (sendCommand(req, reply, &len)) in removeNetwork()
531 char req[64]; in enableNetwork() local
534 sprintf(req, "ENABLE_NETWORK %d", networkId); in enableNetwork()
536 sprintf(req, "DISABLE_NETWORK %d", networkId); in enableNetwork()
541 if (sendCommand(req, reply, &len)) in enableNetwork()
547 char req[128]; in enablePacketFilter() local
553 snprintf(req, sizeof(req), "DRIVER RXFILTER-ADD %d", i); in enablePacketFilter()
555 if (sendCommand(req, reply, &len)) in enablePacketFilter()
[all …]
/system/core/adb/
Dusb_osx.c198 IOUSBDevRequest req; in AndroidInterfaceAdded() local
204 req.bmRequestType = in AndroidInterfaceAdded()
206 req.bRequest = kUSBRqGetDescriptor; in AndroidInterfaceAdded()
207 req.wValue = (kUSBStringDesc << 8) | 0; in AndroidInterfaceAdded()
208 req.wIndex = 0; in AndroidInterfaceAdded()
209 req.pData = languages; in AndroidInterfaceAdded()
210 req.wLength = sizeof(languages); in AndroidInterfaceAdded()
211 kr = (*dev)->DeviceRequest(dev, &req); in AndroidInterfaceAdded()
213 if (kr == kIOReturnSuccess && req.wLenDone > 0) { in AndroidInterfaceAdded()
215 int langCount = (req.wLenDone - 2) / 2, lang; in AndroidInterfaceAdded()
[all …]
Dfile_sync_client.c69 msg.req.id = ID_QUIT; in sync_quit()
70 msg.req.namelen = 0; in sync_quit()
72 writex(fd, &msg.req, sizeof(msg.req)); in sync_quit()
86 msg.req.id = ID_LIST; in sync_ls()
87 msg.req.namelen = htoll(len); in sync_ls()
89 if(writex(fd, &msg.req, sizeof(msg.req)) || in sync_ls()
131 msg.req.id = ID_STAT; in sync_readtime()
132 msg.req.namelen = htoll(len); in sync_readtime()
134 if(writex(fd, &msg.req, sizeof(msg.req)) || in sync_readtime()
156 msg.req.id = ID_STAT; in sync_start_readtime()
[all …]
Dfile_sync_service.c369 if(readx(fd, &msg.req, sizeof(msg.req))) {
373 namelen = ltohl(msg.req.namelen);
384 msg.req.namelen = 0;
385 D("sync: '%s' '%s'\n", (char*) &msg.req, name);
387 switch(msg.req.id) {
Dfile_sync_service.h54 } req; member
/system/wlan/ti/sta_dk_4_0_4_32/CUDK/IPC/Linux/
Dipc_user.c111 struct ifreq req; in IPC_DeviceIoControl() local
112 tiioctl_req_t *ti_req = (tiioctl_req_t *) &req.ifr_ifru; in IPC_DeviceIoControl()
156 memset(&req, 0xfe, sizeof(req) ); in IPC_DeviceIoControl()
163 max_size = ((char *) &req + sizeof(req)) - (char *) &ti_req->user_data_pointer; in IPC_DeviceIoControl()
184 strncpy(req.ifr_ifrn.ifrn_name, (char *) hDevice, IFNAMSIZ); in IPC_DeviceIoControl()
186 print_deb("===== send_ioctl: socket=%d, cmd=%d, &req=%p\n", g_socket, cmd, &req ); in IPC_DeviceIoControl()
188req.ifr_ifrn.ifrn_name, ti_req->cmd, ti_req->length, max_size, (void *) ti_req->user_data_pointer … in IPC_DeviceIoControl()
191 res = ioctl(g_socket, cmd, &req); in IPC_DeviceIoControl()
/system/wlan/ti/sta_dk_4_0_4_32/CUDK/OAL/Pform/Linux/
DTILibLinux.cpp173 struct timespec req; in TISleep() local
175 req.tv_sec = 0; in TISleep()
176 req.tv_nsec = 100000; /* sleep for 100 msec */ in TISleep()
177 nanosleep( &req, NULL ); in TISleep()
/system/core/fastboot/
Dusb_osx.c330 IOUSBDevRequest req; in try_device() local
333 req.bmRequestType = USBmakebmRequestType(kUSBIn, kUSBStandard, kUSBDevice); in try_device()
334 req.bRequest = kUSBRqGetDescriptor; in try_device()
335 req.wValue = (kUSBStringDesc << 8) | serialIndex; in try_device()
336 req.wIndex = 0; in try_device()
337 req.pData = buffer; in try_device()
338 req.wLength = sizeof(buffer); in try_device()
339 kr = (*dev)->DeviceRequest(dev, &req); in try_device()
341 if (kr == kIOReturnSuccess && req.wLenDone > 0) { in try_device()
345 count = (req.wLenDone - 1) / 2; in try_device()
Dgenkey.sh14 openssl req -new -x509 -key $1.pem -passin pass:"$2" \
/system/wlan/ti/sta_dk_4_0_4_32/pform/linux/inc/
Desta_drv.h190 int (*f)(struct tiwlan_req *req);
197 } req; member
204 tiwlan_req_t req; member
320 int (*f)(tiwlan_req_t *req),
332 int tiwlan_stop_and_destroy_drv_request(tiwlan_req_t *req);
Dmmc_omap_api.h556 SDIO_Status SDIO_ForceRead(SDIO_Handle sdioHandle, SDIO_Request_t *req);
557 SDIO_Status SDIO_ForceWrite(SDIO_Handle sdioHandle, SDIO_Request_t *req);
/system/wlan/ti/sta_dk_4_0_4_32/common/src/TNETW_Driver/TNETWIF/BusTxn/
DwhalHwAccess.c283 static void sdio_transaction_notify_read(struct SDIO_Request *req, int status);
284 static void sdio_transaction_notify_write(struct SDIO_Request *req, int status);
285 static void sdio_transaction_error(struct SDIO_Request *req, int stat);
287 static void sdio_async_transaction_notify(struct SDIO_Request *req, int status);
288 static void sdio_async_transaction_error(struct SDIO_Request *req, int status);
2375 static void sdio_transaction_notify_read(struct SDIO_Request *req, int status) in sdio_transaction_notify_read() argument
2379 static void sdio_transaction_notify_write(struct SDIO_Request *req, int status) in sdio_transaction_notify_write() argument
2384 static void sdio_transaction_error(struct SDIO_Request *req, int stat) in sdio_transaction_error() argument
2386 HwAccess_T_new* pHwAccess = (HwAccess_T_new*)req->owner; in sdio_transaction_error()
2396 static void sdio_async_transaction_notify(struct SDIO_Request *req, int status) in sdio_async_transaction_notify() argument
[all …]