Lines Matching defs:cm109_dev
88 struct cm109_dev { struct
89 struct input_dev *idev; /* input device */
90 struct usb_device *udev; /* usb device */
91 struct usb_interface *intf;
94 struct cm109_ctl_packet *irq_data;
95 dma_addr_t irq_dma;
96 struct urb *urb_irq;
99 struct cm109_ctl_packet *ctl_data;
100 dma_addr_t ctl_dma;
101 struct usb_ctrlrequest *ctl_req;
102 struct urb *urb_ctl;
108 unsigned irq_urb_pending:1; /* irq_urb is in flight */
109 unsigned ctl_urb_pending:1; /* ctl_urb is in flight */
110 unsigned buzzer_pending:1; /* need to issue buzz command */
111 spinlock_t ctl_submit_lock;
113 unsigned char buzzer_state; /* on/off */
116 unsigned open:1;
117 unsigned resetting:1;
118 unsigned shutdown:1;
121 struct mutex pm_mutex;
123 unsigned short keymap[KEYMAP_SIZE];
125 char phys[64]; /* physical device path */
126 int key_code; /* last reported key */
127 int keybit; /* 0=new scan 1,2,4,8=scan columns */
128 u8 gpi; /* Cached value of GPI (high nibble) */