Lines Matching refs:tx_bytes
1043 unsigned int tx_bytes;
1053 tx_bytes = dev->tx_bytes;
1056 if (tx_bytes) {
1058 if (!test_bit (ultra, &dev->flags) || tx_bytes <= MAX_PIO_COUNT) {
1062 if (tx_bytes <= MAX_TRANSFER_COUNT) {
1068 dev->tx_bytes = 0;
1071 dev->tx_bytes = tx_bytes - MAX_TRANSFER_COUNT;
1072 tx_bytes = MAX_TRANSFER_COUNT;
1075 // tx_bytes == 0 -- we're between regions
1082 tx_bytes = dev->tx_iovec->iov_len;
1086 if (!test_bit (ultra, &dev->flags) || tx_bytes <= MAX_PIO_COUNT) {
1090 if (tx_bytes <= MAX_TRANSFER_COUNT) {
1092 dev->tx_bytes = 0;
1095 dev->tx_bytes = tx_bytes - MAX_TRANSFER_COUNT;
1096 tx_bytes = MAX_TRANSFER_COUNT;
1113 if (tx_bytes) {
1117 wrs_regb (dev, DATA_PORT_OFF, dev->tx_addr, tx_bytes);
1126 ? tx_bytes | MASTER_TX_AUTO_APPEND_DESC
1127 : tx_bytes);
1129 dev->tx_addr += tx_bytes;
1617 dev->tx_bytes = 0;
1627 dev->tx_bytes = tx_len;
2479 dev->tx_bytes = 0;