Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/ssb/
Ddriver_chipcommon_pmu.c95 u32 pmuctl, tmp, pllctl; in ssb_pmu0_pllinit_r0() local
144 pllctl = ssb_chipco_pll_read(cc, SSB_PMU0_PLLCTL0); in ssb_pmu0_pllinit_r0()
146 pllctl |= SSB_PMU0_PLLCTL0_PDIV_MSK; in ssb_pmu0_pllinit_r0()
148 pllctl &= ~SSB_PMU0_PLLCTL0_PDIV_MSK; in ssb_pmu0_pllinit_r0()
149 ssb_chipco_pll_write(cc, SSB_PMU0_PLLCTL0, pllctl); in ssb_pmu0_pllinit_r0()
152 pllctl = ssb_chipco_pll_read(cc, SSB_PMU0_PLLCTL1); in ssb_pmu0_pllinit_r0()
153 pllctl &= ~SSB_PMU0_PLLCTL1_STOPMOD; in ssb_pmu0_pllinit_r0()
154 pllctl &= ~(SSB_PMU0_PLLCTL1_WILD_IMSK | SSB_PMU0_PLLCTL1_WILD_FMSK); in ssb_pmu0_pllinit_r0()
155 pllctl |= ((u32)e->wb_int << SSB_PMU0_PLLCTL1_WILD_IMSK_SHIFT) & SSB_PMU0_PLLCTL1_WILD_IMSK; in ssb_pmu0_pllinit_r0()
156 pllctl |= ((u32)e->wb_frac << SSB_PMU0_PLLCTL1_WILD_FMSK_SHIFT) & SSB_PMU0_PLLCTL1_WILD_FMSK; in ssb_pmu0_pllinit_r0()
[all …]
/linux-6.12.1/sound/pci/ctxfi/
Dcthw20k2.c1304 unsigned int pllctl; in hw_pll_init() local
1310 pllctl = 0x20C00000; in hw_pll_init()
1311 set_field(&pllctl, PLLCTL_B, 0); in hw_pll_init()
1312 set_field(&pllctl, PLLCTL_FD, 48000 == rsr ? 16 - 4 : 147 - 4); in hw_pll_init()
1313 set_field(&pllctl, PLLCTL_RD, 48000 == rsr ? 1 - 1 : 10 - 1); in hw_pll_init()
1314 hw_write_20kx(hw, PLL_CTL, pllctl); in hw_pll_init()
1317 pllctl = hw_read_20kx(hw, PLL_CTL); in hw_pll_init()
1318 set_field(&pllctl, PLLCTL_FD, 48000 == rsr ? 16 - 2 : 147 - 2); in hw_pll_init()
1319 hw_write_20kx(hw, PLL_CTL, pllctl); in hw_pll_init()
1328 get_field(pllctl, PLLCTL_B)) in hw_pll_init()
[all …]
Dcthw20k1.c1309 unsigned int pllctl; in hw_pll_init() local
1312 pllctl = (48000 == rsr) ? 0x1480a001 : 0x1480a731; in hw_pll_init()
1314 if (hw_read_20kx(hw, PLLCTL) == pllctl) in hw_pll_init()
1317 hw_write_20kx(hw, PLLCTL, pllctl); in hw_pll_init()