kernels/linux-2.4.0/drivers/usb/acm.c
/*
 * Functions for ACM control messages.
 */
Functions for ACM control messages.
Functions for ACM control messages .
static int acm_ctrl_msg(struct acm *acm, int request, int value, void *buf, int len)
{
	int retval = usb_control_msg(acm->dev, usb_sndctrlpipe(acm->dev, 0),
		request, USB_RT_ACM, value, acm->iface[0].altsetting[0].bInterfaceNumber, buf, len, HZ * 5);
	dbg("acm_control_msg: rq: 0x%02x val: %#x len: %#x result: %d", request, value, len, retval);
	return retval < 0 ? retval : 0;
}
static int acm_ctrl_msg ( struct acm * acm , int request , int value , void * buf , int len ) { int retval = usb_control_msg ( acm -> dev , usb_sndctrlpipe ( acm -> dev , 0 ) , request , USB_RT_ACM , value , acm -> iface [ 0 ] . altsetting [ 0 ] . bInterfaceNumber , buf , len , HZ * 5 ) ; dbg ( " " , request , value , len , retval ) ; return retval < 0 ? retval : 0 ; }
Functions for ACM control messages.
Functions for ACM control messages .