Lines Matching defs:byte
84 * in software by driving output pins for each byte (PIO method), or with
85 * hardware assistance - SuperIO has a 16-byte FIFO, which is filled by
91 * - Compatibility mode: byte-wide forward channel ~50KB/sec;
94 * - ECP mode: byte-wide bidirectional channel (~1MB/sec);
139 * PIO transfer method is very CPU intensive: for each sent byte the peripheral
140 * state is checked, then the byte is transfered and driver waits for an nAck
142 * triggers the soft interrupt, which transfers the next byte. PIO method
156 * - ISR creates M_CTL message containing an ECPP_BACKCHANNEL byte and
910 * to be deasserted before transferring the next byte. wait_for_busy
1392 * first byte of which is the number of requested bytes
1586 * each of the commands fetches a byte quantity.
1595 uchar_t byte;
1607 byte = pp->port;
1611 byte = DATAR_READ(pp);
1614 byte = TFIFO_READ(pp);
1615 ecpp_error(pp->dip, "GETDATA=0x%x\n", byte);
1630 ecpp_putioc_copyout(q, mp, &byte, sizeof (byte));
2811 * Transfer a PIO "block" a byte at a time.
3332 * It masks interrupts, updates statistics and initiates next byte transfer
3349 * If it was the last byte of the data block cleanup,
3350 * otherwise trigger a soft interrupt to send the next byte
3360 "ecpp_pio_ihdlr:E: next byte in progress\n");
3372 * ecpp_pio_writeb() sends a byte using Centronics handshake
3382 /* send the next byte */
3458 * in case of ECPP_SOFTINTR_PIONEXT it sends next byte of PIO transfer
3480 * Sent next byte in PIO mode
4682 * Read one byte in the Nibble mode
4685 nibble_peripheral2host(struct ecppunit *pp, uint8_t *byte)
4691 * One byte is made of two nibbles
4725 /* extract data byte from two nibbles - optimized formula */
4726 *byte = ((((n[1] & ~ECPP_nACK) << 1) | (~n[1] & ECPP_nBUSY)) & 0xf0) |
4796 * For the time being just read it byte by byte
5167 * While data is available, read it in NIBBLE_REV_BLKSZ byte chunks
5184 /* read a chunk of data from the peripheral byte by byte */
5292 * first byte is MSB
5691 /* disable DMA and byte counter */