| /linux/drivers/input/misc/ |
| H A D | adxl34x-spi.c | 73 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/drivers/input/touchscreen/ |
| H A D | ad7879-spi.c | 37 if (spi->max_speed_hz > MAX_SPI_FREQ_HZ) { in ad7879_spi_probe() 38 dev_err(&spi->dev, "SPI CLK %d Hz?\n", spi->max_speed_hz); in ad7879_spi_probe()
|
| H A D | tsc2005.c | 55 if (!spi->max_speed_hz) in tsc2005_probe() 56 spi->max_speed_hz = TSC2005_SPI_MAX_SPEED_HZ; in tsc2005_probe()
|
| /linux/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/drivers/iio/pressure/ |
| H A D | zpa2326_spi.c | 48 spi->max_speed_hz = min(spi->max_speed_hz, 1000000U); in zpa2326_probe_spi()
|
| H A D | ms5611_spi.c | 93 spi->max_speed_hz = min(spi->max_speed_hz, 20000000U); in ms5611_spi_probe()
|
| /linux/drivers/net/wireless/st/cw1200/ |
| H A D | cw1200_spi.c | 362 if (func->max_speed_hz > 52000000) in cw1200_spi_probe() 363 func->max_speed_hz = 52000000; in cw1200_spi_probe() 364 if (func->max_speed_hz < 1000000) in cw1200_spi_probe() 365 func->max_speed_hz = 1000000; in cw1200_spi_probe() 378 func->max_speed_hz); in cw1200_spi_probe()
|
| /linux/drivers/tty/serial/ |
| H A D | sc16is7xx_spi.c | 31 spi->max_speed_hz = spi->max_speed_hz ? : 4 * HZ_PER_MHZ; in sc16is7xx_spi_probe()
|
| /linux/drivers/fpga/ |
| H A D | lattice-sysconfig-spi.c | 105 if (spi->max_speed_hz > *spi_max_speed) { in sysconfig_spi_probe() 107 spi->max_speed_hz, *spi_max_speed); in sysconfig_spi_probe()
|
| H A D | ice40-spi.c | 148 if (spi->max_speed_hz > ICE40_SPI_MAX_SPEED) { in ice40_fpga_probe() 154 if (spi->max_speed_hz < ICE40_SPI_MIN_SPEED) { in ice40_fpga_probe()
|
| /linux/drivers/mfd/ |
| H A D | mc13xxx-spi.c | 138 spi->max_speed_hz = spi->max_speed_hz ? : 26000000; in mc13xxx_spi_probe()
|
| /linux/drivers/net/wireless/silabs/wfx/ |
| H A D | bus_spi.c | 240 spi_get_chipselect(func, 0), func->mode, func->bits_per_word, func->max_speed_hz); in wfx_spi_probe() 243 if (func->max_speed_hz > 50000000) in wfx_spi_probe() 244 dev_warn(&func->dev, "%dHz is a very high speed\n", func->max_speed_hz); in wfx_spi_probe()
|
| /linux/drivers/spi/ |
| H A D | spidev.c | 296 k_tmp->speed_hz ? : spidev->spi->max_speed_hz); in spidev_message() 469 save = spi->max_speed_hz; in spidev_ioctl() 471 spi->max_speed_hz = tmp; in spidev_ioctl() 478 spi->max_speed_hz = save; in spidev_ioctl() 646 spidev->speed_hz = spidev->spi->max_speed_hz; in spidev_release() 812 spidev->speed_hz = spi->max_speed_hz; in spidev_probe()
|
| H A D | spi.c | 323 u32 max_speed_hz = 0; in new_device_store() local 348 if (sscanf(++blank, "%u %u %u", &chip_select, &max_speed_hz, &mode) < 1) { in new_device_store() 383 spi->max_speed_hz = max_speed_hz; in new_device_store() 1018 proxy->max_speed_hz = chip->max_speed_hz; in spi_new_device() 2802 spi->max_speed_hz = value; in of_spi_parse_dt() 2918 ancillary->max_speed_hz = spi->max_speed_hz; in spi_new_ancillary_device() 2986 u32 max_speed_hz; member 3045 lookup->max_speed_hz = NSEC_PER_SEC / *(u32 *)obj->buffer.pointer; in acpi_spi_parse_apple_properties() 3121 lookup->max_speed_hz = sb->connection_speed; in acpi_spi_add_resource() 3185 if (!lookup.max_speed_hz && in acpi_spi_device_alloc() [all …]
|
| H A D | spi-mpc52xx-psc.c | 53 ? t->speed_hz : spi->max_speed_hz; in mpc52xx_psc_spi_transfer_setup() 232 cs->speed_hz = spi->max_speed_hz; in mpc52xx_psc_spi_setup()
|
| /linux/drivers/net/ethernet/qualcomm/ |
| H A D | qca_spi.c | 912 spi->max_speed_hz = qcaspi_clkspeed; in qca_spi_probe() 913 else if (!spi->max_speed_hz) in qca_spi_probe() 914 spi->max_speed_hz = QCASPI_CLK_SPEED; in qca_spi_probe() 916 if (spi->max_speed_hz < QCASPI_CLK_SPEED_MIN || in qca_spi_probe() 917 spi->max_speed_hz > QCASPI_CLK_SPEED_MAX) { in qca_spi_probe() 919 spi->max_speed_hz); in qca_spi_probe() 946 spi->max_speed_hz, in qca_spi_probe()
|
| /linux/drivers/mmc/host/ |
| H A D | mmc_spi.c | 787 clock_rate = spi->max_speed_hz; in mmc_spi_data_do() 1110 if (host->spi->max_speed_hz != ios->clock && ios->clock != 0) { in mmc_spi_set_ios() 1113 host->spi->max_speed_hz = ios->clock; in mmc_spi_set_ios() 1116 host->spi->max_speed_hz, status); in mmc_spi_set_ios() 1171 spi->mode, spi->max_speed_hz / 1000, in mmc_spi_probe() 1212 mmc->f_max = spi->max_speed_hz; in mmc_spi_probe() 1328 spi->max_speed_hz = mmc->f_max; in mmc_spi_remove()
|
| /linux/drivers/iio/magnetometer/ |
| H A D | rm3100-spi.c | 34 spi->max_speed_hz = 1000000; in rm3100_probe()
|
| /linux/arch/arm/mach-dove/ |
| H A D | cm-a510.c | 46 .max_speed_hz = 20000000,
|
| /linux/drivers/misc/eeprom/ |
| H A D | digsy_mtc_eeprom.c | 72 .max_speed_hz = 1000000,
|
| /linux/sound/soc/codecs/ |
| H A D | cs35l45-spi.c | 26 spi->max_speed_hz = CS35L45_SPI_MAX_FREQ; in cs35l45_spi_probe()
|
| H A D | rt5575-spi.c | 57 .max_speed_hz = 10000000, in rt5575_spi_get_device()
|
| /linux/drivers/net/ethernet/vertexcom/ |
| H A D | mse102x.c | 703 if (!spi->max_speed_hz) in mse102x_probe_spi() 704 spi->max_speed_hz = MAX_FREQ_HZ; in mse102x_probe_spi() 706 if (spi->max_speed_hz < MIN_FREQ_HZ || in mse102x_probe_spi() 707 spi->max_speed_hz > MAX_FREQ_HZ) { in mse102x_probe_spi()
|
| /linux/drivers/media/dvb-frontends/cxd2880/ |
| H A D | cxd2880_spi_device.c | 89 spi->max_speed_hz = speed_hz; in cxd2880_spi_device_initialize()
|
| /linux/drivers/rtc/ |
| H A D | rtc-rx6110.c | 347 (spi->max_speed_hz > 2000000) || in rx6110_spi_probe() 350 spi->bits_per_word, spi->max_speed_hz, spi->mode); in rx6110_spi_probe()
|