Home
last modified time | relevance | path

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

/linux-2.6.39/sound/oss/
Daudio.c168 (dmap->raw_buf + dmap->buffsize)) in sync_output()
269 (audio_devs[dev]->dmap_out->raw_buf + audio_devs[dev]->dmap_out->buffsize)) in audio_write()
271 … dma_buf, l, (long) audio_devs[dev]->dmap_out->raw_buf, (int) audio_devs[dev]->dmap_out->buffsize); in audio_write()
585 bsz = dmap->buffsize; in reorganize_buffers()
589 if (bsz == dmap->buffsize) in reorganize_buffers()
620 if (dmap->fragment_size > (dmap->buffsize / 2)) in reorganize_buffers()
621 dmap->fragment_size = (dmap->buffsize / 2); in reorganize_buffers()
636 n = dmap->buffsize / bsz; in reorganize_buffers()
729 if (dmap->fragment_size > dmap->buffsize) in dma_set_fragment()
730 dmap->fragment_size = dmap->buffsize; in dma_set_fragment()
[all …]
Ddmabuf.c81 dmap->buffsize = dma_buffsize; in sound_alloc_dmap()
82 if (dmap->buffsize > dma_pagesize) in sound_alloc_dmap()
83 dmap->buffsize = dma_pagesize; in sound_alloc_dmap()
90 while (start_addr == NULL && dmap->buffsize > PAGE_SIZE) { in sound_alloc_dmap()
91 for (sz = 0, size = PAGE_SIZE; size < dmap->buffsize; sz++, size <<= 1); in sound_alloc_dmap()
92 dmap->buffsize = PAGE_SIZE * (1 << sz); in sound_alloc_dmap()
95 dmap->buffsize /= 2; in sound_alloc_dmap()
103 end_addr = start_addr + dmap->buffsize - 1; in sound_alloc_dmap()
112 …RN_ERR "sound: Got invalid address 0x%lx for %db DMA-buffer\n", (long) start_addr, dmap->buffsize); in sound_alloc_dmap()
134 for (sz = 0, size = PAGE_SIZE; size < dmap->buffsize; sz++, size <<= 1); in sound_free_dmap()
[all …]
Ddev_table.h87 int buffsize; member
/linux-2.6.39/include/net/irda/
Dwrapper.h54 int async_wrap_skb(struct sk_buff *skb, __u8 *tx_buff, int buffsize);
/linux-2.6.39/drivers/net/wan/
Dx25_asy.h31 int buffsize; /* Max buffers sizes */ member
Dx25_asy.c162 sl->buffsize = len; in x25_asy_change_mtu()
474 sl->buffsize = len; in x25_asy_open()
676 if (sl->rcount < sl->buffsize) { in x25_asy_unesc()
/linux-2.6.39/drivers/net/
Dslip.h78 int buffsize; /* Max buffers sizes */ member
Dslip.c177 sl->buffsize = len; in sl_alloc_bufs()
290 sl->buffsize = len;
338 if (count + 80 > sl->buffsize) {
983 if (sl->rcount < sl->buffsize) {
1059 if (sl->rcount < sl->buffsize) {
/linux-2.6.39/net/irda/
Dwrapper.c83 int async_wrap_skb(struct sk_buff *skb, __u8 *tx_buff, int buffsize) in async_wrap_skb() argument
136 if(n >= (buffsize-5)) { in async_wrap_skb()
/linux-2.6.39/drivers/net/hamradio/
Dmkiss.c66 int buffsize; /* Max buffers sizes */ member
341 if (ax->rcount < ax->buffsize) { in kiss_unesc()
426 ax->buffsize = len; in ax_changedmtu()
636 ax->buffsize = len; in ax_open()
D6pack.c105 int buffsize; /* Max buffers sizes */ member
633 sp->buffsize = len; in sixpack_open()