Lines Matching refs:chip

58 static SANE_Status usb_mid_n600_prepare_rgb (ma1017 * chip, SANE_Word dpi);
60 static SANE_Status usb_mid_n600_prepare_mono (ma1017 * chip, SANE_Word dpi);
62 static SANE_Status usb_mid_n600_prepare_rgb_600_dpi (ma1017 * chip);
64 static SANE_Status usb_mid_n600_prepare_rgb_400_dpi (ma1017 * chip);
66 static SANE_Status usb_mid_n600_prepare_rgb_300_dpi (ma1017 * chip);
68 static SANE_Status usb_mid_n600_prepare_rgb_200_dpi (ma1017 * chip);
70 static SANE_Status usb_mid_n600_prepare_rgb_100_dpi (ma1017 * chip);
72 static SANE_Status usb_mid_n600_prepare_rgb_50_dpi (ma1017 * chip);
74 static SANE_Status usb_mid_n600_prepare_mono_600_dpi (ma1017 * chip);
76 static SANE_Status usb_mid_n600_prepare_mono_400_dpi (ma1017 * chip);
78 static SANE_Status usb_mid_n600_prepare_mono_300_dpi (ma1017 * chip);
80 static SANE_Status usb_mid_n600_prepare_mono_200_dpi (ma1017 * chip);
82 static SANE_Status usb_mid_n600_prepare_mono_100_dpi (ma1017 * chip);
84 static SANE_Status usb_mid_n600_prepare_mono_50_dpi (ma1017 * chip);
88 static SANE_Status usb_mid_c600_prepare_rgb (ma1017 * chip, SANE_Word dpi);
90 static SANE_Status usb_mid_c600_prepare_mono (ma1017 * chip, SANE_Word dpi);
92 static SANE_Status usb_mid_c600_prepare_rgb_600_dpi (ma1017 * chip);
94 static SANE_Status usb_mid_c600_prepare_rgb_400_dpi (ma1017 * chip);
96 static SANE_Status usb_mid_c600_prepare_rgb_300_dpi (ma1017 * chip);
98 static SANE_Status usb_mid_c600_prepare_rgb_200_dpi (ma1017 * chip);
100 static SANE_Status usb_mid_c600_prepare_rgb_150_dpi (ma1017 * chip);
102 static SANE_Status usb_mid_c600_prepare_rgb_100_dpi (ma1017 * chip);
104 static SANE_Status usb_mid_c600_prepare_rgb_50_dpi (ma1017 * chip);
106 static SANE_Status usb_mid_c600_prepare_mono_600_dpi (ma1017 * chip);
108 static SANE_Status usb_mid_c600_prepare_mono_400_dpi (ma1017 * chip);
110 static SANE_Status usb_mid_c600_prepare_mono_300_dpi (ma1017 * chip);
112 static SANE_Status usb_mid_c600_prepare_mono_200_dpi (ma1017 * chip);
114 static SANE_Status usb_mid_c600_prepare_mono_150_dpi (ma1017 * chip);
116 static SANE_Status usb_mid_c600_prepare_mono_100_dpi (ma1017 * chip);
118 static SANE_Status usb_mid_c600_prepare_mono_50_dpi (ma1017 * chip);
122 static SANE_Status usb_mid_c300600_prepare_rgb (ma1017 * chip, SANE_Word dpi);
125 usb_mid_c300600_prepare_mono (ma1017 * chip, SANE_Word dpi);
127 static SANE_Status usb_mid_c300600_prepare_rgb_600_dpi (ma1017 * chip);
129 static SANE_Status usb_mid_c300600_prepare_rgb_400_dpi (ma1017 * chip);
131 static SANE_Status usb_mid_c300600_prepare_rgb_300_dpi (ma1017 * chip);
133 static SANE_Status usb_mid_c300600_prepare_rgb_200_dpi (ma1017 * chip);
135 static SANE_Status usb_mid_c300600_prepare_rgb_150_dpi (ma1017 * chip);
137 static SANE_Status usb_mid_c300600_prepare_rgb_100_dpi (ma1017 * chip);
139 static SANE_Status usb_mid_c300600_prepare_rgb_50_dpi (ma1017 * chip);
141 static SANE_Status usb_mid_c300600_prepare_mono_600_dpi (ma1017 * chip);
143 static SANE_Status usb_mid_c300600_prepare_mono_400_dpi (ma1017 * chip);
145 static SANE_Status usb_mid_c300600_prepare_mono_300_dpi (ma1017 * chip);
147 static SANE_Status usb_mid_c300600_prepare_mono_200_dpi (ma1017 * chip);
149 static SANE_Status usb_mid_c300600_prepare_mono_150_dpi (ma1017 * chip);
151 static SANE_Status usb_mid_c300600_prepare_mono_100_dpi (ma1017 * chip);
153 static SANE_Status usb_mid_c300600_prepare_mono_50_dpi (ma1017 * chip);
157 static SANE_Status usb_mid_c300_prepare_rgb (ma1017 * chip, SANE_Word dpi);
159 static SANE_Status usb_mid_c300_prepare_mono (ma1017 * chip, SANE_Word dpi);
161 static SANE_Status usb_mid_c300_prepare_rgb_300_dpi (ma1017 * chip);
163 static SANE_Status usb_mid_c300_prepare_rgb_200_dpi (ma1017 * chip);
165 static SANE_Status usb_mid_c300_prepare_rgb_150_dpi (ma1017 * chip);
167 static SANE_Status usb_mid_c300_prepare_rgb_100_dpi (ma1017 * chip);
169 static SANE_Status usb_mid_c300_prepare_rgb_50_dpi (ma1017 * chip);
171 static SANE_Status usb_mid_c300_prepare_mono_300_dpi (ma1017 * chip);
173 static SANE_Status usb_mid_c300_prepare_mono_200_dpi (ma1017 * chip);
175 static SANE_Status usb_mid_c300_prepare_mono_150_dpi (ma1017 * chip);
177 static SANE_Status usb_mid_c300_prepare_mono_100_dpi (ma1017 * chip);
179 static SANE_Status usb_mid_c300_prepare_mono_50_dpi (ma1017 * chip);
183 static SANE_Bool usb_mid_sensor_is600_mode (ma1017 * chip, SANE_Word dpi);
185 static SANE_Status usb_mid_sensor_prepare_rgb (ma1017 * chip, SANE_Word dpi);
187 static SANE_Status usb_mid_sensor_prepare_mono (ma1017 * chip, SANE_Word dpi);
190 usb_mid_sensor_get_dpi (ma1017 * chip, SANE_Word wanted_dpi, SANE_Word * dpi);
194 static SANE_Status usb_mid_motor1200_prepare_rgb_1200_dpi (ma1017 * chip);
196 static SANE_Status usb_mid_motor1200_prepare_rgb_400_dpi (ma1017 * chip);
198 static SANE_Status usb_mid_motor1200_prepare_rgb_600_dpi (ma1017 * chip);
200 static SANE_Status usb_mid_motor1200_prepare_rgb_200_dpi (ma1017 * chip);
202 static SANE_Status usb_mid_motor1200_prepare_rgb_300_dpi (ma1017 * chip);
204 static SANE_Status usb_mid_motor1200_prepare_rgb_150_dpi (ma1017 * chip);
206 static SANE_Status usb_mid_motor1200_prepare_rgb_100_dpi (ma1017 * chip);
208 static SANE_Status usb_mid_motor1200_prepare_rgb_50_dpi (ma1017 * chip);
210 static SANE_Status usb_mid_motor1200_prepare_mono_1200_dpi (ma1017 * chip);
212 static SANE_Status usb_mid_motor1200_prepare_mono_400_dpi (ma1017 * chip);
214 static SANE_Status usb_mid_motor1200_prepare_mono_600_dpi (ma1017 * chip);
216 static SANE_Status usb_mid_motor1200_prepare_mono_200_dpi (ma1017 * chip);
218 static SANE_Status usb_mid_motor1200_prepare_mono_300_dpi (ma1017 * chip);
220 static SANE_Status usb_mid_motor1200_prepare_mono_150_dpi (ma1017 * chip);
222 static SANE_Status usb_mid_motor1200_prepare_mono_100_dpi (ma1017 * chip);
224 static SANE_Status usb_mid_motor1200_prepare_mono_50_dpi (ma1017 * chip);
226 static SANE_Status usb_mid_motor1200_prepare_rgb_half_300_dpi (ma1017 * chip);
229 usb_mid_motor1200_prepare_rgb_bi_full_300_dpi (ma1017 * chip);
232 usb_mid_motor1200_prepare_rgb_bi_full_x2300_dpi (ma1017 * chip);
235 usb_mid_motor1200_prepare_mono_half_300_dpi (ma1017 * chip);
238 usb_mid_motor1200_prepare_mono_bi_full_300_dpi (ma1017 * chip);
241 usb_mid_motor1200_prepare_mono_bi_full_x2300_dpi (ma1017 * chip);
244 usb_mid_motor1200_prepare_rgb (ma1017 * chip, SANE_Word dpi);
247 usb_mid_motor1200_prepare_mono (ma1017 * chip, SANE_Word dpi);
250 usb_mid_motor1200_prepare_calibrate_rgb (ma1017 * chip, SANE_Word dpi);
253 usb_mid_motor1200_prepare_calibrate_mono (ma1017 * chip, SANE_Word dpi);
256 usb_mid_motor1200_prepare_step (ma1017 * chip, SANE_Word step_count);
258 static SANE_Status usb_mid_motor1200_prepare_home (ma1017 * chip);
261 usb_mid_motor1200_prepare_adjust (ma1017 * chip, Channel channel);
269 static SANE_Status usb_mid_motor600_prepare_rgb_600_dpi (ma1017 * chip);
271 static SANE_Status usb_mid_motor600_prepare_rgb_200_dpi (ma1017 * chip);
273 static SANE_Status usb_mid_motor600_prepare_rgb_300_dpi (ma1017 * chip);
275 static SANE_Status usb_mid_motor600_prepare_rgb_150_dpi (ma1017 * chip);
277 static SANE_Status usb_mid_motor600_prepare_rgb_100_dpi (ma1017 * chip);
279 static SANE_Status usb_mid_motor600_prepare_rgb_50_dpi (ma1017 * chip);
281 static SANE_Status usb_mid_motor600_prepare_mono_600_dpi (ma1017 * chip);
283 static SANE_Status usb_mid_motor600_prepare_mono_200_dpi (ma1017 * chip);
285 static SANE_Status usb_mid_motor600_prepare_mono_300_dpi (ma1017 * chip);
287 static SANE_Status usb_mid_motor600_prepare_mono_150_dpi (ma1017 * chip);
289 static SANE_Status usb_mid_motor600_prepare_mono_100_dpi (ma1017 * chip);
291 static SANE_Status usb_mid_motor600_prepare_mono_50_dpi (ma1017 * chip);
293 static SANE_Status usb_mid_motor600_prepare_rgb_half_300_dpi (ma1017 * chip);
296 usb_mid_motor600_prepare_rgb_bi_full_300_dpi (ma1017 * chip);
298 static SANE_Status usb_mid_motor600_prepare_mono_half_300_dpi (ma1017 * chip);
301 usb_mid_motor600_prepare_mono_bi_full_300_dpi (ma1017 * chip);
304 usb_mid_motor600_prepare_rgb (ma1017 * chip, SANE_Word dpi);
307 usb_mid_motor600_prepare_mono (ma1017 * chip, SANE_Word dpi);
310 usb_mid_motor600_prepare_calibrate_rgb (ma1017 * chip, SANE_Word dpi);
313 usb_mid_motor600_prepare_calibrate_mono (ma1017 * chip, SANE_Word dpi);
316 usb_mid_motor600_prepare_step (ma1017 * chip, SANE_Word step_count);
318 static SANE_Status usb_mid_motor600_prepare_home (ma1017 * chip);
321 usb_mid_motor600_prepare_adjust (ma1017 * chip, Channel channel);
329 static SANE_Status usb_mid_motor_prepare_home (ma1017 * chip);
331 static SANE_Status usb_mid_motor_prepare_rgb (ma1017 * chip, SANE_Word dpi);
333 static SANE_Status usb_mid_motor_prepare_mono (ma1017 * chip, SANE_Word dpi);
336 usb_mid_motor_prepare_adjust (ma1017 * chip, Channel channel);
339 usb_mid_motor_prepare_calibrate_rgb (ma1017 * chip, SANE_Word dpi);
342 usb_mid_motor_prepare_calibrate_mono (ma1017 * chip, SANE_Word dpi);
345 usb_mid_motor_prepare_step (ma1017 * chip, SANE_Word step_count);
347 static SANE_Word usb_mid_motor_rgb_capability (ma1017 * chip, SANE_Word dpi);
349 static SANE_Word usb_mid_motor_mono_capability (ma1017 * chip, SANE_Word dpi);
352 usb_mid_motor_get_dpi (ma1017 * chip, SANE_Word wanted_dpi, SANE_Word * dpi);
358 usb_mid_front_set_front_end_mode (ma1017 * chip, SANE_Byte mode);
360 static SANE_Status usb_mid_front_enable (ma1017 * chip, SANE_Bool is_enable);
363 usb_mid_front_set_top_reference (ma1017 * chip, SANE_Byte top);
366 usb_mid_front_set_red_offset (ma1017 * chip, SANE_Byte offset);
369 usb_mid_front_set_green_offset (ma1017 * chip, SANE_Byte offset);
372 usb_mid_front_set_blue_offset (ma1017 * chip, SANE_Byte offset);
374 static SANE_Status usb_mid_front_set_red_pga (ma1017 * chip, SANE_Byte pga);
376 static SANE_Status usb_mid_front_set_green_pga (ma1017 * chip, SANE_Byte pga);
378 static SANE_Status usb_mid_front_set_blue_pga (ma1017 * chip, SANE_Byte pga);
380 static SANE_Status usb_mid_front_set_rgb_signal (ma1017 * chip);
384 static SANE_Word usb_mid_frontend_max_offset_index (ma1017 * chip);