Lines Matching refs:ENET_TX_DESC
30 #define ENET_TX_DESC 16 macro
399 unsigned int skblen[ENET_TX_DESC];
537 tbuff += sizeof(struct txrx_desc_t) * ENET_TX_DESC; in __lpc_txrx_desc_setup()
540 tbuff += sizeof(u32) * ENET_TX_DESC; in __lpc_txrx_desc_setup()
544 tbuff += ENET_MAXF_SIZE * ENET_TX_DESC; in __lpc_txrx_desc_setup()
559 for (i = 0; i < ENET_TX_DESC; i++) { in __lpc_txrx_desc_setup()
584 writel((ENET_TX_DESC - 1), in __lpc_txrx_desc_setup()
855 if (pldat->last_tx_idx >= ENET_TX_DESC) in __lpc_handle_xmit()
889 if (pldat->num_used_tx_buffs <= ENET_TX_DESC/2) { in __lpc_handle_xmit()
1044 if (pldat->num_used_tx_buffs >= (ENET_TX_DESC - 1)) { in lpc_eth_hard_start_xmit()
1073 if (txidx >= ENET_TX_DESC) in lpc_eth_hard_start_xmit()
1078 if (pldat->num_used_tx_buffs >= (ENET_TX_DESC - 1)) in lpc_eth_hard_start_xmit()
1301 pldat->dma_buff_size = (ENET_TX_DESC + ENET_RX_DESC) * (ENET_MAXF_SIZE + in lpc_eth_drv_probe()