Path: blob/master/drivers/media/video/gspca/stv06xx/stv06xx_st6422.h
17991 views
/*1* Support for the sensor part which is integrated (I think) into the2* st6422 stv06xx alike bridge, as its integrated there are no i2c writes3* but instead direct bridge writes.4*5* Copyright (c) 2009 Hans de Goede <[email protected]>6*7* Strongly based on qc-usb-messenger, which is:8* Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher9* Mark Cave-Ayland, Carlo E Prelz, Dick Streefland10* Copyright (c) 2002, 2003 Tuukka Toivonen11*12* This program is free software; you can redistribute it and/or modify13* it under the terms of the GNU General Public License as published by14* the Free Software Foundation; either version 2 of the License, or15* (at your option) any later version.16*17* This program is distributed in the hope that it will be useful,18* but WITHOUT ANY WARRANTY; without even the implied warranty of19* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the20* GNU General Public License for more details.21*22* You should have received a copy of the GNU General Public License23* along with this program; if not, write to the Free Software24* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA25*26*/2728#ifndef STV06XX_ST6422_H_29#define STV06XX_ST6422_H_3031#include "stv06xx_sensor.h"3233static int st6422_probe(struct sd *sd);34static int st6422_start(struct sd *sd);35static int st6422_init(struct sd *sd);36static int st6422_stop(struct sd *sd);37static void st6422_disconnect(struct sd *sd);3839const struct stv06xx_sensor stv06xx_sensor_st6422 = {40.name = "ST6422",41/* No known way to lower framerate in case of less bandwidth */42.min_packet_size = { 300, 847 },43.max_packet_size = { 300, 847 },44.init = st6422_init,45.probe = st6422_probe,46.start = st6422_start,47.stop = st6422_stop,48.disconnect = st6422_disconnect,49};5051#endif525354