Lines Matching refs:spireg
98 static struct kwspi_registers *spireg = variable
124 writel(KWSPI_SMEMRDY, &spireg->ctrl); in spi_setup_slave()
132 writel(KWSPI_ADRLEN_3BYTE | data, &spireg->cfg); in spi_setup_slave()
135 writel(KWSPI_SMEMRDIRQ, &spireg->irq_cause); in spi_setup_slave()
136 writel(KWSPI_IRQMASK, &spireg->irq_mask); in spi_setup_slave()
227 _spi_cs_activate(spireg); in spi_cs_activate()
232 _spi_cs_deactivate(spireg); in spi_cs_deactivate()
238 return _spi_xfer(spireg, bitlen, dout, din, flags); in spi_xfer()
250 struct kwspi_registers *spireg; member
254 struct kwspi_registers *spireg; member
260 struct kwspi_registers *reg = plat->spireg; in mvebu_spi_set_speed()
278 struct kwspi_registers *reg = plat->spireg; in mvebu_spi_50mhz_ac_timing_erratum()
311 struct kwspi_registers *reg = plat->spireg; in mvebu_spi_set_mode()
339 return _spi_xfer(plat->spireg, bitlen, dout, din, flags); in mvebu_spi_xfer()
348 clrsetbits_le32(&plat->spireg->ctrl, in mvebu_spi_claim_bus()
358 struct kwspi_registers *reg = plat->spireg; in mvebu_spi_probe()
371 plat->spireg = (struct kwspi_registers *)devfdt_get_addr(bus); in mvebu_spi_ofdata_to_platdata()