Lines Matching refs:tx_bytes
1084 unsigned int tx_bytes;
1094 tx_bytes = dev->tx_bytes;
1110 if (tx_bytes) {
1112 if (!test_bit (ultra, &dev->flags) || tx_bytes <= MAX_PIO_COUNT) {
1116 if (tx_bytes <= MAX_TRANSFER_COUNT) {
1122 dev->tx_bytes = 0;
1125 dev->tx_bytes = tx_bytes - MAX_TRANSFER_COUNT;
1126 tx_bytes = MAX_TRANSFER_COUNT;
1129 // tx_bytes == 0 -- we're between regions
1136 tx_bytes = dev->tx_iovec->iov_len;
1140 if (!test_bit (ultra, &dev->flags) || tx_bytes <= MAX_PIO_COUNT) {
1144 if (tx_bytes <= MAX_TRANSFER_COUNT) {
1146 dev->tx_bytes = 0;
1149 dev->tx_bytes = tx_bytes - MAX_TRANSFER_COUNT;
1150 tx_bytes = MAX_TRANSFER_COUNT;
1167 if (tx_bytes) {
1171 wrs_regb (dev, DATA_PORT_OFF, dev->tx_addr, tx_bytes);
1180 ? tx_bytes | MASTER_TX_AUTO_APPEND_DESC
1181 : tx_bytes);
1183 dev->tx_addr += tx_bytes;
1694 dev->tx_bytes = 0;
1704 dev->tx_bytes = tx_len;
2696 dev->tx_bytes = 0;