Lines Matching refs:PL011State
131 static void pl011_update(PL011State *s) in pl011_update()
143 static bool pl011_loopback_enabled(PL011State *s) in pl011_loopback_enabled()
148 static bool pl011_is_fifo_enabled(PL011State *s) in pl011_is_fifo_enabled()
153 static inline unsigned pl011_get_fifo_depth(PL011State *s) in pl011_get_fifo_depth()
159 static inline void pl011_reset_rx_fifo(PL011State *s) in pl011_reset_rx_fifo()
169 static inline void pl011_reset_tx_fifo(PL011State *s) in pl011_reset_tx_fifo()
178 PL011State *s = (PL011State *)opaque; in pl011_fifo_rx_put()
198 static void pl011_loopback_tx(PL011State *s, uint32_t value) in pl011_loopback_tx()
226 static void pl011_write_txdata(PL011State *s, uint8_t data) in pl011_write_txdata()
247 static uint32_t pl011_read_rxdata(PL011State *s) in pl011_read_rxdata()
273 PL011State *s = (PL011State *)opaque; in pl011_read()
330 static void pl011_set_read_trigger(PL011State *s) in pl011_set_read_trigger()
344 static unsigned int pl011_get_baudrate(const PL011State *s) in pl011_get_baudrate()
356 static void pl011_trace_baudrate_change(const PL011State *s) in pl011_trace_baudrate_change()
363 static void pl011_loopback_mdmctrl(PL011State *s) in pl011_loopback_mdmctrl()
404 static void pl011_loopback_break(PL011State *s, int brk_enable) in pl011_loopback_break()
414 PL011State *s = (PL011State *)opaque; in pl011_write()
487 PL011State *s = (PL011State *)opaque; in pl011_can_receive()
518 PL011State *s = PL011(opaque); in pl011_clock_update()
533 PL011State *s = PL011(opaque); in pl011_clock_needed()
544 VMSTATE_CLOCK(clk, PL011State),
551 PL011State* s = opaque; in pl011_post_load()
583 VMSTATE_UINT32(flags, PL011State),
584 VMSTATE_UINT32(lcr, PL011State),
585 VMSTATE_UINT32(rsr, PL011State),
586 VMSTATE_UINT32(cr, PL011State),
587 VMSTATE_UINT32(dmacr, PL011State),
588 VMSTATE_UINT32(int_enabled, PL011State),
589 VMSTATE_UINT32(int_level, PL011State),
590 VMSTATE_UINT32_ARRAY(read_fifo, PL011State, PL011_FIFO_DEPTH),
591 VMSTATE_UINT32(ilpr, PL011State),
592 VMSTATE_UINT32(ibrd, PL011State),
593 VMSTATE_UINT32(fbrd, PL011State),
594 VMSTATE_UINT32(ifl, PL011State),
595 VMSTATE_INT32(read_pos, PL011State),
596 VMSTATE_INT32(read_count, PL011State),
597 VMSTATE_INT32(read_trigger, PL011State),
607 DEFINE_PROP_CHR("chardev", PL011State, chr),
608 DEFINE_PROP_BOOL("migrate-clk", PL011State, migrate_clk, true),
615 PL011State *s = PL011(obj); in pl011_init()
632 PL011State *s = PL011(dev); in pl011_realize()
640 PL011State *s = PL011(dev); in pl011_reset()
671 .instance_size = sizeof(PL011State),
678 PL011State *s = PL011(obj); in pl011_luminary_init()