Lines Matching refs:tx_bytes
1099 unsigned int tx_bytes; in tx_schedule() local
1109 tx_bytes = dev->tx_bytes; in tx_schedule()
1125 if (tx_bytes) { in tx_schedule()
1127 if (!test_bit (ultra, &dev->flags) || tx_bytes <= MAX_PIO_COUNT) { in tx_schedule()
1131 if (tx_bytes <= MAX_TRANSFER_COUNT) { in tx_schedule()
1137 dev->tx_bytes = 0; in tx_schedule()
1140 dev->tx_bytes = tx_bytes - MAX_TRANSFER_COUNT; in tx_schedule()
1141 tx_bytes = MAX_TRANSFER_COUNT; in tx_schedule()
1151 tx_bytes = dev->tx_iovec->iov_len; in tx_schedule()
1155 if (!test_bit (ultra, &dev->flags) || tx_bytes <= MAX_PIO_COUNT) { in tx_schedule()
1159 if (tx_bytes <= MAX_TRANSFER_COUNT) { in tx_schedule()
1161 dev->tx_bytes = 0; in tx_schedule()
1164 dev->tx_bytes = tx_bytes - MAX_TRANSFER_COUNT; in tx_schedule()
1165 tx_bytes = MAX_TRANSFER_COUNT; in tx_schedule()
1182 if (tx_bytes) { in tx_schedule()
1186 wrs_regb (dev, DATA_PORT_OFF, dev->tx_addr, tx_bytes); in tx_schedule()
1195 ? tx_bytes | MASTER_TX_AUTO_APPEND_DESC in tx_schedule()
1196 : tx_bytes); in tx_schedule()
1198 dev->tx_addr += tx_bytes; in tx_schedule()
1709 dev->tx_bytes = 0; in hrz_send()
1719 dev->tx_bytes = tx_len; in hrz_send()
2751 dev->tx_bytes = 0; in hrz_probe()