Lines Matching +full:battery +full:- +full:powered
5 friq.c is a low-level protocol driver for the Freecom "IQ"
9 Freecom uses this adapter in a battery powered external
10 CD-ROM drive. It is also used in LS-120 drives by
13 The battery powered drive requires software support to
19 used to conserve battery power.
45 /* cont = 0 - access the IDE register file
46 cont = 1 - access the IDE command set
81 switch(pi->mode) { in friq_read_block_int()
98 ph = 2 - ph; in friq_read_block_int()
104 for (k=0;k<count-2;k++) buf[k] = r4(); in friq_read_block_int()
106 buf[count-2] = r4(); in friq_read_block_int()
107 buf[count-1] = r4(); in friq_read_block_int()
112 for (k=0;k<(count/2)-1;k++) ((u16 *)buf)[k] = r4w(); in friq_read_block_int()
114 buf[count-2] = r4(); in friq_read_block_int()
115 buf[count-1] = r4(); in friq_read_block_int()
120 for (k=0;k<(count/4)-1;k++) ((u32 *)buf)[k] = r4l(); in friq_read_block_int()
121 buf[count-4] = r4(); in friq_read_block_int()
122 buf[count-3] = r4(); in friq_read_block_int()
124 buf[count-2] = r4(); in friq_read_block_int()
125 buf[count-1] = r4(); in friq_read_block_int()
141 switch(pi->mode) { in friq_write_block()
171 { pi->saved_r0 = r0(); in friq_connect()
172 pi->saved_r2 = r2(); in friq_connect()
179 w0(pi->saved_r0); in friq_disconnect()
180 w2(pi->saved_r2); in friq_disconnect()
188 pi->saved_r0 = r0(); in friq_test_proto()
191 w0(pi->saved_r0); in friq_test_proto()
212 pi->device,pi->port,pi->mode,e[0],e[1],r); in friq_test_proto()
221 { char *mode_string[6] = {"4-bit","8-bit", in friq_log_adapter()
222 "EPP-8","EPP-16","EPP-32"}; in friq_log_adapter()
224 printk("%s: friq %s, Freecom IQ ASIC-2 adapter at 0x%x, ", pi->device, in friq_log_adapter()
225 FRIQ_VERSION,pi->port); in friq_log_adapter()
226 printk("mode %d (%s), delay %d\n",pi->mode, in friq_log_adapter()
227 mode_string[pi->mode],pi->delay); in friq_log_adapter()
229 pi->private = 1; in friq_log_adapter()
238 if (pi->private) { /* turn off the power */ in friq_release_proto()
242 pi->private = 0; in friq_release_proto()