Searched refs:best_clk (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/sound/soc/atmel/ |
D | mchp-i2s-mcc.c | 395 struct clk **best_clk, in mchp_i2s_mcc_clk_get_rate_diff() argument 408 *best_clk = clk; in mchp_i2s_mcc_clk_get_rate_diff() 424 struct clk *best_clk = NULL; in mchp_i2s_mcc_config_divs() local 448 &best_clk, best_rate, in mchp_i2s_mcc_config_divs() 462 &best_clk, best_rate, in mchp_i2s_mcc_config_divs() 477 if (!best_clk) { in mchp_i2s_mcc_config_divs() 483 best_clk == dev->pclk ? "pclk" : "gclk", in mchp_i2s_mcc_config_divs() 491 if (best_clk == dev->gclk) in mchp_i2s_mcc_config_divs()
|
/Linux-v6.6/drivers/tty/serial/ |
D | sh-sci.c | 2433 int best_clk = -1; in sci_set_termios() local 2479 best_clk = SCI_SCK; in sci_set_termios() 2494 best_clk = SCI_SCIF_CLK; in sci_set_termios() 2510 best_clk = SCI_BRG_INT; in sci_set_termios() 2524 best_clk = SCI_FCK; in sci_set_termios() 2533 if (best_clk >= 0) in sci_set_termios() 2535 s->clks[best_clk], baud, min_err); in sci_set_termios() 2543 if (best_clk >= 0 && sci_getreg(port, SCCKS)->size) { in sci_set_termios() 2560 if (best_clk >= 0) { in sci_set_termios()
|
D | samsung_tty.c | 1442 unsigned int req_baud, struct clk **best_clk, in s3c24xx_serial_getclk() argument 1497 if (!IS_ERR(*best_clk)) in s3c24xx_serial_getclk() 1498 clk_put(*best_clk); in s3c24xx_serial_getclk() 1499 *best_clk = clk; in s3c24xx_serial_getclk()
|
/Linux-v6.6/drivers/leds/rgb/ |
D | leds-qcom-lpg.c | 272 unsigned int clk_sel, clk_len, best_clk = 0; in lpg_calc_freq() local 360 best_clk = clk_sel; in lpg_calc_freq() 367 chan->clk_sel = best_clk; in lpg_calc_freq()
|