Searched refs:max_speed_hz (Results 26 - 50 of 180) sorted by relevance

12345678

/linux-master/drivers/spi/
H A Dspi-cavium-octeon.c55 host->max_speed_hz = OCTEON_SPI_MAX_CLOCK_HZ;
H A Dspi-cavium-thunderx.c69 host->max_speed_hz = OCTEON_SPI_MAX_CLOCK_HZ;
H A Dspi-ppc4xx.c20 * during SPI transfers by setting max_speed_hz via the device tree.
173 speed = spi->max_speed_hz;
181 speed = min(t->speed_hz, spi->max_speed_hz);
184 if (!speed || (speed > spi->max_speed_hz)) {
217 if (!spi->max_speed_hz) {
218 dev_err(&spi->dev, "invalid max_speed_hz (must be non-zero)\n");
H A Dspi-hisi-kunpeng.c298 chip->clk_div = DIV_ROUND_UP(host->max_speed_hz, speed_hz) + 1;
303 effective_speed = host->max_speed_hz / chip->clk_div;
477 &host->max_speed_hz);
519 host->max_speed_hz / 1000);
H A Dspi-ljca.c197 u8 div = DIV_ROUND_UP(controller->max_speed_hz, xfer->speed_hz) / 2 - 1;
239 controller->max_speed_hz = LJCA_SPI_BUS_MAX_HZ;
H A Dspi-img-spfi.c531 u32 max_speed_hz; local
592 host->max_speed_hz = clk_get_rate(spfi->spfi_clk) / 4;
603 &max_speed_hz)) {
604 if (host->max_speed_hz > max_speed_hz)
605 host->max_speed_hz = max_speed_hz;
H A Dspi-amd.c292 amd_set_spi_freq(amd_spi, spi->max_speed_hz);
446 ret = amd_set_spi_freq(amd_spi, mem->spi->max_speed_hz);
519 host->max_speed_hz = AMD_SPI_MAX_HZ;
H A Dspi-cs42l43.c57 .max_speed_hz = 20 * HZ_PER_MHZ,
65 .max_speed_hz = 20 * HZ_PER_MHZ,
329 priv->ctlr->max_speed_hz = CS42L43_SPI_ROOT_HZ / cs42l43_clock_divs[0];
H A Dspi-altera-dfl.c171 board_info.max_speed_hz = 12500000;
H A Dspi-clps711x.c55 clk_set_rate(hw->spi_clk, xfer->speed_hz ? : spi->max_speed_hz);
H A Dspi-rockchip-sfc.c494 if (unlikely(mem->spi->max_speed_hz != sfc->frequency)) {
495 ret = clk_set_rate(sfc->clk, mem->spi->max_speed_hz);
498 sfc->frequency = mem->spi->max_speed_hz;
572 host->max_speed_hz = SFC_MAX_SPEED;
/linux-master/sound/soc/codecs/
H A Dcs35l41-spi.c40 spi->max_speed_hz = CS35L41_SPI_MAX_FREQ;
H A Dcs4341.c283 if (!spi->max_speed_hz)
284 spi->max_speed_hz = 6000000;
/linux-master/drivers/net/wireless/silabs/wfx/
H A Dbus_spi.c211 spi_get_chipselect(func, 0), func->mode, func->bits_per_word, func->max_speed_hz);
214 if (func->max_speed_hz > 50000000)
215 dev_warn(&func->dev, "%dHz is a very high speed\n", func->max_speed_hz);
/linux-master/arch/arm/mach-ep93xx/
H A Dvision_ep9307.c223 .max_speed_hz = 6000000,
230 .max_speed_hz = 20000000,
237 .max_speed_hz = 20000000,
H A Dts72xx.c256 .max_speed_hz = 7.4E6,
311 .max_speed_hz = 2 * 1000 * 1000,
/linux-master/arch/arm/mach-s3c/
H A Dmach-crag6410-module.c52 .max_speed_hz = 26 * 1000 * 1000,
64 .max_speed_hz = 26 * 1000 * 1000,
253 .max_speed_hz = 10 * 1000 * 1000,
285 .max_speed_hz = 10 * 1000 * 1000,
307 .max_speed_hz = 10 * 1000 * 1000,
/linux-master/drivers/net/wireless/st/cw1200/
H A Dcw1200_spi.c362 if (func->max_speed_hz > 52000000)
363 func->max_speed_hz = 52000000;
364 if (func->max_speed_hz < 1000000)
365 func->max_speed_hz = 1000000;
378 func->max_speed_hz);
/linux-master/arch/arm/mach-omap1/
H A Dboard-nokia770.c156 .max_speed_hz = 12000000,
164 .max_speed_hz = 2500000,
/linux-master/drivers/mfd/
H A Drsmu_spi.c42 xfer.speed_hz = client->max_speed_hz;
82 xfer.speed_hz = client->max_speed_hz;
H A Docelot-spi.c211 if (spi->max_speed_hz <= 500000) {
220 ddata->spi_padding_bytes = 1 + (spi->max_speed_hz / HZ_PER_MHZ + 2) / 8;
/linux-master/drivers/staging/greybus/
H A Dspilib.c33 u32 max_speed_hz; member in struct:gb_spilib
436 spi->max_speed_hz = le32_to_cpu(response.max_speed_hz);
476 spi_board.max_speed_hz = le32_to_cpu(response.max_speed_hz);
/linux-master/drivers/mmc/host/
H A Dmmc_spi.c790 clock_rate = spi->max_speed_hz;
1113 if (host->spi->max_speed_hz != ios->clock && ios->clock != 0) {
1116 host->spi->max_speed_hz = ios->clock;
1119 host->spi->max_speed_hz, status);
1174 spi->mode, spi->max_speed_hz / 1000,
1212 mmc->f_max = spi->max_speed_hz;
1329 spi->max_speed_hz = mmc->f_max;
/linux-master/drivers/iio/resolver/
H A Dad2s1200.c167 spi->max_speed_hz = AD2S1200_HZ;
/linux-master/arch/powerpc/platforms/83xx/
H A Dmpc832x_rdb.c160 .max_speed_hz = 50000000,

Completed in 304 milliseconds

12345678