Searched refs:tx_head (Results 1 - 25 of 61) sorted by relevance

123

/linux-master/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-tx.c23 u8 tx_head; local
25 tx_head = mcp251xfd_get_tx_head(tx_ring);
27 return &tx_ring->obj[tx_head];
153 "Stopping tx-queue (tx_head=0x%08x, tx_tail=0x%08x, len=%d).\n",
172 u8 tx_head; local
185 tx_head = mcp251xfd_get_tx_head(tx_ring);
191 err = can_put_echo_skb(skb, ndev, tx_head, frame_len);
/linux-master/drivers/infiniband/hw/hfi1/
H A Diowait.h39 * @tx_head: list of prebuilt packets
52 struct list_head tx_head; member in struct:iowait_work
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)) {
291 &wait->tx_head,
304 if (!list_empty(&w->tx_head)) {
305 tx = list_first_entry(&w->tx_head, struct sdma_txreq,
327 if (!list_empty(&w->tx_head)) {
[all...]
H A Diowait.c69 INIT_LIST_HEAD(&wait->wait[i].tx_head);
/linux-master/drivers/net/ethernet/moxa/
H A Dmoxart_ether.c131 priv->tx_head = 0;
282 return CIRC_SPACE(priv->tx_head, priv->tx_tail, TX_DESC_NUM);
288 unsigned int tx_head = priv->tx_head; local
291 while (tx_tail != tx_head) {
335 unsigned int tx_head; local
341 tx_head = priv->tx_head;
342 desc = priv->tx_desc_base + (TX_REG_DESC_SIZE * tx_head);
356 priv->tx_mapping[tx_head]
[all...]
/linux-master/drivers/staging/vt6656/
H A Drxtx.c328 mic_hdr = &tx_buffer->tx_head.tx_rts.tx.mic.hdr;
330 mic_hdr = &tx_buffer->tx_head.tx_cts.tx.mic.hdr;
332 mic_hdr = &tx_buffer->tx_head.tx_ab.tx.mic.hdr;
377 union vnt_tx_head *tx_head = &tx_buffer->tx_head; local
378 struct vnt_rrv_time_rts *buf = &tx_head->tx_rts.rts;
379 union vnt_tx_data_head *head = &tx_head->tx_rts.tx.head;
390 head = &tx_head->tx_rts.tx.mic.head;
400 union vnt_tx_head *tx_head = &tx_buffer->tx_head; local
421 union vnt_tx_head *tx_head = &tx_buffer->tx_head; local
[all...]
H A Drxtx.h162 union vnt_tx_head tx_head; member in struct:vnt_tx_buffer
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_txrx_lib.c379 struct ice_tx_buf *tx_head; local
402 tx_head = &xdp_ring->tx_buf[ntu];
403 tx_buf = tx_head;
442 tx_head->bytecount = xdp_get_buff_len(xdp);
443 tx_head->nr_frags = nr_frags;
446 tx_head->type = ICE_TX_BUF_XDP_XMIT;
447 tx_head->xdpf = xdp->data_hard_start;
465 if (tx_buf == tx_head)
/linux-master/drivers/net/ethernet/amd/
H A Dsun3lance.c142 struct lance_tx_head tx_head[TX_RING_SIZE]; member in struct:lance_memory
169 /* tx_head flags */
181 /* tx_head misc field */
393 MEM->init.tdra = dvma_vtob(MEM->tx_head);
395 (dvma_vtob(MEM->tx_head) >> 16);
399 (dvma_vtob(MEM->tx_head))));
460 MEM->tx_head[i].base = dvma_vtob(MEM->tx_data[i]);
461 MEM->tx_head[i].flag = 0;
462 MEM->tx_head[i].base_hi =
464 MEM->tx_head[
[all...]
H A Dau1000_eth.h78 u32 tx_head; member in struct:au1000_private
H A Datarilance.c157 struct lance_tx_head tx_head[TX_RING_SIZE]; member in struct:lance_memory
269 /* tx_head flags */
281 /* tx_head misc field */
619 MEM->init.tx_ring.adr_lo = offsetof( struct lance_memory, tx_head );
706 MEM->tx_head[i].base = offset;
707 MEM->tx_head[i].flag = TMD1_OWN_HOST;
708 MEM->tx_head[i].base_hi = 0;
709 MEM->tx_head[i].length = 0;
710 MEM->tx_head[i].misc = 0;
757 i, MEM->tx_head[
[all...]
/linux-master/drivers/net/ethernet/qualcomm/
H A Dqca_uart.c43 unsigned char *tx_head; /* pointer to next XMIT byte */ member in struct:qcauart
136 written = serdev_device_write_buf(qca->serdev, qca->tx_head,
140 qca->tx_head += written;
225 qca->tx_head = qca->tx_buffer + written;
/linux-master/drivers/net/ethernet/i825xx/
H A Dether1.c502 priv(dev)->tx_head = NOP_ADDR + NOP_SIZE;
619 if (priv(dev)->tx_head + size > TX_AREA_END) {
620 if (tail > priv(dev)->tx_head)
625 priv(dev)->tx_head = start + size;
627 if (priv(dev)->tx_head < tail && (priv(dev)->tx_head + size) > tail)
629 start = priv(dev)->tx_head;
630 priv(dev)->tx_head += size;
729 tmp = priv(dev)->tx_head;
731 priv(dev)->tx_head
[all...]
H A Dether1.h39 unsigned int tx_head; member in struct:ether1_priv
/linux-master/drivers/net/ethernet/hisilicon/
H A Dhip04_eth.c230 unsigned int tx_head; member in struct:hip04_priv
456 count = tx_count(READ_ONCE(priv->tx_head), tx_tail);
510 unsigned int tx_head = priv->tx_head, count; local
511 struct tx_desc *desc = &priv->tx_desc[tx_head];
515 count = tx_count(tx_head, READ_ONCE(priv->tx_tail));
527 priv->tx_skb[tx_head] = skb;
528 priv->tx_phys[tx_head] = phys;
540 phys = priv->tx_desc_dma + tx_head * sizeof(struct tx_desc);
548 priv->tx_head
[all...]
/linux-master/drivers/net/can/
H A Dti_hecc.c187 u32 tx_head; member in struct:ti_hecc_priv
194 return priv->tx_head & HECC_TX_MB_MASK;
204 return (priv->tx_head >> HECC_TX_PRIO_SHIFT) & MAX_TX_PRIO;
360 priv->tx_head = HECC_TX_MASK;
482 "BUG: TX mbx not ready tx_head=%08X, tx_tail=%08X\n",
483 priv->tx_head, priv->tx_tail);
509 --priv->tx_head;
511 (priv->tx_head & HECC_TX_MASK) == HECC_TX_MASK) {
739 while (priv->tx_tail - priv->tx_head > 0) {
757 if ((priv->tx_head
[all...]
H A Dbxcan.c178 unsigned int tx_head; member in struct:bxcan_priv
263 return priv->tx_head % BXCAN_TX_MB_NUM;
273 return BXCAN_TX_MB_NUM - (priv->tx_head - priv->tx_tail);
288 "Stopping tx-queue (tx_head=0x%08x, tx_tail=0x%08x, len=%d).\n",
289 priv->tx_head, priv->tx_tail,
290 priv->tx_head - priv->tx_tail);
442 while (priv->tx_head - priv->tx_tail > 0) {
691 priv->tx_head = 0;
852 priv->tx_head++;
1003 priv->tx_head
[all...]
H A Dat91_can.c158 unsigned int tx_head; member in struct:at91_priv
272 return (priv->tx_head & get_head_mb_mask(priv)) + get_mb_tx_first(priv);
277 return (priv->tx_head >> get_head_prio_shift(priv)) & 0xf;
359 priv->tx_head = priv->tx_tail = 0;
463 * We use the priv->tx_head as counter for the next transmission
467 * priv->tx_head = (prio << get_next_prio_shift(priv)) |
514 * tx_head buffer prio and mailbox equals 0.
519 priv->tx_head++;
522 (priv->tx_head & get_head_mask(priv)) == 0)
646 * We iterate from priv->tx_tail to priv->tx_head an
[all...]
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_cmd.h96 __le16 tx_head; member in struct:hclgevf_cfg_tx_queue_pointer_cmd
/linux-master/drivers/usb/musb/
H A Dcppi_dma.h19 u32 tx_head; /* "DMA packet" head descriptor */ member in struct:cppi_tx_stateram
/linux-master/drivers/net/ethernet/actions/
H A Dowl-emac.c496 unsigned int tx_head; local
515 tx_head = ring->head;
516 desc = &ring->descs[tx_head];
530 ring->skbs[tx_head] = skb;
531 ring->skbs_dma[tx_head] = dma_addr;
572 unsigned int tx_head; local
586 tx_head = ring->head;
587 desc = &ring->descs[tx_head];
605 ring->skbs[tx_head] = skb;
606 ring->skbs_dma[tx_head]
[all...]
/linux-master/drivers/net/can/usb/etas_es58x/
H A Des58x_core.c279 u32 num_echo_skb = priv->tx_head - priv->tx_tail;
331 rcv_packet_idx, priv->tx_tail, priv->tx_head,
332 priv->tx_head - priv->tx_tail,
340 } else if ((s32)(rcv_packet_idx - priv->tx_head) >= 0) {
352 if (priv->tx_tail == priv->tx_head)
387 unsigned int num_echo_skb = priv->tx_head - priv->tx_tail;
476 priv->tx_head = 0;
505 priv->tx_head--;
507 can_free_echo_skb(netdev, priv->tx_head & fifo_mask,
543 priv->tx_head
[all...]
/linux-master/drivers/net/ethernet/seeq/
H A Dether3.c335 priv(dev)->tx_head = 0;
466 priv(dev)->tx_head, priv(dev)->tx_tail);
474 priv(dev)->tx_head = priv(dev)->tx_tail = 0;
502 next_ptr = (priv(dev)->tx_head + 1) & 15;
511 ptr = 0x600 * priv(dev)->tx_head;
512 priv(dev)->tx_head = next_ptr;
534 next_ptr = (priv(dev)->tx_head + 1) & 15;
H A Dether3.h161 unsigned char tx_head; /* buffer nr to insert next packet */ member in struct:dev_priv
/linux-master/drivers/net/can/mscan/
H A Dmscan.c135 INIT_LIST_HEAD(&priv->tx_head);
271 list_add_tail(&priv->tx_queue[buf_id].list, &priv->tx_head);
442 list_for_each_safe(pos, tmp, &priv->tx_head) {
458 if (list_empty(&priv->tx_head)) {
/linux-master/drivers/net/ethernet/google/gve/
H A Dgve_desc_dqo.h163 __le16 tx_head; member in union:gve_tx_compl_desc::__anon1413

Completed in 412 milliseconds

123