Lines Matching refs:cmd
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;
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)
106 ioc.cmd = cmd;
114 if (cmd != get_magic) {
127 int wl_ioctl(void *wl, int cmd, void *buf, int len, bool set)
129 return dhd_ioctl(wl, cmd, buf, len, set); /* Call actual wl_ioctl here: Shubhro */
151 info.cmd = ETHTOOL_GDRVINFO;
179 dhd_get(void *dhd, int cmd, void *buf, int len)
181 return wl_get(dhd, cmd, buf, len);
192 dhd_set(void *dhd, int cmd, void *buf, int len)
196 switch (cmd) {
214 return wl_set(dhd, cmd, buf, len);
292 ioctl_queryinformation_fe(void *wl, int cmd, void* input_buf, int *input_len)
294 return dhd_ioctl(wl, cmd, input_buf, *input_len, FALSE);
301 ioctl_setinformation_fe(void *wl, int cmd, void* buf, int *len)
303 return dhd_ioctl(wl, cmd, buf, *len, TRUE);
310 wl_get(void *wl, int cmd, void *buf, int len)
313 error = (int)ioctl_queryinformation_fe(wl, cmd, buf, &len);
325 wl_set(void *wl, int cmd, void *buf, int len)
329 error = (int)ioctl_setinformation_fe(wl, cmd, buf, &len);
365 * (shell cmd, wl cmd) .The code is mostly from wlu_linux.c. This code can be
375 cmd_t *cmd = NULL;
400 cmd = dhd_find_cmd(*argv);
402 if (!cmd) {
403 cmd = &dhd_varcmd;
407 err = (*cmd->func)((void *) ifr, cmd, argv);
413 cmd = dhd_find_cmd(*argv);
414 if (cmd) {
415 dhd_cmd_usage(cmd);
420 } else if (!cmd)
423 dhd_cmd_usage(cmd);