Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 80) sorted by relevance

1234

/hardware/ril/mock-ril/src/js/
Dctrl_server.js58 print('CtrlServer E: req.cmd=' + req.cmd + ' req.token=' + req.token);
67 result = (this.ctrlDispatchTable[req.cmd]).call(this, req);
69 print('ctrlServer: Unknown cmd=' + req.cmd);
74 sendCtrlRequestComplete(result.ctrlStatus, req.cmd,
78 print('CtrlServer X: req.cmd=' + req.cmd + ' req.token=' + req.token);
81 req.cmd + ' req.token=' + req.token + ' err=' + err);
102 function onCtrlServerCmd(cmd, token, protobuf) { argument
104 print('onCtrlServerCmd E cmd=' + cmd + ' token=' + token);
109 if (!isCtrlServerDispatchCommand(cmd)) {
111 ctrlServerReq.cmd = cmd;
[all …]
/hardware/ti/wlan/wl1271/CUDK/configurationutility/src/
Dwpa_core.c370 S8 cmd[100]; in WpaCore_ChangeSupplDebugLevels() local
372 os_sprintf(cmd, (PS8)"CHANGE_SUPPLICANT_DEBUG %ld %ld %ld", Level1, Level2, Level3); in WpaCore_ChangeSupplDebugLevels()
373 IpcWpa_Command(pWpaCore->hIpcWpa, cmd, TRUE); in WpaCore_ChangeSupplDebugLevels()
520 S8 cmd[256]; in WpaCore_SetSsid() local
533 os_sprintf(cmd, (PS8)"ADD_NETWORK"); in WpaCore_SetSsid()
534 if (IpcWpa_CommandWithResp(pWpaCore->hIpcWpa, cmd, TRUE, Resp, &RespLen)) in WpaCore_SetSsid()
558 os_sprintf(cmd, (PS8)"SET_NETWORK %d bssid %s", NetworkID, temp); in WpaCore_SetSsid()
560 if (IpcWpa_Command(pWpaCore->hIpcWpa, cmd, FALSE)) in WpaCore_SetSsid()
567 os_sprintf(cmd, (PS8)"SET_NETWORK %d ssid \"%s\"", NetworkID, ssid->Ssid); in WpaCore_SetSsid()
568 if (IpcWpa_Command(pWpaCore->hIpcWpa, cmd, 0)) in WpaCore_SetSsid()
[all …]
/hardware/broadcom/wlan/bcm4329/src/dhd/exe/
Ddhdu_linux.c64 dhd_ioctl(void *dhd, int cmd, void *buf, int len, bool set) in dhd_ioctl() argument
76 ioc.cmd = cmd; in dhd_ioctl()
83 if (cmd != DHD_GET_MAGIC) { in dhd_ioctl()
107 info.cmd = ETHTOOL_GDRVINFO; in dhd_get_dev_type()
127 dhd_get(void *dhd, int cmd, void *buf, int len) in dhd_get() argument
129 return dhd_ioctl(dhd, cmd, buf, len, FALSE); in dhd_get()
133 dhd_set(void *dhd, int cmd, void *buf, int len) in dhd_set() argument
135 return dhd_ioctl(dhd, cmd, buf, len, TRUE); in dhd_set()
175 cmd_t *cmd = NULL; in main() local
217 for (cmd = dhd_cmds; cmd->name && strcmp(cmd->name, *argv); cmd++); in main()
[all …]
Ddhdu.c108 static int dhd_do_msglevel(void *dhd, cmd_t *cmd, char **argv, dbg_msg_t *dbg_msg);
355 dhd_cmd_usage(cmd_t *cmd) in dhd_cmd_usage() argument
357 if (strlen(cmd->name) >= 8) in dhd_cmd_usage()
358 fprintf(stderr, "%s\n\t%s\n\n", cmd->name, cmd->help); in dhd_cmd_usage()
360 fprintf(stderr, "%s\t%s\n\n", cmd->name, cmd->help); in dhd_cmd_usage()
367 cmd_t *cmd; in dhd_list() local
376 for (cmd = dhd_cmds, nrows = 0; cmd->name; cmd++) in dhd_list()
393 for (cmd = dhd_cmds; cmd->name; cmd++) { in dhd_list()
394 if (cmd->name[0] == letter || cmd->name[0] == letter - 0x20) { in dhd_list()
395 strcat(buf+row*80, cmd->name); in dhd_list()
[all …]
Ddhdu_cmd.h30 typedef struct cmd cmd_t;
31 typedef int (cmd_func_t)(void *dhd, cmd_t *cmd, char **argv);
34 struct cmd { struct
47 extern int dhd_get(void *dhd, int cmd, void *buf, int len); argument
48 extern int dhd_set(void *dhd, int cmd, void *buf, int len);
/hardware/ril/mock-ril/src/python/
Dtcs.py70 self.cmd = 0
85 mh.cmd = self.cmd
101 self.cmd = mh.cmd
119 self.cmd = 0
123 def sendMsg(self, s, cmd, token, protobuf=''): argument
135 self.cmd = cmd
140 self.header.cmd = self.cmd
162 self.cmd = self.header.cmd
213 print "cmd=%d" % (resp.cmd)
218 if ((resp.cmd == 0) & (resp.token == 1234567890123) &
[all …]
/hardware/ti/wlan/wl1271/CUDK/os/linux/src/
Dipc_wpa.c126 S32 IpcWpa_Command(THandle hIpcWpa, PS8 cmd, S32 print) in IpcWpa_Command() argument
134 …ret = wpa_ctrl_request(pIpcWpa->pWpaCtrl, (char*)cmd, os_strlen(cmd), (char*)Resp, (size_t*)&RespL… in IpcWpa_Command()
138 os_error_printf(CU_MSG_ERROR, (PS8)"'%s' command timed out.\n", cmd); in IpcWpa_Command()
143 os_error_printf(CU_MSG_ERROR, (PS8)"'%s' command failed (%d).\n", cmd, ret); in IpcWpa_Command()
157 S32 IpcWpa_CommandWithResp(THandle hIpcWpa, PS8 cmd, S32 print, PS8 pResp, PU32 pRespLen) in IpcWpa_CommandWithResp() argument
164 …ret = wpa_ctrl_request(pIpcWpa->pWpaCtrl, (char*)cmd, os_strlen(cmd), (char*)pResp, (size_t*)pResp… in IpcWpa_CommandWithResp()
168 os_error_printf(CU_MSG_ERROR, (PS8)"'%s' command timed out.\n", cmd); in IpcWpa_CommandWithResp()
173 os_error_printf(CU_MSG_ERROR, (PS8)"'%s' command failed.\n", cmd); in IpcWpa_CommandWithResp()
/hardware/ril/mock-ril/src/java/com/android/internal/communication/
DMsg.java129 public static final void send(RilChannel rc, int cmd, long token, int status, MessageMicro pb) in send() argument
132 mh.setCmd(cmd); in send()
154 public static final void send(RilChannel rc, int cmd, long token, MessageMicro pb) in send() argument
156 send(rc, cmd, token, 0, pb); in send()
167 public static final void send(RilChannel rc, int cmd, MessageMicro pb) throws IOException { in send() argument
168 send(rc, cmd, 0, 0, pb); in send()
180 public static final void send(RilChannel rc, int cmd, long token, int status) in send() argument
182 send(rc, cmd, token, status, null); in send()
193 public static final void send(RilChannel rc, int cmd, long token) throws IOException { in send() argument
194 send(rc, cmd, token, 0, null); in send()
[all …]
/hardware/ril/mock-ril/src/cpp/
Dresponses.cpp52 int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) { in RspWithNoData() argument
69 int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) { in RspStrings() argument
95 int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) { in RspString() argument
113 int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) { in RspIntegers() argument
136 int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) { // 1 in RspGetSimStatus() argument
172 int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) { // 2 in RspEnterSimPinData() argument
192 int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) { // 9 in RspGetCurrentCalls() argument
244 int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) { // 19 in RspSignalStrength() argument
247 DBG("cmd = %d, token=%p, rilErrno=%d", cmd, token, rilErrno); in RspSignalStrength()
287 int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) { // 22 in RspOperator() argument
[all …]
/hardware/broadcom/wlan/bcm4329/src/dhd/sys/
Ddhd_cdc.c114 dhdcdc_query_ioctl(dhd_pub_t *dhd, int ifidx, uint cmd, void *buf, uint len) in dhdcdc_query_ioctl() argument
123 DHD_CTL(("%s: cmd %d len %d\n", __FUNCTION__, cmd, len)); in dhdcdc_query_ioctl()
127 if (cmd == WLC_GET_VAR && buf) in dhdcdc_query_ioctl()
143 msg->cmd = htol32(cmd); in dhdcdc_query_ioctl()
198 dhdcdc_set_ioctl(dhd_pub_t *dhd, int ifidx, uint cmd, void *buf, uint len) in dhdcdc_set_ioctl() argument
206 DHD_CTL(("%s: cmd %d len %d\n", __FUNCTION__, cmd, len)); in dhdcdc_set_ioctl()
210 msg->cmd = htol32(cmd); in dhdcdc_set_ioctl()
269 ioc->cmd, (unsigned long)ioc->cmd, prot->lastcmd, in dhd_prot_ioctl()
271 if ((ioc->cmd == WLC_SET_VAR) || (ioc->cmd == WLC_GET_VAR)) { in dhd_prot_ioctl()
278 prot->lastcmd = ioc->cmd; in dhd_prot_ioctl()
[all …]
Ddhd_linux.c222 extern int dhdcdc_set_ioctl(dhd_pub_t *dhd, int ifidx, uint cmd, void *buf, uint len);
805 ioc.cmd = WLC_SET_VAR; in _dhd_set_multicast_list()
840 ioc.cmd = WLC_SET_VAR; in _dhd_set_multicast_list()
859 ioc.cmd = WLC_SET_PROMISC; in _dhd_set_multicast_list()
884 ioc.cmd = WLC_SET_VAR; in _dhd_set_mac_address()
1509 ioc.cmd = WLC_GET_VAR; in dhd_toe_get()
1541 ioc.cmd = WLC_SET_VAR; in dhd_toe_set()
1595 uint32 cmd; in dhd_ethtool() local
1605 if (copy_from_user(&cmd, uaddr, sizeof (uint32))) in dhd_ethtool()
1608 switch (cmd) { in dhd_ethtool()
[all …]
/hardware/ril/reference-ril/
Dreference-ril.c603 char *cmd; local
616 asprintf(&cmd, "ATD%s%s;", p_dial->address, clir);
618 ret = at_send_command(cmd, NULL);
620 free(cmd);
630 char *cmd; local
638 asprintf(&cmd, "AT+CMGW=%d,%d", length, p_args->status);
640 err = at_send_command_sms(cmd, p_args->pdu, "+CMGW:", &p_response);
658 char *cmd; local
664 asprintf(&cmd, "AT+CHLD=1%d", p_line[0]);
666 ret = at_send_command(cmd, NULL);
[all …]
/hardware/ti/wlan/wl1271/wpa_supplicant_lib/
Ddriver_ti.c124 private_cmd.cmd = ioctl_cmd; in wpa_driver_tista_private_send()
516 int cmd, res; in wpa_driver_tista_driver_rx_data_filter() local
519 cmd = TIWLN_ADD_RX_DATA_FILTER; in wpa_driver_tista_driver_rx_data_filter()
523 cmd = TIWLN_REMOVE_RX_DATA_FILTER; in wpa_driver_tista_driver_rx_data_filter()
527 res = wpa_driver_tista_private_send(priv, cmd, dfreq_ptr, sizeof(TRxDataFilterRequest), NULL, 0); in wpa_driver_tista_driver_rx_data_filter()
590 static int wpa_driver_tista_driver_cmd( void *priv, char *cmd, char *buf, size_t buf_len ) in wpa_driver_tista_driver_cmd() argument
595 wpa_printf(MSG_DEBUG, "%s %s", __func__, cmd); in wpa_driver_tista_driver_cmd()
597 if( os_strcasecmp(cmd, "start") == 0 ) { in wpa_driver_tista_driver_cmd()
609 if( os_strcasecmp(cmd, "stop") == 0 ) { in wpa_driver_tista_driver_cmd()
613 wpa_printf(MSG_ERROR, "TI: %s when iface is UP", cmd); in wpa_driver_tista_driver_cmd()
[all …]
/hardware/ti/omap3/dspbridge/libbridge/
Ddsptrap.c53 DWORD DSPTRAP_Trap(Trapped_Args *args, int cmd) in DSPTRAP_Trap() argument
58 dwResult = ioctl(hMediaFile, cmd, args); in DSPTRAP_Trap()
/hardware/libhardware_legacy/wifi/
Dwifi.c402 int wifi_send_command(struct wpa_ctrl *ctrl, const char *cmd, char *reply, size_t *reply_len) in wifi_send_command() argument
407 LOGV("Not connected to wpa_supplicant - \"%s\" command dropped.\n", cmd); in wifi_send_command()
410 ret = wpa_ctrl_request(ctrl, cmd, strlen(cmd), reply, reply_len, NULL); in wifi_send_command()
412 LOGD("'%s' command timed out.\n", cmd); in wifi_send_command()
417 if (strncmp(cmd, "PING", 4) == 0) { in wifi_send_command()
/hardware/ti/wlan/wl1271/CUDK/os/linux/inc/
Dipc_wpa.h40 S32 IpcWpa_Command(THandle hIpcWpa, PS8 cmd, S32 print);
41 S32 IpcWpa_CommandWithResp(THandle hIpcWpa, PS8 cmd, S32 print, PS8 pResp, PU32 pRespLen);
/hardware/ti/wlan/wl1271/stad/src/Ctrl_Interface/
DCmdHndlr.h46 TI_UINT32 cmd; member
74 TI_UINT32 cmd,
DCmdHndlr.c231 TI_UINT32 cmd, in cmdHndlr_InsertCommand() argument
253 pNewCmd->cmd = cmd; in cmdHndlr_InsertCommand()
/hardware/msm7k/librpc/
Dops.c64 int r_control(int handle, const uint32 cmd, void *arg) in r_control() argument
66 return ioctl(handle, cmd, arg); in r_control()
/hardware/libhardware_legacy/qemu/
Dqemu.c54 qemu_fd_write( int fd, const char* cmd, int len ) in qemu_fd_write() argument
58 len2 = write(fd, cmd, len); in qemu_fd_write()
280 qemu_control_send(const char* cmd, int len) in qemu_control_send() argument
293 len2 = qemu_fd_write(fd, cmd, len); in qemu_control_send()
/hardware/ti/wlan/wl1271/platforms/os/linux/src/
DWlanDrvWext.c180 switch (info->cmd) in wlanDrvWext_Handler()
191 if (IS_PARAM_FOR_MODULE(my_command.cmd, DRIVER_MODULE_PARAM)) in wlanDrvWext_Handler()
194 switch (my_command.cmd) in wlanDrvWext_Handler()
277 info->cmd, in wlanDrvWext_Handler()
DCmdInterpretWext.c160 switch (cmdObj->cmd) in cmdInterpret_convertAndExecute()
561 switch (mlme->cmd) in cmdInterpret_convertAndExecute()
643 info.cmd = SIOCGIWSCAN; in cmdInterpret_convertAndExecute()
712 iwe.cmd = SIOCGIWAP; in cmdInterpret_convertAndExecute()
724 iwe.cmd = SIOCGIWESSID; in cmdInterpret_convertAndExecute()
736 iwe.cmd = SIOCGIWNAME; in cmdInterpret_convertAndExecute()
747 iwe.cmd = SIOCGIWMODE; in cmdInterpret_convertAndExecute()
763 iwe.cmd = SIOCGIWFREQ; in cmdInterpret_convertAndExecute()
776 iwe.cmd = IWEVQUAL; in cmdInterpret_convertAndExecute()
789 iwe.cmd = SIOCGIWENCODE; in cmdInterpret_convertAndExecute()
[all …]
/hardware/broadcom/wlan/bcm4329/src/wl/sys/
Dwl_iw.c153 #define IW_IOCTL_IDX(cmd) ((cmd) - SIOCIWFIRST) argument
154 #define IW_EVENT_IDX(cmd) ((cmd) - IWEVFIRST) argument
310 int cmd, in dev_wlc_ioctl() argument
328 __FUNCTION__, current->pid, cmd, arg, len)); in dev_wlc_ioctl()
332 ioc.cmd = cmd; in dev_wlc_ioctl()
1191 __FUNCTION__, info->cmd, info->flags,
1330 int cmd; local
1332 cmd = IWEVCUSTOM;
1339 wireless_send_event(dev, cmd, &wrqu, extra);
1578 info->cmd, info->flags,
[all …]
/hardware/broadcom/wlan/bcm4329/src/bcmsdio/sys/
Dbcmsdstd.c79 static int sdstd_cmd_issue(sdioh_info_t *sd, bool use_dma, uint32 cmd, uint32 arg);
89 static int sdstd_check_errs(sdioh_info_t *sdioh_info, uint32 cmd, uint32 arg);
1131 sdstd_check_errs(sdioh_info_t *sdioh_info, uint32 cmd, uint32 arg) in sdstd_check_errs() argument
1171 if (cmd == SDIOH_CMD_53) in sdstd_check_errs()
1173 else if (cmd == SDIOH_CMD_52) in sdstd_check_errs()
1177 __FUNCTION__, function, cmd)); in sdstd_check_errs()
2324 sdstd_cmd_issue(sdioh_info_t *sdioh_info, bool use_dma, uint32 cmd, uint32 arg) in sdstd_cmd_issue() argument
2333 ((cmd == SDIOH_CMD_3) || (cmd == SDIOH_CMD_7) || (cmd == SDIOH_CMD_15))) { in sdstd_cmd_issue()
2334 sd_err(("%s: Cmd %d is not for SPI\n", __FUNCTION__, cmd)); in sdstd_cmd_issue()
2342 __FUNCTION__, cmd, sdstd_rreg(sdioh_info, SD_PresentState))); in sdstd_cmd_issue()
[all …]
Dbcmsdspi.c69 static int sdspi_cmd_issue(sdioh_info_t *sd, bool use_dma, uint32 cmd, uint32 arg,
1201 sdspi_cmd_issue(sdioh_info_t *sd, bool use_dma, uint32 cmd, uint32 arg, in sdspi_cmd_issue() argument
1216 cmd_reg = SFIELD(cmd_reg, SPI_CMD_INDEX, cmd); in sdspi_cmd_issue()
1222 switch (cmd) { in sdspi_cmd_issue()
1227 sd_trace(("%s: CMD%d\n", __FUNCTION__, cmd)); in sdspi_cmd_issue()
1236 sd_err(("%s: CMD%d is invalid for SPI Mode.\n", __FUNCTION__, cmd)); in sdspi_cmd_issue()
1289 sd_err(("%s: Unknown command %d\n", __FUNCTION__, cmd)); in sdspi_cmd_issue()
1311 if ((cmd == SDIOH_CMD_53) && (GFIELD(cmd_arg, CMD53_RW_FLAG) == 1)) { in sdspi_cmd_issue()
1366 sd_err(("%s: Did not get a response for CMD%d\n", __FUNCTION__, cmd)); in sdspi_cmd_issue()
1374 if ((cmd == SDIOH_CMD_53) && (GFIELD(cmd_arg, CMD52_RW_FLAG) == 0)) { in sdspi_cmd_issue()
[all …]

1234