Searched refs:hz_to_spi_clock (Results 1 – 1 of 1) sorted by relevance
130 static u32 hz_to_spi_clock(u32 sclk, u32 speed_hz) in hz_to_spi_clock() function435 iowrite32(hz_to_spi_clock(drv->sclk, t->speed_hz), &drv->regs->clock); in adi_spi_setup_transfer()712 chip->clock = hz_to_spi_clock(drv_data->sclk, spi->max_speed_hz); in adi_spi_setup()