Lines Matching refs:core
18 struct bcma_device *core; member
26 return bcma_read32(b53spi->core, offset); in bcm53xxspi_read()
32 bcma_write32(b53spi->core, offset, value); in bcm53xxspi_write()
223 static int bcm53xxspi_bcma_probe(struct bcma_device *core) in bcm53xxspi_bcma_probe() argument
229 if (core->bus->drv_cc.core->id.rev != 42) { in bcm53xxspi_bcma_probe()
234 master = spi_alloc_master(&core->dev, sizeof(*b53spi)); in bcm53xxspi_bcma_probe()
240 b53spi->core = core; in bcm53xxspi_bcma_probe()
244 bcma_set_drvdata(core, b53spi); in bcm53xxspi_bcma_probe()
246 err = devm_spi_register_master(&core->dev, master); in bcm53xxspi_bcma_probe()
249 bcma_set_drvdata(core, NULL); in bcm53xxspi_bcma_probe()
260 static void bcm53xxspi_bcma_remove(struct bcma_device *core) in bcm53xxspi_bcma_remove() argument
262 struct bcm53xxspi *b53spi = bcma_get_drvdata(core); in bcm53xxspi_bcma_remove()