Lines Matching refs:rx_bytes
920 unsigned int rx_bytes;
928 rx_bytes = dev->rx_bytes;
948 if (rx_bytes) {
950 if (rx_bytes <= MAX_PIO_COUNT) {
954 if (rx_bytes <= MAX_TRANSFER_COUNT) {
956 dev->rx_bytes = 0;
959 dev->rx_bytes = rx_bytes - MAX_TRANSFER_COUNT;
960 rx_bytes = MAX_TRANSFER_COUNT;
963 // rx_bytes == 0 -- we're between regions
975 rx_bytes = dev->rx_iovec->iov_len;
979 if (rx_bytes <= MAX_PIO_COUNT) {
983 if (rx_bytes <= MAX_TRANSFER_COUNT) {
985 dev->rx_bytes = 0;
988 dev->rx_bytes = rx_bytes - MAX_TRANSFER_COUNT;
989 rx_bytes = MAX_TRANSFER_COUNT;
1016 if (rx_bytes) {
1020 rds_regb (dev, DATA_PORT_OFF, dev->rx_addr, rx_bytes);
1023 wr_regl (dev, MASTER_RX_COUNT_REG_OFF, rx_bytes);
1025 dev->rx_addr += rx_bytes;
1305 dev->rx_bytes = rx_len;