Lines Matching refs:command
152 static int firm_send_command(struct usb_serial_port *port, __u8 command,
221 __u8 *command; in whiteheat_attach() local
228 command = kmalloc(2, GFP_KERNEL); in whiteheat_attach()
229 if (!command) in whiteheat_attach()
231 command[0] = WHITEHEAT_GET_HW_INFO; in whiteheat_attach()
232 command[1] = 0; in whiteheat_attach()
243 ret = usb_bulk_msg(serial->dev, pipe, command, 2, in whiteheat_attach()
269 } else if (result[0] != command[0]) { in whiteheat_attach()
293 kfree(command); in whiteheat_attach()
309 kfree(command); in whiteheat_attach()
315 kfree(command); in whiteheat_attach()
529 static int firm_send_command(struct usb_serial_port *port, __u8 command, in firm_send_command() argument
540 dev_dbg(dev, "%s - command %d\n", __func__, command); in firm_send_command()
552 transfer_buffer[0] = command; in firm_send_command()
581 switch (command) { in firm_send_command()