/linux-master/drivers/spi/ |
H A D | spi-cavium-octeon.c | 55 host->max_speed_hz = OCTEON_SPI_MAX_CLOCK_HZ;
|
H A D | spi-cavium-thunderx.c | 69 host->max_speed_hz = OCTEON_SPI_MAX_CLOCK_HZ;
|
H A D | spi-ppc4xx.c | 20 * 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 D | spi-hisi-kunpeng.c | 298 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 D | spi-ljca.c | 197 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 D | spi-img-spfi.c | 531 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 D | spi-amd.c | 292 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 D | spi-cs42l43.c | 57 .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 D | spi-altera-dfl.c | 171 board_info.max_speed_hz = 12500000;
|
H A D | spi-clps711x.c | 55 clk_set_rate(hw->spi_clk, xfer->speed_hz ? : spi->max_speed_hz);
|
H A D | spi-rockchip-sfc.c | 494 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 D | cs35l41-spi.c | 40 spi->max_speed_hz = CS35L41_SPI_MAX_FREQ;
|
H A D | cs4341.c | 283 if (!spi->max_speed_hz) 284 spi->max_speed_hz = 6000000;
|
/linux-master/drivers/net/wireless/silabs/wfx/ |
H A D | bus_spi.c | 211 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 D | vision_ep9307.c | 223 .max_speed_hz = 6000000, 230 .max_speed_hz = 20000000, 237 .max_speed_hz = 20000000,
|
H A D | ts72xx.c | 256 .max_speed_hz = 7.4E6, 311 .max_speed_hz = 2 * 1000 * 1000,
|
/linux-master/arch/arm/mach-s3c/ |
H A D | mach-crag6410-module.c | 52 .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 D | cw1200_spi.c | 362 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 D | board-nokia770.c | 156 .max_speed_hz = 12000000, 164 .max_speed_hz = 2500000,
|
/linux-master/drivers/mfd/ |
H A D | rsmu_spi.c | 42 xfer.speed_hz = client->max_speed_hz; 82 xfer.speed_hz = client->max_speed_hz;
|
H A D | ocelot-spi.c | 211 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 D | spilib.c | 33 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 D | mmc_spi.c | 790 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 D | ad2s1200.c | 167 spi->max_speed_hz = AD2S1200_HZ;
|
/linux-master/arch/powerpc/platforms/83xx/ |
H A D | mpc832x_rdb.c | 160 .max_speed_hz = 50000000,
|