max_speed_hz 586 arch/arm/mach-davinci/board-da830-evm.c .max_speed_hz = 30000000, max_speed_hz 149 arch/arm/mach-davinci/board-da850-evm.c .max_speed_hz = 30000000, max_speed_hz 386 arch/arm/mach-davinci/board-dm355-evm.c .max_speed_hz = 10 * 1000 * 1000, /* at 3v3 */ max_speed_hz 225 arch/arm/mach-davinci/board-dm355-leopard.c .max_speed_hz = 10 * 1000 * 1000, /* at 3v3 */ max_speed_hz 786 arch/arm/mach-davinci/board-dm365-evm.c .max_speed_hz = 10 * 1000 * 1000, max_speed_hz 406 arch/arm/mach-davinci/board-mityomapl138.c .max_speed_hz = 30000000, max_speed_hz 49 arch/arm/mach-dove/cm-a510.c .max_speed_hz = 20000000, max_speed_hz 51 arch/arm/mach-dove/dove-db-setup.c .max_speed_hz = 20000000, max_speed_hz 98 arch/arm/mach-ep93xx/edb93xx.c .max_speed_hz = 6000000, max_speed_hz 63 arch/arm/mach-ep93xx/simone.c .max_speed_hz = 10 * 1000 * 1000, max_speed_hz 257 arch/arm/mach-ep93xx/ts72xx.c .max_speed_hz = 7.4E6, max_speed_hz 312 arch/arm/mach-ep93xx/ts72xx.c .max_speed_hz = 2 * 1000 * 1000, max_speed_hz 223 arch/arm/mach-ep93xx/vision_ep9307.c .max_speed_hz = 6000000, max_speed_hz 230 arch/arm/mach-ep93xx/vision_ep9307.c .max_speed_hz = 20000000, max_speed_hz 237 arch/arm/mach-ep93xx/vision_ep9307.c .max_speed_hz = 20000000, max_speed_hz 362 arch/arm/mach-imx/mach-mx27_3ds.c .max_speed_hz = 1000000, max_speed_hz 370 arch/arm/mach-imx/mach-mx27_3ds.c .max_speed_hz = 5000000, max_speed_hz 379 arch/arm/mach-imx/mach-mx31_3ds.c .max_speed_hz = 1000000, max_speed_hz 387 arch/arm/mach-imx/mach-mx31_3ds.c .max_speed_hz = 5000000, max_speed_hz 234 arch/arm/mach-imx/mach-mx31lilly.c .max_speed_hz = 1000000, max_speed_hz 130 arch/arm/mach-imx/mach-mx31lite.c .max_speed_hz = 1000000, max_speed_hz 282 arch/arm/mach-imx/mach-mx31moboard.c .max_speed_hz = 300000, max_speed_hz 184 arch/arm/mach-imx/mach-pca100.c .max_speed_hz = 30000, max_speed_hz 48 arch/arm/mach-imx/mach-pcm037_eet.c .max_speed_hz = 400000, max_speed_hz 119 arch/arm/mach-imx/mx31moboard-marxbot.c .max_speed_hz = 300000, max_speed_hz 321 arch/arm/mach-omap1/board-h3.c .max_speed_hz = 16000000, max_speed_hz 435 arch/arm/mach-omap1/board-htcherald.c .max_speed_hz = 2500000, max_speed_hz 230 arch/arm/mach-omap1/board-innovator.c .max_speed_hz = 120000 /* max sample rate at 3V */ max_speed_hz 131 arch/arm/mach-omap1/board-nokia770.c .max_speed_hz = 12000000, max_speed_hz 138 arch/arm/mach-omap1/board-nokia770.c .max_speed_hz = 2500000, max_speed_hz 438 arch/arm/mach-omap1/board-osk.c .max_speed_hz = 120000 /* max sample rate at 3V */ max_speed_hz 188 arch/arm/mach-omap1/board-palmte.c .max_speed_hz = 8000000, max_speed_hz 228 arch/arm/mach-omap1/board-palmtt.c .max_speed_hz = 120000 /* max sample rate at 3V */ max_speed_hz 194 arch/arm/mach-omap1/board-palmz71.c .max_speed_hz = 120000 /* max sample rate at 3V */ max_speed_hz 156 arch/arm/mach-omap2/board-n8x0.c .max_speed_hz = 48000000, max_speed_hz 69 arch/arm/mach-orion5x/rd88f6183ap-ge-setup.c .max_speed_hz = 20000000, max_speed_hz 105 arch/arm/mach-pxa/cm-x255.c .max_speed_hz = 1000000, max_speed_hz 388 arch/arm/mach-pxa/cm-x270.c .max_speed_hz = 13000000, max_speed_hz 377 arch/arm/mach-pxa/cm-x300.c .max_speed_hz = 1000000, max_speed_hz 587 arch/arm/mach-pxa/corgi.c .max_speed_hz = 1200000, max_speed_hz 595 arch/arm/mach-pxa/corgi.c .max_speed_hz = 50000, max_speed_hz 602 arch/arm/mach-pxa/corgi.c .max_speed_hz = 450000, max_speed_hz 788 arch/arm/mach-pxa/em-x270.c .max_speed_hz = 1000000, max_speed_hz 796 arch/arm/mach-pxa/em-x270.c .max_speed_hz = 13000000, max_speed_hz 622 arch/arm/mach-pxa/hx4700.c .max_speed_hz = 2600000, /* 100 kHz sample rate */ max_speed_hz 79 arch/arm/mach-pxa/icontrol.c .max_speed_hz = 6500000, max_speed_hz 88 arch/arm/mach-pxa/icontrol.c .max_speed_hz = 6500000, max_speed_hz 97 arch/arm/mach-pxa/icontrol.c .max_speed_hz = 6500000, max_speed_hz 106 arch/arm/mach-pxa/icontrol.c .max_speed_hz = 6500000, max_speed_hz 204 arch/arm/mach-pxa/littleton.c .max_speed_hz = 1000000, max_speed_hz 231 arch/arm/mach-pxa/lubbock.c .max_speed_hz = 120000 /* max sample rate at 3V */ max_speed_hz 948 arch/arm/mach-pxa/magician.c .max_speed_hz = 2500000, max_speed_hz 145 arch/arm/mach-pxa/pcm027.c .max_speed_hz = 13000000, max_speed_hz 215 arch/arm/mach-pxa/poodle.c .max_speed_hz = 10000, max_speed_hz 549 arch/arm/mach-pxa/spitz.c .max_speed_hz = 1200000, max_speed_hz 557 arch/arm/mach-pxa/spitz.c .max_speed_hz = 50000, max_speed_hz 564 arch/arm/mach-pxa/spitz.c .max_speed_hz = 450000, max_speed_hz 370 arch/arm/mach-pxa/stargate2.c .max_speed_hz = 8000000,/* 8MHz max spi frequency at 3V */ max_speed_hz 377 arch/arm/mach-pxa/stargate2.c .max_speed_hz = 6500000, max_speed_hz 820 arch/arm/mach-pxa/tosa.c .max_speed_hz = 28750, max_speed_hz 593 arch/arm/mach-pxa/z2.c .max_speed_hz = 13000000, max_speed_hz 601 arch/arm/mach-pxa/z2.c .max_speed_hz = 400000, max_speed_hz 440 arch/arm/mach-pxa/zeus.c .max_speed_hz = 1*1000*1000, max_speed_hz 447 arch/arm/mach-s3c24xx/mach-jive.c .max_speed_hz = 100000, max_speed_hz 454 arch/arm/mach-s3c24xx/mach-jive.c .max_speed_hz = 100000, max_speed_hz 47 arch/arm/mach-s3c64xx/mach-crag6410-module.c .max_speed_hz = 26 * 1000 * 1000, max_speed_hz 60 arch/arm/mach-s3c64xx/mach-crag6410-module.c .max_speed_hz = 26 * 1000 * 1000, max_speed_hz 239 arch/arm/mach-s3c64xx/mach-crag6410-module.c .max_speed_hz = 10 * 1000 * 1000, max_speed_hz 272 arch/arm/mach-s3c64xx/mach-crag6410-module.c .max_speed_hz = 10 * 1000 * 1000, max_speed_hz 295 arch/arm/mach-s3c64xx/mach-crag6410-module.c .max_speed_hz = 10 * 1000 * 1000, max_speed_hz 47 arch/m68k/coldfire/stmark2.c .max_speed_hz = 5000000, max_speed_hz 394 arch/mips/alchemy/devboards/db1000.c .max_speed_hz = 3250000, max_speed_hz 164 arch/mips/alchemy/devboards/db1200.c .max_speed_hz = 2000000, max_speed_hz 172 arch/mips/alchemy/devboards/db1200.c .max_speed_hz = 50000000, max_speed_hz 106 arch/mips/alchemy/devboards/db1550.c .max_speed_hz = 2400000, max_speed_hz 114 arch/mips/alchemy/devboards/db1550.c .max_speed_hz = 2400000, max_speed_hz 27 arch/mips/txx9/generic/spi_eeprom.c .max_speed_hz = 1500000, /* 1.5Mbps */ max_speed_hz 63 arch/mips/txx9/generic/spi_eeprom.c (spi->max_speed_hz + 500) / 1000); max_speed_hz 279 arch/mips/txx9/rbtx4938/setup.c .max_speed_hz = 1000000, /* 1.0Mbps @ Vdd 2.0V */ max_speed_hz 158 arch/powerpc/platforms/83xx/mpc832x_rdb.c .max_speed_hz = 50000000, max_speed_hz 323 arch/sh/boards/board-sh7757lcr.c .max_speed_hz = 25000000, max_speed_hz 807 arch/sh/boards/mach-ecovec24/setup.c .max_speed_hz = 5000000, max_speed_hz 62 arch/sh/boards/mach-r2d/setup.c .max_speed_hz = 1000000, max_speed_hz 374 arch/x86/platform/intel-mid/sfi.c spi_info.max_speed_hz = pentry->max_freq; max_speed_hz 379 arch/x86/platform/intel-mid/sfi.c spi_info.max_speed_hz, max_speed_hz 143 drivers/fpga/ice40-spi.c if (spi->max_speed_hz > ICE40_SPI_MAX_SPEED) { max_speed_hz 149 drivers/fpga/ice40-spi.c if (spi->max_speed_hz < ICE40_SPI_MIN_SPEED) { max_speed_hz 360 drivers/fpga/machxo2-spi.c if (spi->max_speed_hz > MACHXO2_MAX_SPEED) { max_speed_hz 739 drivers/gpu/drm/drm_mipi_dbi.c return min_t(u32, 10000000, spi->max_speed_hz); max_speed_hz 976 drivers/gpu/drm/drm_mipi_dbi.c spi->max_speed_hz / 2); max_speed_hz 1127 drivers/gpu/drm/drm_mipi_dbi.c DRM_DEBUG_DRIVER("SPI speed: %uMHz\n", spi->max_speed_hz / 1000000); max_speed_hz 1175 drivers/gpu/drm/tiny/repaper.c DRM_DEBUG_DRIVER("SPI speed: %uMHz\n", spi->max_speed_hz / 1000000); max_speed_hz 29 drivers/iio/accel/adxl345_spi.c if (spi->max_speed_hz > ADXL345_MAX_SPI_FREQ_HZ) { max_speed_hz 31 drivers/iio/accel/adxl345_spi.c spi->max_speed_hz); max_speed_hz 308 drivers/iio/gyro/adis16260.c adis->spi->max_speed_hz = ADIS16260_SPI_SLOW; max_speed_hz 310 drivers/iio/gyro/adis16260.c adis->spi->max_speed_hz = ADIS16260_SPI_FAST; max_speed_hz 389 drivers/iio/imu/adis16400.c st->adis.spi->max_speed_hz = ADIS16400_SPI_SLOW; max_speed_hz 391 drivers/iio/imu/adis16400.c st->adis.spi->max_speed_hz = ADIS16400_SPI_FAST; max_speed_hz 451 drivers/iio/imu/adis16400.c st->adis.spi->max_speed_hz = ADIS16400_SPI_SLOW; max_speed_hz 453 drivers/iio/imu/adis16400.c st->adis.spi->max_speed_hz = ADIS16400_SPI_FAST; max_speed_hz 488 drivers/iio/imu/adis16400.c st->adis.spi->max_speed_hz = ADIS16400_SPI_FAST; max_speed_hz 651 drivers/iio/imu/adis16400.c u32 old_speed_hz = st->adis.spi->max_speed_hz; max_speed_hz 659 drivers/iio/imu/adis16400.c st->adis.spi->max_speed_hz > ADIS16400_SPI_BURST) { max_speed_hz 660 drivers/iio/imu/adis16400.c st->adis.spi->max_speed_hz = ADIS16400_SPI_BURST; max_speed_hz 669 drivers/iio/imu/adis16400.c st->adis.spi->max_speed_hz = old_speed_hz; max_speed_hz 62 drivers/iio/magnetometer/hmc5843_spi.c spi->max_speed_hz = 8000000; max_speed_hz 34 drivers/iio/magnetometer/rm3100-spi.c spi->max_speed_hz = 1000000; max_speed_hz 95 drivers/iio/pressure/ms5611_spi.c spi->max_speed_hz = 20000000; max_speed_hz 50 drivers/iio/pressure/zpa2326_spi.c spi->max_speed_hz = min(spi->max_speed_hz, 1000000U); max_speed_hz 168 drivers/iio/resolver/ad2s1200.c spi->max_speed_hz = AD2S1200_HZ; max_speed_hz 83 drivers/iio/resolver/ad2s90.c if (spi->max_speed_hz > AD2S90_MAX_SPI_FREQ_HZ) { max_speed_hz 85 drivers/iio/resolver/ad2s90.c spi->max_speed_hz, AD2S90_MAX_SPI_FREQ_HZ); max_speed_hz 351 drivers/input/joystick/psxpad-spi.c spi->master->max_speed_hz = 125000; max_speed_hz 73 drivers/input/misc/adxl34x-spi.c if (spi->max_speed_hz > MAX_SPI_FREQ_HZ) { max_speed_hz 74 drivers/input/misc/adxl34x-spi.c dev_err(&spi->dev, "SPI CLK %d Hz too fast\n", spi->max_speed_hz); max_speed_hz 79 drivers/input/misc/adxl34x-spi.c spi->max_speed_hz > MAX_FREQ_NO_FIFODELAY, max_speed_hz 686 drivers/input/touchscreen/ad7877.c if (spi->max_speed_hz > MAX_SPI_FREQ_HZ) { max_speed_hz 687 drivers/input/touchscreen/ad7877.c dev_dbg(&spi->dev, "SPI CLK %d Hz?\n",spi->max_speed_hz); max_speed_hz 37 drivers/input/touchscreen/ad7879-spi.c if (spi->max_speed_hz > MAX_SPI_FREQ_HZ) { max_speed_hz 38 drivers/input/touchscreen/ad7879-spi.c dev_err(&spi->dev, "SPI CLK %d Hz?\n", spi->max_speed_hz); max_speed_hz 1274 drivers/input/touchscreen/ads7846.c if (spi->max_speed_hz > (125000 * SAMPLE_BITS)) { max_speed_hz 1276 drivers/input/touchscreen/ads7846.c (spi->max_speed_hz/SAMPLE_BITS)/1000); max_speed_hz 55 drivers/input/touchscreen/tsc2005.c if (!spi->max_speed_hz) max_speed_hz 56 drivers/input/touchscreen/tsc2005.c spi->max_speed_hz = TSC2005_SPI_MAX_SPEED_HZ; max_speed_hz 89 drivers/media/dvb-frontends/cxd2880/cxd2880_spi_device.c spi->max_speed_hz = speed_hz; max_speed_hz 63 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c .max_speed_hz = 11000000, max_speed_hz 435 drivers/media/spi/gs1662.c spi->max_speed_hz = 10000000; max_speed_hz 1175 drivers/media/usb/msi2500/msi2500.c .max_speed_hz = 12000000, max_speed_hz 141 drivers/mfd/mc13xxx-spi.c spi->max_speed_hz = spi->max_speed_hz ? : 26000000; max_speed_hz 92 drivers/mfd/stmpe-spi.c if (spi->max_speed_hz > 1000000) { max_speed_hz 94 drivers/mfd/stmpe-spi.c (spi->max_speed_hz/1000)); max_speed_hz 117 drivers/mfd/timberdale.c .max_speed_hz = 26000, max_speed_hz 127 drivers/mfd/timberdale.c .max_speed_hz = 4000, max_speed_hz 80 drivers/misc/eeprom/digsy_mtc_eeprom.c .max_speed_hz = 1000000, max_speed_hz 97 drivers/misc/eeprom/eeprom_93xx46.c cmd_addr, edev->spi->max_speed_hz); max_speed_hz 885 drivers/mmc/host/mmc_spi.c clock_rate = spi->max_speed_hz; max_speed_hz 1248 drivers/mmc/host/mmc_spi.c if (host->spi->max_speed_hz != ios->clock && ios->clock != 0) { max_speed_hz 1251 drivers/mmc/host/mmc_spi.c host->spi->max_speed_hz = ios->clock; max_speed_hz 1255 drivers/mmc/host/mmc_spi.c host->spi->max_speed_hz, status); max_speed_hz 1310 drivers/mmc/host/mmc_spi.c spi->mode, spi->max_speed_hz / 1000, max_speed_hz 1348 drivers/mmc/host/mmc_spi.c mmc->f_max = spi->max_speed_hz; max_speed_hz 1504 drivers/mmc/host/mmc_spi.c spi->max_speed_hz = mmc->f_max; max_speed_hz 1037 drivers/net/can/spi/mcp251x.c spi->max_speed_hz = spi->max_speed_hz ? : 5 * 1000 * 1000; max_speed_hz 1039 drivers/net/can/spi/mcp251x.c spi->max_speed_hz = spi->max_speed_hz ? : 10 * 1000 * 1000; max_speed_hz 117 drivers/net/ethernet/qualcomm/qca_debug.c (unsigned long)qca->spi_dev->max_speed_hz); max_speed_hz 899 drivers/net/ethernet/qualcomm/qca_spi.c if (spi->max_speed_hz) max_speed_hz 900 drivers/net/ethernet/qualcomm/qca_spi.c qcaspi_clkspeed = spi->max_speed_hz; max_speed_hz 940 drivers/net/ethernet/qualcomm/qca_spi.c spi->max_speed_hz = qcaspi_clkspeed; max_speed_hz 1321 drivers/net/ieee802154/mrf24j40.c if (spi->max_speed_hz > MAX_SPI_SPEED_HZ) { max_speed_hz 602 drivers/net/wireless/intersil/p54/p54spi.c spi->max_speed_hz = 24000000; max_speed_hz 1054 drivers/net/wireless/marvell/libertas/if_spi.c card->spi->max_speed_hz); max_speed_hz 370 drivers/net/wireless/st/cw1200/cw1200_spi.c if (func->max_speed_hz > 52000000) max_speed_hz 371 drivers/net/wireless/st/cw1200/cw1200_spi.c func->max_speed_hz = 52000000; max_speed_hz 372 drivers/net/wireless/st/cw1200/cw1200_spi.c if (func->max_speed_hz < 1000000) max_speed_hz 373 drivers/net/wireless/st/cw1200/cw1200_spi.c func->max_speed_hz = 1000000; max_speed_hz 386 drivers/net/wireless/st/cw1200/cw1200_spi.c func->max_speed_hz); max_speed_hz 121 drivers/rtc/rtc-ds1302.c } else if (spi->max_speed_hz > 2000000) { max_speed_hz 569 drivers/rtc/rtc-ds1305.c || (spi->max_speed_hz > 2000000) max_speed_hz 406 drivers/rtc/rtc-pcf2123.c (spi->max_speed_hz + 500) / 1000); max_speed_hz 184 drivers/rtc/rtc-rs5c348.c (spi->max_speed_hz + 500) / 1000); max_speed_hz 338 drivers/rtc/rtc-rx6110.c (spi->max_speed_hz > 2000000) || max_speed_hz 341 drivers/rtc/rtc-rx6110.c spi->bits_per_word, spi->max_speed_hz, spi->mode); max_speed_hz 400 drivers/spi/atmel-quadspi.c if (!spi->max_speed_hz) max_speed_hz 408 drivers/spi/atmel-quadspi.c scbr = DIV_ROUND_UP(src_rate, spi->max_speed_hz); max_speed_hz 884 drivers/spi/spi-armada-3700.c master->max_speed_hz = min_t(unsigned long, A3700_SPI_MAX_SPEED_HZ, max_speed_hz 553 drivers/spi/spi-at91-usart.c controller->max_speed_hz = DIV_ROUND_UP(clk_get_rate(clk), max_speed_hz 205 drivers/spi/spi-au1550.c cfg |= au1550_spi_baudcfg(hw, spi->max_speed_hz); max_speed_hz 232 drivers/spi/spi-au1550.c hz = spi->max_speed_hz; max_speed_hz 875 drivers/spi/spi-au1550.c master->max_speed_hz = hw->pdata->mainclk_hz / min_div; max_speed_hz 529 drivers/spi/spi-axi-spi-engine.c master->max_speed_hz = clk_get_rate(spi_engine->ref_clk) / 2; max_speed_hz 196 drivers/spi/spi-bcm-qspi.c u32 max_speed_hz; max_speed_hz 574 drivers/spi/spi-bcm-qspi.c xp->speed_hz = spi->max_speed_hz; max_speed_hz 1172 drivers/spi/spi-bcm-qspi.c parms.speed_hz = qspi->max_speed_hz; max_speed_hz 1347 drivers/spi/spi-bcm-qspi.c qspi->max_speed_hz = qspi->base_clk / (QSPI_SPBR_MIN * 2); max_speed_hz 166 drivers/spi/spi-bitbang.c hz = spi->max_speed_hz; max_speed_hz 261 drivers/spi/spi-butterfly.c pp->info[0].max_speed_hz = 15 * 1000 * 1000; max_speed_hz 562 drivers/spi/spi-cadence.c master->max_speed_hz = clk_get_rate(xspi->ref_clk) / 4; max_speed_hz 563 drivers/spi/spi-cadence.c xspi->speed_hz = master->max_speed_hz; max_speed_hz 55 drivers/spi/spi-cavium-octeon.c master->max_speed_hz = OCTEON_SPI_MAX_CLOCK_HZ; max_speed_hz 72 drivers/spi/spi-cavium-thunderx.c master->max_speed_hz = OCTEON_SPI_MAX_CLOCK_HZ; max_speed_hz 54 drivers/spi/spi-clps711x.c clk_set_rate(hw->spi_clk, xfer->speed_hz ? : spi->max_speed_hz); max_speed_hz 332 drivers/spi/spi-coldfire-qspi.c (MCFQSPI_BUSCLK / mcfqspi_qmr_baud(spi->max_speed_hz)) max_speed_hz 248 drivers/spi/spi-davinci.c u32 max_speed_hz) max_speed_hz 253 drivers/spi/spi-davinci.c ret = DIV_ROUND_UP(clk_get_rate(dspi->clk), max_speed_hz) - 1; max_speed_hz 309 drivers/spi/spi-davinci.c hz = spi->max_speed_hz; max_speed_hz 723 drivers/spi/spi-dln2.c &master->max_speed_hz); max_speed_hz 514 drivers/spi/spi-dw.c master->max_speed_hz = dws->max_freq; max_speed_hz 119 drivers/spi/spi-efm32.c unsigned speed = t->speed_hz ?: spi->max_speed_hz; max_speed_hz 122 drivers/spi/spi-ep93xx.c rate = clamp(rate, master->min_speed_hz, master->max_speed_hz); max_speed_hz 701 drivers/spi/spi-ep93xx.c master->max_speed_hz = clk_get_rate(espi->clk) / 2; max_speed_hz 314 drivers/spi/spi-falcon.c if (spi->max_speed_hz >= CLOCK_100M) { max_speed_hz 324 drivers/spi/spi-falcon.c if (CLOCK_50M / i <= spi->max_speed_hz) max_speed_hz 849 drivers/spi/spi-fsl-dspi.c hz_to_spi_baud(&pbr, &br, spi->max_speed_hz, clkrate); max_speed_hz 1129 drivers/spi/spi-fsl-dspi.c ctlr->max_speed_hz = max_speed_hz 328 drivers/spi/spi-fsl-espi.c u32 pm, hz = t ? t->speed_hz : spi->max_speed_hz; max_speed_hz 697 drivers/spi/spi-fsl-espi.c master->max_speed_hz = DIV_ROUND_UP(espi->spibrg, 4); max_speed_hz 450 drivers/spi/spi-fsl-lpspi.c fsl_lpspi->config.speed_hz = spi->max_speed_hz; max_speed_hz 516 drivers/spi/spi-fsl-qspi.c unsigned long rate = spi->max_speed_hz; max_speed_hz 246 drivers/spi/spi-fsl-spi.c hz = spi->max_speed_hz; max_speed_hz 449 drivers/spi/spi-fsl-spi.c if (!spi->max_speed_hz) max_speed_hz 228 drivers/spi/spi-geni-qcom.c mas->cur_speed_hz = spi_slv->max_speed_hz; max_speed_hz 573 drivers/spi/spi-geni-qcom.c spi->max_speed_hz = 50000000; max_speed_hz 584 drivers/spi/spi-img-spfi.c u32 max_speed_hz; max_speed_hz 646 drivers/spi/spi-img-spfi.c master->max_speed_hz = clk_get_rate(spfi->spfi_clk) / 4; max_speed_hz 657 drivers/spi/spi-img-spfi.c &max_speed_hz)) { max_speed_hz 658 drivers/spi/spi-img-spfi.c if (master->max_speed_hz > max_speed_hz) max_speed_hz 659 drivers/spi/spi-img-spfi.c master->max_speed_hz = max_speed_hz; max_speed_hz 1518 drivers/spi/spi-imx.c spi->mode, spi->bits_per_word, spi->max_speed_hz); max_speed_hz 266 drivers/spi/spi-lantiq-ssc.c unsigned int max_speed_hz) max_speed_hz 280 drivers/spi/spi-lantiq-ssc.c if (max_speed_hz > spi_clk) max_speed_hz 283 drivers/spi/spi-lantiq-ssc.c brt = spi_clk / max_speed_hz - 1; max_speed_hz 289 drivers/spi/spi-lantiq-ssc.c spi_clk, max_speed_hz, brt); max_speed_hz 256 drivers/spi/spi-lm70llp.c pp->info.max_speed_hz = 6 * 1000 * 1000; max_speed_hz 570 drivers/spi/spi-meson-spicc.c master->max_speed_hz = SPICC_MAX_FREQ; max_speed_hz 572 drivers/spi/spi-meson-spicc.c master->max_speed_hz = rate >> 2; max_speed_hz 336 drivers/spi/spi-meson-spifc.c master->max_speed_hz = rate >> 1; max_speed_hz 85 drivers/spi/spi-mpc512x-psc.c ? t->speed_hz : spi->max_speed_hz; max_speed_hz 393 drivers/spi/spi-mpc512x-psc.c cs->speed_hz = spi->max_speed_hz; max_speed_hz 64 drivers/spi/spi-mpc52xx-psc.c ? t->speed_hz : spi->max_speed_hz; max_speed_hz 276 drivers/spi/spi-mpc52xx-psc.c cs->speed_hz = spi->max_speed_hz; max_speed_hz 175 drivers/spi/spi-mpc52xx.c sppr = ((ms->ipb_freq / ms->message->spi->max_speed_hz) + 1) >> 1; max_speed_hz 252 drivers/spi/spi-mt7621.c unsigned int speed = spi->max_speed_hz; max_speed_hz 305 drivers/spi/spi-mt7621.c if ((spi->max_speed_hz == 0) || max_speed_hz 306 drivers/spi/spi-mt7621.c (spi->max_speed_hz > (rs->sys_freq / 2))) max_speed_hz 307 drivers/spi/spi-mt7621.c spi->max_speed_hz = rs->sys_freq / 2; max_speed_hz 309 drivers/spi/spi-mt7621.c if (spi->max_speed_hz < (rs->sys_freq / 4097)) { max_speed_hz 311 drivers/spi/spi-mt7621.c spi->max_speed_hz); max_speed_hz 360 drivers/spi/spi-mxic.c ret = mxic_spi_set_freq(mxic, mem->spi->max_speed_hz); max_speed_hz 69 drivers/spi/spi-mxs.c const unsigned int hz = min(dev->max_speed_hz, t->speed_hz); max_speed_hz 652 drivers/spi/spi-npcm-fiu.c chip->clkrate = spi->max_speed_hz; max_speed_hz 414 drivers/spi/spi-npcm-pspi.c master->max_speed_hz = DIV_ROUND_UP(clk_hz, NPCM_PSPI_MIN_CLK_DIVIDER); max_speed_hz 606 drivers/spi/spi-nxp-fspi.c unsigned long rate = spi->max_speed_hz; max_speed_hz 98 drivers/spi/spi-oc-tiny.c if (spi->max_speed_hz != hw->speed_hz) { max_speed_hz 99 drivers/spi/spi-oc-tiny.c hw->speed_hz = spi->max_speed_hz; max_speed_hz 371 drivers/spi/spi-omap-100k.c master->max_speed_hz = OMAP1_SPI100K_MAX_FREQ; max_speed_hz 350 drivers/spi/spi-omap-uwire.c hz = spi->max_speed_hz; max_speed_hz 899 drivers/spi/spi-omap2-mcspi.c u32 speed_hz = spi->max_speed_hz; max_speed_hz 1169 drivers/spi/spi-omap2-mcspi.c (t->speed_hz != spi->max_speed_hz) || max_speed_hz 1175 drivers/spi/spi-omap2-mcspi.c if (t->speed_hz == spi->max_speed_hz && max_speed_hz 1421 drivers/spi/spi-omap2-mcspi.c master->max_speed_hz = OMAP2_MCSPI_MAX_FREQ; max_speed_hz 294 drivers/spi/spi-orion.c unsigned int speed = spi->max_speed_hz; max_speed_hz 670 drivers/spi/spi-orion.c master->max_speed_hz = min(devdata->max_hz, max_speed_hz 673 drivers/spi/spi-orion.c master->max_speed_hz = max_speed_hz 676 drivers/spi/spi-orion.c master->max_speed_hz = devdata->max_hz; max_speed_hz 361 drivers/spi/spi-pic32-sqi.c if (sqi->cur_speed != spi->max_speed_hz) { max_speed_hz 362 drivers/spi/spi-pic32-sqi.c sqi->cur_speed = spi->max_speed_hz; max_speed_hz 363 drivers/spi/spi-pic32-sqi.c ret = pic32_sqi_set_clk_rate(sqi, spi->max_speed_hz); max_speed_hz 645 drivers/spi/spi-pic32-sqi.c master->max_speed_hz = clk_get_rate(sqi->base_clk); max_speed_hz 457 drivers/spi/spi-pic32.c if (pic32s->speed_hz != spi->max_speed_hz) { max_speed_hz 458 drivers/spi/spi-pic32.c pic32_spi_set_clk_rate(pic32s, spi->max_speed_hz); max_speed_hz 459 drivers/spi/spi-pic32.c pic32s->speed_hz = spi->max_speed_hz; max_speed_hz 583 drivers/spi/spi-pic32.c if (!spi->max_speed_hz) { max_speed_hz 766 drivers/spi/spi-pic32.c master->max_speed_hz = clk_get_rate(pic32s->clk); max_speed_hz 1856 drivers/spi/spi-pl022.c if (!spi->max_speed_hz) max_speed_hz 1911 drivers/spi/spi-pl022.c spi->max_speed_hz, max_speed_hz 177 drivers/spi/spi-ppc4xx.c speed = spi->max_speed_hz; max_speed_hz 188 drivers/spi/spi-ppc4xx.c speed = min(t->speed_hz, spi->max_speed_hz); max_speed_hz 191 drivers/spi/spi-ppc4xx.c if (!speed || (speed > spi->max_speed_hz)) { max_speed_hz 224 drivers/spi/spi-ppc4xx.c if (!spi->max_speed_hz) { max_speed_hz 369 drivers/spi/spi-pxa2xx.c (drv_data->controller->max_speed_hz / 2)); max_speed_hz 896 drivers/spi/spi-pxa2xx.c unsigned long ssp_clk = drv_data->controller->max_speed_hz; max_speed_hz 1057 drivers/spi/spi-pxa2xx.c controller->max_speed_hz max_speed_hz 1062 drivers/spi/spi-pxa2xx.c controller->max_speed_hz / 2 max_speed_hz 1762 drivers/spi/spi-pxa2xx.c controller->max_speed_hz = clk_get_rate(ssp->clk); max_speed_hz 1769 drivers/spi/spi-pxa2xx.c DIV_ROUND_UP(controller->max_speed_hz, 4096); max_speed_hz 1772 drivers/spi/spi-pxa2xx.c DIV_ROUND_UP(controller->max_speed_hz, 512); max_speed_hz 233 drivers/spi/spi-qcom-qspi.c speed_hz = slv->max_speed_hz; max_speed_hz 464 drivers/spi/spi-qcom-qspi.c master->max_speed_hz = 300000000; max_speed_hz 1064 drivers/spi/spi-qup.c master->max_speed_hz = max_freq; max_speed_hz 683 drivers/spi/spi-rockchip.c master->max_speed_hz = min(rs->freq / BAUDR_SCKDV_MIN, MAX_SCLK_OUT); max_speed_hz 182 drivers/spi/spi-rspi.c u32 max_speed_hz; max_speed_hz 259 drivers/spi/spi-rspi.c 2 * rspi->max_speed_hz) - 1; max_speed_hz 299 drivers/spi/spi-rspi.c if (rspi->max_speed_hz >= clksrc/4) /* 4=(CLK/2)/2 */ max_speed_hz 306 drivers/spi/spi-rspi.c spbr = DIV_ROUND_UP(clksrc, 2 * rspi->max_speed_hz) - 1; max_speed_hz 341 drivers/spi/spi-rspi.c spbr = DIV_ROUND_UP(clk_get_rate(rspi->clk), 2 * rspi->max_speed_hz); max_speed_hz 931 drivers/spi/spi-rspi.c rspi->max_speed_hz = spi->max_speed_hz; max_speed_hz 124 drivers/spi/spi-s3c24xx.c hz = t ? t->speed_hz : spi->max_speed_hz; max_speed_hz 127 drivers/spi/spi-s3c24xx.c hz = spi->max_speed_hz; max_speed_hz 821 drivers/spi/spi-s3c64xx.c if (spi->max_speed_hz > speed) max_speed_hz 822 drivers/spi/spi-s3c64xx.c spi->max_speed_hz = speed; max_speed_hz 824 drivers/spi/spi-s3c64xx.c psr = clk_get_rate(sdd->src_clk) / 2 / spi->max_speed_hz - 1; max_speed_hz 830 drivers/spi/spi-s3c64xx.c if (spi->max_speed_hz < speed) { max_speed_hz 840 drivers/spi/spi-s3c64xx.c if (spi->max_speed_hz >= speed) { max_speed_hz 841 drivers/spi/spi-s3c64xx.c spi->max_speed_hz = speed; max_speed_hz 844 drivers/spi/spi-s3c64xx.c spi->max_speed_hz); max_speed_hz 300 drivers/spi/spi-sc18is602.c master->max_speed_hz = hw->freq / 4; max_speed_hz 880 drivers/spi/spi-sirf.c hz = t && t->speed_hz ? t->speed_hz : spi->max_speed_hz; max_speed_hz 1124 drivers/spi/spi-sirf.c master->max_speed_hz = SIRFSOC_SPI_DEFAULT_FRQ; max_speed_hz 946 drivers/spi/spi-sprd.c sctlr->max_speed_hz = min_t(u32, ss->src_clk >> 1, max_speed_hz 185 drivers/spi/spi-st-ssc4.c u32 hz = spi->max_speed_hz; max_speed_hz 451 drivers/spi/spi-stm32-qspi.c if (!spi->max_speed_hz) max_speed_hz 454 drivers/spi/spi-stm32-qspi.c presc = DIV_ROUND_UP(qspi->clk_rate, spi->max_speed_hz) - 1; max_speed_hz 1899 drivers/spi/spi-stm32.c master->max_speed_hz = spi->clk_rate / spi->cfg->baud_rate_div_min; max_speed_hz 462 drivers/spi/spi-sun4i.c master->max_speed_hz = 100 * 1000 * 1000; max_speed_hz 471 drivers/spi/spi-sun6i.c master->max_speed_hz = 100 * 1000 * 1000; max_speed_hz 266 drivers/spi/spi-synquacer.c rate = master->max_speed_hz; max_speed_hz 625 drivers/spi/spi-synquacer.c &master->max_speed_hz); /* for ACPI */ max_speed_hz 656 drivers/spi/spi-synquacer.c master->max_speed_hz = clk_get_rate(sspi->clk); max_speed_hz 659 drivers/spi/spi-synquacer.c if (!master->max_speed_hz) { max_speed_hz 663 drivers/spi/spi-synquacer.c master->min_speed_hz = master->max_speed_hz / 254; max_speed_hz 948 drivers/spi/spi-tegra114.c spi->max_speed_hz); max_speed_hz 1316 drivers/spi/spi-tegra114.c &master->max_speed_hz)) max_speed_hz 1317 drivers/spi/spi-tegra114.c master->max_speed_hz = 25000000; /* 25MHz */ max_speed_hz 450 drivers/spi/spi-tegra20-sflash.c &master->max_speed_hz)) max_speed_hz 451 drivers/spi/spi-tegra20-sflash.c master->max_speed_hz = 25000000; /* 25MHz */ max_speed_hz 755 drivers/spi/spi-tegra20-slink.c spi->max_speed_hz); max_speed_hz 1045 drivers/spi/spi-tegra20-slink.c &master->max_speed_hz)) max_speed_hz 1046 drivers/spi/spi-tegra20-slink.c master->max_speed_hz = 25000000; /* 25MHz */ max_speed_hz 419 drivers/spi/spi-topcliff-pch.c spi->max_speed_hz); max_speed_hz 420 drivers/spi/spi-topcliff-pch.c pch_spi_set_baud_rate(spi->master, spi->max_speed_hz); max_speed_hz 1358 drivers/spi/spi-topcliff-pch.c master->max_speed_hz = PCH_MAX_BAUDRATE; max_speed_hz 119 drivers/spi/spi-txx9.c if (!spi->max_speed_hz) max_speed_hz 130 drivers/spi/spi-txx9.c txx9spi_cs_func(spi, c, 0, (NSEC_PER_SEC / 2) / spi->max_speed_hz); max_speed_hz 159 drivers/spi/spi-txx9.c cs_delay = 100 + (NSEC_PER_SEC / 2) / spi->max_speed_hz; max_speed_hz 356 drivers/spi/spi-txx9.c master->max_speed_hz = c->baseclk / (SPI_MIN_DIVIDER + 1); max_speed_hz 528 drivers/spi/spi-uniphier.c master->max_speed_hz = DIV_ROUND_UP(clk_rate, SSI_MIN_CLK_DIVIDER); max_speed_hz 147 drivers/spi/spi-xlp.c fdiv = DIV_ROUND_UP(xspi->spi_clk, spi->max_speed_hz); max_speed_hz 337 drivers/spi/spi-zynq-qspi.c spi->max_speed_hz) max_speed_hz 693 drivers/spi/spi-zynq-qspi.c ctlr->max_speed_hz = clk_get_rate(xqspi->refclk) / 2; max_speed_hz 458 drivers/spi/spi-zynqmp-gqspi.c req_hz = qspi->max_speed_hz; max_speed_hz 1093 drivers/spi/spi-zynqmp-gqspi.c master->max_speed_hz = clk_get_rate(xqspi->refclk) / 2; max_speed_hz 649 drivers/spi/spi.c proxy->max_speed_hz = chip->max_speed_hz; max_speed_hz 1794 drivers/spi/spi.c spi->max_speed_hz = value; max_speed_hz 1878 drivers/spi/spi.c u32 max_speed_hz; max_speed_hz 1895 drivers/spi/spi.c lookup->max_speed_hz = NSEC_PER_SEC / *(u32 *)obj->buffer.pointer; max_speed_hz 1952 drivers/spi/spi.c lookup->max_speed_hz = sb->connection_speed; max_speed_hz 1997 drivers/spi/spi.c if (!lookup.max_speed_hz && max_speed_hz 2004 drivers/spi/spi.c if (!lookup.max_speed_hz) max_speed_hz 2015 drivers/spi/spi.c spi->max_speed_hz = lookup.max_speed_hz; max_speed_hz 3088 drivers/spi/spi.c if (!spi->max_speed_hz) max_speed_hz 3089 drivers/spi/spi.c spi->max_speed_hz = spi->controller->max_speed_hz; max_speed_hz 3107 drivers/spi/spi.c spi->bits_per_word, spi->max_speed_hz, max_speed_hz 3203 drivers/spi/spi.c xfer->speed_hz = spi->max_speed_hz; max_speed_hz 3205 drivers/spi/spi.c if (ctlr->max_speed_hz && xfer->speed_hz > ctlr->max_speed_hz) max_speed_hz 3206 drivers/spi/spi.c xfer->speed_hz = ctlr->max_speed_hz; max_speed_hz 283 drivers/spi/spidev.c u_tmp->speed_hz ? : spidev->spi->max_speed_hz); max_speed_hz 451 drivers/spi/spidev.c u32 save = spi->max_speed_hz; max_speed_hz 453 drivers/spi/spidev.c spi->max_speed_hz = tmp; max_speed_hz 459 drivers/spi/spidev.c spi->max_speed_hz = save; max_speed_hz 626 drivers/spi/spidev.c spidev->speed_hz = spidev->spi->max_speed_hz; max_speed_hz 772 drivers/spi/spidev.c spidev->speed_hz = spi->max_speed_hz; max_speed_hz 853 drivers/staging/fbtft/fbtft-core.c spi->chip_select, spi->max_speed_hz / 1000000); max_speed_hz 33 drivers/staging/greybus/spilib.c u32 max_speed_hz; max_speed_hz 432 drivers/staging/greybus/spilib.c spi->max_speed_hz = le32_to_cpu(response.max_speed_hz); max_speed_hz 472 drivers/staging/greybus/spilib.c spi_board.max_speed_hz = le32_to_cpu(response.max_speed_hz); max_speed_hz 937 drivers/staging/iio/adc/ad7280a.c st->spi->max_speed_hz = AD7280A_MAX_SPI_CLK_HZ; max_speed_hz 103 drivers/staging/iio/addac/adt7316-spi.c if (spi_dev->max_speed_hz > ADT7316_SPI_MAX_FREQ_HZ) { max_speed_hz 105 drivers/staging/iio/addac/adt7316-spi.c spi_dev->max_speed_hz); max_speed_hz 685 drivers/staging/iio/resolver/ad2s1210.c st->fclkin = spi->max_speed_hz; max_speed_hz 1126 drivers/staging/pi433/pi433_if.c spi->mode, spi->bits_per_word, spi->max_speed_hz); max_speed_hz 751 drivers/tty/serial/ifx6x60.c ifx_dev->spi_xfer.speed_hz = ifx_dev->spi_dev->max_speed_hz; max_speed_hz 1024 drivers/tty/serial/ifx6x60.c spi->max_speed_hz = ifx_dev->max_hz; max_speed_hz 1469 drivers/tty/serial/max310x.c spi->max_speed_hz = spi->max_speed_hz ? : 26000000; max_speed_hz 1389 drivers/tty/serial/sc16is7xx.c spi->max_speed_hz = spi->max_speed_hz ? : 15000000; max_speed_hz 1415 drivers/usb/host/max3421-hcd.c max3421_hcd->rev, spi->max_speed_hz, spi->bits_per_word, max_speed_hz 113 drivers/video/backlight/ili922x.c if (s->max_speed_hz > ILITEK_MAX_FREQ_REG) \ max_speed_hz 496 drivers/video/backlight/ili922x.c reg, spi->max_speed_hz, spi->mode); max_speed_hz 862 include/linux/greybus/greybus_protocols.h __le32 max_speed_hz; max_speed_hz 875 include/linux/greybus/greybus_protocols.h __le32 max_speed_hz; max_speed_hz 144 include/linux/spi/spi.h u32 max_speed_hz; max_speed_hz 457 include/linux/spi/spi.h u32 max_speed_hz; max_speed_hz 1316 include/linux/spi/spi.h u32 max_speed_hz; max_speed_hz 284 sound/soc/codecs/cs4341.c if (!spi->max_speed_hz) max_speed_hz 285 sound/soc/codecs/cs4341.c spi->max_speed_hz = 6000000; max_speed_hz 961 sound/soc/codecs/wm0010.c if (spi->max_speed_hz) max_speed_hz 962 sound/soc/codecs/wm0010.c wm0010->board_max_spi_speed = spi->max_speed_hz;