Lines Matching refs:command
162 static int firm_send_command(struct usb_serial_port *port, __u8 command,
259 __u8 *command; in whiteheat_attach() local
266 command = kmalloc(2, GFP_KERNEL); in whiteheat_attach()
267 if (!command) in whiteheat_attach()
269 command[0] = WHITEHEAT_GET_HW_INFO; in whiteheat_attach()
270 command[1] = 0; in whiteheat_attach()
281 ret = usb_bulk_msg(serial->dev, pipe, command, 2, in whiteheat_attach()
307 } else if (result[0] != command[0]) { in whiteheat_attach()
331 kfree(command); in whiteheat_attach()
347 kfree(command); in whiteheat_attach()
353 kfree(command); in whiteheat_attach()
592 static int firm_send_command(struct usb_serial_port *port, __u8 command, in firm_send_command() argument
603 dev_dbg(dev, "%s - command %d\n", __func__, command); in firm_send_command()
611 transfer_buffer[0] = command; in firm_send_command()
640 switch (command) { in firm_send_command()