Searched refs:tsq (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/drivers/atm/
H A Dnicstar.c250 card->tsq.org, card->tsq.dma); nicstar_remove_one()
529 card->tsq.org = dma_alloc_coherent(&card->pcidev->dev, ns_init_card()
531 &card->tsq.dma, GFP_KERNEL); ns_init_card()
532 if (card->tsq.org == NULL) { ns_init_card()
538 card->tsq.base = PTR_ALIGN(card->tsq.org, NS_TSQ_ALIGNMENT); ns_init_card()
539 card->tsq.next = card->tsq.base; ns_init_card()
540 card->tsq.last = card->tsq.base + (NS_TSQ_NUM_ENTRIES - 1); ns_init_card()
542 ns_tsi_init(card->tsq.base + j); ns_init_card()
544 writel(ALIGN(card->tsq.dma, NS_TSQ_ALIGNMENT), card->membase + TSQB); ns_init_card()
545 PRINTK("nicstar%d: TSQ base at 0x%p.\n", i, card->tsq.base); ns_init_card()
843 kfree(card->tsq.org); ns_init_card_error()
1554 card->tsq.base, card->tsq.next, ns_close()
1555 card->tsq.last, readl(card->membase + TSQT)); ns_close()
1836 if (card->tsq.next == card->tsq.last) process_tsq()
1837 one_ahead = card->tsq.base; process_tsq()
1839 one_ahead = card->tsq.next + 1; process_tsq()
1841 if (one_ahead == card->tsq.last) process_tsq()
1842 two_ahead = card->tsq.base; process_tsq()
1846 while (!ns_tsi_isempty(card->tsq.next) || !ns_tsi_isempty(one_ahead) || process_tsq()
1853 while (ns_tsi_isempty(card->tsq.next)) { process_tsq()
1854 if (card->tsq.next == card->tsq.last) process_tsq()
1855 card->tsq.next = card->tsq.base; process_tsq()
1857 card->tsq.next++; process_tsq()
1860 if (!ns_tsi_tmrof(card->tsq.next)) { process_tsq()
1861 scdi = ns_tsi_getscdindex(card->tsq.next); process_tsq()
1869 ns_tsi_init(card->tsq.next); process_tsq()
1874 drain_scq(card, scq, ns_tsi_getscqpos(card->tsq.next)); process_tsq()
1879 ns_tsi_init(card->tsq.next); process_tsq()
1880 previous = card->tsq.next; process_tsq()
1881 if (card->tsq.next == card->tsq.last) process_tsq()
1882 card->tsq.next = card->tsq.base; process_tsq()
1884 card->tsq.next++; process_tsq()
1886 if (card->tsq.next == card->tsq.last) process_tsq()
1887 one_ahead = card->tsq.base; process_tsq()
1889 one_ahead = card->tsq.next + 1; process_tsq()
1891 if (one_ahead == card->tsq.last) process_tsq()
1892 two_ahead = card->tsq.base; process_tsq()
1898 writel(PTR_DIFF(previous, card->tsq.base), process_tsq()
H A Didt77252.c1379 card->tsq.base = dma_alloc_coherent(&card->pcidev->dev, RSQSIZE, init_tsq()
1380 &card->tsq.paddr, GFP_KERNEL); init_tsq()
1381 if (card->tsq.base == NULL) { init_tsq()
1385 memset(card->tsq.base, 0, TSQSIZE); init_tsq()
1387 card->tsq.last = card->tsq.base + TSQ_NUM_ENTRIES - 1; init_tsq()
1388 card->tsq.next = card->tsq.last; init_tsq()
1389 for (tsqe = card->tsq.base; tsqe <= card->tsq.last; tsqe++) init_tsq()
1392 writel(card->tsq.paddr, SAR_REG_TSQB); init_tsq()
1393 writel((unsigned long) card->tsq.next - (unsigned long) card->tsq.base, init_tsq()
1403 card->tsq.base, card->tsq.paddr); deinit_tsq()
1414 if (card->tsq.next == card->tsq.last) idt77252_tx()
1415 tsqe = card->tsq.base; idt77252_tx()
1417 tsqe = card->tsq.next + 1; idt77252_tx()
1419 TXPRINTK("idt77252_tx: tsq %p: base %p, next %p, last %p\n", tsqe, idt77252_tx()
1420 card->tsq.base, card->tsq.next, card->tsq.last); idt77252_tx()
1511 card->tsq.next = tsqe; idt77252_tx()
1512 if (card->tsq.next == card->tsq.last) idt77252_tx()
1513 tsqe = card->tsq.base; idt77252_tx()
1515 tsqe = card->tsq.next + 1; idt77252_tx()
1518 card->tsq.base, card->tsq.next, card->tsq.last); idt77252_tx()
1524 writel((unsigned long)card->tsq.next - (unsigned long)card->tsq.base, idt77252_tx()
1529 readl(SAR_REG_TSQT), card->tsq.next); idt77252_tx()
3089 if (card->tsq.base) { deinit_card()
H A Didt77252.h346 struct tsq_info tsq; /* Transmit Status Queue */ member in struct:idt77252_dev
H A Dnicstar.h718 tsq_info tsq; member in struct:ns_dev
/linux-4.1.27/net/ipv4/
H A Dtcp_output.c749 * transferring tsq->head because tcp_wfree() might
754 struct tsq_tasklet *tsq = (struct tsq_tasklet *)data; tcp_tasklet_func() local
762 list_splice_init(&tsq->head, &list); tcp_tasklet_func()
843 struct tsq_tasklet *tsq = &per_cpu(tsq_tasklet, i); for_each_possible_cpu() local
845 INIT_LIST_HEAD(&tsq->head); for_each_possible_cpu()
846 tasklet_init(&tsq->tasklet, for_each_possible_cpu()
848 (unsigned long)tsq); for_each_possible_cpu()
881 struct tsq_tasklet *tsq; tcp_wfree() local
885 tsq = this_cpu_ptr(&tsq_tasklet); tcp_wfree()
886 list_add(&tp->tsq_node, &tsq->head); tcp_wfree()
887 tasklet_schedule(&tsq->tasklet); tcp_wfree()

Completed in 197 milliseconds