Lines Matching refs:tx_bytes
1098 unsigned int tx_bytes; in tx_schedule() local
1108 tx_bytes = dev->tx_bytes; in tx_schedule()
1124 if (tx_bytes) { in tx_schedule()
1126 if (!test_bit (ultra, &dev->flags) || tx_bytes <= MAX_PIO_COUNT) { in tx_schedule()
1130 if (tx_bytes <= MAX_TRANSFER_COUNT) { in tx_schedule()
1136 dev->tx_bytes = 0; in tx_schedule()
1139 dev->tx_bytes = tx_bytes - MAX_TRANSFER_COUNT; in tx_schedule()
1140 tx_bytes = MAX_TRANSFER_COUNT; in tx_schedule()
1150 tx_bytes = dev->tx_iovec->iov_len; in tx_schedule()
1154 if (!test_bit (ultra, &dev->flags) || tx_bytes <= MAX_PIO_COUNT) { in tx_schedule()
1158 if (tx_bytes <= MAX_TRANSFER_COUNT) { in tx_schedule()
1160 dev->tx_bytes = 0; in tx_schedule()
1163 dev->tx_bytes = tx_bytes - MAX_TRANSFER_COUNT; in tx_schedule()
1164 tx_bytes = MAX_TRANSFER_COUNT; in tx_schedule()
1181 if (tx_bytes) { in tx_schedule()
1185 wrs_regb (dev, DATA_PORT_OFF, dev->tx_addr, tx_bytes); in tx_schedule()
1194 ? tx_bytes | MASTER_TX_AUTO_APPEND_DESC in tx_schedule()
1195 : tx_bytes); in tx_schedule()
1197 dev->tx_addr += tx_bytes; in tx_schedule()
1708 dev->tx_bytes = 0; in hrz_send()
1718 dev->tx_bytes = tx_len; in hrz_send()
2750 dev->tx_bytes = 0; in hrz_probe()