#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/kref.h>
#include <linux/usb.h>
#include <media/v4l2-common.h>
#include "stk11xx.h"
Go to the source code of this file.
Functions | |
int | dev_stka311_initialize_device (struct usb_stk11xx *dev) |
This function permits to initialize the device. | |
int | dev_stka311_configure_device (struct usb_stk11xx *dev, int step) |
This function permits to configure the device. | |
int | dev_stka311_start_stream (struct usb_stk11xx *dev) |
This function sets the device to start the stream. | |
int | dev_stka311_stop_stream (struct usb_stk11xx *dev) |
This function sets the device to stop the stream. | |
int | dev_stka311_camera_asleep (struct usb_stk11xx *dev) |
Wake-up the camera. | |
int | dev_stka311_init_camera (struct usb_stk11xx *dev) |
This function initializes the device for the stream. | |
int | dev_stka311_load_microcode (struct usb_stk11xx *dev) |
This function permits to load a microcode. | |
int | dev_stka311_reconf_camera (struct usb_stk11xx *dev) |
Reconfigure the camera before the stream. | |
int | dev_stka311_camera_settings (struct usb_stk11xx *dev) |
This function permits to modify the settings of the camera. | |
int | dev_stka311_set_camera_quality (struct usb_stk11xx *dev) |
This function permits to modify the settings of the camera. | |
int | dev_stka311_set_camera_fps (struct usb_stk11xx *dev) |
This function permits to modify the settings of the camera. | |
int | dev_stka821_initialize_device (struct usb_stk11xx *dev) |
This function permits to initialize the device. | |
int | dev_stka821_configure_device (struct usb_stk11xx *dev, int step) |
This function permits to configure the device. | |
int | dev_stka821_start_stream (struct usb_stk11xx *dev) |
This function sets the device to start the stream. | |
int | dev_stka821_stop_stream (struct usb_stk11xx *dev) |
This function sets the device to stop the stream. | |
int | dev_stka821_camera_asleep (struct usb_stk11xx *dev) |
Wake-up the camera. | |
int | dev_stka821_init_camera (struct usb_stk11xx *dev) |
This function initializes the device for the stream. | |
int | dev_stka821_load_microcode (struct usb_stk11xx *dev) |
This function permits to load a microcode. | |
int | dev_stka821_reconf_camera (struct usb_stk11xx *dev) |
Reconfigure the camera before the stream. | |
int | dev_stka821_camera_settings (struct usb_stk11xx *dev) |
This function permits to modify the settings of the camera. | |
int | dev_stka821_set_camera_quality (struct usb_stk11xx *dev) |
This function permits to modify the settings of the camera. | |
int | dev_stka821_set_camera_fps (struct usb_stk11xx *dev) |
This function permits to modify the settings of the camera. | |
int | dev_stk6a31_initialize_device (struct usb_stk11xx *dev) |
This function permits to initialize the device. | |
int | dev_stk6a31_configure_device (struct usb_stk11xx *dev, int step) |
This function permits to configure the device. | |
int | dev_stk6a31_start_stream (struct usb_stk11xx *dev) |
This function sets the device to start the stream. | |
int | dev_stk6a31_stop_stream (struct usb_stk11xx *dev) |
This function sets the device to stop the stream. | |
int | dev_stk6a31_camera_asleep (struct usb_stk11xx *dev) |
Wake-up the camera. | |
int | dev_stk6a31_init_camera (struct usb_stk11xx *dev) |
This function initializes the device for the stream. | |
int | dev_stk6a31_load_microcode (struct usb_stk11xx *dev) |
This function permits to load a microcode. | |
int | dev_stk6a31_reconf_camera (struct usb_stk11xx *dev) |
Reconfigure the camera before the stream. | |
int | dev_stk6a31_camera_settings (struct usb_stk11xx *dev) |
This function permits to modify the settings of the camera. | |
int | dev_stk6a31_set_camera_quality (struct usb_stk11xx *dev) |
This function permits to modify the settings of the camera. | |
int | dev_stk6a31_set_camera_fps (struct usb_stk11xx *dev) |
This function permits to modify the settings of the camera. | |
int | dev_stk11xx_initialize_device (struct usb_stk11xx *dev) |
This function permits to initialize the device. | |
int | dev_stk11xx_init_camera (struct usb_stk11xx *dev) |
This function initializes the device for the stream. | |
int | dev_stk11xx_check_device (struct usb_stk11xx *dev, int nbr) |
This function permits to check the device in reading the register 0x0201. | |
int | dev_stk11xx_watchdog_camera (struct usb_stk11xx *dev) |
A espece of software watchdog. | |
int | dev_stk11xx_camera_on (struct usb_stk11xx *dev) |
This function switchs on the camera. | |
int | dev_stk11xx_camera_off (struct usb_stk11xx *dev) |
This function switchs off the camera. | |
int | dev_stk11xx_camera_asleep (struct usb_stk11xx *dev) |
Wake-up the camera. | |
int | dev_stk11xx_camera_settings (struct usb_stk11xx *dev) |
This function permits to modify the settings of the camera. | |
int | dev_stk11xx_set_camera_quality (struct usb_stk11xx *dev) |
This function permits to modify the quality video of the camera. | |
int | dev_stk11xx_set_camera_fps (struct usb_stk11xx *dev) |
This function permits to modify the fps of the camera. | |
int | dev_stk11xx_start_stream (struct usb_stk11xx *dev) |
This function sets the device to start the stream. | |
int | dev_stk11xx_reconf_camera (struct usb_stk11xx *dev) |
Reconfigure the camera before the stream. | |
int | dev_stk11xx_stop_stream (struct usb_stk11xx *dev) |
This function sets the device to stop the stream. |
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Definition in file stk11xx-dev.c.
int dev_stk11xx_camera_asleep | ( | struct usb_stk11xx * | dev | ) |
Wake-up the camera.
dev | Device structure |
Definition at line 276 of file stk11xx-dev.c.
Referenced by v4l_stk11xx_do_ioctl(), and v4l_stk11xx_release().
int dev_stk11xx_camera_off | ( | struct usb_stk11xx * | dev | ) |
This function switchs off the camera.
dev | Device structure |
Definition at line 253 of file stk11xx-dev.c.
Referenced by dev_stk6a31_init_camera(), dev_stka311_init_camera(), dev_stka821_init_camera(), usb_stk11xx_probe(), v4l_stk11xx_do_ioctl(), and v4l_stk11xx_release().
int dev_stk11xx_camera_on | ( | struct usb_stk11xx * | dev | ) |
This function switchs on the camera.
dev | Device structure |
Definition at line 230 of file stk11xx-dev.c.
Referenced by usb_stk11xx_probe(), v4l_stk11xx_do_ioctl(), and v4l_stk11xx_open().
int dev_stk11xx_camera_settings | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
Definition at line 314 of file stk11xx-dev.c.
Referenced by dev_stk6a31_reconf_camera(), dev_stka311_reconf_camera(), dev_stka821_reconf_camera(), runtest(), v4l_stk11xx_do_ioctl(), and v4l_stk11xx_open().
int dev_stk11xx_check_device | ( | struct usb_stk11xx * | dev, | |
int | nbr | |||
) |
This function permits to check the device in reading the register 0x0201.
dev | Device structure | |
nbr | Number of tries |
Definition at line 171 of file stk11xx-dev.c.
Referenced by dev_stk6a31_camera_settings(), dev_stk6a31_configure_device(), dev_stk6a31_initialize_device(), dev_stk6a31_load_microcode(), dev_stk6a31_set_camera_quality(), dev_stka311_camera_settings(), dev_stka311_configure_device(), dev_stka311_init_camera(), dev_stka311_initialize_device(), dev_stka311_load_microcode(), dev_stka821_camera_settings(), dev_stka821_configure_device(), dev_stka821_initialize_device(), dev_stka821_load_microcode(), and dev_stka821_set_camera_quality().
int dev_stk11xx_init_camera | ( | struct usb_stk11xx * | dev | ) |
This function initializes the device for the stream.
dev | Device structure |
Definition at line 133 of file stk11xx-dev.c.
Referenced by v4l_stk11xx_do_ioctl(), and v4l_stk11xx_open().
int dev_stk11xx_initialize_device | ( | struct usb_stk11xx * | dev | ) |
This function permits to initialize the device.
dev | Device structure |
This function is written from the USB log.
Definition at line 98 of file stk11xx-dev.c.
Referenced by usb_stk11xx_probe().
int dev_stk11xx_reconf_camera | ( | struct usb_stk11xx * | dev | ) |
Reconfigure the camera before the stream.
dev | Device structure |
Definition at line 456 of file stk11xx-dev.c.
Referenced by v4l_stk11xx_do_ioctl(), and v4l_stk11xx_open().
int dev_stk11xx_set_camera_fps | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the fps of the camera.
dev | Device structure |
Definition at line 387 of file stk11xx-dev.c.
Referenced by runtest().
int dev_stk11xx_set_camera_quality | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the quality video of the camera.
dev | Device structure |
Definition at line 352 of file stk11xx-dev.c.
Referenced by runtest(), store_brightness(), store_contrast(), and store_whitebalance().
int dev_stk11xx_start_stream | ( | struct usb_stk11xx * | dev | ) |
This function sets the device to start the stream.
dev | Device structure |
Definition at line 422 of file stk11xx-dev.c.
Referenced by v4l_stk11xx_do_ioctl(), and v4l_stk11xx_open().
int dev_stk11xx_stop_stream | ( | struct usb_stk11xx * | dev | ) |
This function sets the device to stop the stream.
dev | Device structure |
Definition at line 491 of file stk11xx-dev.c.
Referenced by v4l_stk11xx_do_ioctl(), and v4l_stk11xx_release().
int dev_stk11xx_watchdog_camera | ( | struct usb_stk11xx * | dev | ) |
A espece of software watchdog.
dev | Device structure |
We don't know the purpose. I assume that it seems to a software watchdog.
Definition at line 207 of file stk11xx-dev.c.
Referenced by stk11xx_handle_frame().
int dev_stk6a31_camera_asleep | ( | struct usb_stk11xx * | dev | ) |
Wake-up the camera.
dev | Device structure |
Definition at line 3026 of file stk11xx-dev.c.
References usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_camera_asleep(), dev_stk6a31_init_camera(), and dev_stk6a31_initialize_device().
int dev_stk6a31_camera_settings | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
Definition at line 3198 of file stk11xx-dev.c.
References dev_stk11xx_check_device(), usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_camera_settings().
int dev_stk6a31_configure_device | ( | struct usb_stk11xx * | dev, | |
int | step | |||
) |
This function permits to configure the device.
dev | Device structure | |
step | The step of configuration [0-11] |
We don't know the meaning of these steps ! We only replay the USB log.
Definition at line 2639 of file stk11xx-dev.c.
References dev_stk11xx_check_device(), dev_stk6a31_load_microcode(), STK_DEBUG, usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk6a31_init_camera(), dev_stk6a31_initialize_device(), and dev_stk6a31_reconf_camera().
int dev_stk6a31_init_camera | ( | struct usb_stk11xx * | dev | ) |
This function initializes the device for the stream.
dev | Device structure |
Definition at line 3056 of file stk11xx-dev.c.
References dev_stk11xx_camera_off(), dev_stk6a31_camera_asleep(), dev_stk6a31_configure_device(), usb_stk11xx_set_feature(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_init_camera().
int dev_stk6a31_initialize_device | ( | struct usb_stk11xx * | dev | ) |
This function permits to initialize the device.
dev | Device structure |
This function is written from the USB log.
Definition at line 2392 of file stk11xx-dev.c.
References dev_stk11xx_check_device(), dev_stk6a31_camera_asleep(), dev_stk6a31_configure_device(), STK_INFO, usb_stk11xx_set_feature(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_initialize_device().
int dev_stk6a31_load_microcode | ( | struct usb_stk11xx * | dev | ) |
This function permits to load a microcode.
dev | Device structure |
Definition at line 3089 of file stk11xx-dev.c.
References dev_stk11xx_check_device(), STK_ERROR, usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk6a31_configure_device().
int dev_stk6a31_reconf_camera | ( | struct usb_stk11xx * | dev | ) |
Reconfigure the camera before the stream.
dev | Device structure |
Definition at line 3324 of file stk11xx-dev.c.
References dev_stk11xx_camera_settings(), and dev_stk6a31_configure_device().
Referenced by dev_stk11xx_reconf_camera().
int dev_stk6a31_set_camera_fps | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
Definition at line 3275 of file stk11xx-dev.c.
Referenced by dev_stk11xx_set_camera_fps().
int dev_stk6a31_set_camera_quality | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
Definition at line 3242 of file stk11xx-dev.c.
References stk11xx_video::brightness, stk11xx_video::contrast, dev_stk11xx_check_device(), STK_DEBUG, usb_stk11xx_read_registry(), usb_stk11xx_write_registry(), usb_stk11xx::vsettings, and stk11xx_video::whiteness.
Referenced by dev_stk11xx_set_camera_quality().
int dev_stk6a31_start_stream | ( | struct usb_stk11xx * | dev | ) |
This function sets the device to start the stream.
dev | Device structure |
Definition at line 3291 of file stk11xx-dev.c.
References usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_start_stream().
int dev_stk6a31_stop_stream | ( | struct usb_stk11xx * | dev | ) |
This function sets the device to stop the stream.
dev | Device structure |
Definition at line 3344 of file stk11xx-dev.c.
Referenced by dev_stk11xx_stop_stream().
int dev_stka311_camera_asleep | ( | struct usb_stk11xx * | dev | ) |
Wake-up the camera.
dev | Device structure |
Definition at line 1098 of file stk11xx-dev.c.
References usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_camera_asleep(), dev_stka311_init_camera(), and dev_stka311_initialize_device().
int dev_stka311_camera_settings | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
Definition at line 1281 of file stk11xx-dev.c.
References dev_stk11xx_check_device(), dev_stka311_set_camera_fps(), dev_stka311_set_camera_quality(), and STK_DEBUG.
Referenced by dev_stk11xx_camera_settings(), and dev_stka311_init_camera().
int dev_stka311_configure_device | ( | struct usb_stk11xx * | dev, | |
int | step | |||
) |
This function permits to configure the device.
dev | Device structure | |
step | The step of configuration [0-11] |
We don't know the meaning of these steps ! We only replay the USB log.
The steps 0 to 9 are called during the initialization. Then, the driver choose the last step : 10 : for a resolution from 80x60 to 640x480 11 : for a resolution from 800x600 to 1280x1024
Definition at line 859 of file stk11xx-dev.c.
References dev_stk11xx_check_device(), dev_stka311_load_microcode(), STK_DEBUG, usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stka311_init_camera(), dev_stka311_initialize_device(), and dev_stka311_reconf_camera().
int dev_stka311_init_camera | ( | struct usb_stk11xx * | dev | ) |
This function initializes the device for the stream.
dev | Device structure |
Definition at line 1128 of file stk11xx-dev.c.
References dev_stk11xx_camera_off(), dev_stk11xx_check_device(), dev_stka311_camera_asleep(), dev_stka311_camera_settings(), dev_stka311_configure_device(), usb_stk11xx_read_registry(), usb_stk11xx_set_feature(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_init_camera().
int dev_stka311_initialize_device | ( | struct usb_stk11xx * | dev | ) |
This function permits to initialize the device.
dev | Device structure |
This function is written from the USB log.
Definition at line 536 of file stk11xx-dev.c.
References dev_stk11xx_check_device(), dev_stka311_camera_asleep(), dev_stka311_configure_device(), STK_DEBUG, STK_INFO, usb_stk11xx_read_registry(), usb_stk11xx_set_feature(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_initialize_device().
int dev_stka311_load_microcode | ( | struct usb_stk11xx * | dev | ) |
This function permits to load a microcode.
dev | Device structure |
Definition at line 1176 of file stk11xx-dev.c.
References dev_stk11xx_check_device(), usb_stk11xx::resolution, STK11XX_1024x768, STK11XX_1280x1024, STK11XX_128x96, STK11XX_160x120, STK11XX_213x160, STK11XX_320x240, STK11XX_640x480, STK11XX_800x600, STK11XX_80x60, STK_ERROR, usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stka311_configure_device().
int dev_stka311_reconf_camera | ( | struct usb_stk11xx * | dev | ) |
Reconfigure the camera before the stream.
dev | Device structure |
Definition at line 1470 of file stk11xx-dev.c.
References dev_stk11xx_camera_settings(), dev_stka311_configure_device(), usb_stk11xx::resolution, STK11XX_1024x768, STK11XX_1280x1024, STK11XX_128x96, STK11XX_160x120, STK11XX_213x160, STK11XX_320x240, STK11XX_640x480, STK11XX_800x600, and STK11XX_80x60.
Referenced by dev_stk11xx_reconf_camera().
int dev_stka311_set_camera_fps | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
0x204 = 0x2E : Fps MSB (by default 0x01) 0x204 = 0x2D : Fps LSB (by default 0x00)
0x2E | 0x2D | Nbr fps -----+------+-------- 0x00 | 0x00 | 30 0x01 | 0x00 | 20 0x02 | 0x00 | 15 0x03 | 0x00 | 12 0x04 | 0x00 | 10
Definition at line 1381 of file stk11xx-dev.c.
References stk11xx_video::fps, usb_stk11xx_write_registry(), and usb_stk11xx::vsettings.
Referenced by dev_stk11xx_set_camera_fps(), and dev_stka311_camera_settings().
int dev_stka311_set_camera_quality | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
0x204 = 0xA1 : unkown (by default 0x00) 0x204 = 0x10 : contrast (by default 0x7c) 0x204 = 0x04 : Mode (unknown) (by default 0x00) (=> already looked 0x01 and 0x02) 0x204 = 0x00 : brightness / white balance (by default 0x00)
Definition at line 1321 of file stk11xx-dev.c.
References stk11xx_video::brightness, stk11xx_video::contrast, stk11xx_video::hue, STK_DEBUG, usb_stk11xx_write_registry(), usb_stk11xx::vsettings, and stk11xx_video::whiteness.
Referenced by dev_stk11xx_set_camera_quality(), and dev_stka311_camera_settings().
int dev_stka311_start_stream | ( | struct usb_stk11xx * | dev | ) |
This function sets the device to start the stream.
dev | Device structure |
Definition at line 1440 of file stk11xx-dev.c.
References usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_start_stream().
int dev_stka311_stop_stream | ( | struct usb_stk11xx * | dev | ) |
This function sets the device to stop the stream.
dev | Device structure |
Definition at line 1511 of file stk11xx-dev.c.
References usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_stop_stream().
int dev_stka821_camera_asleep | ( | struct usb_stk11xx * | dev | ) |
Wake-up the camera.
dev | Device structure |
Definition at line 2056 of file stk11xx-dev.c.
References usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_camera_asleep(), dev_stka821_init_camera(), and dev_stka821_initialize_device().
int dev_stka821_camera_settings | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
Definition at line 2207 of file stk11xx-dev.c.
References stk11xx_video::contrast, dev_stk11xx_check_device(), usb_stk11xx_read_registry(), usb_stk11xx_write_registry(), and usb_stk11xx::vsettings.
Referenced by dev_stk11xx_camera_settings(), and dev_stka821_init_camera().
int dev_stka821_configure_device | ( | struct usb_stk11xx * | dev, | |
int | step | |||
) |
This function permits to configure the device.
dev | Device structure | |
step | The step of configuration [0-11] |
We don't know the meaning of these steps ! We only replay the USB log.
Definition at line 1788 of file stk11xx-dev.c.
References dev_stk11xx_check_device(), dev_stka821_load_microcode(), STK_DEBUG, usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stka821_init_camera(), dev_stka821_initialize_device(), and dev_stka821_reconf_camera().
int dev_stka821_init_camera | ( | struct usb_stk11xx * | dev | ) |
This function initializes the device for the stream.
dev | Device structure |
Definition at line 2086 of file stk11xx-dev.c.
References dev_stk11xx_camera_off(), dev_stka821_camera_asleep(), dev_stka821_camera_settings(), dev_stka821_configure_device(), usb_stk11xx_set_feature(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_init_camera().
int dev_stka821_initialize_device | ( | struct usb_stk11xx * | dev | ) |
This function permits to initialize the device.
dev | Device structure |
This function is written from the USB log.
Definition at line 1542 of file stk11xx-dev.c.
References dev_stk11xx_check_device(), dev_stka821_camera_asleep(), dev_stka821_configure_device(), STK_DEBUG, STK_INFO, usb_stk11xx_read_registry(), usb_stk11xx_set_feature(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_initialize_device().
int dev_stka821_load_microcode | ( | struct usb_stk11xx * | dev | ) |
This function permits to load a microcode.
dev | Device structure |
Definition at line 2134 of file stk11xx-dev.c.
References dev_stk11xx_check_device(), STK_ERROR, usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stka821_configure_device().
int dev_stka821_reconf_camera | ( | struct usb_stk11xx * | dev | ) |
Reconfigure the camera before the stream.
dev | Device structure |
Definition at line 2341 of file stk11xx-dev.c.
References dev_stk11xx_camera_settings(), and dev_stka821_configure_device().
Referenced by dev_stk11xx_reconf_camera().
int dev_stka821_set_camera_fps | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
Definition at line 2295 of file stk11xx-dev.c.
Referenced by dev_stk11xx_set_camera_fps().
int dev_stka821_set_camera_quality | ( | struct usb_stk11xx * | dev | ) |
This function permits to modify the settings of the camera.
dev | Device structure |
Definition at line 2262 of file stk11xx-dev.c.
References stk11xx_video::brightness, stk11xx_video::contrast, dev_stk11xx_check_device(), STK_DEBUG, usb_stk11xx_read_registry(), usb_stk11xx_write_registry(), usb_stk11xx::vsettings, and stk11xx_video::whiteness.
Referenced by dev_stk11xx_set_camera_quality().
int dev_stka821_start_stream | ( | struct usb_stk11xx * | dev | ) |
This function sets the device to start the stream.
dev | Device structure |
Definition at line 2311 of file stk11xx-dev.c.
References usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_start_stream().
int dev_stka821_stop_stream | ( | struct usb_stk11xx * | dev | ) |
This function sets the device to stop the stream.
dev | Device structure |
Definition at line 2361 of file stk11xx-dev.c.
References usb_stk11xx_read_registry(), and usb_stk11xx_write_registry().
Referenced by dev_stk11xx_stop_stream().