Lines Matching refs:bitbang
40 struct spi_bitbang bitbang;
124 * The bitbang-API should probably get fixed here... */ \
130 #include "spi-bitbang-txrx.h"
203 sp->bitbang.master = spi_master_get(master);
204 sp->bitbang.chipselect = ap83_spi_chipselect;
205 sp->bitbang.txrx_word[SPI_MODE_0] = ap83_spi_txrx_mode0;
206 sp->bitbang.txrx_word[SPI_MODE_1] = ap83_spi_txrx_mode1;
207 sp->bitbang.txrx_word[SPI_MODE_2] = ap83_spi_txrx_mode2;
208 sp->bitbang.txrx_word[SPI_MODE_3] = ap83_spi_txrx_mode3;
210 sp->bitbang.master->bus_num = pdev->id;
211 sp->bitbang.master->num_chipselect = 1;
225 ret = spi_bitbang_start(&sp->bitbang);
237 spi_master_put(sp->bitbang.master);
250 spi_bitbang_stop(&sp->bitbang);
253 spi_master_put(sp->bitbang.master);