Lines Matching refs:ADBBusState
49 static int do_adb_request(ADBBusState *s, uint8_t *obuf, const uint8_t *buf, in do_adb_request()
95 int adb_request(ADBBusState *s, uint8_t *obuf, const uint8_t *buf, int len) in adb_request()
109 int adb_poll(ADBBusState *s, uint8_t *obuf, uint16_t poll_mask) in adb_poll()
137 void adb_set_autopoll_enabled(ADBBusState *s, bool enabled) in adb_set_autopoll_enabled()
151 void adb_set_autopoll_rate_ms(ADBBusState *s, int rate_ms) in adb_set_autopoll_rate_ms()
162 void adb_set_autopoll_mask(ADBBusState *s, uint16_t mask) in adb_set_autopoll_mask()
176 void adb_autopoll_block(ADBBusState *s) in adb_autopoll_block()
186 void adb_autopoll_unblock(ADBBusState *s) in adb_autopoll_unblock()
200 ADBBusState *s = opaque; in adb_autopoll()
213 void adb_register_autopoll_callback(ADBBusState *s, void (*cb)(void *opaque), in adb_register_autopoll_callback()
225 VMSTATE_TIMER_PTR(autopoll_timer, ADBBusState),
226 VMSTATE_BOOL(autopoll_enabled, ADBBusState),
227 VMSTATE_UINT8(autopoll_rate_ms, ADBBusState),
228 VMSTATE_UINT16(autopoll_mask, ADBBusState),
229 VMSTATE_BOOL(autopoll_blocked, ADBBusState),
236 ADBBusState *adb_bus = ADB_BUS(obj); in adb_bus_reset_hold()
245 ADBBusState *adb_bus = ADB_BUS(qbus); in adb_bus_realize()
255 ADBBusState *adb_bus = ADB_BUS(qbus); in adb_bus_unrealize()
275 .instance_size = sizeof(ADBBusState),
293 ADBBusState *bus = ADB_BUS(qdev_get_parent_bus(dev)); in adb_device_realizefn()