'\" t .\" Title: usb_fill_control_urb .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Host-Side Data Types and Macros .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "USB_FILL_CONTROL_URB" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Host-Side Data Types and Macro" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" usb_fill_control_urb \- initializes a control urb .SH "SYNOPSIS" .HP \w'void\ usb_fill_control_urb('u .BI "void usb_fill_control_urb(struct\ urb\ *\ " "urb" ", struct\ usb_device\ *\ " "dev" ", unsigned\ int\ " "pipe" ", unsigned\ char\ *\ " "setup_packet" ", void\ *\ " "transfer_buffer" ", int\ " "buffer_length" ", usb_complete_t\ " "complete_fn" ", void\ *\ " "context" ");" .SH "ARGUMENTS" .PP \fIurb\fR .RS 4 pointer to the urb to initialize\&. .RE .PP \fIdev\fR .RS 4 pointer to the struct usb_device for this urb\&. .RE .PP \fIpipe\fR .RS 4 the endpoint pipe .RE .PP \fIsetup_packet\fR .RS 4 pointer to the setup_packet buffer .RE .PP \fItransfer_buffer\fR .RS 4 pointer to the transfer buffer .RE .PP \fIbuffer_length\fR .RS 4 length of the transfer buffer .RE .PP \fIcomplete_fn\fR .RS 4 pointer to the usb_complete_t function .RE .PP \fIcontext\fR .RS 4 what to set the urb context to\&. .RE .SH "DESCRIPTION" .PP Initializes a control urb with the proper information needed to submit it to a device\&. .SH "COPYRIGHT" .br