Lines Matching refs:step
70 static void spi_request_bytes(struct exynos_spi *regs, int count, int step) in spi_request_bytes() argument
72 debug("%s: regs=%p, count=%d, step=%d\n", __func__, regs, count, step); in spi_request_bytes()
75 if (step == 4) { in spi_request_bytes()
107 int step; in spi_rx_tx() local
118 step = 1; in spi_rx_tx()
121 step = 4; in spi_rx_tx()
127 spi_request_bytes(regs, todo, step); in spi_rx_tx()
148 else if (step == 4) in spi_rx_tx()
153 out_bytes -= step; in spi_rx_tx()
155 txp += step; in spi_rx_tx()
156 tx_lvl += step; in spi_rx_tx()
158 if (rx_lvl >= step) { in spi_rx_tx()
159 while (rx_lvl >= step) { in spi_rx_tx()
168 if (step == 4) in spi_rx_tx()
172 rxp += step; in spi_rx_tx()
174 in_bytes -= step; in spi_rx_tx()
176 toread -= step; in spi_rx_tx()
177 rx_lvl -= step; in spi_rx_tx()
190 spi_request_bytes(regs, toread, step); in spi_rx_tx()