Lines Matching refs:rd_regw
382 static inline u16 rd_regw (const hrz_dev * dev, unsigned char reg) {
429 while (rd_regw (dev, RX_CHANNEL_PORT_OFF) & FLUSH_CHANNEL)
440 while (rd_regw (dev, RX_CHANNEL_PORT_OFF) & RX_CHANNEL_UPDATE_IN_PROGRESS)
464 return rd_regw (dev, TX_CHANNEL_CONFIG_DATA_OFF);
488 PRINTD (DBG_REGS, "RX CONFIG: %#x", rd_regw (dev, RX_CONFIG_OFF));
489 PRINTD (DBG_REGS, "TX CONFIG: %#x", rd_regw (dev, TX_CONFIG_OFF));
490 PRINTD (DBG_REGS, "TX STATUS: %#x", rd_regw (dev, TX_STATUS_OFF));
1183 wr_regw (dev, RX_CONFIG_OFF, rd_regw (dev, RX_CONFIG_OFF) | RX_ENABLE);
1366 dev->tx_cell_count += rd_regw (dev, TX_CELL_COUNT_OFF);
1367 dev->rx_cell_count += rd_regw (dev, RX_CELL_COUNT_OFF);
1368 dev->hec_error_count += rd_regw (dev, HEC_ERROR_COUNT_OFF);
1369 dev->unassigned_cell_count += rd_regw (dev, UNASSIGNED_CELL_COUNT_OFF);
1388 while (!(idle_channels = rd_regw (dev, TX_STATUS_OFF) & IDLE_CHANNELS_MASK)) {
1557 while ((free_buffers = rd_regw (dev, TX_FREE_BUFFER_COUNT_OFF)) < buffers_required) {
1859 wr_regw (dev, RX_CONFIG_OFF, rd_regw (dev, RX_CONFIG_OFF) | RX_ENABLE);
2375 rd_regw (dev, TX_FREE_BUFFER_COUNT_OFF),
2376 rd_regw (dev, RX_FREE_BUFFER_COUNT_OFF),