Home
last modified time | relevance | path

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

1234

/linux/drivers/input/misc/
H A 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/include/trace/events/
H A Dspi.h54 __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/input/touchscreen/
H A Dad7879-spi.c37 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 Dtsc2005.c55 if (!spi->max_speed_hz) in tsc2005_probe()
56 spi->max_speed_hz = TSC2005_SPI_MAX_SPEED_HZ; in tsc2005_probe()
/linux/drivers/net/wireless/st/cw1200/
H A Dcw1200_spi.c362 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/iio/pressure/
H A Dzpa2326_spi.c48 spi->max_speed_hz = min(spi->max_speed_hz, 1000000U); in zpa2326_probe_spi()
H A Dms5611_spi.c93 spi->max_speed_hz = min(spi->max_speed_hz, 20000000U); in ms5611_spi_probe()
/linux/drivers/tty/serial/
H A Dsc16is7xx_spi.c31 spi->max_speed_hz = spi->max_speed_hz ? : 4 * HZ_PER_MHZ; in sc16is7xx_spi_probe()
/linux/drivers/fpga/
H A Dlattice-sysconfig-spi.c105 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 Dice40-spi.c148 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 Dstmpe-spi.c92 if (spi->max_speed_hz > 1000000) { in stmpe_spi_probe()
94 (spi->max_speed_hz/1000)); in stmpe_spi_probe()
H A Dmc13xxx-spi.c138 spi->max_speed_hz = spi->max_speed_hz ? : 26000000; in mc13xxx_spi_probe()
H A Docelot-spi.c210 if (spi->max_speed_hz <= 500000) { in ocelot_spi_probe()
219 ddata->spi_padding_bytes = 1 + (spi->max_speed_hz / HZ_PER_MHZ + 2) / 8; in ocelot_spi_probe()
H A Drsmu_spi.c42 xfer.speed_hz = client->max_speed_hz; in rsmu_read_device()
82 xfer.speed_hz = client->max_speed_hz; in rsmu_write_device()
/linux/drivers/spi/
H A Dspidev.c296 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 Dspi.c307 * Takes parameters: <modalias> <chip_select> [<max_speed_hz> [<mode>]]
323 u32 max_speed_hz = 0; in new_device_store() local
344 * fields (max_speed_hz, mode) stay zero from initialisation above. in new_device_store()
345 * max_speed_hz == 0 is clamped to the controller max by spi_setup(). in new_device_store()
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()
1027 proxy->max_speed_hz = chip->max_speed_hz; in spi_new_device()
2811 spi->max_speed_hz in of_spi_parse_dt()
2986 u32 max_speed_hz; global() member
[all...]
H A Dspi-sg2044-nor.c422 min(op->max_freq, mem->spi->max_speed_hz) : in sg2044_spifmc_exec_op()
423 mem->spi->max_speed_hz); in sg2044_spifmc_exec_op()
485 ctrl->max_speed_hz = clk_get_rate(spifmc->clk) / 2; in sg2044_spifmc_probe()
486 if (!ctrl->max_speed_hz) in sg2044_spifmc_probe()
/linux/drivers/net/wireless/silabs/wfx/
H A Dbus_spi.c240 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/net/ethernet/qualcomm/
H A Dqca_spi.c912 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 Dmmc_spi.c787 clock_rate = spi->max_speed_hz; in mmc_spi_data_do()
1111 if (host->spi->max_speed_hz != ios->clock && ios->clock != 0) { in mmc_spi_set_ios()
1114 host->spi->max_speed_hz = ios->clock; in mmc_spi_set_ios()
1117 host->spi->max_speed_hz, status); in mmc_spi_set_ios()
1172 spi->mode, spi->max_speed_hz / 1000, in mmc_spi_probe()
1213 mmc->f_max = spi->max_speed_hz; in mmc_spi_probe()
1329 spi->max_speed_hz = mmc->f_max; in mmc_spi_remove()
/linux/drivers/iio/magnetometer/
H A Drm3100-spi.c34 spi->max_speed_hz = 1000000; in rm3100_probe()
/linux/arch/arm/mach-dove/
H A Dcm-a510.c46 .max_speed_hz = 20000000,
/linux/drivers/misc/eeprom/
H A Ddigsy_mtc_eeprom.c72 .max_speed_hz = 1000000,
/linux/sound/soc/codecs/
H A Dcs35l45-spi.c26 spi->max_speed_hz = CS35L45_SPI_MAX_FREQ; in cs35l45_spi_probe()
/linux/drivers/net/ethernet/vertexcom/
H A Dmse102x.c703 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()

1234