Lines Matching defs:imon_context

102 struct imon_context {  struct
103 struct device *dev;
105 struct usb_device *usbdev_intf0;
106 struct usb_device *usbdev_intf1;
108 bool display_supported; /* not all controllers do */
109 bool display_isopen; /* display port has been opened */
110 bool rf_device; /* true if iMON 2.4G LT/DT RF device */
111 bool rf_isassociating; /* RF remote associating */
112 bool dev_present_intf0; /* USB device presence, interface 0 */
113 bool dev_present_intf1; /* USB device presence, interface 1 */
115 struct mutex lock; /* to lock this object */
116 wait_queue_head_t remove_ok; /* For unexpected USB disconnects */
118 struct usb_endpoint_descriptor *rx_endpoint_intf0;
119 struct usb_endpoint_descriptor *rx_endpoint_intf1;
120 struct usb_endpoint_descriptor *tx_endpoint;
121 struct urb *rx_urb_intf0;
122 struct urb *rx_urb_intf1;
123 struct urb *tx_urb;
124 bool tx_control;
125 unsigned char usb_rx_buf[8];
126 unsigned char usb_tx_buf[8];
127 unsigned int send_packet_delay;
129 struct tx_t {
134 } tx;
136 u16 vendor; /* usb vendor ID */
137 u16 product; /* usb product ID */
139 struct rc_dev *rdev; /* rc-core device for remote */
140 struct input_dev *idev; /* input device for panel & IR mouse */
141 struct input_dev *touch; /* input device for touchscreen */
143 spinlock_t kc_lock; /* make sure we get keycodes right */
144 u32 kc; /* current input keycode */
145 u32 last_keycode; /* last reported input keycode */
146 u32 rc_scancode; /* the computed remote scancode */
147 u8 rc_toggle; /* the computed remote toggle bit */
148 u64 rc_type; /* iMON or MCE (RC6) IR protocol? */
149 bool release_code; /* some keys send a release code */
151 u8 display_type; /* store the display type */
152 bool pad_mouse; /* toggle kbd(0)/mouse(1) mode */
154 char name_rdev[128]; /* rc input device name */
155 char phys_rdev[64]; /* rc input device phys path */
157 char name_idev[128]; /* input device name */
158 char phys_idev[64]; /* input device phys path */
160 char name_touch[128]; /* touch screen name */
161 char phys_touch[64]; /* touch screen phys path */
162 struct timer_list ttimer; /* touch screen timer */
163 int touch_x; /* x coordinate on touchscreen */
164 int touch_y; /* y coordinate on touchscreen */
165 struct imon_usb_dev_descr *dev_descr; /* device description with key