Lines Matching refs:master
141 * @master: Pointer to the SPI Protocol master.
163 struct spi_master *master;
768 sdd = spi_master_get_devdata(spi->master);
810 sdd = spi_master_get_devdata(spi->master);
828 "setup: SPI-%d not active!\n", spi->master->bus_num);
916 struct spi_master *master;
957 master = spi_alloc_master(&pdev->dev,
959 if (master == NULL) {
964 platform_set_drvdata(pdev, master);
966 sdd = spi_master_get_devdata(master);
967 sdd->master = master;
976 master->bus_num = pdev->id;
977 master->setup = s3c64xx_spi_setup;
978 master->transfer = s3c64xx_spi_transfer;
979 master->num_chipselect = sci->num_cs;
980 master->dma_alignment = 8;
982 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH;
1034 dev_name(master->dev.parent));
1049 if (spi_register_master(master)) {
1050 dev_err(&pdev->dev, "cannot register SPI master\n");
1057 pdev->id, master->num_chipselect);
1081 spi_master_put(master);
1088 struct spi_master *master = spi_master_get(platform_get_drvdata(pdev));
1089 struct s3c64xx_spi_driver_data *sdd = spi_master_get_devdata(master);
1100 spi_unregister_master(master);
1117 spi_master_put(master);
1125 struct spi_master *master = spi_master_get(platform_get_drvdata(pdev));
1126 struct s3c64xx_spi_driver_data *sdd = spi_master_get_devdata(master);
1147 struct spi_master *master = spi_master_get(platform_get_drvdata(pdev));
1148 struct s3c64xx_spi_driver_data *sdd = spi_master_get_devdata(master);