Home
last modified time | relevance | path

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

/linux-6.6.21/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 …]
/linux-6.6.21/drivers/rtc/
Drtc-stmp3xxx.c251 u32 crystalfreq = 0; in stmp3xxx_rtc_probe() local
308 crystalfreq = 32000; in stmp3xxx_rtc_probe()
310 crystalfreq = 32768; in stmp3xxx_rtc_probe()
313 &crystalfreq); in stmp3xxx_rtc_probe()
315 switch (crystalfreq) { in stmp3xxx_rtc_probe()
/linux-6.6.21/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 …]
/linux-6.6.21/include/linux/ssb/
Dssb_driver_chipcommon.h584 u32 crystalfreq; /* The active crystal frequency (in kHz) */ member
/linux-6.6.21/include/linux/bcma/
Dbcma_driver_chipcommon.h582 u32 crystalfreq; /* The active crystal frequency (in kHz) */ member