Searched refs:clk_en (Results 1 – 7 of 7) sorted by relevance
/linux-6.3-rc2/drivers/staging/greybus/ |
A D | arche-apb-ctrl.c | 39 struct gpio_desc *clk_en; member 102 if (apb->clk_en) in coldboot_seq() 103 gpiod_set_value(apb->clk_en, 1); in coldboot_seq() 205 if (apb->clk_en) in poweroff_seq() 206 gpiod_set_value(apb->clk_en, 0); in poweroff_seq() 346 apb->clk_en = devm_gpiod_get_optional(dev, "clock-en", GPIOD_OUT_LOW); in apb_ctrl_get_devtree_data() 347 if (IS_ERR(apb->clk_en)) { in apb_ctrl_get_devtree_data() 348 ret = PTR_ERR(apb->clk_en); in apb_ctrl_get_devtree_data()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/ |
A D | dcn20_dccg.c | 82 uint32_t clk_en = 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() 87 if (clk_en != 0) { in dccg2_get_dccg_ref_freq()
|
/linux-6.3-rc2/drivers/iio/adc/ |
A D | sc27xx_adc.c | 107 u32 clk_en; member 775 ret = regmap_update_bits(data->regmap, data->var_data->clk_en, in sc27xx_adc_enable() 793 regmap_update_bits(data->regmap, data->var_data->clk_en, in sc27xx_adc_enable() 807 regmap_update_bits(data->regmap, data->var_data->clk_en, in sc27xx_adc_disable() 816 .clk_en = SC2731_ARM_CLK_EN, 828 .clk_en = SC2730_ARM_CLK_EN, 840 .clk_en = SC2721_ARM_CLK_EN, 852 .clk_en = SC2721_ARM_CLK_EN,
|
/linux-6.3-rc2/drivers/staging/rts5208/ |
A D | rtsx_card.c | 849 u8 clk_en = 0; in enable_card_clock() local 852 clk_en |= XD_CLK_EN; in enable_card_clock() 854 clk_en |= SD_CLK_EN; in enable_card_clock() 856 clk_en |= MS_CLK_EN; in enable_card_clock() 858 retval = rtsx_write_register(chip, CARD_CLK_EN, clk_en, clk_en); in enable_card_clock() 868 u8 clk_en = 0; in disable_card_clock() local 871 clk_en |= XD_CLK_EN; in disable_card_clock() 873 clk_en |= SD_CLK_EN; in disable_card_clock() 875 clk_en |= MS_CLK_EN; in disable_card_clock() 877 retval = rtsx_write_register(chip, CARD_CLK_EN, clk_en, 0); in disable_card_clock()
|
/linux-6.3-rc2/drivers/spi/ |
A D | spi-fsl-qspi.c | 269 struct clk *clk, *clk_en; member 476 ret = clk_prepare_enable(q->clk_en); in fsl_qspi_clk_prep_enable() 482 clk_disable_unprepare(q->clk_en); in fsl_qspi_clk_prep_enable() 498 clk_disable_unprepare(q->clk_en); in fsl_qspi_clk_disable_unprep() 892 q->clk_en = devm_clk_get(dev, "qspi_en"); in fsl_qspi_probe() 893 if (IS_ERR(q->clk_en)) { in fsl_qspi_probe() 894 ret = PTR_ERR(q->clk_en); in fsl_qspi_probe()
|
A D | spi-nxp-fspi.c | 371 struct clk *clk, *clk_en; member 594 ret = clk_prepare_enable(f->clk_en); in nxp_fspi_clk_prep_enable() 600 clk_disable_unprepare(f->clk_en); in nxp_fspi_clk_prep_enable() 613 clk_disable_unprepare(f->clk_en); in nxp_fspi_clk_disable_unprep() 1133 f->clk_en = devm_clk_get(dev, "fspi_en"); in nxp_fspi_probe() 1134 if (IS_ERR(f->clk_en)) { in nxp_fspi_probe() 1135 ret = PTR_ERR(f->clk_en); in nxp_fspi_probe()
|
/linux-6.3-rc2/drivers/mmc/host/ |
A D | sdhci-of-esdhc.c | 585 u32 val, clk_en; in esdhc_clock_enable() local 587 clk_en = ESDHC_CLOCK_SDCLKEN; in esdhc_clock_enable() 594 clk_en |= (ESDHC_CLOCK_IPGEN | ESDHC_CLOCK_HCKEN | in esdhc_clock_enable() 600 val |= clk_en; in esdhc_clock_enable() 602 val &= ~clk_en; in esdhc_clock_enable()
|
Completed in 25 milliseconds