Lines Matching refs:nBuffers
150 unsigned int nBuffers, i, cBase; in setup_buffers() local
164 nBuffers = ((adapter[card]->ramsize - BUFFER_BASE) / buffer_size) / 2; in setup_buffers()
165 nBuffers = nBuffers > BUFFERS_MAX ? BUFFERS_MAX : nBuffers; in setup_buffers()
167 nBuffers, buffer_size); in setup_buffers()
168 if(nBuffers < 2) { in setup_buffers()
172 cBase = (nBuffers * buffer_size) * (c - 1); in setup_buffers()
175 adapter[card]->channel[c-1].num_sendbufs = nBuffers / 2; in setup_buffers()
176 adapter[card]->channel[c-1].free_sendbufs = nBuffers / 2; in setup_buffers()
188 pr_debug("%s: adding %d RecvBuffers:\n", adapter[card]->devicename, nBuffers /2); in setup_buffers()
189 for (i = 0 ; i < nBuffers / 2; i++) { in setup_buffers()
192 (nBuffers / 2) * buffer_size) + (buffer_size * i)); in setup_buffers()