Home
last modified time | relevance | path

Searched refs:best_clk (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/sound/soc/atmel/
H A Dmchp-i2s-mcc.c373 struct clk **best_clk, in mchp_i2s_mcc_clk_get_rate_diff()
386 *best_clk = clk; in mchp_i2s_mcc_clk_get_rate_diff()
402 struct clk *best_clk = NULL; in mchp_i2s_mcc_config_divs() local
426 &best_clk, best_rate, in mchp_i2s_mcc_config_divs()
440 &best_clk, best_rate, in mchp_i2s_mcc_config_divs()
455 if (!best_clk) { in mchp_i2s_mcc_config_divs()
461 best_clk == dev->pclk ? "pclk" : "gclk", in mchp_i2s_mcc_config_divs()
469 if (best_clk == dev->gclk) in mchp_i2s_mcc_config_divs()
371 mchp_i2s_mcc_clk_get_rate_diff(struct clk *clk, unsigned long rate, struct clk **best_clk, unsigned long *best_rate, unsigned long *best_diff_rate) mchp_i2s_mcc_clk_get_rate_diff() argument
/kernel/linux/linux-6.6/sound/soc/atmel/
H A Dmchp-i2s-mcc.c395 struct clk **best_clk, in mchp_i2s_mcc_clk_get_rate_diff()
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()
393 mchp_i2s_mcc_clk_get_rate_diff(struct clk *clk, unsigned long rate, struct clk **best_clk, unsigned long *best_rate, unsigned long *best_diff_rate) mchp_i2s_mcc_clk_get_rate_diff() argument
/kernel/linux/linux-5.10/drivers/tty/serial/
H A Dsh-sci.c2393 int best_clk = -1; in sci_set_termios() local
2439 best_clk = SCI_SCK; in sci_set_termios()
2454 best_clk = SCI_SCIF_CLK; in sci_set_termios()
2470 best_clk = SCI_BRG_INT; in sci_set_termios()
2484 best_clk = SCI_FCK; in sci_set_termios()
2493 if (best_clk >= 0) in sci_set_termios()
2495 s->clks[best_clk], baud, min_err); in sci_set_termios()
2503 if (best_clk >= 0 && sci_getreg(port, SCCKS)->size) { in sci_set_termios()
2535 if (best_clk >= 0) { in sci_set_termios()
H A Dsamsung_tty.c1294 unsigned int req_baud, struct clk **best_clk, in s3c24xx_serial_getclk()
1351 if (!IS_ERR(*best_clk)) in s3c24xx_serial_getclk()
1352 clk_put(*best_clk); in s3c24xx_serial_getclk()
1353 *best_clk = clk; in s3c24xx_serial_getclk()
1293 s3c24xx_serial_getclk(struct s3c24xx_uart_port *ourport, unsigned int req_baud, struct clk **best_clk, unsigned int *clk_num) s3c24xx_serial_getclk() argument
/kernel/linux/linux-6.6/drivers/tty/serial/
H A Dsh-sci.c2433 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()
H A Dsamsung_tty.c1441 unsigned int req_baud, struct clk **best_clk, in s3c24xx_serial_getclk()
1496 if (!IS_ERR(*best_clk)) in s3c24xx_serial_getclk()
1497 clk_put(*best_clk); in s3c24xx_serial_getclk()
1498 *best_clk = clk; in s3c24xx_serial_getclk()
1440 s3c24xx_serial_getclk(struct s3c24xx_uart_port *ourport, unsigned int req_baud, struct clk **best_clk, unsigned int *clk_num) s3c24xx_serial_getclk() argument
/kernel/linux/linux-6.6/drivers/leds/rgb/
H A Dleds-qcom-lpg.c272 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()

Completed in 20 milliseconds