Home
last modified time | relevance | path

Searched refs:crystalfreq (Results 1 – 3 of 3) sorted by relevance

/drivers/ssb/
Ddriver_chipcommon_pmu.c75 static const struct pmu0_plltab_entry * pmu0_plltab_find_entry(u32 crystalfreq) in pmu0_plltab_find_entry() argument
82 if (e->freq == crystalfreq) in pmu0_plltab_find_entry()
91 u32 crystalfreq) in ssb_pmu0_pllinit_r0() argument
98 if (crystalfreq) in ssb_pmu0_pllinit_r0()
99 e = pmu0_plltab_find_entry(crystalfreq); in ssb_pmu0_pllinit_r0()
103 crystalfreq = e->freq; in ssb_pmu0_pllinit_r0()
104 cc->pmu.crystalfreq = e->freq; in ssb_pmu0_pllinit_r0()
114 crystalfreq / 1000, crystalfreq % 1000); in ssb_pmu0_pllinit_r0()
145 if (crystalfreq >= SSB_PMU0_PLLCTL0_PDIV_FREQ) in ssb_pmu0_pllinit_r0()
170 pmuctl |= (((crystalfreq + 127) / 128 - 1) << SSB_CHIPCO_PMU_CTL_ILP_DIV_SHIFT) in ssb_pmu0_pllinit_r0()
[all …]
/drivers/rtc/
Drtc-stmp3xxx.c252 u32 crystalfreq = 0; in stmp3xxx_rtc_probe() local
309 crystalfreq = 32000; in stmp3xxx_rtc_probe()
311 crystalfreq = 32768; in stmp3xxx_rtc_probe()
314 &crystalfreq); in stmp3xxx_rtc_probe()
316 switch (crystalfreq) { in stmp3xxx_rtc_probe()
/drivers/net/wireless/broadcom/b43/
Dphy_lp.c505 u32 crystalfreq, tmp, ref; in lpphy_2062_init() local
544 crystalfreq = bus->chipco.pmu.crystalfreq * 1000; in lpphy_2062_init()
547 B43_WARN_ON(crystalfreq == 0); in lpphy_2062_init()
549 if (crystalfreq <= 30000000) { in lpphy_2062_init()
557 tmp = (((800000000 * lpphy->pdiv + crystalfreq) / in lpphy_2062_init()
558 (2 * crystalfreq)) - 8) & 0xFF; in lpphy_2062_init()
561 tmp = (((100 * crystalfreq + 16000000 * lpphy->pdiv) / in lpphy_2062_init()
565 tmp = (((2 * crystalfreq + 1000000 * lpphy->pdiv) / in lpphy_2062_init()
569 ref = (1000 * lpphy->pdiv + 2 * crystalfreq) / (2000 * lpphy->pdiv); in lpphy_2062_init()
1275 u32 crystal_freq = bus->chipco.pmu.crystalfreq * 1000; in lpphy_rev2plus_rc_calib()
[all …]