Home
last modified time | relevance | path

Searched refs:PL011State (Results 1 – 7 of 7) sorted by relevance

/qemu/hw/char/
H A Dpl011.c132 static void pl011_update(PL011State *s) in pl011_update()
144 static bool pl011_loopback_enabled(PL011State *s) in pl011_loopback_enabled()
149 static bool pl011_is_fifo_enabled(PL011State *s) in pl011_is_fifo_enabled()
154 static inline unsigned pl011_get_fifo_depth(PL011State *s) in pl011_get_fifo_depth()
160 static inline void pl011_reset_rx_fifo(PL011State *s) in pl011_reset_rx_fifo()
170 static inline void pl011_reset_tx_fifo(PL011State *s) in pl011_reset_tx_fifo()
179 PL011State *s = (PL011State *)opaque; in pl011_fifo_rx_put()
199 static void pl011_loopback_tx(PL011State *s, uint32_t value) in pl011_loopback_tx()
227 static void pl011_write_txdata(PL011State *s, uint8_t data) in pl011_write_txdata()
248 static uint32_t pl011_read_rxdata(PL011State *s) in pl011_read_rxdata()
[all …]
/qemu/rust/hw/char/pl011/src/
H A Ddevice.rs103 pub struct PL011State { struct
131 // expand the padding_for_rust[] array in the C PL011State struct. argument
132 static_assert!(size_of::<PL011State>() <= size_of::<qemu_api::bindings::PL011State>());
134 qom_isa!(PL011State : SysBusDevice, DeviceState, Object);
143 trait PL011Impl: SysBusDeviceImpl + IsA<PL011State> {
154 unsafe impl ObjectType for PL011State { implementation
159 impl PL011Impl for PL011State { implementation
163 impl ObjectImpl for PL011State { implementation
171 impl DeviceImpl for PL011State { implementation
104 parent_objPL011State global() argument
105 iomemPL011State global() argument
107 char_backendPL011State global() argument
181 impl ResettablePhasesImpl for PL011State { global() implementation
185 impl SysBusDeviceImpl for PL011State {} global() implementation
482 impl PL011State { global() implementation
[all...]
H A Ddevice_class.rs18 use crate::device::{PL011Registers, PL011State};
21 let state = NonNull::new(opaque).unwrap().cast::<PL011State>(); in pl011_clock_needed()
32 vmstate_clock!(PL011State, clock),
38 let state = NonNull::new(opaque).unwrap().cast::<PL011State>(); in pl011_post_load()
78 vmstate_struct!(PL011State, regs, &VMSTATE_PL011_REGS, BqlRefCell<PL011Registers>),
90 PL011State,
97 PL011State,
/qemu/include/hw/char/
H A Dpl011.h23 OBJECT_DECLARE_SIMPLE_TYPE(PL011State, PL011)
31 struct PL011State { struct
/qemu/include/hw/arm/
H A Dbcm2835_peripherals.h61 PL011State uart0;
H A Dxlnx-versal.h79 PL011State uart[XLNX_VERSAL_NR_UARTS];
/qemu/hw/arm/
H A Dmusca.c76 PL011State uart[2];
290 PL011State *uart = opaque; in make_uart()