/Linux-v5.4/arch/arm/mach-pxa/ |
D | icontrol.c | 79 .max_speed_hz = 6500000, 88 .max_speed_hz = 6500000, 97 .max_speed_hz = 6500000, 106 .max_speed_hz = 6500000,
|
/Linux-v5.4/drivers/spi/ |
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()
|
D | spi-img-spfi.c | 584 u32 max_speed_hz; in img_spfi_probe() local 646 master->max_speed_hz = clk_get_rate(spfi->spfi_clk) / 4; in img_spfi_probe() 657 &max_speed_hz)) { in img_spfi_probe() 658 if (master->max_speed_hz > max_speed_hz) in img_spfi_probe() 659 master->max_speed_hz = max_speed_hz; in img_spfi_probe()
|
D | spi-txx9.c | 119 if (!spi->max_speed_hz) in txx9spi_setup() 130 txx9spi_cs_func(spi, c, 0, (NSEC_PER_SEC / 2) / spi->max_speed_hz); in txx9spi_setup() 159 cs_delay = 100 + (NSEC_PER_SEC / 2) / spi->max_speed_hz; in txx9spi_work_one() 356 master->max_speed_hz = c->baseclk / (SPI_MIN_DIVIDER + 1); in txx9spi_probe()
|
D | spidev.c | 283 u_tmp->speed_hz ? : spidev->spi->max_speed_hz); in spidev_message() 446 u32 save = spi->max_speed_hz; in spidev_ioctl() 448 spi->max_speed_hz = tmp; in spidev_ioctl() 454 spi->max_speed_hz = save; in spidev_ioctl() 621 spidev->speed_hz = spidev->spi->max_speed_hz; in spidev_release() 764 spidev->speed_hz = spi->max_speed_hz; in spidev_probe()
|
D | spi-ppc4xx.c | 177 speed = spi->max_speed_hz; in spi_ppc4xx_setupxfer() 188 speed = min(t->speed_hz, spi->max_speed_hz); in spi_ppc4xx_setupxfer() 191 if (!speed || (speed > spi->max_speed_hz)) { in spi_ppc4xx_setupxfer() 224 if (!spi->max_speed_hz) { in spi_ppc4xx_setup()
|
D | spi.c | 649 proxy->max_speed_hz = chip->max_speed_hz; in spi_new_device() 1793 spi->max_speed_hz = value; in of_spi_parse_dt() 1877 u32 max_speed_hz; member 1894 lookup->max_speed_hz = NSEC_PER_SEC / *(u32 *)obj->buffer.pointer; in acpi_spi_parse_apple_properties() 1951 lookup->max_speed_hz = sb->connection_speed; in acpi_spi_add_resource() 1996 if (!lookup.max_speed_hz && in acpi_register_spi_device() 2003 if (!lookup.max_speed_hz) in acpi_register_spi_device() 2014 spi->max_speed_hz = lookup.max_speed_hz; in acpi_register_spi_device() 3088 if (!spi->max_speed_hz) in spi_setup() 3089 spi->max_speed_hz = spi->controller->max_speed_hz; in spi_setup() [all …]
|
/Linux-v5.4/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-v5.4/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-v5.4/arch/arm/mach-s3c64xx/ |
D | mach-crag6410-module.c | 47 .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-v5.4/drivers/iio/accel/ |
D | adxl345_spi.c | 29 if (spi->max_speed_hz > ADXL345_MAX_SPI_FREQ_HZ) { in adxl345_spi_probe() 31 spi->max_speed_hz); in adxl345_spi_probe()
|
/Linux-v5.4/drivers/iio/pressure/ |
D | zpa2326_spi.c | 50 spi->max_speed_hz = min(spi->max_speed_hz, 1000000U); in zpa2326_probe_spi()
|
/Linux-v5.4/arch/arm/mach-ep93xx/ |
D | vision_ep9307.c | 223 .max_speed_hz = 6000000, 230 .max_speed_hz = 20000000, 237 .max_speed_hz = 20000000,
|
/Linux-v5.4/drivers/net/wireless/st/cw1200/ |
D | cw1200_spi.c | 370 if (func->max_speed_hz > 52000000) in cw1200_spi_probe() 371 func->max_speed_hz = 52000000; in cw1200_spi_probe() 372 if (func->max_speed_hz < 1000000) in cw1200_spi_probe() 373 func->max_speed_hz = 1000000; in cw1200_spi_probe() 386 func->max_speed_hz); in cw1200_spi_probe()
|
/Linux-v5.4/arch/mips/txx9/generic/ |
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()
|
/Linux-v5.4/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-v5.4/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-v5.4/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 | 141 spi->max_speed_hz = spi->max_speed_hz ? : 26000000; in mc13xxx_spi_probe()
|
/Linux-v5.4/drivers/staging/greybus/ |
D | spilib.c | 33 u32 max_speed_hz; member 432 spi->max_speed_hz = le32_to_cpu(response.max_speed_hz); in gb_spi_get_master_config() 472 spi_board.max_speed_hz = le32_to_cpu(response.max_speed_hz); in gb_spi_setup_device()
|
/Linux-v5.4/drivers/iio/imu/ |
D | adis16400.c | 389 st->adis.spi->max_speed_hz = ADIS16400_SPI_SLOW; in adis16400_set_freq() 391 st->adis.spi->max_speed_hz = ADIS16400_SPI_FAST; in adis16400_set_freq() 451 st->adis.spi->max_speed_hz = ADIS16400_SPI_SLOW; in adis16400_initial_setup() 453 st->adis.spi->max_speed_hz = ADIS16400_SPI_FAST; in adis16400_initial_setup() 488 st->adis.spi->max_speed_hz = ADIS16400_SPI_FAST; in adis16400_initial_setup() 651 u32 old_speed_hz = st->adis.spi->max_speed_hz; in adis16400_trigger_handler() 659 st->adis.spi->max_speed_hz > ADIS16400_SPI_BURST) { in adis16400_trigger_handler() 660 st->adis.spi->max_speed_hz = ADIS16400_SPI_BURST; in adis16400_trigger_handler() 669 st->adis.spi->max_speed_hz = old_speed_hz; in adis16400_trigger_handler()
|
/Linux-v5.4/drivers/fpga/ |
D | ice40-spi.c | 143 if (spi->max_speed_hz > ICE40_SPI_MAX_SPEED) { in ice40_fpga_probe() 149 if (spi->max_speed_hz < ICE40_SPI_MIN_SPEED) { in ice40_fpga_probe()
|
/Linux-v5.4/arch/arm/mach-omap1/ |
D | board-nokia770.c | 131 .max_speed_hz = 12000000, 138 .max_speed_hz = 2500000,
|
/Linux-v5.4/drivers/iio/magnetometer/ |
D | rm3100-spi.c | 34 spi->max_speed_hz = 1000000; in rm3100_probe()
|