Lines Matching defs:data
115 * ECPP_ERR -- have data to transfer, but peripheral can`t receive data;
122 * When output data arrives in M_DATA mblks ecpp_wput() puts them on the queue
124 * by copying them into pp->ioblock. If first the mblk data is bigger than
135 * - interrupt occurs, ecpp_isr() checks if all the data was transferred, if so
137 * - ecpp_xfer_timeout() cancels the transfer and puts back untransferred data;
141 * interrupt; ecpp_isr() will then look if there is more data and if so
154 * - when the peripheral has data to send it asserts nErr pin
163 * As the application reads data and queue size falls below the low watermark,
868 * with IEEE 1284 compliant peripherals, data transfers between
918 * In PIO mode, centronics transfers must hold the data signals
922 "centronics-data-setup-time", DATA_SETUP_TIME);
1101 * if no data waiting to be read. Writes will block on flow control.
1147 * has data, the port will be ECPP_BUSY. However,
1258 * mblk has scattered data ... do msgpullup
1326 * need to retrieve and use the data, but if the
1342 /* data transfered to user space okay */
1440 * data transfered to user space okay
1853 * read queue is only used when the peripheral sends data faster,
1863 * send data upstream until next queue is full or the queue is empty
1980 * otherwise add data to ioblock and free mblk
1993 * writes data into the TFIFO, reads it using
1996 * the ioctl might be processed before the data
2112 * Ioctl processor for queued ioctl data transfer messages.
2249 uchar_t *data;
2251 data = (uchar_t *)mp->b_cont->b_rptr;
2261 DATAR_WRITE(pp, *data);
2266 TFIFO_WRITE(pp, *data);
2625 * The transfer is cleaned up. There may or may not be data
2774 /* put the rest of data back on the queue */
3132 * by LP in between data blocks to check printer status
3153 /* we are expecting a data transfer interrupt */
3290 /* we are expecting a data transfer interrupt */
3349 * If it was the last byte of the data block cleanup,
3437 * Event 18: Periph asserts nErr to indicate data avail
3660 * to put untransfered data back on queue.
3799 * The data transferred by the DMA engine goes through the FIFO,
3801 * the FIFO can still contain data. If this is the case, the ISR will
3877 /* data has drained from fifo, it is ok to free dma resource */
3971 * In Compatibility mode, check if the peripheral is ready to accept data
3995 * if the peripheral is not ready to accept data, write service routine
3997 * and start data transfer as soon as possible
4211 * If peripheral has data available, PE and nErr will
4274 /* Event 0: host sets extensibility request on data lines */
4453 * hardware generates cycles to receive data from the peripheral
4471 * Allocate mblk for data, make max 2 attepmts:
4501 * but we must stop at some point to send the data upstream,
4503 * all that done, we can continue with backchannel data;
4505 * b) we don`t know how much data peripheral has;
4516 * DMA is stopped and the data is sent upstream;
4620 * stop the DMA, free DMA resources and send read data upstream
4642 xfer_len = pp->resid - unx_len; /* how much data was transferred */
4659 * Send the read data up the stream
4697 /* Event 8: peripheral puts data on the status lines */
4699 /* Event 9: peripheral asserts nAck, data available */
4710 /* Event 10: host deasserts nAutoFd to say it grabbed data */
4713 /* (2) Event 13: peripheral asserts PE - end of data phase */
4725 /* extract data byte from two nibbles - optimized formula */
4734 * process data transfers requested by the peripheral
4768 /* this routine will read the data in Nibble mode */
4815 "ecpp_periph2host: !canputnext data lost\n");
5050 * Standard (9.1): Peripheral data is available only when the host places
5051 * the interface in a mode capable of peripheral-to-host data transfer.
5078 * read as much data as possible, ending up in either
5107 * if data is already available, request the backchannel xfer
5122 * if data already available, put backchannel request on the wq
5146 * and continue later as the user consumes data from the read queue
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 */
5228 * If peripheral has data available, PE and nErr will
5281 * Event 14: Host tristates data bus, peripheral
5282 * asserts nERR if data available, usually the
5313 * read the rest of the data
5441 retval = PP_GETB(pp->uh.ebus.c_handle, &pp->uh.ebus.c_reg->data);
5450 PP_PUTB(pp->uh.ebus.c_handle, &pp->uh.ebus.c_reg->data, val);
5454 * a fifo. the first value written goes to the data register. the
5458 PP_PUTB(pp->uh.ebus.c_handle, &pp->uh.ebus.c_reg->data, val);
5513 /* in compatible mode with no data transfer in progress */
5754 * to transport data to/from PCI space to superio parallel port