Home | History | Annotate | Download | only in gfx

Lines Matching defs:frequency

87     long frequency;             /* 16.16 fixed point frequency */
248 * This routine sets the clock frequency, specified as a 16.16 fixed point
249 * value (0x00318000 = 49.5 MHz). It will set the closest frequency found
255 sc1200_set_clock_frequency(unsigned long frequency)
258 gfx_set_clock_frequency(unsigned long frequency)
265 /* FIND THE REGISTER VALUES FOR THE DESIRED FREQUENCY */
266 /* Search the table for the closest frequency (16.16 format). */
269 min = (long) gfx_sc1200_clock_table[0].frequency - frequency;
273 diff = (long) gfx_sc1200_clock_table[index].frequency - frequency;
1818 * This routine returns the current clock frequency in 16.16 format.
1838 return (gfx_sc1200_clock_table[index].frequency);