Lines Matching refs:hwrate
194 unsigned int hwctrl, hwrate, hwrate_ext, rate_int, rate_ext;
201 hwrate = (((VIDC_SOUND_CLOCK * 2) / rate) + 1) >> 1;
202 if (hwrate < 3)
203 hwrate = 3;
204 if (hwrate > 255)
205 hwrate = 255;
214 rate_int = VIDC_SOUND_CLOCK / hwrate;
222 hwrate=hwrate_ext;
228 /*printk("VIDC: internal %d %d %d\n", rate, rate_int, hwrate);*/
235 vidc_writel(0xb0000000 | (hwrate - 2));
238 newsize = (10000 / hwrate) & ~3;