Lines Matching refs:read_fs
554 static inline u32 read_fs (struct fs_dev *dev, int offset)
563 return bus_to_virt (read_fs (dev, Q_WP(q->offset)) & Q_ADDR_MASK);
573 while ((wp = read_fs (dev, Q_WP (q->offset))) & Q_FULL) {
592 rp = read_fs (dev, Q_RP(q->offset));
593 wp = read_fs (dev, Q_WP(q->offset));
642 while (!((rq = read_fs (dev, Q_RP(q->offset))) & Q_EMPTY)) {
670 while (!((rq = read_fs (dev, Q_RP(q->offset))) & Q_EMPTY)) {
741 while (!((rq = read_fs (dev, Q_RP(q->offset))) & Q_EMPTY)) {
1158 read_fs (dev, Q_EA (dev->hp_txq.offset)) -
1159 read_fs (dev, Q_SA (dev->hp_txq.offset)),
1160 read_fs (dev, Q_EA (dev->tx_relq.offset)) -
1161 read_fs (dev, Q_SA (dev->tx_relq.offset)));
1368 fp->offset, read_fs (dev, FP_CNT (fp->offset)), fp->n,
1394 qe_tmp = read_fs (dev, FP_EA(fp->offset));
1448 status = read_fs (dev, ISR);
1474 read_fs (dev, Q_EA (dev->hp_txq.offset)) -
1475 read_fs (dev, Q_SA (dev->hp_txq.offset)),
1476 read_fs (dev, Q_EA (dev->tx_relq.offset)) -
1477 read_fs (dev, Q_SA (dev->tx_relq.offset)));
1590 isr = read_fs (dev, ISR);
1840 for (fp=bus_to_virt (read_fs (dev, FP_SA(dev->rx_fp[i].offset)));