Lines Matching refs:bitbang
51 /* bitbang has to be first */
52 struct spi_bitbang bitbang;
196 mutex_lock(&hw->bitbang.lock);
197 if (!hw->bitbang.busy) {
198 hw->bitbang.chipselect(spi, BITBANG_CS_INACTIVE);
201 mutex_unlock(&hw->bitbang.lock);
506 /* setup the state for the bitbang driver */
508 hw->bitbang.master = hw->master;
509 hw->bitbang.setup_transfer = s3c24xx_spi_setupxfer;
510 hw->bitbang.chipselect = s3c24xx_spi_chipsel;
511 hw->bitbang.txrx_bufs = s3c24xx_spi_txrx;
515 dev_dbg(hw->dev, "bitbang at %p\n", &hw->bitbang);
569 err = spi_bitbang_start(&hw->bitbang);
589 spi_bitbang_stop(&hw->bitbang);