Lines Matching refs:bitbang
30 struct spi_bitbang bitbang; member
136 sp->bitbang.master = spi_master_get(master); in sh_sci_spi_probe()
137 sp->bitbang.master->bus_num = sp->info->bus_num; in sh_sci_spi_probe()
138 sp->bitbang.master->num_chipselect = sp->info->num_chipselect; in sh_sci_spi_probe()
139 sp->bitbang.chipselect = sh_sci_spi_chipselect; in sh_sci_spi_probe()
141 sp->bitbang.txrx_word[SPI_MODE_0] = sh_sci_spi_txrx_mode0; in sh_sci_spi_probe()
142 sp->bitbang.txrx_word[SPI_MODE_1] = sh_sci_spi_txrx_mode1; in sh_sci_spi_probe()
143 sp->bitbang.txrx_word[SPI_MODE_2] = sh_sci_spi_txrx_mode2; in sh_sci_spi_probe()
144 sp->bitbang.txrx_word[SPI_MODE_3] = sh_sci_spi_txrx_mode3; in sh_sci_spi_probe()
159 ret = spi_bitbang_start(&sp->bitbang); in sh_sci_spi_probe()
166 spi_master_put(sp->bitbang.master); in sh_sci_spi_probe()
177 spi_bitbang_stop(&sp->bitbang); in sh_sci_spi_remove()
178 spi_master_put(sp->bitbang.master); in sh_sci_spi_remove()