Searched refs:cmd (Results 1 - 25 of 127) sorted by relevance

123456

/hardware/broadcom/wlan/bcm4329/dhdutil/
H A Ddhdu_cmd.h24 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 Ddhdu_linux.c61 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 Ddhdu_cmd.h24 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 Ddhdu_linux.c80 cmd_t *cmd = NULL; local
82 for (cmd = dhd_cmds; cmd->name && strcmp(cmd->name, name); cmd++);
83 if (cmd->name == NULL)
84 cmd = NULL;
85 return cmd;
100 dhd_ioctl(void *dhd, int cmd, void *buf, int len, bool set) argument
125 ioc.cmd
146 wl_ioctl(void *wl, int cmd, void *buf, int len, bool set) argument
198 dhd_get(void *dhd, int cmd, void *buf, int len) argument
211 dhd_set(void *dhd, int cmd, void *buf, int len) argument
311 ioctl_queryinformation_fe(void *wl, int cmd, void* input_buf, int *input_len) argument
330 ioctl_setinformation_fe(void *wl, int cmd, void* buf, int *len) argument
349 wl_get(void *wl, int cmd, void *buf, int len) argument
371 wl_set(void *wl, int cmd, void *buf, int len) argument
532 cmd_t *cmd = NULL; local
[all...]
/hardware/ril/mock-ril/src/js/
H A 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);
80 print('CtrlServer X: Exception req.cmd=' +
81 req.cmd
[all...]
/hardware/ti/omap3/dspbridge/libbridge/
H A Ddsptrap.c53 DWORD DSPTRAP_Trap(Trapped_Args *args, int cmd) argument
58 dwResult = ioctl(hMediaFile, cmd, args);
/hardware/ti/wlan/mac80211/ti-utils/
H A Dcalibrator.c104 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 Dcalibrator.h37 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/qcom/audio/libalsa-intf/
H A Dalsaucm_test.c65 struct cmd { struct
70 static struct cmd cmds[] = {
100 fprintf(stderr, "alsaucm_test: error reading cmd\n");
167 struct cmd *cmd = NULL; local
177 for (cmd = cmds; cmd->cmd_str != NULL; cmd++) {
178 if (strncmp(cmd->cmd_str, command, strlen(cmd
[all...]
/hardware/ti/omap3/dspbridge/inc/
H A Ddsptrap.h47 extern DWORD DSPTRAP_Trap(Trapped_Args * args, int cmd);
H A Drmstypes.h56 RMS_WORD cmd; /* Message code */ member in struct:RMS_DSPMSG
/hardware/ti/omap3/dspbridge/libbridge/inc/
H A Ddsptrap.h47 extern DWORD DSPTRAP_Trap(Trapped_Args * args, int cmd);
H A Drmstypes.h56 RMS_WORD cmd; /* Message code */ member in struct:RMS_DSPMSG
/hardware/ti/wlan/wl1271/stad/Export_Inc/
H A DprivateCmd.h83 TI_UINT32 cmd; /**< Number of command to execute - configMgr parameter name */ member in struct:__anon2876
/hardware/ti/wlan/wl1271/CUDK/os/linux/inc/
H A 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/CUDK/os/linux/src/
H A Dipc_wpa.c126 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/qcom/wlan/qcwcn/wpa_supplicant_8_lib/
H A Ddriver_cmd_nl80211.c126 int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf, argument
135 if (os_strcasecmp(cmd, "STOP") == 0) {
138 } else if (os_strcasecmp(cmd, "START") == 0) {
141 } else if (os_strcasecmp(cmd, "MACADDR") == 0) {
148 } else if (os_strcasecmp(cmd, "RELOAD") == 0) {
150 } else if (os_strncasecmp(cmd, "POWERMODE ", 10) == 0) {
153 state = atoi(cmd + 10);
159 } else if (os_strncasecmp(cmd, "GETPOWER", 8) == 0) {
172 os_memcpy(buf, cmd, strlen(cmd)
245 int cmd; member in struct:cmd_desc
[all...]
H A Ddriver_cmd_wext.c131 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...]
/hardware/ti/wlan/wl1271/CUDK/configurationutility/src/
H A Dwpa_core.c370 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/broadcom/wlan/bcmdhd/bcmdhd_net_iface/
H A Dbcmdhd_net_iface.c27 char cmd[INTERFACE_MAX_BUFFER_SIZE]; member in struct:net_if_snd_cmd_state
56 bc += snprintf(&state.cmd[bc], sizeof(state.cmd) - bc, "%s ", argv[i]);
57 if (bc >= sizeof(state.cmd)) {
61 state.cmd[bc] = '\0';
65 strncpy(state.ibuf, state.cmd, INTERFACE_MAX_BUFFER_SIZE);
/hardware/ti/omap4xxx/test/CameraHal/
H A Dcamera_test_script.cpp101 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 Ddriver_cmd_wext.c128 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 Ddriver_cmd_wext.c131 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...]
/hardware/ril/mock-ril/src/python/
H A Dtcs.py68 """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/qcom/camera/mm-camera-interface/
H A Dmm_camera_poll_thread.c64 uint8_t cmd; member in struct:__anon806
69 uint32_t cmd)
75 cmd_evt.cmd = cmd;
82 /* send cmd to worker */
159 switch(cmd_evt.cmd) {
216 mm_camera_sig_evt_t cmd; local
219 cmd.cmd = MM_CAMERA_PIPE_CMD_FLASH_QUEUED_FRAME;
220 memset(&cmd
68 mm_camera_poll_sig(mm_camera_poll_thread_t *poll_cb, uint32_t cmd) argument
241 mm_camera_sig_evt_t cmd; local
340 mm_camera_sig_evt_t cmd; local
361 mm_camera_sig_evt_t cmd; local
[all...]

Completed in 3392 milliseconds

123456