Lines Matching refs:AWA10SPIState
168 static bool allwinner_a10_spi_is_enabled(AWA10SPIState *s) in allwinner_a10_spi_is_enabled()
173 static void allwinner_a10_spi_txfifo_reset(AWA10SPIState *s) in allwinner_a10_spi_txfifo_reset()
181 static void allwinner_a10_spi_rxfifo_reset(AWA10SPIState *s) in allwinner_a10_spi_rxfifo_reset()
189 static uint8_t allwinner_a10_spi_selected_channel(AWA10SPIState *s) in allwinner_a10_spi_selected_channel()
196 AWA10SPIState *s = AW_A10_SPI(obj); in allwinner_a10_spi_reset_hold()
214 static void allwinner_a10_spi_update_irq(AWA10SPIState *s) in allwinner_a10_spi_update_irq()
286 static void allwinner_a10_spi_flush_txfifo(AWA10SPIState *s) in allwinner_a10_spi_flush_txfifo()
348 AWA10SPIState *s = opaque; in allwinner_a10_spi_read()
406 static bool allwinner_a10_spi_update_cs_level(AWA10SPIState *s, int cs_line_nr) in allwinner_a10_spi_update_cs_level()
418 AWA10SPIState *s = opaque; in allwinner_a10_spi_write()
513 VMSTATE_FIFO8(tx_fifo, AWA10SPIState),
514 VMSTATE_FIFO8(rx_fifo, AWA10SPIState),
515 VMSTATE_UINT32_ARRAY(regs, AWA10SPIState, AW_A10_SPI_REGS_NUM),
522 AWA10SPIState *s = AW_A10_SPI(dev); in allwinner_a10_spi_realize()
552 .instance_size = sizeof(AWA10SPIState),