Lines Matching refs:master
19 struct spi_master *master; member
171 static int bcm53xxspi_transfer_one(struct spi_master *master, in bcm53xxspi_transfer_one() argument
175 struct bcm53xxspi *b53spi = spi_master_get_devdata(master); in bcm53xxspi_transfer_one()
226 struct spi_master *master; in bcm53xxspi_bcma_probe() local
234 master = spi_alloc_master(&core->dev, sizeof(*b53spi)); in bcm53xxspi_bcma_probe()
235 if (!master) in bcm53xxspi_bcma_probe()
238 b53spi = spi_master_get_devdata(master); in bcm53xxspi_bcma_probe()
239 b53spi->master = master; in bcm53xxspi_bcma_probe()
242 master->transfer_one = bcm53xxspi_transfer_one; in bcm53xxspi_bcma_probe()
246 err = devm_spi_register_master(&core->dev, master); in bcm53xxspi_bcma_probe()
248 spi_master_put(master); in bcm53xxspi_bcma_probe()
254 spi_new_device(master, &bcm53xx_info); in bcm53xxspi_bcma_probe()