Home
last modified time | relevance | path

Searched refs:tsq (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/atm/
Dnicstar.c250 card->tsq.org, card->tsq.dma); in nicstar_remove_one()
528 card->tsq.org = dma_alloc_coherent(&card->pcidev->dev, in ns_init_card()
530 &card->tsq.dma, GFP_KERNEL); in ns_init_card()
531 if (card->tsq.org == NULL) { in ns_init_card()
537 card->tsq.base = PTR_ALIGN(card->tsq.org, NS_TSQ_ALIGNMENT); in ns_init_card()
538 card->tsq.next = card->tsq.base; in ns_init_card()
539 card->tsq.last = card->tsq.base + (NS_TSQ_NUM_ENTRIES - 1); in ns_init_card()
541 ns_tsi_init(card->tsq.base + j); in ns_init_card()
543 writel(ALIGN(card->tsq.dma, NS_TSQ_ALIGNMENT), card->membase + TSQB); in ns_init_card()
544 PRINTK("nicstar%d: TSQ base at 0x%p.\n", i, card->tsq.base); in ns_init_card()
[all …]
Didt77252.c1376 card->tsq.base = dma_alloc_coherent(&card->pcidev->dev, RSQSIZE, in init_tsq()
1377 &card->tsq.paddr, GFP_KERNEL); in init_tsq()
1378 if (card->tsq.base == NULL) { in init_tsq()
1382 memset(card->tsq.base, 0, TSQSIZE); in init_tsq()
1384 card->tsq.last = card->tsq.base + TSQ_NUM_ENTRIES - 1; in init_tsq()
1385 card->tsq.next = card->tsq.last; in init_tsq()
1386 for (tsqe = card->tsq.base; tsqe <= card->tsq.last; tsqe++) in init_tsq()
1389 writel(card->tsq.paddr, SAR_REG_TSQB); in init_tsq()
1390 writel((unsigned long) card->tsq.next - (unsigned long) card->tsq.base, in init_tsq()
1400 card->tsq.base, card->tsq.paddr); in deinit_tsq()
[all …]
Dnicstar.h719 tsq_info tsq; member
Didt77252.h349 struct tsq_info tsq; /* Transmit Status Queue */ member
/Linux-v4.19/net/ipv4/
Dtcp_output.c823 struct tsq_tasklet *tsq = (struct tsq_tasklet *)data; in tcp_tasklet_func() local
831 list_splice_init(&tsq->head, &list); in tcp_tasklet_func()
905 struct tsq_tasklet *tsq = &per_cpu(tsq_tasklet, i); in tcp_tasklet_init() local
907 INIT_LIST_HEAD(&tsq->head); in tcp_tasklet_init()
908 tasklet_init(&tsq->tasklet, in tcp_tasklet_init()
910 (unsigned long)tsq); in tcp_tasklet_init()
941 struct tsq_tasklet *tsq; in tcp_wfree() local
954 tsq = this_cpu_ptr(&tsq_tasklet); in tcp_wfree()
955 empty = list_empty(&tsq->head); in tcp_wfree()
956 list_add(&tp->tsq_node, &tsq->head); in tcp_wfree()
[all …]
/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.h1389 struct hns_roce_link_table tsq; member
Dhns_roce_hw_v2.c1290 link_tbl = &priv->tsq; in hns_roce_config_link_table()
1370 link_tbl = &priv->tsq; in hns_roce_init_link_table()
1482 hns_roce_free_link_table(hr_dev, &priv->tsq); in hns_roce_v2_init()
1492 hns_roce_free_link_table(hr_dev, &priv->tsq); in hns_roce_v2_exit()