Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/spi/
Dspi-mt65xx.c556 u32 mult_delta = 0; in mtk_spi_get_mult_delta() local
560 mult_delta = xfer_len % MTK_SPI_IPM_PACKET_SIZE; in mtk_spi_get_mult_delta()
563 mult_delta = xfer_len % MTK_SPI_PACKET_SIZE; in mtk_spi_get_mult_delta()
566 return mult_delta; in mtk_spi_get_mult_delta()
571 int mult_delta; in mtk_spi_update_mdata_len() local
576 mult_delta = mtk_spi_get_mult_delta(mdata, mdata->rx_sgl_len); in mtk_spi_update_mdata_len()
577 mdata->xfer_len = mdata->rx_sgl_len - mult_delta; in mtk_spi_update_mdata_len()
578 mdata->rx_sgl_len = mult_delta; in mtk_spi_update_mdata_len()
581 mult_delta = mtk_spi_get_mult_delta(mdata, mdata->tx_sgl_len); in mtk_spi_update_mdata_len()
582 mdata->xfer_len = mdata->tx_sgl_len - mult_delta; in mtk_spi_update_mdata_len()
[all …]