Searched refs:best_j (Results 1 – 3 of 3) sorted by relevance
/openbmc/u-boot/drivers/spi/ |
H A D | cf_spi.c | 201 int best_i, best_j, bestmatch = 0x7FFFFFFF, baud_speed; in cfspi_setup_slave() local 257 for (best_i = 0, best_j = 0, i = 0; i < pbrcnt; i++) { in cfspi_setup_slave() 270 best_j = j; in cfspi_setup_slave() 274 bus_setup |= (DSPI_CTAR_PBR(best_i) | DSPI_CTAR_BR(best_j)); in cfspi_setup_slave()
|
H A D | fsl_dspi.c | 368 int best_i, best_j, bus_clk; in fsl_dspi_cfg_speed() local 378 ret = fsl_dspi_hz_to_spi_baud(&best_i, &best_j, speed, bus_clk); in fsl_dspi_cfg_speed() 382 fsl_dspi_hz_to_spi_baud(&best_i, &best_j, speed, bus_clk); in fsl_dspi_cfg_speed() 385 bus_setup |= (DSPI_CTAR_PBR(best_i) | DSPI_CTAR_BR(best_j)); in fsl_dspi_cfg_speed()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | tlv320aic23.c | 245 int best_j = -1; in find_rate() local 276 best_j = j; in find_rate() 285 best_j = j; in find_rate() 290 return (best_j << 2) | best_i | (best_div << TLV320AIC23_CLKIN_SHIFT); in find_rate()
|