get_spi_clk_cfg
ret = get_spi_clk_cfg(clk_hz, mas, &idx, &div);
ret = get_spi_clk_cfg(mas->cur_speed_hz, mas,