Lines Matching refs:rsq
975 card->rsq.base = dma_alloc_coherent(&card->pcidev->dev, RSQSIZE, in init_rsq()
976 &card->rsq.paddr, GFP_KERNEL); in init_rsq()
977 if (card->rsq.base == NULL) { in init_rsq()
982 card->rsq.last = card->rsq.base + RSQ_NUM_ENTRIES - 1; in init_rsq()
983 card->rsq.next = card->rsq.last; in init_rsq()
984 for (rsqe = card->rsq.base; rsqe <= card->rsq.last; rsqe++) in init_rsq()
987 writel((unsigned long) card->rsq.last - (unsigned long) card->rsq.base, in init_rsq()
989 writel(card->rsq.paddr, SAR_REG_RSQB); in init_rsq()
992 (unsigned long) card->rsq.base, in init_rsq()
1007 card->rsq.base, card->rsq.paddr); in deinit_rsq()
1212 if (card->rsq.next == card->rsq.last) in idt77252_rx()
1213 rsqe = card->rsq.base; in idt77252_rx()
1215 rsqe = card->rsq.next + 1; in idt77252_rx()
1225 card->rsq.next = rsqe; in idt77252_rx()
1226 if (card->rsq.next == card->rsq.last) in idt77252_rx()
1227 rsqe = card->rsq.base; in idt77252_rx()
1229 rsqe = card->rsq.next + 1; in idt77252_rx()
1232 writel((unsigned long) card->rsq.next - (unsigned long) card->rsq.base, in idt77252_rx()
3074 if (card->rsq.base) { in deinit_card()