You may need to have a look at the linux-dvb framework. The memory is allocated from systems' DMA area. So you will have to limit the buffer count to let your driver work correctly. Good luck.