Lines Matching full:pub
33 pub const PL011_FIFO_DEPTH: usize = 16_usize;
61 pub struct PL011State {
62 pub parent_obj: SysBusDevice,
63 pub iomem: MemoryRegion,
65 pub flags: registers::Flags,
67 pub line_control: registers::LineControl,
69 pub receive_status_error_clear: registers::ReceiveStatusErrorClear,
71 pub control: registers::Control,
72 pub dmacr: u32,
73 pub int_enabled: u32,
74 pub int_level: u32,
75 pub read_fifo: [u32; PL011_FIFO_DEPTH],
76 pub ilpr: u32,
77 pub ibrd: u32,
78 pub fbrd: u32,
79 pub ifl: u32,
80 pub read_pos: usize,
81 pub read_count: usize,
82 pub read_trigger: usize,
84 pub char_backend: CharBackend,
97 pub interrupts: [qemu_irq; 6usize],
99 pub clock: NonNull<Clock>,
101 pub migrate_clock: bool,
118 pub struct PL011Class {
181 pub fn read(&mut self, offset: hwaddr, _size: c_uint) -> std::ops::ControlFlow<u64, u64> { in read()
234 pub fn write(&mut self, offset: hwaddr, value: u64) { in write()
409 pub fn realize(&mut self) { in realize()
426 pub fn reset(&mut self) { in reset()
442 pub fn reset_fifo(&mut self) { in reset_fifo()
450 pub fn can_receive(&self) -> bool { in can_receive()
455 pub fn event(&mut self, event: QEMUChrEvent) { in event()
463 pub fn fifo_enabled(&self) -> bool { in fifo_enabled()
468 pub fn loopback_enabled(&self) -> bool { in loopback_enabled()
473 pub fn fifo_depth(&self) -> usize { in fifo_depth()
481 pub fn put_fifo(&mut self, value: c_uint) { in put_fifo()
498 pub fn update(&self) { in update()
506 pub fn post_load(&mut self, _version_id: u32) -> Result<(), ()> { in post_load()
529 pub const IRQMASK: [u32; 6] = [
548 pub unsafe extern "C" fn pl011_can_receive(opaque: *mut c_void) -> c_int { in pl011_can_receive()
563 pub unsafe extern "C" fn pl011_receive(opaque: *mut c_void, buf: *const u8, size: c_int) { in pl011_receive()
582 pub unsafe extern "C" fn pl011_event(opaque: *mut c_void, event: QEMUChrEvent) { in pl011_event()
594 pub unsafe extern "C" fn pl011_create( in pl011_create()
616 pub unsafe extern "C" fn pl011_init(obj: *mut Object) { in pl011_init()
627 pub struct PL011Luminary {
632 pub struct PL011LuminaryClass {
643 pub unsafe extern "C" fn pl011_luminary_init(obj: *mut Object) { in pl011_luminary_init()