Lines Matching refs:SHSerialState
49 OBJECT_DECLARE_SIMPLE_TYPE(SHSerialState, SH_SERIAL)
51 struct SHSerialState { struct
83 OBJECT_DEFINE_TYPE(SHSerialState, sh_serial, SH_SERIAL, SYS_BUS_DEVICE) in OBJECT_DEFINE_TYPE() argument
85 static void sh_serial_clear_fifo(SHSerialState *s) in OBJECT_DEFINE_TYPE()
96 SHSerialState *s = opaque; in sh_serial_write()
215 SHSerialState *s = opaque; in sh_serial_read()
321 static int sh_serial_can_receive(SHSerialState *s) in sh_serial_can_receive()
326 static void sh_serial_receive_break(SHSerialState *s) in sh_serial_receive_break()
335 SHSerialState *s = opaque; in sh_serial_can_receive1()
341 SHSerialState *s = opaque; in sh_serial_timeout_int()
351 SHSerialState *s = opaque; in sh_serial_receive1()
381 SHSerialState *s = opaque; in sh_serial_event()
395 SHSerialState *s = SH_SERIAL(dev); in sh_serial_reset()
416 SHSerialState *s = SH_SERIAL(d); in sh_serial_realize()
441 SHSerialState *s = SH_SERIAL(obj); in sh_serial_finalize()
451 DEFINE_PROP_CHR("chardev", SHSerialState, chr),
452 DEFINE_PROP_UINT8("features", SHSerialState, feat, 0),