Lines Matching defs:cmd
233 u8 cmd; /* Command we are issuing */
981 unsigned int cmd;
989 cmd = 0;
990 if (gsm_read_ea_val(&cmd, msg->data + 2, msg->len - 2) < 1)
992 switch (cmd & ~PF) {
1444 * @cmd: the command to use
1450 static int gsm_control_command(struct gsm_mux *gsm, int cmd, const u8 *data,
1460 msg->data[0] = (cmd << 1) | CR | EA; /* Set C/R */
1471 * @cmd: the command to use
1478 static void gsm_control_reply(struct gsm_mux *gsm, int cmd, const u8 *data,
1487 msg->data[0] = (cmd & 0xFE) << 1 | EA; /* Clear C/R */
1939 if (ctrl != NULL && (command == ctrl->cmd || command == CMD_NSC)) {
2012 gsm_control_command(gsm, ctrl->cmd, ctrl->data, ctrl->len);
2076 ctrl->cmd = command;
3765 static int gsmld_ioctl(struct tty_struct *tty, unsigned int cmd,
3775 switch (cmd) {
3827 return n_tty_ioctl_helper(tty, cmd, arg);
4388 unsigned int cmd, unsigned long arg)
4397 switch (cmd) {