Lines Matching defs:cm109_dev
91 struct cm109_dev { struct
92 struct input_dev *idev; /* input device */
93 struct usb_device *udev; /* usb device */
94 struct usb_interface *intf;
97 struct cm109_ctl_packet *irq_data;
98 dma_addr_t irq_dma;
99 struct urb *urb_irq;
102 struct cm109_ctl_packet *ctl_data;
103 dma_addr_t ctl_dma;
104 struct usb_ctrlrequest *ctl_req;
105 struct urb *urb_ctl;
111 unsigned irq_urb_pending:1; /* irq_urb is in flight */
112 unsigned ctl_urb_pending:1; /* ctl_urb is in flight */
113 unsigned buzzer_pending:1; /* need to issue buzz command */
114 spinlock_t ctl_submit_lock;
116 unsigned char buzzer_state; /* on/off */
119 unsigned open:1;
120 unsigned resetting:1;
121 unsigned shutdown:1;
124 struct mutex pm_mutex;
126 unsigned short keymap[KEYMAP_SIZE];
128 char phys[64]; /* physical device path */
129 int key_code; /* last reported key */
130 int keybit; /* 0=new scan 1,2,4,8=scan columns */
131 u8 gpi; /* Cached value of GPI (high nibble) */