Searched refs:best_clk (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/sound/soc/atmel/ |
H A 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()
|
/openbmc/linux/drivers/tty/serial/ |
H A D | sh-sci.c | 2438 int best_clk = -1; in sci_set_termios() local 2484 best_clk = SCI_SCK; in sci_set_termios() 2499 best_clk = SCI_SCIF_CLK; in sci_set_termios() 2515 best_clk = SCI_BRG_INT; in sci_set_termios() 2529 best_clk = SCI_FCK; in sci_set_termios() 2538 if (best_clk >= 0) in sci_set_termios() 2540 s->clks[best_clk], baud, min_err); in sci_set_termios() 2548 if (best_clk >= 0 && sci_getreg(port, SCCKS)->size) { in sci_set_termios() 2565 if (best_clk >= 0) { in sci_set_termios()
|
H A D | samsung_tty.c | 1441 unsigned int req_baud, struct clk **best_clk, in s3c24xx_serial_getclk() argument 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()
|
/openbmc/linux/drivers/leds/rgb/ |
H A 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()
|