Lines Matching +full:low +full:- +full:spur +full:- +full:mode +full:- +full:enable

7  * Copyright 2011, 2012, Hauke Mehrtens <hauke@hauke-m.de>
82 struct bcma_bus *bus = cc->core->bus; in bcma_pmu2_pll_init0()
86 switch (bus->chipinfo.id) { in bcma_pmu2_pll_init0()
125 switch (bus->chipinfo.id) { in bcma_pmu2_pll_init0()
132 bcma_wait_value(cc->core, BCMA_CLKCTLST, in bcma_pmu2_pll_init0()
142 if (cc->pmu.rev >= 2) in bcma_pmu2_pll_init0()
150 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_pll_init()
153 switch (bus->chipinfo.id) { in bcma_pmu_pll_init()
164 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_resources_init()
167 switch (bus->chipinfo.id) { in bcma_pmu_resources_init()
193 bus->chipinfo.id); in bcma_pmu_resources_init()
210 void bcma_chipco_bcm4331_ext_pa_lines_ctl(struct bcma_drv_cc *cc, bool enable) in bcma_chipco_bcm4331_ext_pa_lines_ctl() argument
212 struct bcma_bus *bus = cc->core->bus; in bcma_chipco_bcm4331_ext_pa_lines_ctl()
216 if (enable) { in bcma_chipco_bcm4331_ext_pa_lines_ctl()
218 if (bus->chipinfo.pkg == 9 || bus->chipinfo.pkg == 11) in bcma_chipco_bcm4331_ext_pa_lines_ctl()
220 else if (bus->chipinfo.rev > 0) in bcma_chipco_bcm4331_ext_pa_lines_ctl()
232 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_workarounds()
234 switch (bus->chipinfo.id) { in bcma_pmu_workarounds()
237 * enable 12 mA drive strength for 4313 and set chipControl in bcma_pmu_workarounds()
252 * enable 12 mA drive strength for 43224 and set chipControl in bcma_pmu_workarounds()
255 if (bus->chipinfo.rev == 0) { in bcma_pmu_workarounds()
270 bus->chipinfo.id); in bcma_pmu_workarounds()
276 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_early_init()
279 if (cc->core->id.rev >= 35 && in bcma_pmu_early_init()
280 cc->capabilities_ext & BCMA_CC_CAP_EXT_AOB_PRESENT) { in bcma_pmu_early_init()
281 cc->pmu.core = bcma_find_core(bus, BCMA_CORE_PMU); in bcma_pmu_early_init()
282 if (!cc->pmu.core) in bcma_pmu_early_init()
285 if (!cc->pmu.core) in bcma_pmu_early_init()
286 cc->pmu.core = cc->core; in bcma_pmu_early_init()
289 cc->pmu.rev = (pmucap & BCMA_CC_PMU_CAP_REVISION); in bcma_pmu_early_init()
291 bcma_debug(bus, "Found rev %u PMU (capabilities 0x%08X)\n", cc->pmu.rev, in bcma_pmu_early_init()
297 if (cc->pmu.rev == 1) in bcma_pmu_init()
311 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_get_alp_clock()
313 switch (bus->chipinfo.id) { in bcma_pmu_get_alp_clock()
339 if (cc->status & BCMA_CC_CHIPST_4360_XTAL_40MZ) in bcma_pmu_get_alp_clock()
345 bus->chipinfo.id, cc->pmu.rev, BCMA_CC_PMU_ALP_CLOCK); in bcma_pmu_get_alp_clock()
356 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_pll_clock()
362 if (bus->chipinfo.id == BCMA_CHIP_ID_BCM5357 || in bcma_pmu_pll_clock()
363 bus->chipinfo.id == BCMA_CHIP_ID_BCM4749) { in bcma_pmu_pll_clock()
375 div = (tmp >> ((m - 1) * BCMA_CC_PPL_MDIV_WIDTH)) & in bcma_pmu_pll_clock()
407 /* Low cost bonding: Fixed reference clock 25MHz and m = 4 */ in bcma_pmu_pll_clock_bcm4706()
419 /* query bus clock frequency for PMU-enabled chipcommon */
422 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_get_bus_clock()
424 switch (bus->chipinfo.id) { in bcma_pmu_get_bus_clock()
445 bus->chipinfo.id, cc->pmu.rev, BCMA_CC_PMU_HT_CLOCK); in bcma_pmu_get_bus_clock()
451 /* query cpu clock frequency for PMU-enabled chipcommon */
454 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_get_cpu_clock()
456 if (bus->chipinfo.id == BCMA_CHIP_ID_BCM53572) in bcma_pmu_get_cpu_clock()
460 if (cc->pmu.rev >= 5) { in bcma_pmu_get_cpu_clock()
462 switch (bus->chipinfo.id) { in bcma_pmu_get_cpu_clock()
499 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_spuravoid_pllupdate()
501 switch (bus->chipinfo.id) { in bcma_pmu_spuravoid_pllupdate()
511 phypll_offset = (bus->chipinfo.id == BCMA_CHIP_ID_BCM5357 || in bcma_pmu_spuravoid_pllupdate()
512 bus->chipinfo.id == BCMA_CHIP_ID_BCM4749 || in bcma_pmu_spuravoid_pllupdate()
513 bus->chipinfo.id == BCMA_CHIP_ID_BCM53572) ? 6 : 0; in bcma_pmu_spuravoid_pllupdate()
629 * PLL Settings for spur avoidance on/off mode, in bcma_pmu_spuravoid_pllupdate()
663 bus->chipinfo.id); in bcma_pmu_spuravoid_pllupdate()