Home
last modified time | relevance | path

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

12345678

/linux/arch/arm/mach-pxa/
A Dicontrol.c84 .max_speed_hz = 6500000,
93 .max_speed_hz = 6500000,
102 .max_speed_hz = 6500000,
111 .max_speed_hz = 6500000,
/linux/drivers/spi/
A Dspi-ar934x.c66 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()
A Dspi-mt7621.c252 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()
A Dspi-img-spfi.c531 u32 max_speed_hz; in img_spfi_probe() local
593 master->max_speed_hz = clk_get_rate(spfi->spfi_clk) / 4; in img_spfi_probe()
604 &max_speed_hz)) { in img_spfi_probe()
605 if (master->max_speed_hz > max_speed_hz) in img_spfi_probe()
606 master->max_speed_hz = max_speed_hz; in img_spfi_probe()
A Dspi-ppc4xx.c173 speed = spi->max_speed_hz; in spi_ppc4xx_setupxfer()
184 speed = min(t->speed_hz, spi->max_speed_hz); in spi_ppc4xx_setupxfer()
187 if (!speed || (speed > spi->max_speed_hz)) { in spi_ppc4xx_setupxfer()
220 if (!spi->max_speed_hz) { in spi_ppc4xx_setup()
A Dspi.c732 proxy->max_speed_hz = chip->max_speed_hz; in spi_new_device()
2185 spi->max_speed_hz = value; in of_spi_parse_dt()
2298 ancillary->max_speed_hz = spi->max_speed_hz; in spi_new_ancillary_device()
2319 u32 max_speed_hz; member
2439 if (!lookup.max_speed_hz && in acpi_register_spi_device()
2446 if (!lookup.max_speed_hz) in acpi_register_spi_device()
2458 spi->max_speed_hz = lookup.max_speed_hz; in acpi_register_spi_device()
3484 (!spi->max_speed_hz || in spi_setup()
3485 spi->max_speed_hz > spi->controller->max_speed_hz)) in spi_setup()
3486 spi->max_speed_hz = spi->controller->max_speed_hz; in spi_setup()
[all …]
A Dspidev.c291 k_tmp->speed_hz ? : spidev->spi->max_speed_hz); in spidev_message()
459 u32 save = spi->max_speed_hz; in spidev_ioctl()
461 spi->max_speed_hz = tmp; in spidev_ioctl()
468 spi->max_speed_hz = save; in spidev_ioctl()
641 spidev->speed_hz = spidev->spi->max_speed_hz; in spidev_release()
795 spidev->speed_hz = spi->max_speed_hz; in spidev_probe()
A Dspi-meson-spicc.c145 unsigned int max_speed_hz; member
742 master->max_speed_hz = spicc->data->max_speed_hz; in meson_spicc_probe()
794 .max_speed_hz = 30000000,
800 .max_speed_hz = 80000000,
808 .max_speed_hz = 166666666,
A Dspi-mux.c65 priv->spi->max_speed_hz = spi->max_speed_hz; in spi_mux_select()
/linux/drivers/input/misc/
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/arch/arm/mach-s3c/
A Dmach-crag6410-module.c47 .max_speed_hz = 26 * 1000 * 1000,
60 .max_speed_hz = 26 * 1000 * 1000,
239 .max_speed_hz = 10 * 1000 * 1000,
272 .max_speed_hz = 10 * 1000 * 1000,
295 .max_speed_hz = 10 * 1000 * 1000,
/linux/include/trace/events/
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/net/wireless/st/cw1200/
A Dcw1200_spi.c366 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()
/linux/drivers/input/touchscreen/
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()
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/iio/accel/
A Dadxl345_spi.c29 if (spi->max_speed_hz > ADXL345_MAX_SPI_FREQ_HZ) { in adxl345_spi_probe()
31 spi->max_speed_hz); in adxl345_spi_probe()
/linux/arch/arm/mach-ep93xx/
A Dvision_ep9307.c223 .max_speed_hz = 6000000,
230 .max_speed_hz = 20000000,
237 .max_speed_hz = 20000000,
/linux/drivers/iio/pressure/
A Dzpa2326_spi.c50 spi->max_speed_hz = min(spi->max_speed_hz, 1000000U); in zpa2326_probe_spi()
/linux/arch/mips/txx9/generic/
A Dspi_eeprom.c27 .max_speed_hz = 1500000, /* 1.5Mbps */ in spi_eeprom_register()
63 (spi->max_speed_hz + 500) / 1000); in early_seeprom_probe()
/linux/drivers/iio/resolver/
A Dad2s90.c83 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/drivers/staging/wfx/
A Dbus_spi.c194 func->max_speed_hz); in wfx_spi_probe()
198 if (func->max_speed_hz > 50000000) in wfx_spi_probe()
200 func->max_speed_hz); in wfx_spi_probe()
/linux/drivers/staging/greybus/
A Dspilib.c33 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()
/linux/drivers/staging/iio/addac/
A Dadt7316-spi.c103 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/drivers/mfd/
A Dstmpe-spi.c92 if (spi->max_speed_hz > 1000000) { in stmpe_spi_probe()
94 (spi->max_speed_hz/1000)); in stmpe_spi_probe()
A Dmc13xxx-spi.c141 spi->max_speed_hz = spi->max_speed_hz ? : 26000000; in mc13xxx_spi_probe()

Completed in 46 milliseconds

12345678