Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/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-v5.10/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-v5.10/drivers/spi/
Dspi-fsl-qspi.c269 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()
889 q->clk_en = devm_clk_get(dev, "qspi_en"); in fsl_qspi_probe()
890 if (IS_ERR(q->clk_en)) { in fsl_qspi_probe()
891 ret = PTR_ERR(q->clk_en); in fsl_qspi_probe()
Dspi-nxp-fspi.c353 struct clk *clk, *clk_en; member
571 ret = clk_prepare_enable(f->clk_en); in nxp_fspi_clk_prep_enable()
577 clk_disable_unprepare(f->clk_en); in nxp_fspi_clk_prep_enable()
590 clk_disable_unprepare(f->clk_en); in nxp_fspi_clk_disable_unprep()
1060 f->clk_en = devm_clk_get(dev, "fspi_en"); in nxp_fspi_probe()
1061 if (IS_ERR(f->clk_en)) { in nxp_fspi_probe()
1062 ret = PTR_ERR(f->clk_en); in nxp_fspi_probe()
/Linux-v5.10/drivers/mmc/host/
Dsdhci-of-esdhc.c574 u32 val, clk_en; in esdhc_clock_enable() local
576 clk_en = ESDHC_CLOCK_SDCLKEN; in esdhc_clock_enable()
583 clk_en |= (ESDHC_CLOCK_IPGEN | ESDHC_CLOCK_HCKEN | in esdhc_clock_enable()
589 val |= clk_en; in esdhc_clock_enable()
591 val &= ~clk_en; in esdhc_clock_enable()