Home
last modified time | relevance | path

Searched refs:rsq (Results 1 – 4 of 4) sorted by relevance

/drivers/atm/
Dnicstar.c248 card->rsq.org, card->rsq.dma); in nicstar_remove_one()
557 card->rsq.org = dma_alloc_coherent(&card->pcidev->dev, in ns_init_card()
559 &card->rsq.dma, GFP_KERNEL); in ns_init_card()
560 if (card->rsq.org == NULL) { in ns_init_card()
566 card->rsq.base = PTR_ALIGN(card->rsq.org, NS_RSQ_ALIGNMENT); in ns_init_card()
567 card->rsq.next = card->rsq.base; in ns_init_card()
568 card->rsq.last = card->rsq.base + (NS_RSQ_NUM_ENTRIES - 1); in ns_init_card()
570 ns_rsqe_init(card->rsq.base + j); in ns_init_card()
572 writel(ALIGN(card->rsq.dma, NS_RSQ_ALIGNMENT), card->membase + RSQB); in ns_init_card()
573 PRINTK("nicstar%d: RSQ base at 0x%p.\n", i, card->rsq.base); in ns_init_card()
[all …]
Didt77252.c974 card->rsq.base = dma_zalloc_coherent(&card->pcidev->dev, RSQSIZE, in init_rsq()
975 &card->rsq.paddr, GFP_KERNEL); in init_rsq()
976 if (card->rsq.base == NULL) { in init_rsq()
981 card->rsq.last = card->rsq.base + RSQ_NUM_ENTRIES - 1; in init_rsq()
982 card->rsq.next = card->rsq.last; in init_rsq()
983 for (rsqe = card->rsq.base; rsqe <= card->rsq.last; rsqe++) in init_rsq()
986 writel((unsigned long) card->rsq.last - (unsigned long) card->rsq.base, in init_rsq()
988 writel(card->rsq.paddr, SAR_REG_RSQB); in init_rsq()
991 (unsigned long) card->rsq.base, in init_rsq()
1006 card->rsq.base, card->rsq.paddr); in deinit_rsq()
[all …]
Dnicstar.h719 rsq_info rsq; member
Didt77252.h347 struct rsq_info rsq; /* Receive Status Queue */ member