Searched refs:RX_BUFF_SZ (Results 1 – 2 of 2) sorted by relevance
298 #define RX_BUFF_SZ 1536 /* Buffer size for each Rx buffer */ macro593 …if ((mem_len = (NUM_RX_DESC * (sizeof(struct depca_rx_desc) + RX_BUFF_SZ) + NUM_TX_DESC * (sizeof(… in depca_hw_init()811 offset = lp->buffs_offset + i * RX_BUFF_SZ; in depca_init_ring()813 writew(-RX_BUFF_SZ, &lp->rx_ring[i].buf_length); in depca_init_ring()977 len = (lp->rxRingMask - lp->rx_old + 1) * RX_BUFF_SZ; in depca_rx()
756 #define RX_BUFF_SZ 1536 /* Power of 2 for kmalloc and */ macro1252 lp->dma_size += RX_BUFF_SZ * NUM_RX_DESC + DE4X5_ALIGN; in de4x5_hw_init()1270 lp->rx_ring[i].des1 = cpu_to_le32(RX_BUFF_SZ); in de4x5_hw_init()1287 lp->rx_ring[i].des1 = cpu_to_le32(RX_BUFF_SZ); in de4x5_hw_init()1289 cpu_to_le32(dma_rx_bufs+i*RX_BUFF_SZ); in de4x5_hw_init()3669 short tlen = (lp->rxRingSize - lp->rx_old) * RX_BUFF_SZ; in de4x5_alloc_rx_buff()3670 memcpy(skb_put(p,tlen),lp->rx_bufs + lp->rx_old * RX_BUFF_SZ,tlen); in de4x5_alloc_rx_buff()3673 memcpy(skb_put(p,len),lp->rx_bufs + lp->rx_old * RX_BUFF_SZ,len); in de4x5_alloc_rx_buff()