kernels/linux-2.4.0/drivers/usb/ibmcam.c
/*
 * usb_ibmcam_setup_video_stop()
 *
 * This code tells camera to stop streaming. The interface remains
 * configured and bandwidth - claimed.
 */
usb_ibmcam_setup_video_stop()
This code tells camera to stop streaming. The interface remains
configured and bandwidth - claimed.
usb_ibmcam_setup_video_stop () This code tells camera to stop streaming . The interface remains configured and bandwidth - claimed .
static void usb_ibmcam_setup_video_stop(struct usb_ibmcam *ibmcam)
{
	if (ibmcam->camera_model == IBMCAM_MODEL_1) {
		usb_ibmcam_veio(ibmcam, 0, 0x00, 0x010c);
		usb_ibmcam_veio(ibmcam, 0, 0x00, 0x010c);
		usb_ibmcam_veio(ibmcam, 0, 0x01, 0x0114);
		usb_ibmcam_veio(ibmcam, 0, 0xc0, 0x010c);
		usb_ibmcam_veio(ibmcam, 0, 0x00, 0x010c);
		usb_ibmcam_send_FF_04_02(ibmcam);
		usb_ibmcam_veio(ibmcam, 1, 0x00, 0x0100);
		usb_ibmcam_veio(ibmcam, 0, 0x81, 0x0100);	
	} else if (ibmcam->camera_model == IBMCAM_MODEL_2) {
		usb_ibmcam_veio(ibmcam, 0, 0x0000, 0x010c);	
		usb_ibmcam_model2_Packet1(ibmcam, 0x0030, 0x0004);
		usb_ibmcam_veio(ibmcam, 0, 0x0080, 0x0100);	
		usb_ibmcam_veio(ibmcam, 0, 0x0020, 0x0111);
		usb_ibmcam_veio(ibmcam, 0, 0x00a0, 0x0111);
		usb_ibmcam_model2_Packet1(ibmcam, 0x0030, 0x0002);
		usb_ibmcam_veio(ibmcam, 0, 0x0020, 0x0111);
		usb_ibmcam_veio(ibmcam, 0, 0x0000, 0x0112);
	}
}
static void usb_ibmcam_setup_video_stop ( struct usb_ibmcam * ibmcam ) { if ( ibmcam -> camera_model == IBMCAM_MODEL_1 ) { usb_ibmcam_veio ( ibmcam , 0 , 0x00 , 0x010c ) ; usb_ibmcam_veio ( ibmcam , 0 , 0x00 , 0x010c ) ; usb_ibmcam_veio ( ibmcam , 0 , 0x01 , 0x0114 ) ; usb_ibmcam_veio ( ibmcam , 0 , 0xc0 , 0x010c ) ; usb_ibmcam_veio ( ibmcam , 0 , 0x00 , 0x010c ) ; usb_ibmcam_send_FF_04_02 ( ibmcam ) ; usb_ibmcam_veio ( ibmcam , 1 , 0x00 , 0x0100 ) ; usb_ibmcam_veio ( ibmcam , 0 , 0x81 , 0x0100 ) ; } else if ( ibmcam -> camera_model == IBMCAM_MODEL_2 ) { usb_ibmcam_veio ( ibmcam , 0 , 0x0000 , 0x010c ) ; usb_ibmcam_model2_Packet1 ( ibmcam , 0x0030 , 0x0004 ) ; usb_ibmcam_veio ( ibmcam , 0 , 0x0080 , 0x0100 ) ; usb_ibmcam_veio ( ibmcam , 0 , 0x0020 , 0x0111 ) ; usb_ibmcam_veio ( ibmcam , 0 , 0x00a0 , 0x0111 ) ; usb_ibmcam_model2_Packet1 ( ibmcam , 0x0030 , 0x0002 ) ; usb_ibmcam_veio ( ibmcam , 0 , 0x0020 , 0x0111 ) ; usb_ibmcam_veio ( ibmcam , 0 , 0x0000 , 0x0112 ) ; } }
usb_ibmcam_setup_video_stop()
 This code tells camera to stop streaming.
usb_ibmcam_setup_video_stop () This code tells camera to stop streaming .
/* LED Off */ /* Stop the camera */ /* LED Off */