Lines Matching defs:mpsse_priv
15 struct mpsse_priv { struct
16 struct gpio_chip gpio;
17 struct usb_device *udev; /* USB device encompassing all MPSSEs */
18 struct usb_interface *intf; /* USB interface for this MPSSE */
19 u8 intf_id; /* USB interface number for this MPSSE */
20 struct work_struct irq_work; /* polling work thread */
21 struct mutex irq_mutex; /* lock over irq_data */
22 atomic_t irq_type[16]; /* pin -> edge detection type */
23 atomic_t irq_enabled;
24 int id;
26 u8 gpio_outputs[2]; /* Output states for GPIOs [L, H] */
27 u8 gpio_dir[2]; /* Directions for GPIOs [L, H] */
29 u8 *bulk_in_buf; /* Extra recv buffer to grab status bytes */
31 struct usb_endpoint_descriptor *bulk_in;
32 struct usb_endpoint_descriptor *bulk_out;
34 struct mutex io_mutex; /* sync I/O with disconnect */