/linux-master/drivers/input/misc/ |
H A D | adxl34x-spi.c | 73 if (spi->max_speed_hz > MAX_SPI_FREQ_HZ) { 74 dev_err(&spi->dev, "SPI CLK %d Hz too fast\n", spi->max_speed_hz); 79 spi->max_speed_hz > MAX_FREQ_NO_FIFODELAY,
|
/linux-master/drivers/iio/pressure/ |
H A D | zpa2326_spi.c | 50 spi->max_speed_hz = min(spi->max_speed_hz, 1000000U);
|
H A D | ms5611_spi.c | 94 spi->max_speed_hz = min(spi->max_speed_hz, 20000000U);
|
/linux-master/drivers/iio/accel/ |
H A D | adxl345_spi.c | 27 /* Bail out if max_speed_hz exceeds 5 MHz */ 28 if (spi->max_speed_hz > ADXL345_MAX_SPI_FREQ_HZ) 30 spi->max_speed_hz);
|
/linux-master/drivers/input/touchscreen/ |
H A D | ad7879-spi.c | 37 if (spi->max_speed_hz > MAX_SPI_FREQ_HZ) { 38 dev_err(&spi->dev, "SPI CLK %d Hz?\n", spi->max_speed_hz);
|
H A D | tsc2005.c | 55 if (!spi->max_speed_hz) 56 spi->max_speed_hz = TSC2005_SPI_MAX_SPEED_HZ;
|
/linux-master/drivers/iio/magnetometer/ |
H A D | rm3100-spi.c | 34 spi->max_speed_hz = 1000000;
|
H A D | hmc5843_spi.c | 62 spi->max_speed_hz = 8000000;
|
/linux-master/drivers/spi/ |
H A D | spi-ar934x.c | 67 if ((spi->max_speed_hz == 0) || 68 (spi->max_speed_hz > (sp->clk_freq / 2))) { 69 spi->max_speed_hz = sp->clk_freq / 2; 70 } else if (spi->max_speed_hz < (sp->clk_freq / 128)) { 102 div = ar934x_spi_clk_div(sp, spi->max_speed_hz);
|
H A D | spi-mt7621.c | 253 unsigned int speed = spi->max_speed_hz; 306 if ((spi->max_speed_hz == 0) || 307 (spi->max_speed_hz > (rs->sys_freq / 2))) 308 spi->max_speed_hz = rs->sys_freq / 2; 310 if (spi->max_speed_hz < (rs->sys_freq / 4097)) { 312 spi->max_speed_hz);
|
H A D | spi-mux.c | 65 priv->spi->max_speed_hz = spi->max_speed_hz;
|
H A D | spi-ingenic.c | 57 unsigned int max_speed_hz; member in struct:jz_soc_info 104 u32 cdiv, speed_hz = xfer->speed_hz ?: spi->max_speed_hz, 441 ctlr->max_speed_hz = pdata->max_speed_hz; 468 .max_speed_hz = 54000000, 477 .max_speed_hz = 54000000, 486 .max_speed_hz = 50000000, 495 .max_speed_hz = 50000000,
|
H A D | spi-cavium-octeon.c | 55 host->max_speed_hz = OCTEON_SPI_MAX_CLOCK_HZ;
|
/linux-master/drivers/staging/iio/addac/ |
H A D | adt7316-spi.c | 103 if (spi_dev->max_speed_hz > ADT7316_SPI_MAX_FREQ_HZ) { 105 spi_dev->max_speed_hz);
|
/linux-master/drivers/iio/resolver/ |
H A D | ad2s90.c | 83 if (spi->max_speed_hz > AD2S90_MAX_SPI_FREQ_HZ) { 85 spi->max_speed_hz, AD2S90_MAX_SPI_FREQ_HZ);
|
/linux-master/drivers/fpga/ |
H A D | lattice-sysconfig-spi.c | 109 if (spi->max_speed_hz > *spi_max_speed) { 111 spi->max_speed_hz, *spi_max_speed);
|
H A D | ice40-spi.c | 149 if (spi->max_speed_hz > ICE40_SPI_MAX_SPEED) { 155 if (spi->max_speed_hz < ICE40_SPI_MIN_SPEED) {
|
/linux-master/drivers/misc/eeprom/ |
H A D | digsy_mtc_eeprom.c | 80 .max_speed_hz = 1000000,
|
/linux-master/arch/arm/mach-dove/ |
H A D | cm-a510.c | 46 .max_speed_hz = 20000000,
|
/linux-master/include/trace/events/ |
H A D | spi.h | 54 __field(unsigned int, max_speed_hz) 63 __entry->max_speed_hz = spi->max_speed_hz; 74 __entry->bits_per_word, __entry->max_speed_hz,
|
/linux-master/sound/soc/codecs/ |
H A D | cs35l45-spi.c | 26 spi->max_speed_hz = CS35L45_SPI_MAX_FREQ;
|
/linux-master/drivers/mfd/ |
H A D | stmpe-spi.c | 92 if (spi->max_speed_hz > 1000000) { 94 (spi->max_speed_hz/1000));
|
H A D | mc13xxx-spi.c | 139 spi->max_speed_hz = spi->max_speed_hz ? : 26000000;
|
/linux-master/drivers/media/dvb-frontends/cxd2880/ |
H A D | cxd2880_spi_device.c | 89 spi->max_speed_hz = speed_hz;
|
/linux-master/arch/m68k/coldfire/ |
H A D | stmark2.c | 48 .max_speed_hz = 5000000,
|