Lines Matching defs:length
135 * '\0'. Buffer begins with two Device ID length bytes as given by
140 unsigned char length[2];
148 /* First two bytes are MSB,LSB of inclusive length. */
149 retval = parport_read (port, length, 2);
158 memcpy(buffer, length, 2);
161 /* Some devices wrongly send LE length, and some send it two
163 belen = (length[0] << 8) + length[1];
164 lelen = (length[1] << 8) + length[0];
181 printk(KERN_DEBUG "%s: reported broken Device ID length of %#zX bytes\n",
188 /* Try to respect the given ID length despite all the bugs in
189 * the ID length. Read according to shortest possible ID
217 length[0], length[1]);