/linux-6.12.1/drivers/pwm/ |
D | pwm-atmel-hlcdc.c | 32 struct clk *cur_clk; member 93 if (new_clk != atmel->cur_clk) { in atmel_hlcdc_pwm_apply() 101 clk_disable_unprepare(atmel->cur_clk); in atmel_hlcdc_pwm_apply() 102 atmel->cur_clk = new_clk; in atmel_hlcdc_pwm_apply() 163 clk_disable_unprepare(atmel->cur_clk); in atmel_hlcdc_pwm_apply() 164 atmel->cur_clk = NULL; in atmel_hlcdc_pwm_apply()
|
/linux-6.12.1/drivers/mmc/host/ |
D | sdhci-s3c.c | 119 int cur_clk; member 255 if (ourhost->cur_clk != best_src) { in sdhci_s3c_set_clock() 259 if (ourhost->cur_clk >= 0) in sdhci_s3c_set_clock() 261 ourhost->clk_bus[ourhost->cur_clk]); in sdhci_s3c_set_clock() 263 ourhost->cur_clk = best_src; in sdhci_s3c_set_clock() 390 ret = clk_set_rate(ourhost->clk_bus[ourhost->cur_clk], clock); in sdhci_cmu_set_clock() 528 sc->cur_clk = -1; in sdhci_s3c_probe() 724 if (ourhost->cur_clk >= 0) in sdhci_s3c_runtime_suspend() 725 clk_disable_unprepare(ourhost->clk_bus[ourhost->cur_clk]); in sdhci_s3c_runtime_suspend() 738 if (ourhost->cur_clk >= 0) in sdhci_s3c_runtime_resume() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | clk_mgr_internal.h | 376 static inline bool should_set_clock(bool safe_to_lower, int calc_clk, int cur_clk) in should_set_clock() argument 378 return ((safe_to_lower && calc_clk < cur_clk) || calc_clk > cur_clk); in should_set_clock()
|
/linux-6.12.1/drivers/cpufreq/ |
D | armada-8k-cpufreq.c | 45 static void __init armada_8k_get_sharing_cpus(struct clk *cur_clk, in armada_8k_get_sharing_cpus() argument 64 if (clk_is_match(clk, cur_clk)) in armada_8k_get_sharing_cpus()
|
/linux-6.12.1/drivers/misc/cardreader/ |
D | rtsx_usb.c | 396 ucr->cur_clk = 0; in rtsx_usb_switch_clock() 421 card_clock, ucr->cur_clk); in rtsx_usb_switch_clock() 423 if (card_clock == ucr->cur_clk) in rtsx_usb_switch_clock() 482 ucr->cur_clk = card_clock; in rtsx_usb_switch_clock()
|
/linux-6.12.1/drivers/staging/rts5208/ |
D | rtsx_card.c | 629 if (chip->cur_clk == clk) in switch_ssc_clock() 637 clk, chip->cur_clk); in switch_ssc_clock() 687 chip->cur_clk = clk; in switch_ssc_clock() 698 if (chip->cur_clk == clk) in switch_normal_clock() 815 chip->cur_clk = clk; in switch_normal_clock()
|
D | rtsx_chip.h | 711 int cur_clk; /* current card clock */ member
|
D | rtsx_chip.c | 1965 chip->cur_clk = 0; in rtsx_do_before_power_down()
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramgk104.c | 1003 int cur_N, cur_clk, cur_err; in gk104_pll_calc_hiclk() local 1005 cur_clk = gk104_calc_pll_output(0, 1, n_ref, p_ref, crystal); in gk104_pll_calc_hiclk() 1006 cur_N = target_khz / cur_clk; in gk104_pll_calc_hiclk() 1008 - gk104_calc_pll_output(0xf000, 1, cur_N, 1, cur_clk); in gk104_pll_calc_hiclk() 1020 cur_err = gk104_calc_pll_output(0xf000, 1, cur_N, 1, cur_clk) in gk104_pll_calc_hiclk()
|
/linux-6.12.1/drivers/mtd/nand/raw/ |
D | arasan-nand-controller.c | 216 unsigned int cur_clk; member 349 if (nfc->cur_clk != anand->clk) { in anfc_select_target() 364 nfc->cur_clk = anand->clk; in anfc_select_target()
|
/linux-6.12.1/include/linux/ |
D | rtsx_usb.h | 48 unsigned int cur_clk; member
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-imx.c | 210 unsigned int cur_clk; member 583 if (i2c_imx->cur_clk == i2c_clk_rate) in i2c_imx_set_clk() 586 i2c_imx->cur_clk = i2c_clk_rate; in i2c_imx_set_clk()
|
/linux-6.12.1/drivers/accel/habanalabs/common/ |
D | firmware_if.c | 3132 int hl_fw_get_clk_rate(struct hl_device *hdev, u32 *cur_clk, u32 *max_clk) in hl_fw_get_clk_rate() argument 3140 *cur_clk = 0; in hl_fw_get_clk_rate() 3161 *cur_clk = (value / 1000 / 1000); in hl_fw_get_clk_rate()
|
D | habanalabs.h | 4029 int hl_fw_get_clk_rate(struct hl_device *hdev, u32 *cur_clk, u32 *max_clk);
|