Lines Matching defs:command
59 static int sn9c2028_command(struct gspca_dev *gspca_dev, u8 *command)
63 gspca_dbg(gspca_dev, D_USBO, "sending command %02x%02x%02x%02x%02x%02x\n",
64 command[0], command[1], command[2],
65 command[3], command[4], command[5]);
67 memcpy(gspca_dev->usb_buf, command, 6);
74 pr_err("command write [%02x] error %d\n",
118 static int sn9c2028_long_command(struct gspca_dev *gspca_dev, u8 *command)
123 status = sn9c2028_command(gspca_dev, command);
131 pr_err("long command status read error %d\n", status);
141 * the command, or'ed with 8 */
149 static int sn9c2028_short_command(struct gspca_dev *gspca_dev, u8 *command)
153 err_code = sn9c2028_command(gspca_dev, command);
851 gspca_err(gspca_dev, "Camera Stop command failed\n");