Searched refs:orion_spi (Results 1 – 2 of 2) sorted by relevance
93 struct orion_spi { struct109 static inline void __iomem *spi_reg(struct orion_spi *orion_spi, u32 reg) in spi_reg() argument111 return orion_spi->base + reg; in spi_reg()115 orion_spi_setbits(struct orion_spi *orion_spi, u32 reg, u32 mask) in orion_spi_setbits() argument117 void __iomem *reg_addr = spi_reg(orion_spi, reg); in orion_spi_setbits()126 orion_spi_clrbits(struct orion_spi *orion_spi, u32 reg, u32 mask) in orion_spi_clrbits() argument128 void __iomem *reg_addr = spi_reg(orion_spi, reg); in orion_spi_clrbits()142 struct orion_spi *orion_spi; in orion_spi_baudrate_set() local145 orion_spi = spi_master_get_devdata(spi->master); in orion_spi_baudrate_set()146 devdata = orion_spi->devdata; in orion_spi_baudrate_set()[all …]
559 static struct platform_device orion_spi = { variable576 fill_resources(&orion_spi, &orion_spi_resources, in orion_spi_init()578 platform_device_register(&orion_spi); in orion_spi_init()