| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-gpio-defs.h | 53 uint64_t clk_sel:2; member 67 uint64_t clk_sel:2; 97 uint64_t clk_sel:2; member 111 uint64_t clk_sel:2; 360 uint64_t clk_sel:2; member 374 uint64_t clk_sel:2;
|
| /linux/drivers/net/ethernet/atheros/atl1c/ |
| H A D | atl1c_hw.c | 274 void atl1c_start_phy_polling(struct atl1c_hw *hw, u16 clk_sel) in atl1c_start_phy_polling() argument 282 FIELDX(MDIO_CTRL_CLK_SEL, clk_sel) | in atl1c_start_phy_polling() 306 u16 clk_sel = MDIO_CTRL_CLK_25_4; in atl1c_read_phy_core() local 315 clk_sel = MDIO_CTRL_CLK_25_128; in atl1c_read_phy_core() 320 FIELDX(MDIO_CTRL_CLK_SEL, clk_sel) | in atl1c_read_phy_core() 326 FIELDX(MDIO_CTRL_CLK_SEL, clk_sel) | in atl1c_read_phy_core() 339 atl1c_start_phy_polling(hw, clk_sel); in atl1c_read_phy_core() 355 u16 clk_sel = MDIO_CTRL_CLK_25_4; in atl1c_write_phy_core() local 363 clk_sel = MDIO_CTRL_CLK_25_128; in atl1c_write_phy_core() 369 FIELDX(MDIO_CTRL_CLK_SEL, clk_sel) | in atl1c_write_phy_core() [all …]
|
| H A D | atl1c_hw.h | 43 void atl1c_start_phy_polling(struct atl1c_hw *hw, u16 clk_sel);
|
| /linux/drivers/iio/adc/ |
| H A D | stm32-adc-core.c | 77 int (*clk_sel)(struct platform_device *, struct stm32_adc_priv *); member 783 ret = priv->cfg->clk_sel(pdev, priv); in stm32_adc_probe() 853 .clk_sel = stm32f4_adc_clk_sel, 861 .clk_sel = stm32h7_adc_clk_sel, 870 .clk_sel = stm32h7_adc_clk_sel, 879 .clk_sel = stm32h7_adc_clk_sel,
|
| H A D | ad7124.c | 1328 unsigned int power_mode, clk_sel; in ad7124_setup() local 1373 clk_sel = AD7124_ADC_CONTROL_CLK_SEL_INT; in ad7124_setup() 1403 clk_sel = AD7124_ADC_CONTROL_CLK_SEL_INT_OUT; in ad7124_setup() 1429 clk_sel = AD7124_ADC_CONTROL_CLK_SEL_EXT_DIV4; in ad7124_setup() 1432 clk_sel = AD7124_ADC_CONTROL_CLK_SEL_EXT; in ad7124_setup() 1436 clk_sel = AD7124_ADC_CONTROL_CLK_SEL_INT; in ad7124_setup() 1442 st->adc_control |= FIELD_PREP(AD7124_ADC_CONTROL_CLK_SEL, clk_sel); in ad7124_setup()
|
| H A D | ad7173.c | 1596 unsigned int clk_sel) in ad7173_sel_clk() argument 1601 st->adc_mode |= FIELD_PREP(AD7173_ADC_MODE_CLOCKSEL_MASK, clk_sel); in ad7173_sel_clk() 1618 u32 clk_sel; in ad7173_clk_output_is_enabled() local 1620 clk_sel = FIELD_GET(AD7173_ADC_MODE_CLOCKSEL_MASK, st->adc_mode); in ad7173_clk_output_is_enabled() 1621 return clk_sel == AD7173_ADC_MODE_CLOCKSEL_INT_OUTPUT; in ad7173_clk_output_is_enabled()
|
| H A D | ad4170-4.c | 2422 unsigned int clk_sel) in ad4170_sel_clk() argument 2425 st->clock_ctrl |= FIELD_PREP(AD4170_CLOCK_CTRL_CLOCKSEL_MSK, clk_sel); in ad4170_sel_clk() 2438 u32 clk_sel; in ad4170_clk_output_is_enabled() local 2440 clk_sel = FIELD_GET(AD4170_CLOCK_CTRL_CLOCKSEL_MSK, st->clock_ctrl); in ad4170_clk_output_is_enabled() 2441 return clk_sel == AD4170_CLOCK_CTRL_CLOCKSEL_INT_OUT; in ad4170_clk_output_is_enabled()
|
| /linux/drivers/gpu/drm/amd/display/dc/dccg/dcn20/ |
| H A D | dcn20_dccg.c | 83 uint32_t clk_sel = 0; in dccg2_get_dccg_ref_freq() local 85 REG_GET_2(REFCLK_CNTL, REFCLK_CLOCK_EN, &clk_en, REFCLK_SRC_SEL, &clk_sel); in dccg2_get_dccg_ref_freq()
|
| /linux/drivers/net/ethernet/atheros/alx/ |
| H A D | hw.c | 64 u32 val, clk_sel; in alx_read_phy_core() local 70 clk_sel = hw->link_speed != SPEED_UNKNOWN ? in alx_read_phy_core() 81 clk_sel << ALX_MDIO_CLK_SEL_SHIFT; in alx_read_phy_core() 84 clk_sel << ALX_MDIO_CLK_SEL_SHIFT | in alx_read_phy_core() 101 u32 val, clk_sel; in alx_write_phy_core() local 104 clk_sel = hw->link_speed != SPEED_UNKNOWN ? in alx_write_phy_core() 114 clk_sel << ALX_MDIO_CLK_SEL_SHIFT | in alx_write_phy_core() 119 clk_sel << ALX_MDIO_CLK_SEL_SHIFT | in alx_write_phy_core()
|
| /linux/drivers/gpio/ |
| H A D | gpio-npcm-sgpio.c | 53 unsigned int *clk_sel; member 297 iowrite8(clk_cfg->clk_sel[i] | tmp, in npcm_sgpio_setup_clk() 588 .clk_sel = npcm750_CLK_SEL, 594 .clk_sel = npcm845_CLK_SEL,
|
| /linux/sound/soc/sti/ |
| H A D | uniperif_player.c | 957 if (player->clk_sel) { in uni_player_resume() 958 ret = regmap_field_write(player->clk_sel, 1); in uni_player_resume() 1031 player->clk_sel = devm_regmap_field_alloc(&pdev->dev, regmap, regfield[0]); in uni_player_parse_dt_audio_glue() 1032 if (IS_ERR(player->clk_sel)) in uni_player_parse_dt_audio_glue() 1033 return PTR_ERR(player->clk_sel); in uni_player_parse_dt_audio_glue() 1088 if (player->clk_sel) { in uni_player_init() 1089 ret = regmap_field_write(player->clk_sel, 1); in uni_player_init()
|
| H A D | uniperif.h | 1300 struct regmap_field *clk_sel; member
|
| /linux/drivers/video/fbdev/ |
| H A D | grvga.c | 42 int clk_sel; member 112 par->clk_sel = i; in grvga_check_var() 180 __raw_writel((par->clk_sel << 6) | (func << 4) | 1, in grvga_set_par()
|
| /linux/drivers/clk/sophgo/ |
| H A D | clk-cv18xx-ip.h | 53 struct cv1800_clk_regbit clk_sel; member 220 .clk_sel = CV1800_CLK_BIT(_clk_sel_reg, \
|
| /linux/drivers/clk/ralink/ |
| H A D | clk-mt7621.c | 261 u32 clkcfg, clk_sel, curclk, ffiv, ffrac; in mt7621_cpu_recalc_rate() local 266 clk_sel = FIELD_GET(CPU_CLK_SEL_MASK, clkcfg); in mt7621_cpu_recalc_rate() 272 switch (clk_sel) { in mt7621_cpu_recalc_rate()
|
| /linux/include/linux/ |
| H A D | serial_s3c.h | 288 unsigned int clk_sel; member
|
| /linux/drivers/spi/ |
| H A D | spi-geni-qcom.c | 308 u32 clk_sel, m_clk_cfg, idx, div; in geni_spi_set_clock_and_bw() local 330 clk_sel = idx & CLK_SEL_MSK; in geni_spi_set_clock_and_bw() 332 writel(clk_sel, se->base + SE_GENI_CLK_SEL); in geni_spi_set_clock_and_bw()
|
| /linux/sound/soc/intel/atom/sst/ |
| H A D | sst.h | 117 u64 clk_sel:3; member
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | stv0900_core.c | 286 u32 m_div, clk_sel; in stv0900_set_mclk() local 297 clk_sel = ((stv0900_get_bits(intp, F0900_SELX1RATIO) == 1) ? 4 : 6); in stv0900_set_mclk() 298 m_div = ((clk_sel * mclk) / intp->quartz) - 1; in stv0900_set_mclk()
|
| H A D | stv090x.c | 4277 u32 reg, div, clk_sel; in stv090x_set_mclk() local 4280 clk_sel = ((STV090x_GETFIELD(reg, SELX1RATIO_FIELD) == 1) ? 4 : 6); in stv090x_set_mclk() 4282 div = ((clk_sel * mclk) / config->xtal) - 1; in stv090x_set_mclk()
|