/hardware/broadcom/wlan/bcm4329/dhdutil/ |
H A D | dhdu_cmd.h | 24 typedef struct cmd cmd_t; 25 typedef int (cmd_func_t)(void *dhd, cmd_t *cmd, char **argv); 28 struct cmd { struct 46 extern int dhd_get(void *dhd, int cmd, void *buf, int len); 47 extern int dhd_set(void *dhd, int cmd, void *buf, int len);
|
H A D | dhdu_linux.c | 61 extern int wl_get(void *wl, int cmd, void *buf, int len); 62 extern int wl_set(void *wl, int cmd, void *buf, int len); 71 cmd_t *cmd = NULL; local 73 for (cmd = dhd_cmds; cmd->name && strcmp(cmd->name, name); cmd++); 74 if (cmd->name == NULL) 75 cmd = NULL; 76 return cmd; 91 dhd_ioctl(void *dhd, int cmd, void *buf, int len, bool set) argument 127 wl_ioctl(void *wl, int cmd, void *buf, int len, bool set) argument 179 dhd_get(void *dhd, int cmd, void *buf, int len) argument 192 dhd_set(void *dhd, int cmd, void *buf, int len) argument 292 ioctl_queryinformation_fe(void *wl, int cmd, void* input_buf, int *input_len) argument 301 ioctl_setinformation_fe(void *wl, int cmd, void* buf, int *len) argument 310 wl_get(void *wl, int cmd, void *buf, int len) argument 325 wl_set(void *wl, int cmd, void *buf, int len) argument 375 cmd_t *cmd = NULL; local [all...] |
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
H A D | dhdu_cmd.h | 24 typedef struct cmd cmd_t; 25 typedef int (cmd_func_t)(void *dhd, cmd_t *cmd, char **argv); 28 struct cmd { struct 46 extern int dhd_get(void *dhd, int cmd, void *buf, int len); 47 extern int dhd_set(void *dhd, int cmd, void *buf, int len);
|
H A D | dhdu_linux.c | 61 extern int wl_get(void *wl, int cmd, void *buf, int len); 62 extern int wl_set(void *wl, int cmd, void *buf, int len); 71 cmd_t *cmd = NULL; local 73 for (cmd = dhd_cmds; cmd->name && strcmp(cmd->name, name); cmd++); 74 if (cmd->name == NULL) 75 cmd = NULL; 76 return cmd; 91 dhd_ioctl(void *dhd, int cmd, void *buf, int len, bool set) argument 127 wl_ioctl(void *wl, int cmd, void *buf, int len, bool set) argument 179 dhd_get(void *dhd, int cmd, void *buf, int len) argument 192 dhd_set(void *dhd, int cmd, void *buf, int len) argument 292 ioctl_queryinformation_fe(void *wl, int cmd, void* input_buf, int *input_len) argument 301 ioctl_setinformation_fe(void *wl, int cmd, void* buf, int *len) argument 310 wl_get(void *wl, int cmd, void *buf, int len) argument 325 wl_set(void *wl, int cmd, void *buf, int len) argument 375 cmd_t *cmd = NULL; local [all...] |
/hardware/ril/mock-ril/src/js/ |
H A D | ctrl_server.js | 58 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); 80 print('CtrlServer X: Exception req.cmd=' + 81 req.cmd [all...] |
/hardware/ti/omap3/dspbridge/libbridge/ |
H A D | dsptrap.c | 53 DWORD DSPTRAP_Trap(Trapped_Args *args, int cmd) argument 58 dwResult = ioctl(hMediaFile, cmd, args);
|
/hardware/ti/wlan/mac80211/ti-utils/ |
H A D | calibrator.c | 104 extern struct cmd __start___cmd; 105 extern struct cmd __stop___cmd; 109 _cmd = (const struct cmd *)((char *)_cmd + cmd_size)) 112 static void __usage_cmd(const struct cmd *cmd, char *indent, bool full) argument 118 switch (cmd->idby) { 128 if (cmd->parent && cmd->parent->name) { 129 printf("%s ", cmd->parent->name); 131 printf("%s", cmd 175 const struct cmd *section, *cmd; local 220 usage_cmd(const struct cmd *cmd) argument 281 const struct cmd *cmd, *match = NULL, *sectcmd; local 486 const struct cmd *cmd = NULL; local [all...] |
H A D | calibrator.h | 37 struct cmd { struct 41 const enum nl80211_commands cmd; member in struct:cmd 54 const struct cmd *parent; 60 static struct cmd \ 65 .cmd = (_nlcmd), \ 73 #define COMMAND(section, name, args, cmd, flags, idby, handler, help) \ 74 __COMMAND(&(__section ## _ ## section), name, #name, args, cmd, flags, 0, idby, handler, help) 75 #define HIDDEN(section, name, args, cmd, flags, idby, handler) \ 76 __COMMAND(&(__section ## _ ## section), name, #name, args, cmd, flags, 1, idby, handler, NULL) 79 struct cmd \ [all...] |
/hardware/ti/omap3/dspbridge/inc/ |
H A D | dsptrap.h | 47 extern DWORD DSPTRAP_Trap(Trapped_Args * args, int cmd);
|
H A D | rmstypes.h | 56 RMS_WORD cmd; /* Message code */ member in struct:RMS_DSPMSG
|
/hardware/ti/omap3/dspbridge/libbridge/inc/ |
H A D | dsptrap.h | 47 extern DWORD DSPTRAP_Trap(Trapped_Args * args, int cmd);
|
H A D | rmstypes.h | 56 RMS_WORD cmd; /* Message code */ member in struct:RMS_DSPMSG
|
/hardware/ti/wlan/wl1271/stad/Export_Inc/ |
H A D | privateCmd.h | 83 TI_UINT32 cmd; /**< Number of command to execute - configMgr parameter name */ member in struct:__anon1558
|
/hardware/ti/wlan/wl1271/CUDK/os/linux/inc/ |
H A D | ipc_wpa.h | 40 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/CUDK/os/linux/src/ |
H A D | ipc_wpa.c | 126 S32 IpcWpa_Command(THandle hIpcWpa, PS8 cmd, S32 print) argument 134 ret = wpa_ctrl_request(pIpcWpa->pWpaCtrl, (char*)cmd, os_strlen(cmd), (char*)Resp, (size_t*)&RespLen, NULL); 138 os_error_printf(CU_MSG_ERROR, (PS8)"'%s' command timed out.\n", cmd); 143 os_error_printf(CU_MSG_ERROR, (PS8)"'%s' command failed (%d).\n", cmd, ret); 157 S32 IpcWpa_CommandWithResp(THandle hIpcWpa, PS8 cmd, S32 print, PS8 pResp, PU32 pRespLen) argument 164 ret = wpa_ctrl_request(pIpcWpa->pWpaCtrl, (char*)cmd, os_strlen(cmd), (char*)pResp, (size_t*)pRespLen, NULL); 168 os_error_printf(CU_MSG_ERROR, (PS8)"'%s' command timed out.\n", cmd); 173 os_error_printf(CU_MSG_ERROR, (PS8)"'%s' command failed.\n", cmd); [all...] |
/hardware/ti/wlan/wl1271/CUDK/configurationutility/src/ |
H A D | wpa_core.c | 370 S8 cmd[100]; local 372 os_sprintf(cmd, (PS8)"CHANGE_SUPPLICANT_DEBUG %ld %ld %ld", Level1, Level2, Level3); 373 IpcWpa_Command(pWpaCore->hIpcWpa, cmd, TRUE); 420 S8 cmd[100]; local 426 os_sprintf(cmd, "WPS_PIN any"); 427 IpcWpa_Command(pWpaCore->hIpcWpa, cmd, TRUE); 437 S8 cmd[100]; local 443 os_sprintf(cmd, "WPS_PBC"); 444 IpcWpa_Command(pWpaCore->hIpcWpa, cmd, TRUE); 536 S8 cmd[25 local 902 S8 cmd[256]; local [all...] |
/hardware/ti/omap4xxx/test/CameraHal/ |
H A D | camera_test_script.cpp | 101 char *cmd, *ctx, *cycle_cmd, *temp_cmd; local 116 cmd = strtok_r((char *) script, DELIMITER, &ctx); 118 while ( NULL != cmd && (stopScript == false)) { 119 id = cmd[0]; 120 printf("Full Command: %s \n", cmd); 121 printf("Command: %c \n", cmd[0]); 171 cycleCounter = atoi(cmd + 1); 258 rotation = atoi(cmd + 1); 272 if( strcmp((cmd + 1), previewSize[i].desc) == 0) 284 res = strtok(cmd 1195 char *cmd, *ctx; local [all...] |
/hardware/broadcom/wlan/bcm4329/wpa_supplicant_8_lib/ |
H A D | driver_cmd_wext.c | 128 static int wpa_driver_wext_set_cscan_params(char *buf, size_t buf_len, char *cmd) argument 135 wpa_printf(MSG_DEBUG, "%s: %s", __func__, cmd); 138 pasv_ptr = os_strstr(cmd, ",TIME="); 146 channel = (u8)atoi(cmd + 5); 278 int wpa_driver_wext_driver_cmd( void *priv, char *cmd, char *buf, size_t buf_len ) argument 285 wpa_printf(MSG_DEBUG, "%s %s len = %d", __func__, cmd, buf_len); 287 if (!drv->driver_is_started && (os_strcasecmp(cmd, "START") != 0)) { 292 if (os_strcasecmp(cmd, "RSSI-APPROX") == 0) { 293 os_strncpy(cmd, RSSI_CMD, MAX_DRV_CMD_SIZE); 294 } else if( os_strncasecmp(cmd, "SCA [all...] |
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/ |
H A D | driver_cmd_wext.c | 131 static int wpa_driver_wext_set_cscan_params(char *buf, size_t buf_len, char *cmd) argument 138 wpa_printf(MSG_DEBUG, "%s: %s", __func__, cmd); 141 pasv_ptr = os_strstr(cmd, ",TIME="); 149 channel = (u8)atoi(cmd + 5); 281 int wpa_driver_wext_driver_cmd( void *priv, char *cmd, char *buf, size_t buf_len ) argument 288 wpa_printf(MSG_DEBUG, "%s %s len = %d", __func__, cmd, buf_len); 290 if (!drv->driver_is_started && (os_strcasecmp(cmd, "START") != 0)) { 295 if (os_strcasecmp(cmd, "RSSI-APPROX") == 0) { 296 os_strncpy(cmd, RSSI_CMD, MAX_DRV_CMD_SIZE); 297 } else if( os_strncasecmp(cmd, "SCA [all...] |
H A D | driver_cmd_nl80211.c | 206 int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf, argument 215 if (os_strcasecmp(cmd, "STOP") == 0) { 218 } else if (os_strcasecmp(cmd, "START") == 0) { 221 } else if (os_strcasecmp(cmd, "MACADDR") == 0) { 228 } else if (os_strcasecmp(cmd, "RELOAD") == 0) { 230 } else if (os_strncasecmp(cmd, "POWERMODE ", 10) == 0) { 233 state = atoi(cmd + 10); 239 } else if (os_strncasecmp(cmd, "GETPOWER", 8) == 0) { 250 if (os_strcasecmp(cmd, "BGSCAN-START") == 0) { 256 } else if (os_strcasecmp(cmd, "BGSCA 324 int cmd; member in struct:cmd_desc [all...] |
/hardware/ril/mock-ril/src/python/ |
H A D | tcs.py | 68 """A fixed length message header; cmd, token, status and length of protobuf.""" 70 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=''): 128 cmd: command to send 135 self.cmd [all...] |
/hardware/ti/wpan/tools/kfmapp/ |
H A D | kfmapp.c | 291 int fmapp_set_tx_rds_radio_pi_code(char *cmd) argument 298 sscanf(cmd, "%d", &user_val); 320 int fmapp_set_tx_rds_radio_af(char *cmd) argument 330 res = write(fd, cmd, FMAPP_AF_MAX_FREQ_RANGE); 336 printf("FM RDS Alternate Frequency is to %s Succesfully\n", cmd); 342 int fmapp_set_tx_rds_radio_pty(char *cmd) argument 349 sscanf(cmd, "%d", &user_val); 370 int fmapp_set_tx_ant_imp(char *cmd) argument 376 sscanf(cmd, "%d", &user_val); 391 int fmapp_set_tx_power_level(char *cmd) argument 419 fmapp_set_premphasis_filter_mode(char *cmd) argument 448 fmapp_set_tx_frequency(char *cmd) argument 483 fmapp_set_rx_frequency(char *cmd) argument 540 fmapp_set_rx_volume(char *cmd,int interactive,int vol_to_set) argument 684 fmapp_set_rx_af_switch(char *cmd) argument 758 fmapp_set_rx_rssi_threshold(char *cmd) argument 781 fmapp_set_band(char *cmd) argument 1240 fmapp_execute_tx_get_command(char *cmd) argument 1261 fmapp_execute_rx_get_command(char *cmd) argument 1317 fmapp_execute_rx_other_command(char *cmd) argument 1384 fmapp_execute_tx_other_command(char *cmd) argument 1423 char cmd[100]; local 1460 char cmd[100]; local [all...] |
/hardware/ti/wlan/mac80211/wpa_supplicant_lib/ |
H A D | driver_mac80211_nl.c | 178 int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf, argument 186 if (os_strcasecmp(cmd, "STOP") == 0) { 189 } else if (os_strcasecmp(cmd, "START") == 0) { 192 } else if (os_strcasecmp(cmd, "RELOAD") == 0) { 194 } else if (os_strncasecmp(cmd, "POWERMODE ", 10) == 0) { 196 mode = atoi(cmd + 10); 204 } else if (os_strncasecmp(cmd, "GETPOWER", 8) == 0) { 206 } else if (os_strncasecmp(cmd, "BTCOEXMODE ", 11) == 0) { 207 int mode = atoi(cmd + 11); 216 } else if ((os_strcasecmp(cmd, "RSS [all...] |
/hardware/ril/mock-ril/src/java/com/android/internal/communication/ |
H A D | Msg.java | 120 * Send a message with cmd, token, status followed by the data. 123 * @param cmd for the header 129 public static final void send(RilChannel rc, int cmd, long token, int status, MessageMicro pb) argument 132 mh.setCmd(cmd); 146 * Send a message with cmd, token, status followed by the data. 149 * @param cmd for the header 154 public static final void send(RilChannel rc, int cmd, long token, MessageMicro pb) argument 156 send(rc, cmd, token, 0, pb); 160 * Send a message with cmd followed by the data. 163 * @param cmd fo 167 send(RilChannel rc, int cmd, MessageMicro pb) argument 180 send(RilChannel rc, int cmd, long token, int status) argument 193 send(RilChannel rc, int cmd, long token) argument 204 send(RilChannel rc, int cmd) argument [all...] |
/hardware/ril/mock-ril/src/cpp/ |
H A D | responses.cpp | 52 int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) { 69 int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) { 95 int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) { 113 int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) { 136 int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) { // 1 173 int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) { // 2 193 int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) { // 9 286 int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) { // 19 289 DBG("cmd = %d, token=%p, rilErrno=%d", cmd, toke 51 RspWithNoData( int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) argument 68 RspStrings( int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) argument 94 RspString( int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) argument 112 RspIntegers( int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) argument 135 RspGetSimStatus( int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) argument 172 RspEnterSimPinData( int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) argument 192 RspGetCurrentCalls( int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) argument 285 RspSignalStrength( int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) argument 313 RspOperator( int cmd, RIL_Token token, RIL_Errno rilErrno, Buffer *buffer) argument 346 UnsolRspSignalStrength(int cmd, Buffer* buffer) argument 386 int cmd; local 457 int cmd; local [all...] |