Lines Matching refs:master
329 uwire = spi_master_get_devdata(spi->master);
472 spi_master_put(uwire->bitbang.master);
477 struct spi_master *master;
481 master = spi_alloc_master(&pdev->dev, sizeof *uwire);
482 if (!master)
485 uwire = spi_master_get_devdata(master);
490 spi_master_put(master);
500 spi_master_put(master);
513 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH;
515 master->flags = SPI_MASTER_HALF_DUPLEX;
517 master->bus_num = 2; /* "official" */
518 master->num_chipselect = 4;
519 master->setup = uwire_setup;
520 master->cleanup = uwire_cleanup;
522 uwire->bitbang.master = master;