Lines Matching defs:sisusb_usb_data
112 struct sisusb_usb_data { struct
113 struct usb_device *sisusb_dev;
114 struct usb_interface *interface;
115 struct kref kref;
116 wait_queue_head_t wait_q; /* for syncind and timeouts */
117 struct mutex lock; /* general race avoidance */
118 unsigned int ifnum; /* interface number of the USB device */
119 int minor; /* minor (for logging clarity) */
120 int isopen; /* !=0 if open */
121 int present; /* !=0 if device is present on the bus */
122 int ready; /* !=0 if device is ready for userland */
123 int numobufs; /* number of obufs = number of out urbs */
124 char *obuf[NUMOBUFS], *ibuf; /* transfer buffers */
125 int obufsize, ibufsize;
126 struct urb *sisurbout[NUMOBUFS];
127 struct urb *sisurbin;
128 unsigned char urbstatus[NUMOBUFS];
129 unsigned char completein;
130 struct sisusb_urb_context urbout_context[NUMOBUFS];
131 unsigned long flagb0;
132 unsigned long vrambase; /* framebuffer base */
133 unsigned int vramsize; /* framebuffer size (bytes) */
134 unsigned long mmiobase;
135 unsigned int mmiosize;
136 unsigned long ioportbase;
137 unsigned char devinit; /* device initialized? */
138 unsigned char gfxinit; /* graphics core initialized? */
139 unsigned short chipid, chipvendor;
163 #define to_sisusb_dev(d) container_of(d, struct sisusb_usb_data, kref) argument