Lines Matching full:transfer

135 	 * transfer.
137 if (sc->transfer.active == false) {
170 * it at the beginning of the transfer.
188 * transfer in the PIO receive path above and it will
193 sc->transfer.done = true;
195 "%s: transfer done\n", __func__);
393 device_printf(dev, "ERROR: Could not read transfer config\n");
458 * Do a PIO transfer.
485 * Make initial choices for transfer configuration.
490 "ERROR: failed to setup transfer selection (%d)\n",
496 sc->transfer.tx_buf = tx_buf;
497 sc->transfer.tx_len = tx_len;
498 sc->transfer.rx_buf = rx_buf;
499 sc->transfer.rx_len = rx_len;
500 sc->transfer.done = false;
501 sc->transfer.active = false;
504 * Loop until the full transfer set is done.
507 * setting a maximum transfer size for the hardware and choose
510 while (sc->transfer.tx_offset < sc->transfer.tx_len) {
512 * Set transfer to false early; this covers
513 * it also finishing a sub-transfer and we're
515 * starting a new transfer.
517 sc->transfer.active = false;
522 sc->transfer.tx_offset, sc->transfer.tx_len,
523 sc->transfer.rx_offset, sc->transfer.rx_len);
528 * Otherwise the second sub-transfer that we queue up
540 sc->transfer.done = false;
543 * Configure what the transfer configuration for this
544 * sub-transfer will be.
549 "ERROR: failed to setup sub transfer (%d)\n",
556 * the PIO transfer size.
568 * This is what we'd do to setup the block transfer sizes.
631 sc->transfer.active = true;
677 * sub-transfer) or timeout.
680 while (ret == 0 && sc->transfer.done == false) {
698 * Blank the transfer state so we don't use an old transfer
702 sc->transfer.active = false;
785 * cmd buffer transfer
791 "ERROR: failed to transfer cmd payload (%u)\n", ret);
796 * data buffer transfer
803 "ERROR: failed to transfer data payload (%u)\n",