Home
last modified time | relevance | path

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

/openbmc/linux/drivers/spi/
H A 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
578 mdata->rx_sgl_len = mult_delta; in mtk_spi_update_mdata_len()
583 mdata->tx_sgl_len = mult_delta; in mtk_spi_update_mdata_len()
588 mdata->xfer_len = mdata->tx_sgl_len - mult_delta; in mtk_spi_update_mdata_len()
589 mdata->tx_sgl_len = mult_delta; in mtk_spi_update_mdata_len()
592 mdata->xfer_len = mdata->rx_sgl_len - mult_delta; in mtk_spi_update_mdata_len()
[all …]