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