/kernel/linux/linux-5.10/arch/arm/mach-pxa/ |
H A D | icontrol.c | 80 .max_speed_hz = 6500000, 89 .max_speed_hz = 6500000, 98 .max_speed_hz = 6500000, 107 .max_speed_hz = 6500000,
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-ar934x.c | 66 if ((spi->max_speed_hz == 0) || in ar934x_spi_setup() 67 (spi->max_speed_hz > (sp->clk_freq / 2))) { in ar934x_spi_setup() 68 spi->max_speed_hz = sp->clk_freq / 2; in ar934x_spi_setup() 69 } else if (spi->max_speed_hz < (sp->clk_freq / 128)) { in ar934x_spi_setup() 96 div = ar934x_spi_clk_div(sp, spi->max_speed_hz); in ar934x_spi_transfer_one_message()
|
H A D | spi-mt7621.c | 252 unsigned int speed = spi->max_speed_hz; in mt7621_spi_transfer_one_message() 305 if ((spi->max_speed_hz == 0) || in mt7621_spi_setup() 306 (spi->max_speed_hz > (rs->sys_freq / 2))) in mt7621_spi_setup() 307 spi->max_speed_hz = rs->sys_freq / 2; in mt7621_spi_setup() 309 if (spi->max_speed_hz < (rs->sys_freq / 4097)) { in mt7621_spi_setup() 311 spi->max_speed_hz); in mt7621_spi_setup()
|
/kernel/linux/linux-6.6/drivers/spi/ |
H A 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()
|
H A D | spi-mt7621.c | 253 unsigned int speed = spi->max_speed_hz; in mt7621_spi_transfer_one_message() 306 if ((spi->max_speed_hz == 0) || in mt7621_spi_setup() 307 (spi->max_speed_hz > (rs->sys_freq / 2))) in mt7621_spi_setup() 308 spi->max_speed_hz = rs->sys_freq / 2; in mt7621_spi_setup() 310 if (spi->max_speed_hz < (rs->sys_freq / 4097)) { in mt7621_spi_setup() 312 spi->max_speed_hz); in mt7621_spi_setup()
|
H A D | spi-ingenic.c | 57 unsigned int max_speed_hz; member 104 u32 cdiv, speed_hz = xfer->speed_hz ?: spi->max_speed_hz, in spi_ingenic_prepare_transfer() 438 ctlr->max_speed_hz = pdata->max_speed_hz; in spi_ingenic_probe() 465 .max_speed_hz = 54000000, 474 .max_speed_hz = 54000000, 483 .max_speed_hz = 50000000, 492 .max_speed_hz = 50000000,
|
H A 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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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,
|
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/ |
H A D | cw1200_spi.c | 366 if (func->max_speed_hz > 52000000) in cw1200_spi_probe() 367 func->max_speed_hz = 52000000; in cw1200_spi_probe() 368 if (func->max_speed_hz < 1000000) in cw1200_spi_probe() 369 func->max_speed_hz = 1000000; in cw1200_spi_probe() 382 func->max_speed_hz); in cw1200_spi_probe()
|
/kernel/linux/linux-6.6/drivers/net/wireless/st/cw1200/ |
H A D | cw1200_spi.c | 366 if (func->max_speed_hz > 52000000) in cw1200_spi_probe() 367 func->max_speed_hz = 52000000; in cw1200_spi_probe() 368 if (func->max_speed_hz < 1000000) in cw1200_spi_probe() 369 func->max_speed_hz = 1000000; in cw1200_spi_probe() 382 func->max_speed_hz); in cw1200_spi_probe()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/iio/pressure/ |
H A D | zpa2326_spi.c | 50 spi->max_speed_hz = min(spi->max_speed_hz, 1000000U); in zpa2326_probe_spi()
|
/kernel/linux/linux-5.10/drivers/iio/accel/ |
H A D | adxl345_spi.c | 28 /* Bail out if max_speed_hz exceeds 5 MHz */ in adxl345_spi_probe() 29 if (spi->max_speed_hz > ADXL345_MAX_SPI_FREQ_HZ) { in adxl345_spi_probe() 31 spi->max_speed_hz); in adxl345_spi_probe()
|
/kernel/linux/linux-6.6/drivers/iio/pressure/ |
H A D | zpa2326_spi.c | 50 spi->max_speed_hz = min(spi->max_speed_hz, 1000000U); in zpa2326_probe_spi()
|
/kernel/linux/linux-6.6/drivers/iio/accel/ |
H A D | adxl345_spi.c | 27 /* Bail out if max_speed_hz exceeds 5 MHz */ in adxl345_spi_probe() 28 if (spi->max_speed_hz > ADXL345_MAX_SPI_FREQ_HZ) in adxl345_spi_probe() 30 spi->max_speed_hz); in adxl345_spi_probe()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/arch/mips/txx9/generic/ |
H A D | spi_eeprom.c | 27 .max_speed_hz = 1500000, /* 1.5Mbps */ in spi_eeprom_register() 63 (spi->max_speed_hz + 500) / 1000); in early_seeprom_probe()
|
/kernel/linux/linux-5.10/arch/arm/mach-ep93xx/ |
H A D | vision_ep9307.c | 223 .max_speed_hz = 6000000, 230 .max_speed_hz = 20000000, 237 .max_speed_hz = 20000000,
|
/kernel/linux/linux-6.6/arch/arm/mach-ep93xx/ |
H A D | vision_ep9307.c | 223 .max_speed_hz = 6000000, 230 .max_speed_hz = 20000000, 237 .max_speed_hz = 20000000,
|
/kernel/linux/linux-5.10/drivers/staging/wfx/ |
H A D | bus_spi.c | 193 func->max_speed_hz); in wfx_spi_probe() 197 if (func->max_speed_hz > 50000000) in wfx_spi_probe() 199 func->max_speed_hz); in wfx_spi_probe()
|
/kernel/linux/linux-6.6/drivers/net/wireless/silabs/wfx/ |
H A 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()
|