Lines Matching refs:rx_bytes
966 unsigned int rx_bytes; in rx_schedule() local
974 rx_bytes = dev->rx_bytes; in rx_schedule()
994 if (rx_bytes) { in rx_schedule()
996 if (rx_bytes <= MAX_PIO_COUNT) { in rx_schedule()
1000 if (rx_bytes <= MAX_TRANSFER_COUNT) { in rx_schedule()
1002 dev->rx_bytes = 0; in rx_schedule()
1005 dev->rx_bytes = rx_bytes - MAX_TRANSFER_COUNT; in rx_schedule()
1006 rx_bytes = MAX_TRANSFER_COUNT; in rx_schedule()
1021 rx_bytes = dev->rx_iovec->iov_len; in rx_schedule()
1025 if (rx_bytes <= MAX_PIO_COUNT) { in rx_schedule()
1029 if (rx_bytes <= MAX_TRANSFER_COUNT) { in rx_schedule()
1031 dev->rx_bytes = 0; in rx_schedule()
1034 dev->rx_bytes = rx_bytes - MAX_TRANSFER_COUNT; in rx_schedule()
1035 rx_bytes = MAX_TRANSFER_COUNT; in rx_schedule()
1062 if (rx_bytes) { in rx_schedule()
1066 rds_regb (dev, DATA_PORT_OFF, dev->rx_addr, rx_bytes); in rx_schedule()
1069 wr_regl (dev, MASTER_RX_COUNT_REG_OFF, rx_bytes); in rx_schedule()
1071 dev->rx_addr += rx_bytes; in rx_schedule()
1361 dev->rx_bytes = rx_len; in rx_data_av_handler()