Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
1054 f->clk_en = devm_clk_get(dev, "fspi_en"); in nxp_fspi_probe()
1055 if (IS_ERR(f->clk_en)) { in nxp_fspi_probe()
1056 ret = PTR_ERR(f->clk_en); in nxp_fspi_probe()
/kernel/linux/linux-5.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()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0032_linux_drivers_regulator_remoteproc_reset_rpmsg_rtc.patch851 + .name = "clk_en",
D0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch12852 - u32 val, clk_en;
12854 - clk_en = ESDHC_CLOCK_SDCLKEN;
12861 - clk_en |= (ESDHC_CLOCK_IPGEN | ESDHC_CLOCK_HCKEN |
12867 - val |= clk_en;
12870 - val &= ~clk_en;
D0033_linux_drivers_soc_scsi_spi_tee_thermal.patch3890 struct clk *clk, *clk_en;
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch32843 +extern void hifmc_set_nand_system_clock(struct spi_op *op, int clk_en);
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch323790 +extern void hifmc_set_nand_system_clock(struct spi_op *op, int clk_en);