Searched refs:effective_speed_hz (Results 1 - 16 of 16) sorted by relevance

/linux-master/drivers/iio/adc/
H A Dti-tsc2046.c175 u32 effective_speed_hz; member in struct:tsc2046_adc_priv
234 priv->effective_speed_hz, priv->time_per_bit_ns,
273 u32 *effective_speed_hz)
283 if (!effective_speed_hz) {
323 * to get hold of the effective_speed_hz from the xfer
332 if (effective_speed_hz)
333 *effective_speed_hz = xfer.effective_speed_hz;
664 &priv->effective_speed_hz);
669 * In case SPI controller do not report effective_speed_hz, us
272 tsc2046_adc_read_one(struct tsc2046_adc_priv *priv, int ch_idx, u32 *effective_speed_hz) argument
[all...]
/linux-master/drivers/spi/
H A Dspi-sun6i.c398 tfr->effective_speed_hz = mclk_rate / (2 * div_cdr2);
402 tfr->effective_speed_hz = mclk_rate / (1 << div);
408 tfr->effective_speed_hz = clk_get_rate(sspi->mclk);
422 if (tfr->effective_speed_hz <= 24000000)
424 else if (tfr->effective_speed_hz >= 80000000)
H A Dspi-axi-spi-engine.c213 xfer->effective_speed_hz = max_hz / min(clk_div, 256U);
237 new_clk_div = host->max_speed_hz / xfer->effective_speed_hz;
255 xfer->effective_speed_hz);
266 xfer->effective_speed_hz);
H A Dspi-bcm2835aux.c374 tfr->effective_speed_hz = clk_hz / (2 * (speed + 1));
391 byte_limit = hz_per_byte ? tfr->effective_speed_hz / hz_per_byte : 1;
H A Dspi-dw-dma.c529 ret = dw_spi_dma_wait(dws, xfer->len, xfer->effective_speed_hz);
621 ret = dw_spi_dma_wait(dws, len, xfer->effective_speed_hz);
H A Dspi-hisi-kunpeng.c382 transfer->effective_speed_hz =
H A Dspi-bcm2835.c1077 tfr->effective_speed_hz = cdiv ? (bs->clk_hz / cdiv) : (bs->clk_hz / 65536);
1097 byte_limit = hz_per_byte ? tfr->effective_speed_hz / hz_per_byte : 1;
H A Dspi-rspi.c711 xfer->effective_speed_hz = rspi->speed_hz;
868 xfer->effective_speed_hz = rspi->speed_hz;
H A Dspi-imx.c1631 transfer->effective_speed_hz = spi_imx->spi_bus_clk;
1652 byte_limit = hz_per_byte ? transfer->effective_speed_hz / hz_per_byte : 1;
H A Dspi-dw-core.c440 transfer->effective_speed_hz = dws->current_freq;
H A Dspi-sh-msiof.c299 t->effective_speed_hz = parent_rate / (brps << div_pow);
H A Dspi-atmel.c916 xfer->effective_speed_hz = bus_hz / scbr;
H A Dspi.c1526 hz = xfer->effective_speed_hz ?: xfer->speed_hz / 2;
4101 xfer->effective_speed_hz = 0;
/linux-master/drivers/net/ethernet/vertexcom/
H A Dmse102x.c107 (unsigned long)mses->spi_xfer.effective_speed_hz);
/linux-master/include/linux/spi/
H A Dspi.h979 * @effective_speed_hz: the effective SCK-speed that was used to
1100 u32 effective_speed_hz; member in struct:spi_transfer
/linux-master/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-core.c1808 *effective_speed_hz_slow = xfer[0].effective_speed_hz;
1809 *effective_speed_hz_fast = xfer[1].effective_speed_hz;

Completed in 339 milliseconds