Searched refs:d_ramsize (Results 1 – 2 of 2) sorted by relevance
542 dev->d_ramsize = CSR_READ_1(dev, B2_E_0) * 4; in yge_setup_rambuffer()543 if (dev->d_ramsize == 0) in yge_setup_rambuffer()552 dev->d_rxqsize = (((dev->d_ramsize * 1024 * 2) / 3) & ~(1024 - 1)); in yge_setup_rambuffer()553 dev->d_txqsize = (dev->d_ramsize * 1024) - dev->d_rxqsize; in yge_setup_rambuffer()
2137 int d_ramsize; /* amount of SRAM on NIC */ member