Searched refs:buffsize (Results 1 – 13 of 13) sorted by relevance
/linux-4.4.14/sound/oss/ |
D | dmabuf.c | 82 dmap->buffsize = dma_buffsize; in sound_alloc_dmap() 83 if (dmap->buffsize > dma_pagesize) in sound_alloc_dmap() 84 dmap->buffsize = dma_pagesize; in sound_alloc_dmap() 91 while (start_addr == NULL && dmap->buffsize > PAGE_SIZE) { in sound_alloc_dmap() 92 for (sz = 0, size = PAGE_SIZE; size < dmap->buffsize; sz++, size <<= 1); in sound_alloc_dmap() 93 dmap->buffsize = PAGE_SIZE * (1 << sz); in sound_alloc_dmap() 96 dmap->buffsize /= 2; in sound_alloc_dmap() 104 end_addr = start_addr + dmap->buffsize - 1; in sound_alloc_dmap() 113 …RN_ERR "sound: Got invalid address 0x%lx for %db DMA-buffer\n", (long) start_addr, dmap->buffsize); in sound_alloc_dmap() 118 dmap->raw_buf_phys = dma_map_single(NULL, start_addr, dmap->buffsize, DMA_BIDIRECTIONAL); in sound_alloc_dmap() [all …]
|
D | audio.c | 168 (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 …]
|
D | dev_table.h | 87 int buffsize; member
|
/linux-4.4.14/drivers/video/fbdev/ |
D | clps711x-fb.c | 41 resource_size_t buffsize; member 112 if (size > cfb->buffsize) in clps711x_fb_set_par() 264 cfb->buffsize = resource_size(res); in clps711x_fb_probe() 267 info->apertures->ranges[0].size = cfb->buffsize; in clps711x_fb_probe() 314 memset_io(info->screen_base, 0, cfb->buffsize); in clps711x_fb_probe()
|
/linux-4.4.14/include/net/irda/ |
D | wrapper.h | 54 int async_wrap_skb(struct sk_buff *skb, __u8 *tx_buff, int buffsize);
|
/linux-4.4.14/drivers/net/wan/ |
D | x25_asy.h | 31 int buffsize; /* Max buffers sizes */ member
|
D | x25_asy.c | 164 sl->buffsize = len; in x25_asy_change_mtu() 475 sl->buffsize = len; in x25_asy_open() 673 if (sl->rcount < sl->buffsize) { in x25_asy_unesc()
|
/linux-4.4.14/drivers/net/slip/ |
D | slip.h | 70 int buffsize; /* Max buffers sizes */ member
|
D | slip.c | 177 sl->buffsize = len; in sl_alloc_bufs() 289 sl->buffsize = len; 337 if (count + 80 > sl->buffsize) { 981 if (sl->rcount < sl->buffsize) { 1057 if (sl->rcount < sl->buffsize) {
|
/linux-4.4.14/net/irda/ |
D | wrapper.c | 83 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-4.4.14/drivers/net/hamradio/ |
D | mkiss.c | 64 int buffsize; /* Max buffers sizes */ member 339 if (ax->rcount < ax->buffsize) { in kiss_unesc() 424 ax->buffsize = len; in ax_changedmtu() 609 ax->buffsize = len; in ax_open()
|
D | 6pack.c | 104 int buffsize; /* Max buffers sizes */ member 610 sp->buffsize = len; in sixpack_open()
|
/linux-4.4.14/drivers/net/ethernet/agere/ |
D | et131x.c | 280 dma_addr_t buffsize; member 741 if (rx_ring->fbr[1]->buffsize == 4096) in et131x_rx_dma_enable() 743 else if (rx_ring->fbr[1]->buffsize == 8192) in et131x_rx_dma_enable() 745 else if (rx_ring->fbr[1]->buffsize == 16384) in et131x_rx_dma_enable() 749 if (rx_ring->fbr[0]->buffsize == 256) in et131x_rx_dma_enable() 751 else if (rx_ring->fbr[0]->buffsize == 512) in et131x_rx_dma_enable() 753 else if (rx_ring->fbr[0]->buffsize == 1024) in et131x_rx_dma_enable() 1897 rx_ring->fbr[0]->buffsize = 256; in et131x_rx_dma_memory_alloc() 1899 rx_ring->fbr[1]->buffsize = 2048; in et131x_rx_dma_memory_alloc() 1902 rx_ring->fbr[0]->buffsize = 512; in et131x_rx_dma_memory_alloc() [all …]
|