Searched refs:rsq (Results 1 – 4 of 4) sorted by relevance
/drivers/atm/ |
D | nicstar.c | 251 card->rsq.org, card->rsq.dma); in nicstar_remove_one() 559 card->rsq.org = dma_alloc_coherent(&card->pcidev->dev, in ns_init_card() 561 &card->rsq.dma, GFP_KERNEL); in ns_init_card() 562 if (card->rsq.org == NULL) { in ns_init_card() 568 card->rsq.base = PTR_ALIGN(card->rsq.org, NS_RSQ_ALIGNMENT); in ns_init_card() 569 card->rsq.next = card->rsq.base; in ns_init_card() 570 card->rsq.last = card->rsq.base + (NS_RSQ_NUM_ENTRIES - 1); in ns_init_card() 572 ns_rsqe_init(card->rsq.base + j); in ns_init_card() 574 writel(ALIGN(card->rsq.dma, NS_RSQ_ALIGNMENT), card->membase + RSQB); in ns_init_card() 575 PRINTK("nicstar%d: RSQ base at 0x%p.\n", i, card->rsq.base); in ns_init_card() [all …]
|
D | idt77252.c | 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() [all …]
|
D | nicstar.h | 720 rsq_info rsq; member
|
D | idt77252.h | 350 struct rsq_info rsq; /* Receive Status Queue */ member
|