kernels/linux-2.4.0/drivers/usb/ibmcam.c
/*
 * usb_ibmcam_model1_setup_after_video_if()
 *
 * This code adds finishing touches to the video data interface.
 * Here we configure the frame rate and turn on the LED.
 */
usb_ibmcam_model1_setup_after_video_if()
This code adds finishing touches to the video data interface.
Here we configure the frame rate and turn on the LED.
usb_ibmcam_model1_setup_after_video_if () This code adds finishing touches to the video data interface . Here we configure the frame rate and turn on the LED .
static void usb_ibmcam_model1_setup_after_video_if(struct usb_ibmcam *ibmcam)
{
	unsigned short internal_frame_rate;
	RESTRICT_TO_RANGE(framerate, FRAMERATE_MIN, FRAMERATE_MAX);
	internal_frame_rate = FRAMERATE_MAX - framerate; 
	usb_ibmcam_veio(ibmcam, 0, 0x01, 0x0100);	
	usb_ibmcam_veio(ibmcam, 0, internal_frame_rate, 0x0111);
	usb_ibmcam_veio(ibmcam, 0, 0x01, 0x0114);
	usb_ibmcam_veio(ibmcam, 0, 0xc0, 0x010c);
}
static void usb_ibmcam_model1_setup_after_video_if ( struct usb_ibmcam * ibmcam ) { unsigned short internal_frame_rate ; RESTRICT_TO_RANGE ( framerate , FRAMERATE_MIN , FRAMERATE_MAX ) ; internal_frame_rate = FRAMERATE_MAX - framerate ; usb_ibmcam_veio ( ibmcam , 0 , 0x01 , 0x0100 ) ; usb_ibmcam_veio ( ibmcam , 0 , internal_frame_rate , 0x0111 ) ; usb_ibmcam_veio ( ibmcam , 0 , 0x01 , 0x0114 ) ; usb_ibmcam_veio ( ibmcam , 0 , 0xc0 , 0x010c ) ; }
usb_ibmcam_model1_setup_after_video_if()
 This code adds finishing touches to the video data interface.
usb_ibmcam_model1_setup_after_video_if () This code adds finishing touches to the video data interface .
/* 0=Fast 6=Slow */ /* LED On  */