Searched refs:cksel (Results 1 - 3 of 3) sorted by relevance
/linux-4.1.27/arch/avr32/mach-at32ap/ |
H A D | at32ap700x.c | 360 unsigned long cksel, shift = 0; cpu_clk_get_rate() local 362 cksel = pm_readl(CKSEL); cpu_clk_get_rate() 363 if (cksel & PM_BIT(CPUDIV)) cpu_clk_get_rate() 364 shift = PM_BFEXT(CPUSEL, cksel) + 1; cpu_clk_get_rate() 421 unsigned long cksel, shift = 0; hsb_clk_get_rate() local 423 cksel = pm_readl(CKSEL); hsb_clk_get_rate() 424 if (cksel & PM_BIT(HSBDIV)) hsb_clk_get_rate() 425 shift = PM_BFEXT(HSBSEL, cksel) + 1; hsb_clk_get_rate() 447 unsigned long cksel, shift = 0; pba_clk_get_rate() local 449 cksel = pm_readl(CKSEL); pba_clk_get_rate() 450 if (cksel & PM_BIT(PBADIV)) pba_clk_get_rate() 451 shift = PM_BFEXT(PBASEL, cksel) + 1; pba_clk_get_rate() 473 unsigned long cksel, shift = 0; pbb_clk_get_rate() local 475 cksel = pm_readl(CKSEL); pbb_clk_get_rate() 476 if (cksel & PM_BIT(PBBDIV)) pbb_clk_get_rate() 477 shift = PM_BFEXT(PBBSEL, cksel) + 1; pbb_clk_get_rate()
|
/linux-4.1.27/drivers/net/ethernet/freescale/ |
H A D | gianfar_ptp.c | 147 u32 cksel; member in struct:etsects 455 if (get_of_u32(node, "fsl,cksel", &etsects->cksel)) gianfar_ptp_probe() 456 etsects->cksel = DEFAULT_CKSEL; gianfar_ptp_probe() 502 (etsects->cksel & CKSEL_MASK) << CKSEL_SHIFT; gianfar_ptp_probe()
|
/linux-4.1.27/drivers/hwmon/ |
H A D | w83795.c | 311 /* Best fit for cksel = 0 */ pwm_freq_to_reg() 314 if (val < 375) /* cksel = 1 can't beat this */ pwm_freq_to_reg() 318 /* Best fit for cksel = 1 */ pwm_freq_to_reg()
|
Completed in 159 milliseconds