Home
last modified time | relevance | path

Searched refs:nBuffers (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/drivers/isdn/sc/
Dpacket.c150 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()
[all …]