/kernel/linux/linux-5.10/drivers/net/ethernet/moxa/ |
H A D | moxart_ether.c | 134 priv->tx_head = 0; in moxart_mac_setup_desc_ring() 288 return CIRC_SPACE(priv->tx_head, priv->tx_tail, TX_DESC_NUM); in moxart_tx_queue_space() 294 unsigned int tx_head = priv->tx_head; in moxart_tx_finished() local 297 while (tx_tail != tx_head) { in moxart_tx_finished() 341 unsigned int tx_head; in moxart_mac_start_xmit() local 347 tx_head = priv->tx_head; in moxart_mac_start_xmit() 348 desc = priv->tx_desc_base + (TX_REG_DESC_SIZE * tx_head); in moxart_mac_start_xmit() 362 priv->tx_mapping[tx_head] in moxart_mac_start_xmit() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/moxa/ |
H A D | moxart_ether.c | 131 priv->tx_head = 0; in moxart_mac_setup_desc_ring() 282 return CIRC_SPACE(priv->tx_head, priv->tx_tail, TX_DESC_NUM); in moxart_tx_queue_space() 288 unsigned int tx_head = priv->tx_head; in moxart_tx_finished() local 291 while (tx_tail != tx_head) { in moxart_tx_finished() 335 unsigned int tx_head; in moxart_mac_start_xmit() local 341 tx_head = priv->tx_head; in moxart_mac_start_xmit() 342 desc = priv->tx_desc_base + (TX_REG_DESC_SIZE * tx_head); in moxart_mac_start_xmit() 356 priv->tx_mapping[tx_head] in moxart_mac_start_xmit() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | iowait.h | 80 * @tx_head: list of prebuilt packets 93 struct list_head tx_head; member 99 * @tx_head: overflow list of sdma_txreq's 109 * @count: total number of descriptors in tx_head'ed list 111 * @tx_count: number of tx entry's in tx_head'ed list 330 if (!list_empty(&wait->tx_head)) { in iowait_get_txhead() 332 &wait->tx_head, in iowait_get_txhead() 345 if (!list_empty(&w->tx_head)) { in iowait_get_desc() 346 tx = list_first_entry(&w->tx_head, struct sdma_txreq, in iowait_get_desc() 368 if (!list_empty(&w->tx_head)) { in iowait_update_priority() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | iowait.h | 39 * @tx_head: list of prebuilt packets 52 struct list_head tx_head; member 58 * @tx_head: overflow list of sdma_txreq's 68 * @count: total number of descriptors in tx_head'ed list 70 * @tx_count: number of tx entry's in tx_head'ed list 289 if (!list_empty(&wait->tx_head)) { in iowait_get_txhead() 291 &wait->tx_head, in iowait_get_txhead() 304 if (!list_empty(&w->tx_head)) { in iowait_get_desc() 305 tx = list_first_entry(&w->tx_head, struct sdma_txreq, in iowait_get_desc() 327 if (!list_empty(&w->tx_head)) { in iowait_update_priority() [all...] |
/kernel/linux/linux-6.6/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-tx.c | 23 u8 tx_head; in mcp251xfd_get_tx_obj_next() local 25 tx_head = mcp251xfd_get_tx_head(tx_ring); in mcp251xfd_get_tx_obj_next() 27 return &tx_ring->obj[tx_head]; in mcp251xfd_get_tx_obj_next() 153 "Stopping tx-queue (tx_head=0x%08x, tx_tail=0x%08x, len=%d).\n", in mcp251xfd_tx_busy() 172 u8 tx_head; in mcp251xfd_start_xmit() local 185 tx_head = mcp251xfd_get_tx_head(tx_ring); in mcp251xfd_start_xmit() 191 err = can_put_echo_skb(skb, ndev, tx_head, frame_len); in mcp251xfd_start_xmit()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_txrx_lib.c | 336 struct ice_tx_buf *tx_head; in __ice_xmit_xdp_ring() local 359 tx_head = &xdp_ring->tx_buf[ntu]; in __ice_xmit_xdp_ring() 360 tx_buf = tx_head; in __ice_xmit_xdp_ring() 399 tx_head->bytecount = xdp_get_buff_len(xdp); in __ice_xmit_xdp_ring() 400 tx_head->nr_frags = nr_frags; in __ice_xmit_xdp_ring() 403 tx_head->type = ICE_TX_BUF_XDP_XMIT; in __ice_xmit_xdp_ring() 404 tx_head->xdpf = xdp->data_hard_start; in __ice_xmit_xdp_ring() 422 if (tx_buf == tx_head) in __ice_xmit_xdp_ring()
|
/kernel/linux/linux-5.10/drivers/staging/vt6656/ |
H A D | rxtx.c | 332 mic_hdr = &tx_buffer->tx_head.tx_rts.tx.mic.hdr; in vnt_fill_txkey() 334 mic_hdr = &tx_buffer->tx_head.tx_cts.tx.mic.hdr; in vnt_fill_txkey() 336 mic_hdr = &tx_buffer->tx_head.tx_ab.tx.mic.hdr; in vnt_fill_txkey() 383 union vnt_tx_head *tx_head = &tx_buffer->tx_head; in vnt_rxtx_rts() local 384 struct vnt_rrv_time_rts *buf = &tx_head->tx_rts.rts; in vnt_rxtx_rts() 385 union vnt_tx_data_head *head = &tx_head->tx_rts.tx.head; in vnt_rxtx_rts() 396 head = &tx_head->tx_rts.tx.mic.head; in vnt_rxtx_rts() 406 union vnt_tx_head *tx_head = &tx_buffer->tx_head; in vnt_rxtx_cts() local 427 union vnt_tx_head *tx_head = &tx_buffer->tx_head; vnt_rxtx_ab() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/vt6656/ |
H A D | rxtx.c | 328 mic_hdr = &tx_buffer->tx_head.tx_rts.tx.mic.hdr; in vnt_fill_txkey() 330 mic_hdr = &tx_buffer->tx_head.tx_cts.tx.mic.hdr; in vnt_fill_txkey() 332 mic_hdr = &tx_buffer->tx_head.tx_ab.tx.mic.hdr; in vnt_fill_txkey() 377 union vnt_tx_head *tx_head = &tx_buffer->tx_head; in vnt_rxtx_rts() local 378 struct vnt_rrv_time_rts *buf = &tx_head->tx_rts.rts; in vnt_rxtx_rts() 379 union vnt_tx_data_head *head = &tx_head->tx_rts.tx.head; in vnt_rxtx_rts() 390 head = &tx_head->tx_rts.tx.mic.head; in vnt_rxtx_rts() 400 union vnt_tx_head *tx_head = &tx_buffer->tx_head; in vnt_rxtx_cts() local 421 union vnt_tx_head *tx_head = &tx_buffer->tx_head; vnt_rxtx_ab() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/ |
H A D | sun3lance.c | 142 struct lance_tx_head tx_head[TX_RING_SIZE]; member 169 /* tx_head flags */ 181 /* tx_head misc field */ 399 MEM->init.tdra = dvma_vtob(MEM->tx_head); in lance_probe() 401 (dvma_vtob(MEM->tx_head) >> 16); in lance_probe() 405 (dvma_vtob(MEM->tx_head)))); in lance_probe() 466 MEM->tx_head[i].base = dvma_vtob(MEM->tx_data[i]); in lance_init_ring() 467 MEM->tx_head[i].flag = 0; in lance_init_ring() 468 MEM->tx_head[i].base_hi = in lance_init_ring() 470 MEM->tx_head[ in lance_init_ring() [all...] |
H A D | atarilance.c | 157 struct lance_tx_head tx_head[TX_RING_SIZE]; member 269 /* tx_head flags */ 281 /* tx_head misc field */ 620 MEM->init.tx_ring.adr_lo = offsetof( struct lance_memory, tx_head ); in lance_probe1() 707 MEM->tx_head[i].base = offset; in lance_init_ring() 708 MEM->tx_head[i].flag = TMD1_OWN_HOST; in lance_init_ring() 709 MEM->tx_head[i].base_hi = 0; in lance_init_ring() 710 MEM->tx_head[i].length = 0; in lance_init_ring() 711 MEM->tx_head[i].misc = 0; in lance_init_ring() 758 i, MEM->tx_head[ in lance_tx_timeout() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/ |
H A D | sun3lance.c | 142 struct lance_tx_head tx_head[TX_RING_SIZE]; member 169 /* tx_head flags */ 181 /* tx_head misc field */ 393 MEM->init.tdra = dvma_vtob(MEM->tx_head); in lance_probe() 395 (dvma_vtob(MEM->tx_head) >> 16); in lance_probe() 399 (dvma_vtob(MEM->tx_head)))); in lance_probe() 460 MEM->tx_head[i].base = dvma_vtob(MEM->tx_data[i]); in lance_init_ring() 461 MEM->tx_head[i].flag = 0; in lance_init_ring() 462 MEM->tx_head[i].base_hi = in lance_init_ring() 464 MEM->tx_head[ in lance_init_ring() [all...] |
H A D | atarilance.c | 157 struct lance_tx_head tx_head[TX_RING_SIZE]; member 269 /* tx_head flags */ 281 /* tx_head misc field */ 619 MEM->init.tx_ring.adr_lo = offsetof( struct lance_memory, tx_head ); in lance_probe1() 706 MEM->tx_head[i].base = offset; in lance_init_ring() 707 MEM->tx_head[i].flag = TMD1_OWN_HOST; in lance_init_ring() 708 MEM->tx_head[i].base_hi = 0; in lance_init_ring() 709 MEM->tx_head[i].length = 0; in lance_init_ring() 710 MEM->tx_head[i].misc = 0; in lance_init_ring() 757 i, MEM->tx_head[ in lance_tx_timeout() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/i825xx/ |
H A D | ether1.c | 502 priv(dev)->tx_head = NOP_ADDR + NOP_SIZE; in ether1_init_for_open() 619 if (priv(dev)->tx_head + size > TX_AREA_END) { in ether1_txalloc() 620 if (tail > priv(dev)->tx_head) in ether1_txalloc() 625 priv(dev)->tx_head = start + size; in ether1_txalloc() 627 if (priv(dev)->tx_head < tail && (priv(dev)->tx_head + size) > tail) in ether1_txalloc() 629 start = priv(dev)->tx_head; in ether1_txalloc() 630 priv(dev)->tx_head += size; in ether1_txalloc() 729 tmp = priv(dev)->tx_head; in ether1_sendpacket() 731 priv(dev)->tx_head in ether1_sendpacket() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/i825xx/ |
H A D | ether1.c | 502 priv(dev)->tx_head = NOP_ADDR + NOP_SIZE; in ether1_init_for_open() 619 if (priv(dev)->tx_head + size > TX_AREA_END) { in ether1_txalloc() 620 if (tail > priv(dev)->tx_head) in ether1_txalloc() 625 priv(dev)->tx_head = start + size; in ether1_txalloc() 627 if (priv(dev)->tx_head < tail && (priv(dev)->tx_head + size) > tail) in ether1_txalloc() 629 start = priv(dev)->tx_head; in ether1_txalloc() 630 priv(dev)->tx_head += size; in ether1_txalloc() 729 tmp = priv(dev)->tx_head; in ether1_sendpacket() 731 priv(dev)->tx_head in ether1_sendpacket() [all...] |
/kernel/linux/linux-5.10/drivers/net/can/ |
H A D | ti_hecc.c | 197 u32 tx_head; member 204 return priv->tx_head & HECC_TX_MB_MASK; in get_tx_head_mb() 214 return (priv->tx_head >> HECC_TX_PRIO_SHIFT) & MAX_TX_PRIO; in get_tx_head_prio() 370 priv->tx_head = HECC_TX_MASK; in ti_hecc_start() 492 "BUG: TX mbx not ready tx_head=%08X, tx_tail=%08X\n", in ti_hecc_xmit() 493 priv->tx_head, priv->tx_tail); in ti_hecc_xmit() 519 --priv->tx_head; in ti_hecc_xmit() 521 (priv->tx_head & HECC_TX_MASK) == HECC_TX_MASK) { in ti_hecc_xmit() 748 while (priv->tx_tail - priv->tx_head > 0) { in ti_hecc_interrupt() 767 if ((priv->tx_head in ti_hecc_interrupt() [all...] |
/kernel/linux/linux-6.6/drivers/net/can/ |
H A D | ti_hecc.c | 187 u32 tx_head; member 194 return priv->tx_head & HECC_TX_MB_MASK; in get_tx_head_mb() 204 return (priv->tx_head >> HECC_TX_PRIO_SHIFT) & MAX_TX_PRIO; in get_tx_head_prio() 360 priv->tx_head = HECC_TX_MASK; in ti_hecc_start() 482 "BUG: TX mbx not ready tx_head=%08X, tx_tail=%08X\n", in ti_hecc_xmit() 483 priv->tx_head, priv->tx_tail); in ti_hecc_xmit() 509 --priv->tx_head; in ti_hecc_xmit() 511 (priv->tx_head & HECC_TX_MASK) == HECC_TX_MASK) { in ti_hecc_xmit() 739 while (priv->tx_tail - priv->tx_head > 0) { in ti_hecc_interrupt() 757 if ((priv->tx_head in ti_hecc_interrupt() [all...] |
H A D | bxcan.c | 178 unsigned int tx_head; member 263 return priv->tx_head % BXCAN_TX_MB_NUM; in bxcan_get_tx_head() 273 return BXCAN_TX_MB_NUM - (priv->tx_head - priv->tx_tail); in bxcan_get_tx_free() 288 "Stopping tx-queue (tx_head=0x%08x, tx_tail=0x%08x, len=%d).\n", in bxcan_tx_busy() 289 priv->tx_head, priv->tx_tail, in bxcan_tx_busy() 290 priv->tx_head - priv->tx_tail); in bxcan_tx_busy() 442 while (priv->tx_head - priv->tx_tail > 0) { in bxcan_tx_isr() 691 priv->tx_head = 0; in bxcan_chip_start() 852 priv->tx_head++; in bxcan_start_xmit() 1003 priv->tx_head in bxcan_probe() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/qualcomm/ |
H A D | qca_uart.c | 56 unsigned char *tx_head; /* pointer to next XMIT byte */ member 150 written = serdev_device_write_buf(qca->serdev, qca->tx_head, in qcauart_transmit() 154 qca->tx_head += written; in qcauart_transmit() 239 qca->tx_head = qca->tx_buffer + written; in qcauart_netdev_xmit()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/ |
H A D | hip04_eth.c | 230 unsigned int tx_head; member 456 count = tx_count(READ_ONCE(priv->tx_head), tx_tail); in hip04_tx_reclaim() 510 unsigned int tx_head = priv->tx_head, count; in hip04_mac_start_xmit() local 511 struct tx_desc *desc = &priv->tx_desc[tx_head]; in hip04_mac_start_xmit() 515 count = tx_count(tx_head, READ_ONCE(priv->tx_tail)); in hip04_mac_start_xmit() 527 priv->tx_skb[tx_head] = skb; in hip04_mac_start_xmit() 528 priv->tx_phys[tx_head] = phys; in hip04_mac_start_xmit() 540 phys = priv->tx_desc_dma + tx_head * sizeof(struct tx_desc); in hip04_mac_start_xmit() 548 priv->tx_head in hip04_mac_start_xmit() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/ |
H A D | hip04_eth.c | 230 unsigned int tx_head; member 456 count = tx_count(READ_ONCE(priv->tx_head), tx_tail); in hip04_tx_reclaim() 510 unsigned int tx_head = priv->tx_head, count; in hip04_mac_start_xmit() local 511 struct tx_desc *desc = &priv->tx_desc[tx_head]; in hip04_mac_start_xmit() 515 count = tx_count(tx_head, READ_ONCE(priv->tx_tail)); in hip04_mac_start_xmit() 527 priv->tx_skb[tx_head] = skb; in hip04_mac_start_xmit() 528 priv->tx_phys[tx_head] = phys; in hip04_mac_start_xmit() 540 phys = priv->tx_desc_dma + tx_head * sizeof(struct tx_desc); in hip04_mac_start_xmit() 548 priv->tx_head in hip04_mac_start_xmit() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/actions/ |
H A D | owl-emac.c | 496 unsigned int tx_head; in owl_emac_setup_frame_xmit() local 515 tx_head = ring->head; in owl_emac_setup_frame_xmit() 516 desc = &ring->descs[tx_head]; in owl_emac_setup_frame_xmit() 530 ring->skbs[tx_head] = skb; in owl_emac_setup_frame_xmit() 531 ring->skbs_dma[tx_head] = dma_addr; in owl_emac_setup_frame_xmit() 572 unsigned int tx_head; in owl_emac_ndo_start_xmit() local 586 tx_head = ring->head; in owl_emac_ndo_start_xmit() 587 desc = &ring->descs[tx_head]; in owl_emac_ndo_start_xmit() 605 ring->skbs[tx_head] = skb; in owl_emac_ndo_start_xmit() 606 ring->skbs_dma[tx_head] in owl_emac_ndo_start_xmit() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/ |
H A D | de2104x.c | 96 (((CP)->tx_tail <= (CP)->tx_head) ? \ 97 (CP)->tx_tail + (DE_TX_RING_SIZE - 1) - (CP)->tx_head : \ 98 (CP)->tx_tail - (CP)->tx_head - 1) 292 unsigned tx_head; member 506 de->rx_tail, de->tx_head, de->tx_tail); in de_interrupt() 541 unsigned tx_head = de->tx_head; in de_tx() local 544 while (tx_tail != tx_head) { in de_tx() 622 entry = de->tx_head; in de_start_xmit() 644 de->tx_head in de_start_xmit() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/dec/tulip/ |
H A D | de2104x.c | 96 (((CP)->tx_tail <= (CP)->tx_head) ? \ 97 (CP)->tx_tail + (DE_TX_RING_SIZE - 1) - (CP)->tx_head : \ 98 (CP)->tx_tail - (CP)->tx_head - 1) 292 unsigned tx_head; member 506 de->rx_tail, de->tx_head, de->tx_tail); in de_interrupt() 541 unsigned tx_head = de->tx_head; in de_tx() local 544 while (tx_tail != tx_head) { in de_tx() 622 entry = de->tx_head; in de_start_xmit() 644 de->tx_head in de_start_xmit() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/seeq/ |
H A D | ether3.c | 335 priv(dev)->tx_head = 0; in ether3_init_for_open() 466 priv(dev)->tx_head, priv(dev)->tx_tail); in ether3_timeout() 474 priv(dev)->tx_head = priv(dev)->tx_tail = 0; in ether3_timeout() 502 next_ptr = (priv(dev)->tx_head + 1) & 15; in ether3_sendpacket() 511 ptr = 0x600 * priv(dev)->tx_head; in ether3_sendpacket() 512 priv(dev)->tx_head = next_ptr; in ether3_sendpacket() 534 next_ptr = (priv(dev)->tx_head + 1) & 15; in ether3_sendpacket()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/seeq/ |
H A D | ether3.c | 335 priv(dev)->tx_head = 0; in ether3_init_for_open() 466 priv(dev)->tx_head, priv(dev)->tx_tail); in ether3_timeout() 474 priv(dev)->tx_head = priv(dev)->tx_tail = 0; in ether3_timeout() 502 next_ptr = (priv(dev)->tx_head + 1) & 15; in ether3_sendpacket() 511 ptr = 0x600 * priv(dev)->tx_head; in ether3_sendpacket() 512 priv(dev)->tx_head = next_ptr; in ether3_sendpacket() 534 next_ptr = (priv(dev)->tx_head + 1) & 15; in ether3_sendpacket()
|