Home
last modified time | relevance | path

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

/linux-2.6.39/arch/sparc/mm/
Dinit_32.c164 unsigned long bootmap_pfn, bytes_avail, size; in bootmem_init() local
167 bytes_avail = 0UL; in bootmem_init()
171 bytes_avail += sp_banks[i].num_bytes; in bootmem_init()
173 if (bytes_avail > cmdline_memory_size) { in bootmem_init()
174 unsigned long slack = bytes_avail - cmdline_memory_size; in bootmem_init()
176 bytes_avail -= slack; in bootmem_init()
/linux-2.6.39/sound/pci/asihpi/
Dasihpi.c734 u32 buffer_size, bytes_avail, samples_played, on_card_bytes; in snd_card_asihpi_timer_function() local
753 &buffer_size, &bytes_avail, in snd_card_asihpi_timer_function()
760 pcm_buf_dma_ofs = ds->pcm_buf_host_rw_ofs - bytes_avail; in snd_card_asihpi_timer_function()
762 if ((bytes_avail == 0) && in snd_card_asihpi_timer_function()
774 pcm_buf_dma_ofs = bytes_avail + ds->pcm_buf_host_rw_ofs; in snd_card_asihpi_timer_function()
798 state, ds->pcm_buf_host_rw_ofs, pcm_buf_dma_ofs, (int)bytes_avail, in snd_card_asihpi_timer_function()
799 (int)on_card_bytes, buffer_size-bytes_avail); in snd_card_asihpi_timer_function()
/linux-2.6.39/drivers/usb/serial/
Dio_edgeport.c569 int bytes_avail; in edge_interrupt_callback() local
600 bytes_avail = data[0] | (data[1] << 8); in edge_interrupt_callback()
601 if (bytes_avail) { in edge_interrupt_callback()
603 edge_serial->rxBytesAvail += bytes_avail; in edge_interrupt_callback()
604 …dbg("%s - bytes_avail=%d, rxBytesAvail=%d, read_in_progress=%d", __func__, bytes_avail, edge_seria… in edge_interrupt_callback()