/kernel/linux/linux-5.10/drivers/pwm/ |
D | pwm-atmel-hlcdc.c | 32 struct clk *cur_clk; member 93 if (new_clk != chip->cur_clk) { in atmel_hlcdc_pwm_apply() 101 clk_disable_unprepare(chip->cur_clk); in atmel_hlcdc_pwm_apply() 102 chip->cur_clk = new_clk; in atmel_hlcdc_pwm_apply() 163 clk_disable_unprepare(chip->cur_clk); in atmel_hlcdc_pwm_apply() 164 chip->cur_clk = NULL; in atmel_hlcdc_pwm_apply()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
D | sdhci-s3c.c | 121 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() 526 sc->cur_clk = -1; in sdhci_s3c_probe() 733 if (ourhost->cur_clk >= 0) in sdhci_s3c_runtime_suspend() 734 clk_disable_unprepare(ourhost->clk_bus[ourhost->cur_clk]); in sdhci_s3c_runtime_suspend() 747 if (ourhost->cur_clk >= 0) in sdhci_s3c_runtime_resume() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | clk_mgr_internal.h | 309 static inline bool should_set_clock(bool safe_to_lower, int calc_clk, int cur_clk) in should_set_clock() argument 311 return ((safe_to_lower && calc_clk < cur_clk) || calc_clk > cur_clk); in should_set_clock()
|
/kernel/linux/linux-5.10/drivers/misc/habanalabs/gaudi/ |
D | gaudi_hwmgr.c | 19 int gaudi_get_clk_rate(struct hl_device *hdev, u32 *cur_clk, u32 *max_clk) in gaudi_get_clk_rate() argument 45 *cur_clk = (value / 1000 / 1000); in gaudi_get_clk_rate()
|
D | gaudiP.h | 273 int gaudi_get_clk_rate(struct hl_device *hdev, u32 *cur_clk, u32 *max_clk);
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
D | armada-8k-cpufreq.c | 38 static void __init armada_8k_get_sharing_cpus(struct clk *cur_clk, in armada_8k_get_sharing_cpus() argument 57 if (clk_is_match(clk, cur_clk)) in armada_8k_get_sharing_cpus()
|
/kernel/linux/linux-5.10/drivers/misc/habanalabs/goya/ |
D | goya_hwmgr.c | 35 int goya_get_clk_rate(struct hl_device *hdev, u32 *cur_clk, u32 *max_clk) in goya_get_clk_rate() argument 61 *cur_clk = (value / 1000 / 1000); in goya_get_clk_rate()
|
D | goyaP.h | 234 int goya_get_clk_rate(struct hl_device *hdev, u32 *cur_clk, u32 *max_clk);
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
D | arasan-nand-controller.c | 192 unsigned int cur_clk; member 285 if (nfc->cur_clk != anand->clk) { in anfc_select_target() 300 nfc->cur_clk = anand->clk; in anfc_select_target()
|
/kernel/linux/linux-5.10/include/linux/ |
D | rtsx_usb.h | 48 unsigned int cur_clk; member
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-imx.c | 194 unsigned int cur_clk; member 527 if (i2c_imx->cur_clk == i2c_clk_rate) in i2c_imx_set_clk() 530 i2c_imx->cur_clk = i2c_clk_rate; in i2c_imx_set_clk()
|
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/ |
D | habanalabs.h | 805 int (*get_clk_rate)(struct hl_device *hdev, u32 *cur_clk, u32 *max_clk);
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0022_linux_drivers_i2c.patch | 2104 if (i2c_imx->cur_clk == i2c_clk_rate) 2117 i2c_imx->cur_clk = i2c_clk_rate;
|