Lines Matching refs:Ir35221State
27 typedef struct Ir35221State { struct
38 } Ir35221State; argument
41 #define IR35221(obj) OBJECT_CHECK(Ir35221State, (obj), TYPE_IR35221)
43 static void ir35221_read(Ir35221State *s) in ir35221_read()
64 static void ir35221_write(Ir35221State *s) in ir35221_write()
71 Ir35221State *s = IR35221(i2c); in ir35221_recv()
82 Ir35221State *s = IR35221(i2c); in ir35221_send()
107 Ir35221State *s = IR35221(i2c); in ir35221_event()
133 VMSTATE_UINT8(len, Ir35221State),
134 VMSTATE_UINT8_ARRAY(buf, Ir35221State, 32),
135 VMSTATE_UINT8(pointer, Ir35221State),
136 VMSTATE_UINT8_ARRAY(regs, Ir35221State, 0x100),
137 VMSTATE_I2C_SLAVE(i2c, Ir35221State),
144 Ir35221State *s = IR35221(dev); in ir35221_reset()
171 .instance_size = sizeof(Ir35221State),