Searched refs:khz (Results 1 – 7 of 7) sorted by relevance
32 extern unsigned int sa11x0_freq_to_ppcr(unsigned int khz);33 extern unsigned int sa11x0_validatespeed(unsigned int khz);88 static inline u_int ns_to_cycles(u_int ns, u_int khz) in ns_to_cycles() argument90 return (ns * khz + 999999) / 1000000; in ns_to_cycles()195 static void sa1110_setspeed(unsigned int khz) in sa1110_setspeed() argument202 ppcr = sa11x0_freq_to_ppcr(khz); in sa1110_setspeed()203 sdram_calculate_timing(&sd, khz, sdram); in sa1110_setspeed()211 if (khz < 147500) { in sa1110_setspeed()263 sdram_update_refresh(khz, sdram); in sa1110_setspeed()
65 unsigned int sa11x0_freq_to_ppcr(unsigned int khz) in sa11x0_freq_to_ppcr() argument69 khz /= 100; in sa11x0_freq_to_ppcr()72 if (cclk_frequency_100khz[i] <= khz) in sa11x0_freq_to_ppcr()82 unsigned int sa11x0_validatespeed(unsigned int khz) in sa11x0_validatespeed() argument84 return cclk_frequency_100khz[sa11x0_freq_to_ppcr(khz)] * 100; in sa11x0_validatespeed()
93 extern unsigned int sa11x0_freq_to_ppcr(unsigned int khz);94 extern unsigned int sa11x0_validatespeed(unsigned int khz);223 static void sa1100_setspeed(unsigned int khz) in sa1100_setspeed() argument225 PPCR = sa11x0_freq_to_ppcr(khz); in sa1100_setspeed()
119 int khz; /* timer clock */ member
426 (1000 << TIMER_SHIFT)/(zatm_dev->khz+1); in zatm_clock_sync()472 zatm_dev->factor = (1000 << TIMER_SHIFT)/(zatm_dev->khz+1); in zatm_clock_init()1450 zatm_dev->khz = t2-2*t1+t0; in zatm_init()1454 zin(VER) & uPD98401_MINOR,zatm_dev->khz/1000,zatm_dev->khz % 1000); in zatm_init()
44 8khz to 48khz, with both read()/write(), and mmap().
38 8khz to 48khz, and mmap()ing for playback behaves. Capture/recording