Home
last modified time | relevance | path

Searched refs:setup_buf (Results 1 – 2 of 2) sorted by relevance

/external/qemu/hw/
Dusb.c53 memcpy(s->setup_buf, p->data, 8); in do_token_setup()
54 s->setup_len = (s->setup_buf[7] << 8) | s->setup_buf[6]; in do_token_setup()
57 request = (s->setup_buf[0] << 8) | s->setup_buf[1]; in do_token_setup()
58 value = (s->setup_buf[3] << 8) | s->setup_buf[2]; in do_token_setup()
59 index = (s->setup_buf[5] << 8) | s->setup_buf[4]; in do_token_setup()
61 if (s->setup_buf[0] & USB_DIR_IN) { in do_token_setup()
88 request = (s->setup_buf[0] << 8) | s->setup_buf[1]; in do_token_in()
89 value = (s->setup_buf[3] << 8) | s->setup_buf[2]; in do_token_in()
90 index = (s->setup_buf[5] << 8) | s->setup_buf[4]; in do_token_in()
94 if (!(s->setup_buf[0] & USB_DIR_IN)) { in do_token_in()
[all …]
Dusb.h176 uint8_t setup_buf[8]; member