Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/iio/adc/
Dti-tsc2046.c175 u32 effective_speed_hz; member
234 priv->effective_speed_hz, priv->time_per_bit_ns, in tsc2046_adc_time_to_count()
273 u32 *effective_speed_hz) in tsc2046_adc_read_one() argument
283 if (!effective_speed_hz) { in tsc2046_adc_read_one()
332 if (effective_speed_hz) in tsc2046_adc_read_one()
333 *effective_speed_hz = xfer.effective_speed_hz; in tsc2046_adc_read_one()
664 &priv->effective_speed_hz); in tsc2046_adc_setup_spi_msg()
672 if (!priv->effective_speed_hz) in tsc2046_adc_setup_spi_msg()
673 priv->effective_speed_hz = priv->spi->max_speed_hz; in tsc2046_adc_setup_spi_msg()
678 priv->effective_speed_hz); in tsc2046_adc_setup_spi_msg()
/linux-6.1.9/drivers/spi/
Dspi-bcm2835aux.c376 tfr->effective_speed_hz = clk_hz / (2 * (speed + 1)); in bcm2835aux_spi_transfer_one()
393 byte_limit = hz_per_byte ? tfr->effective_speed_hz / hz_per_byte : 1; in bcm2835aux_spi_transfer_one()
Dspi-dw-dma.c489 ret = dw_spi_dma_wait(dws, xfer->len, xfer->effective_speed_hz); in dw_spi_dma_transfer_all()
581 ret = dw_spi_dma_wait(dws, len, xfer->effective_speed_hz); in dw_spi_dma_transfer_one()
Dspi-sun6i.c374 tfr->effective_speed_hz = mclk_rate / (2 * div_cdr2); in sun6i_spi_transfer_one()
378 tfr->effective_speed_hz = mclk_rate / (1 << div); in sun6i_spi_transfer_one()
Dspi-bcm2835.c1073 tfr->effective_speed_hz = cdiv ? (bs->clk_hz / cdiv) : (bs->clk_hz / 65536); in bcm2835_spi_transfer_one()
1093 byte_limit = hz_per_byte ? tfr->effective_speed_hz / hz_per_byte : 1; in bcm2835_spi_transfer_one()
Dspi-hisi-kunpeng.c384 transfer->effective_speed_hz = in hisi_spi_transfer_one()
Dspi-rspi.c711 xfer->effective_speed_hz = rspi->speed_hz; in rspi_common_transfer()
868 xfer->effective_speed_hz = rspi->speed_hz; in qspi_transfer_one()
Dspi-imx.c1600 transfer->effective_speed_hz = spi_imx->spi_bus_clk; in spi_imx_transfer_one()
1621 byte_limit = hz_per_byte ? transfer->effective_speed_hz / hz_per_byte : 1; in spi_imx_transfer_one()
Dspi-dw-core.c442 transfer->effective_speed_hz = dws->current_freq; in dw_spi_transfer_one()
Dspi-sh-msiof.c297 t->effective_speed_hz = parent_rate / (brps << div_pow); in sh_msiof_spi_set_clk_regs()
Dspi-atmel.c838 xfer->effective_speed_hz = bus_hz / scbr; in atmel_spi_set_xfer_speed()
Dspi.c1417 hz = xfer->effective_speed_hz ?: xfer->speed_hz / 2; in spi_delay_to_ns()
3826 xfer->effective_speed_hz = 0; in __spi_validate()
/linux-6.1.9/include/linux/spi/
Dspi.h979 u32 effective_speed_hz; member
/linux-6.1.9/drivers/net/ethernet/vertexcom/
Dmse102x.c107 (unsigned long)mses->spi_xfer.effective_speed_hz); in mse102x_info_show()
/linux-6.1.9/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-core.c1802 *effective_speed_hz_slow = xfer[0].effective_speed_hz; in mcp251xfd_register_get_dev_id()
1803 *effective_speed_hz_fast = xfer[1].effective_speed_hz; in mcp251xfd_register_get_dev_id()