Home
last modified time | relevance | path

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

/linux/drivers/clk/nxp/
H A Dclk-lpc18xx-cgu.c305 static u32 lpc18xx_pll0_msel2mdec(u32 msel) in lpc18xx_pll0_msel2mdec() argument
309 switch (msel) { in lpc18xx_pll0_msel2mdec()
314 for (i = msel; i <= LPC18XX_PLL0_MSEL_MAX; i++) in lpc18xx_pll0_msel2mdec()
321 static u32 lpc18xx_pll0_msel2seli(u32 msel) in lpc18xx_pll0_msel2seli() argument
325 if (msel > 16384) return 1; in lpc18xx_pll0_msel2seli()
326 if (msel > 8192) return 2; in lpc18xx_pll0_msel2seli()
327 if (msel > 2048) return 4; in lpc18xx_pll0_msel2seli()
328 if (msel >= 501) return 8; in lpc18xx_pll0_msel2seli()
329 if (msel >= 60) { in lpc18xx_pll0_msel2seli()
330 tmp = 1024 / (msel + 9); in lpc18xx_pll0_msel2seli()
[all …]
/linux/drivers/fpga/
H A Dsocfpga.c323 u32 msel; in socfpga_fpga_cfg_mode_get() local
325 msel = socfpga_fpga_readl(priv, SOCFPGA_FPGMGR_STAT_OFST); in socfpga_fpga_cfg_mode_get()
326 msel &= SOCFPGA_FPGMGR_STAT_MSEL_MASK; in socfpga_fpga_cfg_mode_get()
327 msel >>= SOCFPGA_FPGMGR_STAT_MSEL_SHIFT; in socfpga_fpga_cfg_mode_get()
330 if ((msel >= ARRAY_SIZE(cfgmgr_modes)) || !cfgmgr_modes[msel].valid) in socfpga_fpga_cfg_mode_get()
333 return msel; in socfpga_fpga_cfg_mode_get()
/linux/drivers/pinctrl/renesas/
H A Dsh_pfc.h382 #define PINMUX_IPSR_NOGM(ipsr, fn, msel) \ argument
383 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##msel)
405 #define PINMUX_IPSR_MSEL(ipsr, fn, msel) \ argument
406 PINMUX_DATA(fn##_MARK, FN_##msel, FN_##fn, FN_##ipsr)
417 #define PINMUX_IPSR_PHYS_MSEL(ipsr, fn, psel, msel) \ argument
418 PINMUX_DATA(fn##_MARK, FN_##psel, FN_##msel, FN_##fn, FN_##ipsr)
/linux/drivers/net/dsa/sja1105/
H A Dsja1105_clocking.c57 u64 msel; member
329 sja1105_packing(buf, &cmd->msel, 23, 16, size, op); in sja1105_cgu_pll_control_packing()
706 pll.msel = 0x1; in sja1105_cgu_rmii_pll_config()
/linux/drivers/firmware/arm_scmi/vendors/imx/
H A Dimx95.rst807 |uint32 msel |Mode selector value |