Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/adc/
Dti-tsc2046.c176 u32 effective_speed_hz; member
235 priv->effective_speed_hz, priv->time_per_bit_ns, in tsc2046_adc_time_to_count()
274 u32 *effective_speed_hz) in tsc2046_adc_read_one() argument
283 if (!effective_speed_hz) { in tsc2046_adc_read_one()
334 if (effective_speed_hz) in tsc2046_adc_read_one()
335 *effective_speed_hz = xfer.effective_speed_hz; in tsc2046_adc_read_one()
659 &priv->effective_speed_hz); in tsc2046_adc_setup_spi_msg()
667 if (!priv->effective_speed_hz) in tsc2046_adc_setup_spi_msg()
668 priv->effective_speed_hz = priv->spi->max_speed_hz; in tsc2046_adc_setup_spi_msg()
673 priv->effective_speed_hz); in tsc2046_adc_setup_spi_msg()
/linux-6.12.1/drivers/spi/
Dspi-sun6i.c399 tfr->effective_speed_hz = mclk_rate / (2 * div_cdr2); in sun6i_spi_transfer_one()
403 tfr->effective_speed_hz = mclk_rate / (1 << div); in sun6i_spi_transfer_one()
409 tfr->effective_speed_hz = clk_get_rate(sspi->mclk); in sun6i_spi_transfer_one()
423 if (tfr->effective_speed_hz <= 24000000) in sun6i_spi_transfer_one()
425 else if (tfr->effective_speed_hz >= 80000000) in sun6i_spi_transfer_one()
Dspi-axi-spi-engine.c227 xfer->effective_speed_hz = max_hz / min(clk_div, 256U); in spi_engine_precompile_message()
257 new_clk_div = host->max_speed_hz / xfer->effective_speed_hz; in spi_engine_compile_message()
275 inst_ns, xfer->effective_speed_hz); in spi_engine_compile_message()
286 xfer->effective_speed_hz); in spi_engine_compile_message()
Dspi-bcm2835aux.c374 tfr->effective_speed_hz = clk_hz / (2 * (speed + 1)); in bcm2835aux_spi_transfer_one()
391 byte_limit = hz_per_byte ? tfr->effective_speed_hz / hz_per_byte : 1; in bcm2835aux_spi_transfer_one()
Dspi-dw-dma.c529 ret = dw_spi_dma_wait(dws, xfer->len, xfer->effective_speed_hz); in dw_spi_dma_transfer_all()
621 ret = dw_spi_dma_wait(dws, len, xfer->effective_speed_hz); in dw_spi_dma_transfer_one()
Dspi-bcm2835.c1077 tfr->effective_speed_hz = cdiv ? (bs->clk_hz / cdiv) : (bs->clk_hz / 65536); in bcm2835_spi_transfer_one()
1097 byte_limit = hz_per_byte ? tfr->effective_speed_hz / hz_per_byte : 1; in bcm2835_spi_transfer_one()
Dspi-hisi-kunpeng.c382 transfer->effective_speed_hz = in hisi_spi_transfer_one()
Dspi-rspi.c710 xfer->effective_speed_hz = rspi->speed_hz; in rspi_common_transfer()
867 xfer->effective_speed_hz = rspi->speed_hz; in qspi_transfer_one()
Dspi-imx.c1621 transfer->effective_speed_hz = spi_imx->spi_bus_clk; in spi_imx_transfer_one()
1642 byte_limit = hz_per_byte ? transfer->effective_speed_hz / hz_per_byte : 1; in spi_imx_transfer_one()
Dspi-dw-core.c439 transfer->effective_speed_hz = dws->current_freq; in dw_spi_transfer_one()
Dspi-sh-msiof.c299 t->effective_speed_hz = parent_rate / (brps << div_pow); in sh_msiof_spi_set_clk_regs()
Dspi-atmel.c916 xfer->effective_speed_hz = bus_hz / scbr; in atmel_spi_set_xfer_speed()
Dspi.c1527 hz = xfer->effective_speed_hz ?: xfer->speed_hz / 2; in spi_delay_to_ns()
4086 xfer->effective_speed_hz = 0; in __spi_validate()
/linux-6.12.1/include/linux/spi/
Dspi.h1114 u32 effective_speed_hz; member
/linux-6.12.1/drivers/net/ethernet/vertexcom/
Dmse102x.c107 (unsigned long)mses->spi_xfer.effective_speed_hz); in mse102x_info_show()
/linux-6.12.1/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-core.c1823 *effective_speed_hz_slow = xfer[0].effective_speed_hz; in mcp251xfd_register_get_dev_id()
1824 *effective_speed_hz_fast = xfer[1].effective_speed_hz; in mcp251xfd_register_get_dev_id()