Searched refs:rsq (Results 1 – 4 of 4) sorted by relevance
/linux-2.4.37.9/drivers/atm/ |
D | nicstar.c | 351 kfree(card->rsq.org); in nicstar_remove_one() 664 card->rsq.org = kmalloc(NS_RSQSIZE + NS_RSQ_ALIGNMENT, GFP_KERNEL); in ns_init_card() 665 if (card->rsq.org == NULL) in ns_init_card() 672 card->rsq.base = (ns_rsqe *) ALIGN_ADDRESS(card->rsq.org, NS_RSQ_ALIGNMENT); in ns_init_card() 673 card->rsq.next = card->rsq.base; in ns_init_card() 674 card->rsq.last = card->rsq.base + (NS_RSQ_NUM_ENTRIES - 1); in ns_init_card() 676 ns_rsqe_init(card->rsq.base + j); in ns_init_card() 678 writel((u32) virt_to_bus(card->rsq.base), card->membase + RSQB); in ns_init_card() 679 PRINTK("nicstar%d: RSQ base at 0x%x.\n", i, (u32) card->rsq.base); in ns_init_card() 970 kfree(card->rsq.org); in ns_init_card_error() [all …]
|
D | idt77252.c | 979 card->rsq.base = pci_alloc_consistent(card->pcidev, RSQSIZE, in init_rsq() 980 &card->rsq.paddr); in init_rsq() 981 if (card->rsq.base == NULL) { in init_rsq() 985 memset(card->rsq.base, 0, RSQSIZE); in init_rsq() 987 card->rsq.last = card->rsq.base + RSQ_NUM_ENTRIES - 1; in init_rsq() 988 card->rsq.next = card->rsq.last; in init_rsq() 989 for (rsqe = card->rsq.base; rsqe <= card->rsq.last; rsqe++) in init_rsq() 992 writel((unsigned long) card->rsq.last - (unsigned long) card->rsq.base, in init_rsq() 994 writel(card->rsq.paddr, SAR_REG_RSQB); in init_rsq() 997 (unsigned long) card->rsq.base, in init_rsq() [all …]
|
D | nicstar.h | 774 rsq_info rsq; member
|
D | idt77252.h | 352 struct rsq_info rsq; /* Receive Status Queue */ member
|