Lines Matching defs:mode
524 /* if programmed for Tx, put it in RX mode */
564 * to disable double buffer mode.
575 u32 *length, u8 *mode)
587 *mode = 1;
603 *mode = 0;
607 channel->desired_mode = *mode;
617 u8 *mode)
624 * TX uses "RNDIS" mode automatically but needs help
627 *mode = (urb->transfer_flags & URB_ZERO_PACKET) ? 1 : 0;
636 u8 mode;
640 &length, &mode);
643 &length, &mode);
655 if (!dma->channel_program(channel, pkt_size, mode,
1189 - ... which starts DMA to fifo in mode 1 or 0
1194 - TxPktRdy has to be set in mode 0 or for
1195 short packets in mode 1.
1304 * DMA has completed. But if we're using DMA mode 1 (multi
1308 * switch back to mode 0 to get that interrupt; we'll come
1325 * double-buffered FIFO mode, so we do an extra TXCSR
1354 * FIFO mode too...
1513 | - Set in mode 0 (DmaEnab, ~ReqPkt)
1521 * Nuances of mode 1:
1526 * difficult. Hence mode 1 is not used.
1538 * thus be a great candidate for using mode 1 ... for all but the
1595 /* Disadvantage of using mode 1:
1601 * If you try to use mode 1 for (transfer_buffer_length - 512), and try
1602 * to use the extra IN token to grab the last packet using mode 0, then
1605 * such that it gets lost when RxCSR is re-set at the end of the mode 1
1607 * try to configure for mode 0 soon after the mode 1 transfer is
1658 /* because of the issue below, mode 1 will
1673 /* See comments above on disadvantages of using mode 1 */