Lines Matching refs:TX_FD_NUM
349 #define TX_FD_NUM 128 macro
434 } tx_skbs[TX_FD_NUM], rx_skbs[RX_BUF_NUM];
877 sizeof(struct TxFD) * TX_FD_NUM > in tc35815_init_queues()
923 fd_addr += sizeof(struct TxFD) * TX_FD_NUM; in tc35815_init_queues()
924 for (i = 0; i < TX_FD_NUM; i++) { in tc35815_init_queues()
929 lp->tfd_base[TX_FD_NUM-1].fd.FDNext = cpu_to_le32(fd_virt_to_bus(lp, &lp->tfd_base[0])); in tc35815_init_queues()
979 for (i = 0; i < TX_FD_NUM; i++) { in tc35815_clear_queues()
1013 for (i = 0; i < TX_FD_NUM; i++) { in tc35815_free_queues()
1123 for (i = 0; i < TX_FD_NUM; i++) in panic_queues()
1144 return (lp->tfd_start + 1) % TX_FD_NUM == lp->tfd_end; in tc35815_tx_full()
1284 if ((lp->tfd_start + TX_FD_NUM - lp->tfd_end) % TX_FD_NUM > in tc35815_send_packet()
1285 TX_FD_NUM / 2) in tc35815_send_packet()
1329 lp->tfd_start = (lp->tfd_start + 1) % TX_FD_NUM; in tc35815_send_packet()
1771 lp->tfd_end = (lp->tfd_end + 1) % TX_FD_NUM; in tc35815_txdone()
1784 int head = (lp->tfd_start + TX_FD_NUM - 1) % TX_FD_NUM; in tc35815_txdone()
1786 int qlen = (lp->tfd_start + TX_FD_NUM in tc35815_txdone()
1787 - lp->tfd_end) % TX_FD_NUM; in tc35815_txdone()