Searched refs:max_speed_hz (Results 51 - 75 of 180) sorted by relevance

12345678

/linux-master/arch/arm/mach-omap1/
H A Dboard-palmte.c182 .max_speed_hz = 8000000,
/linux-master/drivers/spi/
H A Dspi-orion.c296 unsigned int speed = spi->max_speed_hz;
717 host->max_speed_hz = min(devdata->max_hz,
720 host->max_speed_hz =
723 host->max_speed_hz = devdata->max_hz;
H A Dspi-axi-spi-engine.c208 unsigned int clk_div, max_hz = msg->spi->controller->max_speed_hz;
237 new_clk_div = host->max_speed_hz / xfer->effective_speed_hz;
650 host->max_speed_hz = clk_get_rate(spi_engine->ref_clk) / 2;
656 if (host->max_speed_hz == 0)
H A Dspi-pic32-sqi.c361 if (sqi->cur_speed != spi->max_speed_hz) {
362 sqi->cur_speed = spi->max_speed_hz;
363 ret = pic32_sqi_set_clk_rate(sqi, spi->max_speed_hz);
632 host->max_speed_hz = clk_get_rate(sqi->base_clk);
H A Dspi-falcon.c314 if (spi->max_speed_hz >= CLOCK_100M) {
324 if (CLOCK_50M / i <= spi->max_speed_hz)
H A Dspi-mpc52xx-psc.c53 ? t->speed_hz : spi->max_speed_hz;
232 cs->speed_hz = spi->max_speed_hz;
H A Dspi-oc-tiny.c85 if (spi->max_speed_hz != hw->speed_hz) {
86 hw->speed_hz = spi->max_speed_hz;
H A Dspi-meson-spicc.c145 unsigned int max_speed_hz; member in struct:meson_spicc_data
856 host->max_speed_hz = spicc->data->max_speed_hz;
905 .max_speed_hz = 30000000,
911 .max_speed_hz = 80000000,
919 .max_speed_hz = 166666666,
H A Dspi-ti-qspi.c148 if (!qspi->host->max_speed_hz) {
153 spi->max_speed_hz = min(spi->max_speed_hz, qspi->host->max_speed_hz);
626 ti_qspi_setup_clk(qspi, mem->spi->max_speed_hz);
856 host->max_speed_hz = max_freq;
H A Dspidev.c302 k_tmp->speed_hz ? : spidev->spi->max_speed_hz);
483 save = spi->max_speed_hz;
485 spi->max_speed_hz = tmp;
492 spi->max_speed_hz = save;
665 spidev->speed_hz = spidev->spi->max_speed_hz;
817 spidev->speed_hz = spi->max_speed_hz;
H A Dspi.c821 proxy->max_speed_hz = chip->max_speed_hz;
2473 spi->max_speed_hz = value;
2590 ancillary->max_speed_hz = spi->max_speed_hz;
2618 u32 max_speed_hz; member in struct:acpi_spi_lookup
2677 lookup->max_speed_hz = NSEC_PER_SEC / *(u32 *)obj->buffer.pointer;
2753 lookup->max_speed_hz = sb->connection_speed;
2817 if (!lookup.max_speed_hz &&
2824 if (!lookup.max_speed_hz)
[all...]
H A Dspi-pxa2xx.c396 (drv_data->controller->max_speed_hz / 2));
908 unsigned long ssp_clk = drv_data->controller->max_speed_hz;
1037 controller->max_speed_hz
1042 controller->max_speed_hz / 2
1513 controller->max_speed_hz = clk_get_rate(ssp->clk);
1520 DIV_ROUND_UP(controller->max_speed_hz, 4096);
1523 DIV_ROUND_UP(controller->max_speed_hz, 512);
H A Dspi-synquacer.c266 rate = host->max_speed_hz;
628 &host->max_speed_hz); /* for ACPI */
658 host->max_speed_hz = clk_get_rate(sspi->clk);
661 if (!host->max_speed_hz) {
666 host->min_speed_hz = host->max_speed_hz / 254;
H A Dspi-pic32.c456 if (pic32s->speed_hz != spi->max_speed_hz) {
457 pic32_spi_set_clk_rate(pic32s, spi->max_speed_hz);
458 pic32s->speed_hz = spi->max_speed_hz;
582 if (!spi->max_speed_hz) {
769 host->max_speed_hz = clk_get_rate(pic32s->clk);
H A Dspi-amlogic-spifc-a1.c262 ret = amlogic_spifc_a1_set_freq(spifc, mem->spi->max_speed_hz);
360 ctrl->max_speed_hz = SPIFC_A1_MAX_HZ;
H A Dspi-mpc512x-psc.c78 ? t->speed_hz : spi->max_speed_hz;
373 cs->speed_hz = spi->max_speed_hz;
/linux-master/drivers/net/ethernet/vertexcom/
H A Dmse102x.c669 if (!spi->max_speed_hz)
670 spi->max_speed_hz = MAX_FREQ_HZ;
672 if (spi->max_speed_hz < MIN_FREQ_HZ ||
673 spi->max_speed_hz > MAX_FREQ_HZ) {
/linux-master/drivers/iio/gyro/
H A Dadis16260.c303 adis->spi->max_speed_hz = ADIS16260_SPI_SLOW;
305 adis->spi->max_speed_hz = ADIS16260_SPI_FAST;
/linux-master/drivers/iio/imu/
H A Dadis16400.c380 st->adis.spi->max_speed_hz = ADIS16400_SPI_SLOW;
382 st->adis.spi->max_speed_hz = ADIS16400_SPI_FAST;
442 st->adis.spi->max_speed_hz = ADIS16400_SPI_SLOW;
444 st->adis.spi->max_speed_hz = ADIS16400_SPI_FAST;
478 st->adis.spi->max_speed_hz = ADIS16400_SPI_FAST;
/linux-master/arch/arm/mach-pxa/
H A Dspitz.c553 .max_speed_hz = 1200000,
560 .max_speed_hz = 50000,
566 .max_speed_hz = 450000,
/linux-master/include/linux/spi/
H A Dspi.h134 * @max_speed_hz: Maximum clock rate to be used with this chip
187 u32 max_speed_hz; member in struct:spi_device
409 * @max_speed_hz: Highest supported transfer speed
586 u32 max_speed_hz; member in struct:spi_controller
1572 * @max_speed_hz: Initializes spi_device.max_speed_hz; based on limits
1611 u32 max_speed_hz; member in struct:spi_board_info
/linux-master/drivers/rtc/
H A Drtc-rx6110.c349 (spi->max_speed_hz > 2000000) ||
351 dev_warn(&spi->dev, "SPI settings: bits_per_word: %d, max_speed_hz: %d, mode: %xh\n",
352 spi->bits_per_word, spi->max_speed_hz, spi->mode);
/linux-master/arch/mips/alchemy/devboards/
H A Ddb1550.c107 .max_speed_hz = 2400000,
115 .max_speed_hz = 2400000,
/linux-master/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-core.c381 priv->spi->max_speed_hz = priv->spi_max_speed_hz_slow;
493 priv->spi->max_speed_hz = priv->spi_max_speed_hz_fast;
2118 priv->spi_max_speed_hz_orig = spi->max_speed_hz;
2119 priv->spi_max_speed_hz_slow = min(spi->max_speed_hz,
2122 priv->spi_max_speed_hz_fast = min(spi->max_speed_hz,
2128 spi->max_speed_hz = priv->spi_max_speed_hz_slow;
2156 spi->max_speed_hz = priv->spi_max_speed_hz_orig;
2170 spi->max_speed_hz = priv->spi_max_speed_hz_orig;
/linux-master/drivers/video/backlight/
H A Dili922x.c115 if (s->max_speed_hz > ILITEK_MAX_FREQ_REG) \
504 reg, spi->max_speed_hz, spi->mode);

Completed in 263 milliseconds

12345678