Home
last modified time | relevance | path

Searched refs:tx_prod (Results 1 – 10 of 10) sorted by relevance

/linux-2.6.39/drivers/scsi/mvsas/
Dmv_sas.c141 mvs_hexdump(sizeof(u32), (u8 *)(&mvi->tx[mvi->tx_prod]), in mvs_hba_memory_dump()
535 slot->tx = mvi->tx_prod; in mvs_task_prep_smp()
536 mvi->tx[mvi->tx_prod] = cpu_to_le32((TXQ_CMD_SMP << TXQ_CMD_SHIFT) | in mvs_task_prep_smp()
611 slot->tx = mvi->tx_prod; in mvs_task_prep_ata()
616 mvi->tx[mvi->tx_prod] = cpu_to_le32(del_q); in mvs_task_prep_ata()
751 slot->tx = mvi->tx_prod; in mvs_task_prep_ssp()
752 mvi->tx[mvi->tx_prod] = cpu_to_le32(TXQ_MODE_I | tag | in mvs_task_prep_ssp()
1008 mvi->tx_prod = (mvi->tx_prod + 1) & (MVS_CHIP_SLOT_SZ - 1); in mvs_task_exec()
1012 MVS_CHIP_DISP->start_delivery(mvi, (mvi->tx_prod - 1) & in mvs_task_exec()
Dmv_sas.h300 u32 tx_prod; member
/linux-2.6.39/drivers/net/
Db44.h355 u32 tx_prod, tx_cons; member
Db44.c73 (((BP)->tx_cons <= (BP)->tx_prod) ? \
74 (BP)->tx_cons + (BP)->tx_pending - (BP)->tx_prod : \
75 (BP)->tx_cons - (BP)->tx_prod - TX_RING_GAP(BP))
990 entry = bp->tx_prod; in b44_start_xmit()
1009 bp->tx_prod = entry; in b44_start_xmit()
1268 bp->tx_prod = bp->tx_cons = 0; in b44_chip_reset()
Dsky2.c1036 sky2->tx_prod = sky2->tx_cons = 0; in tx_init()
1040 le = get_tx_le(sky2, &sky2->tx_prod); in tx_init()
1669 return (sky2->tx_prod - sky2->tx_cons) & (sky2->tx_ring_size - 1); in tx_inuse()
1739 slot = sky2->tx_prod; in sky2_xmit_frame()
1857 sky2->tx_prod = slot; in sky2_xmit_frame()
1862 sky2_put_idx(hw, txqaddr[sky2->port], sky2->tx_prod); in sky2_xmit_frame()
1867 for (i = sky2->tx_prod; i != slot; i = RING_NEXT(i, sky2->tx_ring_size)) { in sky2_xmit_frame()
1990 sky2_tx_complete(sky2, sky2->tx_prod); in sky2_hw_down()
2237 sky2->tx_cons, sky2->tx_prod, in sky2_tx_timeout()
4402 sky2->tx_cons, sky2->tx_prod, in sky2_debug_show()
[all …]
Dbnx2.c260 diff = txr->tx_prod - txr->tx_cons; in bnx2_tx_avail()
5067 txr->tx_prod = 0; in bnx2_init_tx_ring()
5725 txbd = &txr->tx_desc_ring[TX_RING_IDX(txr->tx_prod)]; in bnx2_run_loopback()
5733 txr->tx_prod = NEXT_TX_BD(txr->tx_prod); in bnx2_run_loopback()
5736 REG_WR16(bp, txr->tx_bidx_addr, txr->tx_prod); in bnx2_run_loopback()
5751 if (bnx2_get_hw_tx_cons(tx_napi) != txr->tx_prod) in bnx2_run_loopback()
6388 prod = txr->tx_prod; in bnx2_start_xmit()
6487 txr->tx_prod = prod; in bnx2_start_xmit()
6508 prod = txr->tx_prod; in bnx2_start_xmit()
Dtg3.c4488 ((tnapi->tx_prod - tnapi->tx_cons) & (TG3_TX_RING_SIZE - 1)); in tg3_tx_avail()
5699 entry = tnapi->tx_prod; in tg3_start_xmit()
5795 tnapi->tx_prod = entry; in tg3_start_xmit()
5816 entry = tnapi->tx_prod; in tg3_start_xmit()
5915 entry = tnapi->tx_prod; in tg3_start_xmit_dma_bug()
6088 tnapi->tx_prod = entry; in tg3_start_xmit_dma_bug()
6109 entry = tnapi->tx_prod; in tg3_start_xmit_dma_bug()
6459 tnapi->tx_prod = 0; in tg3_init_rings()
7713 tp->napi[i].tx_prod = 0; in tg3_rings_reset()
7723 tp->napi[0].tx_prod = 0; in tg3_rings_reset()
[all …]
Dsky2.h2222 u16 tx_prod; /* next le to use */ member
Dtg3.h2733 u32 tx_prod ____cacheline_aligned;
Dbnx2.h6665 u16 tx_prod; member