/linux-6.12.1/drivers/input/misc/ |
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-6.12.1/drivers/spi/ |
D | spi-ar934x.c | 67 if ((spi->max_speed_hz == 0) || in ar934x_spi_setup() 68 (spi->max_speed_hz > (sp->clk_freq / 2))) { in ar934x_spi_setup() 69 spi->max_speed_hz = sp->clk_freq / 2; in ar934x_spi_setup() 70 } else if (spi->max_speed_hz < (sp->clk_freq / 128)) { in ar934x_spi_setup() 102 div = ar934x_spi_clk_div(sp, spi->max_speed_hz); in ar934x_spi_transfer_one_message()
|
D | spi-mt7621.c | 165 unsigned int speed = spi->max_speed_hz; in mt7621_spi_prepare_message() 297 if ((spi->max_speed_hz == 0) || in mt7621_spi_setup() 298 (spi->max_speed_hz > (rs->sys_freq / 2))) in mt7621_spi_setup() 299 spi->max_speed_hz = rs->sys_freq / 2; in mt7621_spi_setup() 301 if (spi->max_speed_hz < (rs->sys_freq / 4097)) { in mt7621_spi_setup() 303 spi->max_speed_hz); in mt7621_spi_setup()
|
D | spi-ingenic.c | 58 unsigned int max_speed_hz; member 105 u32 cdiv, speed_hz = xfer->speed_hz ?: spi->max_speed_hz, in spi_ingenic_prepare_transfer() 441 ctlr->max_speed_hz = pdata->max_speed_hz; in spi_ingenic_probe() 468 .max_speed_hz = 54000000, 477 .max_speed_hz = 54000000, 486 .max_speed_hz = 50000000, 495 .max_speed_hz = 50000000,
|
D | spi-hisi-kunpeng.c | 298 chip->clk_div = DIV_ROUND_UP(host->max_speed_hz, speed_hz) + 1; in hisi_calc_effective_speed() 303 effective_speed = host->max_speed_hz / chip->clk_div; in hisi_calc_effective_speed() 477 &host->max_speed_hz); in hisi_spi_probe() 484 if (host->max_speed_hz == 0) in hisi_spi_probe() 501 host->min_speed_hz = DIV_ROUND_UP(host->max_speed_hz, CLK_DIV_MAX); in hisi_spi_probe() 523 host->max_speed_hz / 1000); in hisi_spi_probe()
|
D | spi-img-spfi.c | 531 u32 max_speed_hz; in img_spfi_probe() local 592 host->max_speed_hz = clk_get_rate(spfi->spfi_clk) / 4; in img_spfi_probe() 603 &max_speed_hz)) { in img_spfi_probe() 604 if (host->max_speed_hz > max_speed_hz) in img_spfi_probe() 605 host->max_speed_hz = max_speed_hz; in img_spfi_probe()
|
D | spi-ppc4xx.c | 171 speed = spi->max_speed_hz; in spi_ppc4xx_setupxfer() 179 speed = min(t->speed_hz, spi->max_speed_hz); in spi_ppc4xx_setupxfer() 182 if (!speed || (speed > spi->max_speed_hz)) { in spi_ppc4xx_setupxfer() 215 if (!spi->max_speed_hz) { in spi_ppc4xx_setup()
|
D | spi-mux.c | 65 priv->spi->max_speed_hz = spi->max_speed_hz; in spi_mux_select()
|
/linux-6.12.1/arch/arm/mach-s3c/ |
D | mach-crag6410-module.c | 52 .max_speed_hz = 26 * 1000 * 1000, 64 .max_speed_hz = 26 * 1000 * 1000, 253 .max_speed_hz = 10 * 1000 * 1000, 285 .max_speed_hz = 10 * 1000 * 1000, 307 .max_speed_hz = 10 * 1000 * 1000,
|
/linux-6.12.1/drivers/input/touchscreen/ |
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()
|
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-6.12.1/include/trace/events/ |
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-6.12.1/drivers/iio/pressure/ |
D | zpa2326_spi.c | 50 spi->max_speed_hz = min(spi->max_speed_hz, 1000000U); in zpa2326_probe_spi()
|
D | ms5611_spi.c | 94 spi->max_speed_hz = min(spi->max_speed_hz, 20000000U); in ms5611_spi_probe()
|
/linux-6.12.1/drivers/net/wireless/st/cw1200/ |
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-6.12.1/drivers/iio/accel/ |
D | adxl345_spi.c | 33 if (spi->max_speed_hz > ADXL345_MAX_SPI_FREQ_HZ) in adxl345_spi_probe() 35 spi->max_speed_hz); in adxl345_spi_probe()
|
/linux-6.12.1/drivers/tty/serial/ |
D | sc16is7xx_spi.c | 32 spi->max_speed_hz = spi->max_speed_hz ? : 4 * HZ_PER_MHZ; in sc16is7xx_spi_probe()
|
/linux-6.12.1/drivers/iio/resolver/ |
D | ad2s90.c | 83 if (spi->max_speed_hz > AD2S90_MAX_SPI_FREQ_HZ) { in ad2s90_probe() 85 spi->max_speed_hz, AD2S90_MAX_SPI_FREQ_HZ); in ad2s90_probe()
|
/linux-6.12.1/drivers/staging/iio/addac/ |
D | adt7316-spi.c | 103 if (spi_dev->max_speed_hz > ADT7316_SPI_MAX_FREQ_HZ) { in adt7316_spi_probe() 105 spi_dev->max_speed_hz); in adt7316_spi_probe()
|
/linux-6.12.1/drivers/net/wireless/silabs/wfx/ |
D | bus_spi.c | 211 spi_get_chipselect(func, 0), func->mode, func->bits_per_word, func->max_speed_hz); in wfx_spi_probe() 214 if (func->max_speed_hz > 50000000) in wfx_spi_probe() 215 dev_warn(&func->dev, "%dHz is a very high speed\n", func->max_speed_hz); in wfx_spi_probe()
|
/linux-6.12.1/drivers/mfd/ |
D | stmpe-spi.c | 92 if (spi->max_speed_hz > 1000000) { in stmpe_spi_probe() 94 (spi->max_speed_hz/1000)); in stmpe_spi_probe()
|
D | mc13xxx-spi.c | 139 spi->max_speed_hz = spi->max_speed_hz ? : 26000000; in mc13xxx_spi_probe()
|
/linux-6.12.1/drivers/fpga/ |
D | lattice-sysconfig-spi.c | 109 if (spi->max_speed_hz > *spi_max_speed) { in sysconfig_spi_probe() 111 spi->max_speed_hz, *spi_max_speed); in sysconfig_spi_probe()
|
D | ice40-spi.c | 149 if (spi->max_speed_hz > ICE40_SPI_MAX_SPEED) { in ice40_fpga_probe() 155 if (spi->max_speed_hz < ICE40_SPI_MIN_SPEED) { in ice40_fpga_probe()
|
/linux-6.12.1/drivers/staging/greybus/ |
D | spilib.c | 33 u32 max_speed_hz; member 436 spi->max_speed_hz = le32_to_cpu(response.max_speed_hz); in gb_spi_get_master_config() 476 spi_board.max_speed_hz = le32_to_cpu(response.max_speed_hz); in gb_spi_setup_device()
|