Home
last modified time | relevance | path

Searched refs:max_speed_hz (Results 1 – 25 of 190) sorted by relevance

12345678

/Linux-v4.19/drivers/staging/fbtft/
Dfbtft_device.c275 .max_speed_hz = 32000000,
295 .max_speed_hz = 4000000,
318 .max_speed_hz = 32000000,
337 .max_speed_hz = 32000000,
357 .max_speed_hz = 32000000,
377 .max_speed_hz = 16000000,
394 .max_speed_hz = 48000000,
433 .max_speed_hz = 8000000,
451 .max_speed_hz = 5000000,
472 .max_speed_hz = 5000000,
[all …]
/Linux-v4.19/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,
/Linux-v4.19/drivers/iio/imu/
Dadis16400_buffer.c68 u32 old_speed_hz = st->adis.spi->max_speed_hz; in adis16400_trigger_handler()
76 st->adis.spi->max_speed_hz > ADIS16400_SPI_BURST) { in adis16400_trigger_handler()
77 st->adis.spi->max_speed_hz = ADIS16400_SPI_BURST; in adis16400_trigger_handler()
86 st->adis.spi->max_speed_hz = old_speed_hz; in adis16400_trigger_handler()
/Linux-v4.19/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-v4.19/drivers/staging/mt7621-spi/
Dspi-mt7621.c269 unsigned int speed = spi->max_speed_hz; in mt7621_spi_transfer_half_duplex()
308 unsigned int speed = spi->max_speed_hz; in mt7621_spi_transfer_full_duplex()
403 if ((spi->max_speed_hz == 0) || in mt7621_spi_setup()
404 (spi->max_speed_hz > (rs->sys_freq / 2))) in mt7621_spi_setup()
405 spi->max_speed_hz = (rs->sys_freq / 2); in mt7621_spi_setup()
407 if (spi->max_speed_hz < (rs->sys_freq / 4097)) { in mt7621_spi_setup()
409 spi->max_speed_hz); in mt7621_spi_setup()
/Linux-v4.19/arch/arm/mach-s3c64xx/
Dmach-crag6410-module.c47 .max_speed_hz = 26 * 1000 * 1000,
60 .max_speed_hz = 26 * 1000 * 1000,
227 .max_speed_hz = 10 * 1000 * 1000,
260 .max_speed_hz = 10 * 1000 * 1000,
283 .max_speed_hz = 10 * 1000 * 1000,
/Linux-v4.19/drivers/input/touchscreen/
Dad7879-spi.c38 if (spi->max_speed_hz > MAX_SPI_FREQ_HZ) { in ad7879_spi_probe()
39 dev_err(&spi->dev, "SPI CLK %d Hz?\n", spi->max_speed_hz); in ad7879_spi_probe()
Dtsc2005.c64 if (!spi->max_speed_hz) in tsc2005_probe()
65 spi->max_speed_hz = TSC2005_SPI_MAX_SPEED_HZ; in tsc2005_probe()
/Linux-v4.19/drivers/iio/accel/
Dadxl345_spi.c32 if (spi->max_speed_hz > ADXL345_MAX_SPI_FREQ_HZ) { in adxl345_spi_probe()
34 spi->max_speed_hz); in adxl345_spi_probe()
/Linux-v4.19/arch/arm/mach-ep93xx/
Dvision_ep9307.c219 .max_speed_hz = 6000000,
226 .max_speed_hz = 20000000,
233 .max_speed_hz = 20000000,
/Linux-v4.19/drivers/iio/pressure/
Dzpa2326_spi.c58 spi->max_speed_hz = min(spi->max_speed_hz, 1000000U); in zpa2326_probe_spi()
/Linux-v4.19/drivers/net/wireless/st/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-v4.19/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-v4.19/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-v4.19/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()
/Linux-v4.19/drivers/staging/greybus/
Dspilib.c33 u32 max_speed_hz; member
432 spi->max_speed_hz = le32_to_cpu(response.max_speed_hz); in gb_spi_get_master_config()
472 spi_board.max_speed_hz = le32_to_cpu(response.max_speed_hz); in gb_spi_setup_device()
/Linux-v4.19/drivers/spi/
Dspi-img-spfi.c587 u32 max_speed_hz; in img_spfi_probe() local
649 master->max_speed_hz = clk_get_rate(spfi->spfi_clk) / 4; in img_spfi_probe()
660 &max_speed_hz)) { in img_spfi_probe()
661 if (master->max_speed_hz > max_speed_hz) in img_spfi_probe()
662 master->max_speed_hz = max_speed_hz; in img_spfi_probe()
Dspi-txx9.c119 if (!spi->max_speed_hz) in txx9spi_setup()
130 txx9spi_cs_func(spi, c, 0, (NSEC_PER_SEC / 2) / spi->max_speed_hz); in txx9spi_setup()
159 cs_delay = 100 + (NSEC_PER_SEC / 2) / spi->max_speed_hz; in txx9spi_work_one()
356 master->max_speed_hz = c->baseclk / (SPI_MIN_DIVIDER + 1); in txx9spi_probe()
Dspidev.c290 u_tmp->speed_hz ? : spidev->spi->max_speed_hz); in spidev_message()
453 u32 save = spi->max_speed_hz; in spidev_ioctl()
455 spi->max_speed_hz = tmp; in spidev_ioctl()
461 spi->max_speed_hz = save; in spidev_ioctl()
628 spidev->speed_hz = spidev->spi->max_speed_hz; in spidev_release()
770 spidev->speed_hz = spi->max_speed_hz; in spidev_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()
/Linux-v4.19/arch/arm/mach-omap1/
Dboard-nokia770.c134 .max_speed_hz = 12000000,
141 .max_speed_hz = 2500000,
/Linux-v4.19/drivers/fpga/
Dice40-spi.c146 if (spi->max_speed_hz > ICE40_SPI_MAX_SPEED) { in ice40_fpga_probe()
152 if (spi->max_speed_hz < ICE40_SPI_MIN_SPEED) { in ice40_fpga_probe()
/Linux-v4.19/arch/arm/mach-dove/
Dcm-a510.c50 .max_speed_hz = 20000000,
Ddove-db-setup.c51 .max_speed_hz = 20000000,

12345678