/linux-master/arch/arm/mach-omap1/ |
H A D | board-palmte.c | 182 .max_speed_hz = 8000000,
|
/linux-master/drivers/spi/ |
H A D | spi-orion.c | 296 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 D | spi-axi-spi-engine.c | 208 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 D | spi-pic32-sqi.c | 361 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 D | spi-falcon.c | 314 if (spi->max_speed_hz >= CLOCK_100M) { 324 if (CLOCK_50M / i <= spi->max_speed_hz)
|
H A D | spi-mpc52xx-psc.c | 53 ? t->speed_hz : spi->max_speed_hz; 232 cs->speed_hz = spi->max_speed_hz;
|
H A D | spi-oc-tiny.c | 85 if (spi->max_speed_hz != hw->speed_hz) { 86 hw->speed_hz = spi->max_speed_hz;
|
H A D | spi-meson-spicc.c | 145 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 D | spi-ti-qspi.c | 148 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 D | spidev.c | 302 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 D | spi.c | 821 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 D | spi-pxa2xx.c | 396 (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 D | spi-synquacer.c | 266 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 D | spi-pic32.c | 456 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 D | spi-amlogic-spifc-a1.c | 262 ret = amlogic_spifc_a1_set_freq(spifc, mem->spi->max_speed_hz); 360 ctrl->max_speed_hz = SPIFC_A1_MAX_HZ;
|
H A D | spi-mpc512x-psc.c | 78 ? t->speed_hz : spi->max_speed_hz; 373 cs->speed_hz = spi->max_speed_hz;
|
/linux-master/drivers/net/ethernet/vertexcom/ |
H A D | mse102x.c | 669 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 D | adis16260.c | 303 adis->spi->max_speed_hz = ADIS16260_SPI_SLOW; 305 adis->spi->max_speed_hz = ADIS16260_SPI_FAST;
|
/linux-master/drivers/iio/imu/ |
H A D | adis16400.c | 380 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 D | spitz.c | 553 .max_speed_hz = 1200000, 560 .max_speed_hz = 50000, 566 .max_speed_hz = 450000,
|
/linux-master/include/linux/spi/ |
H A D | spi.h | 134 * @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 D | rtc-rx6110.c | 349 (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 D | db1550.c | 107 .max_speed_hz = 2400000, 115 .max_speed_hz = 2400000,
|
/linux-master/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-core.c | 381 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 D | ili922x.c | 115 if (s->max_speed_hz > ILITEK_MAX_FREQ_REG) \ 504 reg, spi->max_speed_hz, spi->mode);
|