Lines Matching refs:freq
657 static int hpt37x_clock_slot(unsigned int freq, unsigned int base) in hpt37x_clock_slot() argument
659 unsigned int f = (base * freq) / 192; /* Mhz */ in hpt37x_clock_slot()
706 u32 freq; in hpt374_read_freq() local
717 freq = inl(io_base + 0x90); in hpt374_read_freq()
720 freq = inl(io_base + 0x90); in hpt374_read_freq()
721 return freq; in hpt374_read_freq()
828 u32 freq; in hpt37x_init_one() local
945 freq = hpt374_read_freq(dev); in hpt37x_init_one()
946 if (freq == 0) in hpt37x_init_one()
949 freq = inl(iobase + 0x90); in hpt37x_init_one()
951 if ((freq >> 12) != 0xABCDE) { in hpt37x_init_one()
964 freq = total / 128; in hpt37x_init_one()
966 freq &= 0x1FF; in hpt37x_init_one()
973 clock_slot = hpt37x_clock_slot(freq, chip_table->base); in hpt37x_init_one()