Searched refs:nspi (Results 1 – 1 of 1) sorted by relevance
185 struct netup_spi *nspi; in netup_spi_init() local194 nspi = spi_master_get_devdata(master); in netup_spi_init()200 spin_lock_init(&nspi->lock); in netup_spi_init()201 init_waitqueue_head(&nspi->waitq); in netup_spi_init()202 nspi->master = master; in netup_spi_init()203 nspi->regs = (struct netup_spi_regs __iomem *)(ndev->bmmio0 + 0x4000); in netup_spi_init()204 writew(2, &nspi->regs->clock_divider); in netup_spi_init()206 ndev->spi = nspi; in netup_spi_init()