Home
last modified time | relevance | path

Searched refs:clk_en (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/staging/greybus/
Darche-apb-ctrl.c39 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.6.21/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dccg.c82 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.6.21/drivers/iio/adc/
Dsc27xx_adc.c106 u32 clk_en; member
774 ret = regmap_update_bits(data->regmap, data->var_data->clk_en, in sc27xx_adc_enable()
792 regmap_update_bits(data->regmap, data->var_data->clk_en, in sc27xx_adc_enable()
806 regmap_update_bits(data->regmap, data->var_data->clk_en, in sc27xx_adc_disable()
815 .clk_en = SC2731_ARM_CLK_EN,
827 .clk_en = SC2730_ARM_CLK_EN,
839 .clk_en = SC2721_ARM_CLK_EN,
851 .clk_en = SC2721_ARM_CLK_EN,
/linux-6.6.21/drivers/staging/rts5208/
Drtsx_card.c849 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.6.21/drivers/spi/
Dspi-fsl-qspi.c268 struct clk *clk, *clk_en; member
475 ret = clk_prepare_enable(q->clk_en); in fsl_qspi_clk_prep_enable()
481 clk_disable_unprepare(q->clk_en); in fsl_qspi_clk_prep_enable()
497 clk_disable_unprepare(q->clk_en); in fsl_qspi_clk_disable_unprep()
891 q->clk_en = devm_clk_get(dev, "qspi_en"); in fsl_qspi_probe()
892 if (IS_ERR(q->clk_en)) { in fsl_qspi_probe()
893 ret = PTR_ERR(q->clk_en); in fsl_qspi_probe()
Dspi-nxp-fspi.c386 struct clk *clk, *clk_en; member
609 ret = clk_prepare_enable(f->clk_en); in nxp_fspi_clk_prep_enable()
615 clk_disable_unprepare(f->clk_en); in nxp_fspi_clk_prep_enable()
628 clk_disable_unprepare(f->clk_en); in nxp_fspi_clk_disable_unprep()
1193 f->clk_en = devm_clk_get(dev, "fspi_en"); in nxp_fspi_probe()
1194 if (IS_ERR(f->clk_en)) { in nxp_fspi_probe()
1195 ret = PTR_ERR(f->clk_en); in nxp_fspi_probe()
/linux-6.6.21/drivers/mmc/host/
Dsdhci-of-esdhc.c583 u32 val, clk_en; in esdhc_clock_enable() local
585 clk_en = ESDHC_CLOCK_SDCLKEN; in esdhc_clock_enable()
592 clk_en |= (ESDHC_CLOCK_IPGEN | ESDHC_CLOCK_HCKEN | in esdhc_clock_enable()
598 val |= clk_en; in esdhc_clock_enable()
600 val &= ~clk_en; in esdhc_clock_enable()