Home
last modified time | relevance | path

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

/external/qemu/hw/
Dusb.c55 s->setup_index = 0; in do_token_setup()
108 int len = s->setup_len - s->setup_index; in do_token_in()
111 memcpy(p->data, s->data_buf + s->setup_index, len); in do_token_in()
112 s->setup_index += len; in do_token_in()
113 if (s->setup_index >= s->setup_len) in do_token_in()
143 int len = s->setup_len - s->setup_index; in do_token_out()
146 memcpy(s->data_buf + s->setup_index, p->data, len); in do_token_out()
147 s->setup_index += len; in do_token_out()
148 if (s->setup_index >= s->setup_len) in do_token_out()
Dusb.h181 int setup_index; member