Searched refs:frag_number (Results 1 – 1 of 1) sorted by relevance
276 unsigned int frag_number; member734 chan->frag_number = 0; in via_chan_init_defaults()807 (sizeof (struct via_sgd_table) * chan->frag_number), in via_chan_buffer_init()816 (sizeof (struct via_sgd_table) * chan->frag_number)); in via_chan_buffer_init()820 chan->page_number = (chan->frag_number * chan->frag_size) / PAGE_SIZE + in via_chan_buffer_init()821 (((chan->frag_number * chan->frag_size) % PAGE_SIZE) ? 1 : 0); in via_chan_buffer_init()844 for (i = 0; i < chan->frag_number; i++) { in via_chan_buffer_init()860 chan->sgtable[chan->frag_number - 1].count = cpu_to_le32 (chan->frag_size | VIA_EOL); in via_chan_buffer_init()875 outl (0xFFFFF | (0x3 << 20) | (chan->frag_number << 24), chan->iobase + VIA_PCM_STOPRATE); in via_chan_buffer_init()951 (sizeof (struct via_sgd_table) * chan->frag_number), in via_chan_buffer_free()[all …]