Lines Matching refs:cmd

81 	cmd_t *cmd = NULL;
83 for (cmd = dhd_cmds; cmd->name && strcmp(cmd->name, name); cmd++);
84 if (cmd->name == NULL)
85 cmd = NULL;
86 return cmd;
145 dhd_ioctl(void *dhd, int cmd, void *buf, int len, bool set)
165 ioc.cmd = cmd;
172 if (ret < 0 && cmd != get_magic)
180 int wl_ioctl(void *wl, int cmd, void *buf, int len, bool set)
182 return dhd_ioctl(wl, cmd, buf, len, set); /* Call actual wl_ioctl here: Shubhro */
204 info.cmd = ETHTOOL_GDRVINFO;
231 dhd_get(void *dhd, int cmd, void *buf, int len)
233 return wl_get(dhd, cmd, buf, len);
244 dhd_set(void *dhd, int cmd, void *buf, int len)
248 switch (cmd) {
266 return wl_set(dhd, cmd, buf, len);
344 ioctl_queryinformation_fe(void *wl, int cmd, void* input_buf, int *input_len)
347 return dhd_ioctl(wl, cmd, input_buf, *input_len, FALSE);
351 return rwl_queryinformation_fe(wl, cmd, input_buf,
363 ioctl_setinformation_fe(void *wl, int cmd, void* buf, int *len)
366 return dhd_ioctl(wl, cmd, buf, *len, TRUE);
370 return rwl_setinformation_fe(wl, cmd, buf, (unsigned long*)len, 0, RDHD_SET_IOCTL);
382 wl_get(void *wl, int cmd, void *buf, int len)
387 error = (int)ioctl_queryinformation_fe(wl, WL_OID_BASE + cmd, buf, &len);
389 error = (int)ioctl_queryinformation_fe(wl, cmd, buf, &len);
404 wl_set(void *wl, int cmd, void *buf, int len)
410 error = (int)ioctl_setinformation_fe(wl, WL_OID_BASE + cmd, buf, &len);
412 error = (int)ioctl_setinformation_fe(wl, cmd, buf, &len);
521 /* copy server mac address to local buffer for later use by findserver cmd */
555 * (shell cmd, wl cmd) .The code is mostly from wlu_linux.c. This code can be
565 cmd_t *cmd = NULL;
614 cmd = dhd_find_cmd(*argv);
616 if (!cmd) {
617 cmd = &dhd_varcmd;
621 err = (*cmd->func)((void *) ifr, cmd, argv);
627 cmd = dhd_find_cmd(*argv);
628 if (cmd) {
629 dhd_cmd_usage(cmd);
634 } else if (!cmd)
637 dhd_cmd_usage(cmd);