Home
last modified time | relevance | path

Searched refs:max_speed_hz (Results 1 – 200 of 205) sorted by relevance

12

/linux-4.4.14/drivers/staging/fbtft/
Dfbtft_device.c254 .max_speed_hz = 32000000,
274 .max_speed_hz = 4000000,
297 .max_speed_hz = 32000000,
316 .max_speed_hz = 32000000,
336 .max_speed_hz = 32000000,
356 .max_speed_hz = 16000000,
373 .max_speed_hz = 48000000,
412 .max_speed_hz = 8000000,
430 .max_speed_hz = 5000000,
451 .max_speed_hz = 5000000,
[all …]
/linux-4.4.14/arch/blackfin/mach-bf537/boards/
Dstamp.c943 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
954 .max_speed_hz = 33250000, /* max spi clock (SCK) speed in HZ */
966 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
977 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
987 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
997 .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */
1030 .max_speed_hz = 8192000,
1041 .max_speed_hz = 1000000,
1052 .max_speed_hz = 1000000,
1064 .max_speed_hz = 1000000,
[all …]
Dpnav10.c217 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
229 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
237 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
249 .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */
Ddnp5370.c172 .max_speed_hz = 20000000,
184 .max_speed_hz = 16700000,
Dtcm_bf537.c81 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
93 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
102 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
Dcm_bf537u.c81 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
93 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
102 .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */
Dminotaur.c175 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
187 .max_speed_hz = 5000000, /* max spi clock (SCK) speed in HZ */
Dcm_bf537e.c81 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
93 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
102 .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */
/linux-4.4.14/arch/arm/mach-pxa/
Dicontrol.c82 .max_speed_hz = 6500000,
91 .max_speed_hz = 6500000,
100 .max_speed_hz = 6500000,
109 .max_speed_hz = 6500000,
Dcorgi.c577 .max_speed_hz = 1200000,
585 .max_speed_hz = 50000,
592 .max_speed_hz = 450000,
Dpcm027.c148 .max_speed_hz = 13000000,
Dcm-x255.c108 .max_speed_hz = 1000000,
Dspitz.c552 .max_speed_hz = 1200000,
560 .max_speed_hz = 50000,
567 .max_speed_hz = 450000,
Draumfeld.c669 .max_speed_hz = 10000, \
678 .max_speed_hz = 1000000, \
689 .max_speed_hz = 1000000, \
Dz2.c588 .max_speed_hz = 13000000,
596 .max_speed_hz = 400000,
Dcm-x270.c381 .max_speed_hz = 13000000,
Dstargate2.c372 .max_speed_hz = 8000000,/* 8MHz max spi frequency at 3V */
379 .max_speed_hz = 6500000,
Dlittleton.c208 .max_speed_hz = 1000000,
Dpoodle.c217 .max_speed_hz = 10000,
Dlubbock.c208 .max_speed_hz = 120000 /* max sample rate at 3V */
Dem-x270.c803 .max_speed_hz = 1000000,
811 .max_speed_hz = 13000000,
Dcm-x300.c367 .max_speed_hz = 1000000,
Dhx4700.c622 .max_speed_hz = 2600000, /* 100 kHz sample rate */
Dzeus.c432 .max_speed_hz = 1*1000*1000,
Dtosa.c825 .max_speed_hz = 28750,
/linux-4.4.14/drivers/iio/imu/
Dadis16400_buffer.c67 u32 old_speed_hz = st->adis.spi->max_speed_hz; in adis16400_trigger_handler()
75 st->adis.spi->max_speed_hz > ADIS16400_SPI_BURST) { in adis16400_trigger_handler()
76 st->adis.spi->max_speed_hz = ADIS16400_SPI_BURST; in adis16400_trigger_handler()
85 st->adis.spi->max_speed_hz = old_speed_hz; in adis16400_trigger_handler()
Dadis16400_core.c213 st->adis.spi->max_speed_hz = ADIS16400_SPI_SLOW; in adis16400_set_freq()
215 st->adis.spi->max_speed_hz = ADIS16400_SPI_FAST; in adis16400_set_freq()
275 st->adis.spi->max_speed_hz = ADIS16400_SPI_SLOW; in adis16400_initial_setup()
277 st->adis.spi->max_speed_hz = ADIS16400_SPI_FAST; in adis16400_initial_setup()
308 st->adis.spi->max_speed_hz = ADIS16400_SPI_FAST; in adis16400_initial_setup()
/linux-4.4.14/drivers/input/misc/
Dadxl34x-spi.c73 if (spi->max_speed_hz > MAX_SPI_FREQ_HZ) { in adxl34x_spi_probe()
74 dev_err(&spi->dev, "SPI CLK %d Hz too fast\n", spi->max_speed_hz); in adxl34x_spi_probe()
79 spi->max_speed_hz > MAX_FREQ_NO_FIFODELAY, in adxl34x_spi_probe()
/linux-4.4.14/arch/arm/mach-s3c64xx/
Dmach-crag6410-module.c46 .max_speed_hz = 26 * 1000 * 1000,
59 .max_speed_hz = 26 * 1000 * 1000,
227 .max_speed_hz = 10 * 1000 * 1000,
252 .max_speed_hz = 10 * 1000 * 1000,
266 .max_speed_hz = 10 * 1000 * 1000,
/linux-4.4.14/arch/blackfin/mach-bf518/boards/
Dezbrd.c222 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
235 .max_speed_hz = 5000000,
247 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
259 .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */
268 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
277 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
285 .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */
Dtcm-bf518.c170 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
182 .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */
194 .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */
203 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
212 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
220 .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */
/linux-4.4.14/drivers/input/touchscreen/
Dtsc2005.c58 if (!spi->max_speed_hz) in tsc2005_probe()
59 spi->max_speed_hz = TSC2005_SPI_MAX_SPEED_HZ; in tsc2005_probe()
Dad7879-spi.c119 if (spi->max_speed_hz > MAX_SPI_FREQ_HZ) { in ad7879_spi_probe()
120 dev_err(&spi->dev, "SPI CLK %d Hz?\n", spi->max_speed_hz); in ad7879_spi_probe()
Dad7877.c698 if (spi->max_speed_hz > MAX_SPI_FREQ_HZ) { in ad7877_probe()
699 dev_dbg(&spi->dev, "SPI CLK %d Hz?\n",spi->max_speed_hz); in ad7877_probe()
Dads7846.c1269 if (spi->max_speed_hz > (125000 * SAMPLE_BITS)) { in ads7846_probe()
1271 (spi->max_speed_hz/SAMPLE_BITS)/1000); in ads7846_probe()
/linux-4.4.14/arch/blackfin/mach-bf527/boards/
Dezbrd.c303 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
315 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
327 .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */
337 .max_speed_hz = 5000000, /* max spi clock (SCK) speed in HZ */
347 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
356 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
364 .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */
Dtll6527m.c368 .max_speed_hz = 25000000,
387 .max_speed_hz = 10000000,
400 .max_speed_hz = 5000000,
410 .max_speed_hz = 10000000,
420 .max_speed_hz = 20000000,
430 .max_speed_hz = 5000000, /* max spi clock (SCK) speed in HZ */
438 .max_speed_hz = 5000000, /* max spi clock (SCK) speed in HZ */
Dcm_bf527.c387 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
399 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
407 .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */
419 .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */
428 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
437 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
Dezkit.c588 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
600 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
610 .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */
623 .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */
633 .max_speed_hz = 5000000, /* max spi clock (SCK) speed in HZ */
642 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
650 .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */
Dad7160eval.c290 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
301 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
309 .max_speed_hz = 30000000, /* max spi clock (SCK) speed in HZ */
319 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
/linux-4.4.14/arch/avr32/boards/atstk1000/
Datstk1004.c53 .max_speed_hz = 200000,
62 .max_speed_hz = 16000000,
Datstk1002.c136 .max_speed_hz = 200000,
145 .max_speed_hz = 16000000,
Datstk1003.c51 .max_speed_hz = 200000,
/linux-4.4.14/drivers/net/wireless/cw1200/
Dcw1200_spi.c373 if (func->max_speed_hz > 52000000) in cw1200_spi_probe()
374 func->max_speed_hz = 52000000; in cw1200_spi_probe()
375 if (func->max_speed_hz < 1000000) in cw1200_spi_probe()
376 func->max_speed_hz = 1000000; in cw1200_spi_probe()
389 func->max_speed_hz); in cw1200_spi_probe()
/linux-4.4.14/arch/mips/txx9/generic/
Dspi_eeprom.c27 .max_speed_hz = 1500000, /* 1.5Mbps */ in spi_eeprom_register()
63 (spi->max_speed_hz + 500) / 1000); in early_seeprom_probe()
/linux-4.4.14/arch/arm/mach-ep93xx/
Dvision_ep9307.c297 .max_speed_hz = 6000000,
305 .max_speed_hz = 20000000,
313 .max_speed_hz = 20000000,
Dsimone.c161 .max_speed_hz = 10 * 1000 * 1000,
Dedb93xx.c136 .max_speed_hz = 6000000,
/linux-4.4.14/drivers/staging/iio/addac/
Dadt7316-spi.c105 if (spi_dev->max_speed_hz > ADT7316_SPI_MAX_FREQ_HZ) { in adt7316_spi_probe()
107 spi_dev->max_speed_hz); in adt7316_spi_probe()
/linux-4.4.14/drivers/mfd/
Dstmpe-spi.c92 if (spi->max_speed_hz > 1000000) { in stmpe_spi_probe()
94 (spi->max_speed_hz/1000)); in stmpe_spi_probe()
Dmc13xxx-spi.c143 spi->max_speed_hz = spi->max_speed_hz ? : 26000000; in mc13xxx_spi_probe()
Dtimberdale.c129 .max_speed_hz = 26000,
139 .max_speed_hz = 4000,
/linux-4.4.14/drivers/spi/
Dspi-sun4i.c232 if (mclk_rate < (2 * spi->max_speed_hz)) { in sun4i_spi_transfer_one()
233 clk_set_rate(sspi->mclk, 2 * spi->max_speed_hz); in sun4i_spi_transfer_one()
251 div = mclk_rate / (2 * spi->max_speed_hz); in sun4i_spi_transfer_one()
258 div = ilog2(mclk_rate) - ilog2(spi->max_speed_hz); in sun4i_spi_transfer_one()
Dspi-img-spfi.c584 u32 max_speed_hz; in img_spfi_probe() local
646 master->max_speed_hz = clk_get_rate(spfi->spfi_clk) / 4; in img_spfi_probe()
657 &max_speed_hz)) { in img_spfi_probe()
658 if (master->max_speed_hz > max_speed_hz) in img_spfi_probe()
659 master->max_speed_hz = max_speed_hz; in img_spfi_probe()
Dspi-sun6i.c220 if (mclk_rate < (2 * spi->max_speed_hz)) { in sun6i_spi_transfer_one()
221 clk_set_rate(sspi->mclk, 2 * spi->max_speed_hz); in sun6i_spi_transfer_one()
239 div = mclk_rate / (2 * spi->max_speed_hz); in sun6i_spi_transfer_one()
246 div = ilog2(mclk_rate) - ilog2(spi->max_speed_hz); in sun6i_spi_transfer_one()
Dspidev.c294 u_tmp->speed_hz ? : spidev->spi->max_speed_hz); in spidev_message()
479 u32 save = spi->max_speed_hz; in spidev_ioctl()
481 spi->max_speed_hz = tmp; in spidev_ioctl()
487 spi->max_speed_hz = save; in spidev_ioctl()
656 spidev->speed_hz = spidev->spi->max_speed_hz; in spidev_release()
757 spidev->speed_hz = spi->max_speed_hz; in spidev_probe()
Dspi-txx9.c120 if (!spi->max_speed_hz) in txx9spi_setup()
131 txx9spi_cs_func(spi, c, 0, (NSEC_PER_SEC / 2) / spi->max_speed_hz); in txx9spi_setup()
160 cs_delay = 100 + (NSEC_PER_SEC / 2) / spi->max_speed_hz; in txx9spi_work_one()
357 master->max_speed_hz = c->baseclk / (SPI_MIN_DIVIDER + 1); in txx9spi_probe()
Dspi-ppc4xx.c180 speed = spi->max_speed_hz; in spi_ppc4xx_setupxfer()
191 speed = min(t->speed_hz, spi->max_speed_hz); in spi_ppc4xx_setupxfer()
194 if (!speed || (speed > spi->max_speed_hz)) { in spi_ppc4xx_setupxfer()
227 if (!spi->max_speed_hz) { in spi_ppc4xx_setup()
Dspi-s3c64xx.c656 if (sdd->cur_speed != spi->max_speed_hz in s3c64xx_spi_prepare_message()
660 sdd->cur_speed = spi->max_speed_hz; in s3c64xx_spi_prepare_message()
834 if (spi->max_speed_hz > speed) in s3c64xx_spi_setup()
835 spi->max_speed_hz = speed; in s3c64xx_spi_setup()
837 psr = clk_get_rate(sdd->src_clk) / 2 / spi->max_speed_hz - 1; in s3c64xx_spi_setup()
843 if (spi->max_speed_hz < speed) { in s3c64xx_spi_setup()
853 if (spi->max_speed_hz >= speed) { in s3c64xx_spi_setup()
854 spi->max_speed_hz = speed; in s3c64xx_spi_setup()
857 spi->max_speed_hz); in s3c64xx_spi_setup()
Dspi.c590 proxy->max_speed_hz = chip->max_speed_hz; in spi_new_device()
1514 spi->max_speed_hz = value; in of_register_spi_device()
1572 spi->max_speed_hz = sb->connection_speed; in acpi_spi_add_resource()
1621 if (ret < 0 || !spi->max_speed_hz) { in acpi_spi_add_device()
2079 if (!spi->max_speed_hz) in spi_setup()
2080 spi->max_speed_hz = spi->master->max_speed_hz; in spi_setup()
2093 spi->bits_per_word, spi->max_speed_hz, in spi_setup()
2141 xfer->speed_hz = spi->max_speed_hz; in __spi_validate()
2143 xfer->speed_hz = master->max_speed_hz; in __spi_validate()
2145 if (master->max_speed_hz && in __spi_validate()
[all …]
Dspi-clps711x.c68 clk_set_rate(hw->spi_clk, xfer->speed_hz ? : spi->max_speed_hz); in spi_clps711x_transfer_one()
191 master->max_speed_hz); in spi_clps711x_probe()
Dspi-orion.c246 unsigned int speed = spi->max_speed_hz; in orion_spi_setup_transfer()
563 master->max_speed_hz = min(devdata->max_hz, in orion_spi_probe()
566 master->max_speed_hz = in orion_spi_probe()
569 master->max_speed_hz = devdata->max_hz; in orion_spi_probe()
Dspi-falcon.c316 if (spi->max_speed_hz >= CLOCK_100M) { in falcon_sflash_setup()
326 if (CLOCK_50M / i <= spi->max_speed_hz) in falcon_sflash_setup()
Dspi-rspi.c190 u32 max_speed_hz; member
267 2 * rspi->max_speed_hz) - 1; in rspi_set_config_register()
304 2 * rspi->max_speed_hz) - 1; in rspi_rz_set_config_register()
337 spbr = DIV_ROUND_UP(clk_get_rate(rspi->clk), 2 * rspi->max_speed_hz); in qspi_set_config_register()
830 rspi->max_speed_hz = spi->max_speed_hz; in rspi_setup()
Dspi-oc-tiny.c101 if (spi->max_speed_hz != hw->speed_hz) { in tiny_spi_setup()
102 hw->speed_hz = spi->max_speed_hz; in tiny_spi_setup()
Dspi-cadence.c561 master->max_speed_hz = clk_get_rate(xspi->ref_clk) / 4; in cdns_spi_probe()
562 xspi->speed_hz = master->max_speed_hz; in cdns_spi_probe()
Dspi-pxa2xx.c316 (drv_data->master->max_speed_hz / 2)); in lpss_ssp_cs_control()
850 unsigned long ssp_clk = drv_data->master->max_speed_hz; in ssp_get_clk_div()
1008 drv_data->master->max_speed_hz in pump_transfers()
1013 drv_data->master->max_speed_hz / 2 in pump_transfers()
1540 master->max_speed_hz = clk_get_rate(ssp->clk); in pxa2xx_spi_probe()
Dspi-lm70llp.c261 pp->info.max_speed_hz = 6 * 1000 * 1000; in spi_lm70llp_attach()
Dspi-mpc512x-psc.c89 ? t->speed_hz : spi->max_speed_hz; in mpc512x_psc_spi_transfer_setup()
397 cs->speed_hz = spi->max_speed_hz; in mpc512x_psc_spi_setup()
Dspi-mpc52xx-psc.c69 ? t->speed_hz : spi->max_speed_hz; in mpc52xx_psc_spi_transfer_setup()
281 cs->speed_hz = spi->max_speed_hz; in mpc52xx_psc_spi_setup()
Dspi-s3c24xx.c128 hz = t ? t->speed_hz : spi->max_speed_hz; in s3c24xx_spi_update_state()
131 hz = spi->max_speed_hz; in s3c24xx_spi_update_state()
Dspi-butterfly.c278 pp->info[0].max_speed_hz = 15 * 1000 * 1000; in butterfly_attach()
Dspi-au1550.c214 cfg |= au1550_spi_baudcfg(hw, spi->max_speed_hz); in au1550_spi_chipsel()
241 hz = spi->max_speed_hz; in au1550_spi_setupxfer()
884 master->max_speed_hz = hw->pdata->mainclk_hz / min_div; in au1550_spi_probe()
Dspi-davinci.c257 u32 max_speed_hz) in davinci_spi_get_prescale() argument
262 ret = DIV_ROUND_UP(clk_get_rate(dspi->clk), max_speed_hz) - 1; in davinci_spi_get_prescale()
318 hz = spi->max_speed_hz; in davinci_spi_setup_transfer()
Dspi-tegra20-sflash.c462 &master->max_speed_hz)) in tegra_sflash_probe()
463 master->max_speed_hz = 25000000; /* 25MHz */ in tegra_sflash_probe()
Dspi-omap2-mcspi.c871 u32 speed_hz = spi->max_speed_hz; in omap2_mcspi_setup_transfer()
1129 (t->speed_hz != spi->max_speed_hz) || in omap2_mcspi_work_one()
1135 if (t->speed_hz == spi->max_speed_hz && in omap2_mcspi_work_one()
1380 master->max_speed_hz = OMAP2_MCSPI_MAX_FREQ; in omap2_mcspi_probe()
Dspi-octeon.c212 master->max_speed_hz = OCTEON_SPI_MAX_CLOCK_HZ; in octeon_spi_probe()
Dspi-bitbang.c167 hz = spi->max_speed_hz; in spi_bitbang_setup_transfer()
Dspi-sc18is602.c296 master->max_speed_hz = hw->freq / 4; in sc18is602_probe()
Dspi-imx.c781 config.speed_hz = t ? t->speed_hz : spi->max_speed_hz; in spi_imx_setupxfer()
786 config.speed_hz = spi->max_speed_hz; in spi_imx_setupxfer()
1038 spi->mode, spi->bits_per_word, spi->max_speed_hz); in spi_imx_setup()
Dspi-zynqmp-gqspi.c474 req_hz = qspi->max_speed_hz; in zynqmp_qspi_setup_transfer()
1054 master->max_speed_hz = clk_get_rate(xqspi->refclk) / 2; in zynqmp_qspi_probe()
Dspi-ep93xx.c209 rate = clamp(rate, master->min_speed_hz, master->max_speed_hz); in ep93xx_spi_calc_divisors()
910 master->max_speed_hz = clk_get_rate(espi->clk) / 2; in ep93xx_spi_probe()
Dspi-tegra114.c769 spi->max_speed_hz); in tegra_spi_setup()
1046 &master->max_speed_hz)) in tegra_spi_probe()
1047 master->max_speed_hz = 25000000; /* 25MHz */ in tegra_spi_probe()
Dspi-tegra20-slink.c760 spi->max_speed_hz); in tegra_slink_setup()
1050 &master->max_speed_hz)) in tegra_slink_probe()
1051 master->max_speed_hz = 25000000; /* 25MHz */ in tegra_slink_probe()
Dspi-meson-spifc.c344 master->max_speed_hz = rate >> 1; in meson_spifc_probe()
Dspi-omap-uwire.c350 hz = spi->max_speed_hz; in uwire_setup_transfer()
Dspi-fsl-espi.c153 hz = spi->max_speed_hz; in fsl_espi_setup_transfer()
478 if (!spi->max_speed_hz) in fsl_espi_setup()
Dspi-fsl-spi.c243 hz = spi->max_speed_hz; in fsl_spi_setup_transfer()
430 if (!spi->max_speed_hz) in fsl_spi_setup()
Dspi-omap-100k.c380 master->max_speed_hz = OMAP1_SPI100K_MAX_FREQ; in omap1_spi100k_probe()
Dspi-st-ssc4.c216 u32 hz = spi->max_speed_hz; in spi_st_setup()
Dspi-xlp.c154 fdiv = DIV_ROUND_UP(xspi->spi_clk, spi->max_speed_hz); in xlp_spi_setup()
Dspi-efm32.c122 unsigned speed = t->speed_hz ?: spi->max_speed_hz; in efm32_spi_setup_transfer()
Dspi-mpc52xx.c176 sppr = ((ms->ipb_freq / ms->message->spi->max_speed_hz) + 1) >> 1; in mpc52xx_spi_fsmstate_idle()
Dspi-mxs.c77 const unsigned int hz = min(dev->max_speed_hz, t->speed_hz); in mxs_spi_setup_transfer()
Dspi-topcliff-pch.c431 spi->max_speed_hz); in pch_spi_setup_transfer()
432 pch_spi_set_baud_rate(spi->master, spi->max_speed_hz); in pch_spi_setup_transfer()
1384 master->max_speed_hz = PCH_MAX_BAUDRATE; in pch_spi_pd_probe()
Dspi-coldfire-qspi.c341 (MCFQSPI_BUSCLK / mcfqspi_qmr_baud(spi->max_speed_hz)) in mcfqspi_setup()
Dspi-dw.c504 master->max_speed_hz = dws->max_freq; in dw_spi_add_host()
Dspi-sirf.c881 hz = t && t->speed_hz ? t->speed_hz : spi->max_speed_hz; in spi_sirfsoc_setup_transfer()
1127 master->max_speed_hz = SIRFSOC_SPI_DEFAULT_FRQ; in spi_sirfsoc_probe()
Dspi-fsl-dspi.c481 hz_to_spi_baud(&pbr, &br, spi->max_speed_hz, clkrate); in dspi_setup()
Dspi-dln2.c724 &master->max_speed_hz); in dln2_spi_probe()
Dspi-bfin-sport.c616 chip->baud = bfin_sport_hz_to_spi_baud(spi->max_speed_hz); in bfin_sport_spi_setup()
Dspi-pl022.c1846 if (!spi->max_speed_hz) in pl022_setup()
1901 spi->max_speed_hz, in pl022_setup()
Dspi-qup.c822 master->max_speed_hz = max_freq; in spi_qup_probe()
Dspi-adi-v3.c712 chip->clock = hz_to_spi_clock(drv_data->sclk, spi->max_speed_hz); in adi_spi_setup()
/linux-4.4.14/arch/avr32/boards/mimc200/
Dsetup.c101 .max_speed_hz = 4000000,
106 .max_speed_hz = 1000000,
/linux-4.4.14/arch/blackfin/mach-bf533/boards/
Dblackstamp.c120 .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */
132 .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */
143 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
Dezkit.c221 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
233 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
241 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
Dcm_bf533.c76 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
88 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
97 .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */
Dstamp.c215 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
227 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
238 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
246 .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */
DH8606.c174 .max_speed_hz = 50000000, /* actual baudrate is SCLK/(2xspeed_hz) */
186 .max_speed_hz = 16,
Dip0x.c122 .max_speed_hz = 2,
/linux-4.4.14/arch/blackfin/mach-bf561/boards/
Dcm_bf561.c72 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
84 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
92 .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */
Dacvilon.c415 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
423 .max_speed_hz = 33250000, /* max spi clock (SCK) speed in HZ */
Dezkit.c337 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
347 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
/linux-4.4.14/arch/arm/mach-omap1/
Dboard-nokia770.c134 .max_speed_hz = 12000000,
141 .max_speed_hz = 2500000,
Dboard-palmte.c190 .max_speed_hz = 8000000,
Dboard-palmtt.c231 .max_speed_hz = 120000 /* max sample rate at 3V */
Dboard-palmz71.c197 .max_speed_hz = 120000 /* max sample rate at 3V */
Dboard-innovator.c233 .max_speed_hz = 120000 /* max sample rate at 3V */
Dboard-h3.c324 .max_speed_hz = 16000000,
Dboard-osk.c438 .max_speed_hz = 120000 /* max sample rate at 3V */
Dboard-htcherald.c450 .max_speed_hz = 2500000,
/linux-4.4.14/arch/arm/mach-dove/
Ddove-db-setup.c51 .max_speed_hz = 20000000,
Dcm-a510.c50 .max_speed_hz = 20000000,
/linux-4.4.14/drivers/misc/eeprom/
Ddigsy_mtc_eeprom.c62 .max_speed_hz = 1000000,
Deeprom_93xx46.c62 cmd_addr, edev->spi->max_speed_hz); in eeprom_93xx46_bin_read()
/linux-4.4.14/arch/mips/ath79/
Dmach-ap121.c65 .max_speed_hz = 25000000,
Dmach-ap81.c74 .max_speed_hz = 25000000,
Dmach-ubnt-xm.c72 .max_speed_hz = 25000000,
Dmach-db120.c83 .max_speed_hz = 25000000,
Dmach-pb44.c94 .max_speed_hz = 25000000,
Dmach-ap136.c105 .max_speed_hz = 25000000,
/linux-4.4.14/arch/arm/mach-omap2/
Dcommon-board-devices.c54 .max_speed_hz = 1500000,
Dboard-rx51-peripherals.c248 .max_speed_hz = 48000000,
257 .max_speed_hz = 6000000,
265 .max_speed_hz = 6000000,
Dboard-n8x0.c161 .max_speed_hz = 48000000,
/linux-4.4.14/arch/arm/mach-orion5x/
Drd88f6183ap-ge-setup.c75 .max_speed_hz = 20000000,
/linux-4.4.14/arch/blackfin/mach-bf538/boards/
Dezkit.c574 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
587 .max_speed_hz = 5000000, /* max spi clock (SCK) speed in HZ */
596 .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */
605 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
/linux-4.4.14/drivers/staging/iio/magnetometer/
Dhmc5843_spi.c65 spi->max_speed_hz = 8000000; in hmc5843_spi_probe()
/linux-4.4.14/drivers/mmc/host/
Dmmc_spi.c901 clock_rate = spi->max_speed_hz; in mmc_spi_data_do()
1259 if (host->spi->max_speed_hz != ios->clock && ios->clock != 0) { in mmc_spi_set_ios()
1262 host->spi->max_speed_hz = ios->clock; in mmc_spi_set_ios()
1266 host->spi->max_speed_hz, status); in mmc_spi_set_ios()
1321 spi->mode, spi->max_speed_hz / 1000, in mmc_spi_probe()
1359 mmc->f_max = spi->max_speed_hz; in mmc_spi_probe()
1508 spi->max_speed_hz = mmc->f_max; in mmc_spi_remove()
/linux-4.4.14/include/linux/spi/
Dspi.h136 u32 max_speed_hz; member
418 u32 max_speed_hz; member
1063 u32 max_speed_hz; member
/linux-4.4.14/drivers/staging/iio/resolver/
Dad2s90.c87 spi->max_speed_hz = 830000; in ad2s90_probe()
Dad2s1200.c141 spi->max_speed_hz = AD2S1200_HZ; in ad2s1200_probe()
Dad2s1210.c707 st->fclkin = spi->max_speed_hz; in ad2s1210_probe()
/linux-4.4.14/drivers/iio/pressure/
Dms5611_spi.c94 spi->max_speed_hz = 20000000; in ms5611_spi_probe()
/linux-4.4.14/arch/arm/mach-imx/
Dmach-mx27_3ds.c459 .max_speed_hz = 1000000,
467 .max_speed_hz = 5000000,
Dmach-pcm037_eet.c51 .max_speed_hz = 400000,
Dmach-mx31lite.c121 .max_speed_hz = 1000000,
Dmach-mx31lilly.c231 .max_speed_hz = 1000000,
Dmach-mx31_3ds.c532 .max_speed_hz = 1000000,
540 .max_speed_hz = 5000000,
Dmach-pca100.c198 .max_speed_hz = 30000,
Dmx31moboard-marxbot.c140 .max_speed_hz = 300000,
Dmach-mx31moboard.c297 .max_speed_hz = 300000,
/linux-4.4.14/drivers/iio/gyro/
Dadis16260.c309 adis->spi->max_speed_hz = ADIS16260_SPI_SLOW; in adis16260_write_raw()
311 adis->spi->max_speed_hz = ADIS16260_SPI_FAST; in adis16260_write_raw()
/linux-4.4.14/arch/arm/mach-s3c24xx/
Dmach-jive.c429 .max_speed_hz = 100000,
437 .max_speed_hz = 100000,
/linux-4.4.14/arch/mips/alchemy/devboards/
Ddb1550.c104 .max_speed_hz = 2400000,
112 .max_speed_hz = 2400000,
Ddb1200.c176 .max_speed_hz = 2000000,
184 .max_speed_hz = 50000000,
Ddb1000.c459 .max_speed_hz = 3250000,
/linux-4.4.14/Documentation/spi/
Dpxa2xx118 dependent on the SPI bus speed ("spi_board_info.max_speed_hz") and the specific
181 .max_speed_hz = 3686400, /* Run SSP as fast a possbile */
190 .max_speed_hz = 3686400, /* Run SSP as fast a possbile */
Dep93xx_spi73 .max_speed_hz = 10 * 1000 * 1000,
/linux-4.4.14/arch/arm/mach-davinci/
Dboard-dm355-leopard.c224 .max_speed_hz = 10 * 1000 * 1000, /* at 3v3 */
Dboard-dm355-evm.c366 .max_speed_hz = 10 * 1000 * 1000, /* at 3v3 */
Dboard-mityomapl138.c371 .max_speed_hz = 30000000,
Dboard-da830-evm.c580 .max_speed_hz = 30000000,
Dboard-dm365-evm.c737 .max_speed_hz = 10 * 1000 * 1000,
Dboard-da850-evm.c122 .max_speed_hz = 30000000,
/linux-4.4.14/arch/blackfin/mach-bf548/boards/
Dcm_bf548.c907 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
920 .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */
928 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
Dezkit.c1506 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
1517 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
1527 .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */
1535 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
1545 .max_speed_hz = 5000000, /* max spi clock (SCK) speed in HZ */
/linux-4.4.14/arch/powerpc/platforms/83xx/
Dmpc832x_rdb.c162 .max_speed_hz = 50000000,
/linux-4.4.14/drivers/video/backlight/
Dili922x.c117 if (s->max_speed_hz > ILITEK_MAX_FREQ_REG) \
501 reg, spi->max_speed_hz, spi->mode); in ili922x_probe()
/linux-4.4.14/arch/x86/platform/intel-mid/
Dsfi.c365 spi_info.max_speed_hz = pentry->max_freq; in sfi_handle_spi_dev()
370 spi_info.max_speed_hz, in sfi_handle_spi_dev()
/linux-4.4.14/drivers/staging/iio/meter/
Dade7759.c390 st->us->max_speed_hz = ADE7759_SPI_SLOW; in ade7759_write_frequency()
392 st->us->max_speed_hz = ADE7759_SPI_FAST; in ade7759_write_frequency()
Dade7753.c419 st->us->max_speed_hz = ADE7753_SPI_SLOW; in ade7753_write_frequency()
421 st->us->max_speed_hz = ADE7753_SPI_FAST; in ade7753_write_frequency()
Dade7754.c451 st->us->max_speed_hz = ADE7754_SPI_SLOW; in ade7754_write_frequency()
453 st->us->max_speed_hz = ADE7754_SPI_FAST; in ade7754_write_frequency()
/linux-4.4.14/arch/sh/boards/mach-r2d/
Dsetup.c65 .max_speed_hz = 1000000,
/linux-4.4.14/arch/avr32/boards/merisc/
Dsetup.c89 .max_speed_hz = 3250000,
/linux-4.4.14/arch/avr32/boards/atngw100/
Dsetup.c118 .max_speed_hz = 8000000,
Dmrmt.c212 .max_speed_hz = 31250*26,
/linux-4.4.14/drivers/net/can/spi/
Dmcp251x.c1082 spi->max_speed_hz = spi->max_speed_hz ? : 5 * 1000 * 1000; in mcp251x_can_probe()
1084 spi->max_speed_hz = spi->max_speed_hz ? : 10 * 1000 * 1000; in mcp251x_can_probe()
/linux-4.4.14/drivers/rtc/
Drtc-rs5c348.c176 (spi->max_speed_hz + 500) / 1000); in rs5c348_probe()
Drtc-pcf2123.c275 (spi->max_speed_hz + 500) / 1000); in pcf2123_probe()
Drtc-ds1305.c599 || (spi->max_speed_hz > 2000000) in ds1305_probe()
/linux-4.4.14/arch/avr32/boards/favr-32/
Dsetup.c90 .max_speed_hz = 2000000,
/linux-4.4.14/drivers/net/ethernet/qualcomm/
Dqca_spi.c858 if (spi->max_speed_hz) in qca_spi_probe()
859 qcaspi_clkspeed = spi->max_speed_hz; in qca_spi_probe()
892 spi->max_speed_hz = qcaspi_clkspeed; in qca_spi_probe()
Dqca_debug.c115 (unsigned long)qca->spi_dev->max_speed_hz); in qcaspi_info_show()
/linux-4.4.14/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_spi.c72 .max_speed_hz = 11000000,
/linux-4.4.14/arch/mips/txx9/rbtx4938/
Dsetup.c278 .max_speed_hz = 1000000, /* 1.0Mbps @ Vdd 2.0V */ in rbtx4938_spi_init()
/linux-4.4.14/arch/blackfin/mach-bf609/boards/
Dezkit.c1729 .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */
1742 .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */
1750 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
1761 .max_speed_hz = 5000000, /* max spi clock (SCK) speed in HZ */
/linux-4.4.14/drivers/staging/wilc1000/
Dlinux_wlan_spi.c51 PRINT_D(BUS_DBG, "spiMax-Speed: %d\n", spi->max_speed_hz); in wilc_bus_probe()
/linux-4.4.14/arch/arm/mach-w90x900/
Ddev.c261 .max_speed_hz = 20000000,
/linux-4.4.14/arch/mips/jz4740/
Dboard-qi_lb60.c322 .max_speed_hz = 30 * 1000,
/linux-4.4.14/sound/soc/codecs/
Dwm0010.c967 if (spi->max_speed_hz) in wm0010_spi_probe()
968 wm0010->board_max_spi_speed = spi->max_speed_hz; in wm0010_spi_probe()
/linux-4.4.14/drivers/tty/serial/
Difx6x60.c761 ifx_dev->spi_xfer.speed_hz = ifx_dev->spi_dev->max_speed_hz; in ifx_spi_io()
1036 spi->max_speed_hz = ifx_dev->max_hz; in ifx_spi_spi_probe()
Dmax310x.c1301 spi->max_speed_hz = spi->max_speed_hz ? : 26000000; in max310x_spi_probe()
Dsc16is7xx.c1315 spi->max_speed_hz = spi->max_speed_hz ? : 15000000; in sc16is7xx_spi_probe()
/linux-4.4.14/arch/sh/boards/
Dboard-sh7757lcr.c331 .max_speed_hz = 25000000,
/linux-4.4.14/drivers/net/wireless/p54/
Dp54spi.c615 spi->max_speed_hz = 24000000; in p54spi_probe()
/linux-4.4.14/drivers/staging/iio/adc/
Dad7280a.c856 st->spi->max_speed_hz = AD7280A_MAX_SPI_CLK_HZ; in ad7280_probe()
/linux-4.4.14/arch/sh/boards/mach-ecovec24/
Dsetup.c693 .max_speed_hz = 5000000,
/linux-4.4.14/drivers/net/wireless/libertas/
Dif_spi.c1081 card->spi->max_speed_hz); in if_spi_init_card()
/linux-4.4.14/drivers/net/ieee802154/
Dmrf24j40.c1314 if (spi->max_speed_hz > MAX_SPI_SPEED_HZ) { in mrf24j40_probe()

12