Home
last modified time | relevance | path

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

/openbmc/qemu/hw/usb/
H A Dcanokey.c142 key->ep_in_pos[i] = 0; in canokey_handle_reset()
183 key->ep_in_pos[0] = 0; in canokey_handle_control()
235 if (key->ep_in_pos[ep_in] == 0) { /* first time IN */ in canokey_handle_data()
249 in_len = MIN(key->ep_in_size[ep_in] - key->ep_in_pos[ep_in], in canokey_handle_data()
252 key->ep_in[ep_in] + key->ep_in_pos[ep_in], in_len); in canokey_handle_data()
253 key->ep_in_pos[ep_in] += in_len; in canokey_handle_data()
255 if (key->ep_in_pos[ep_in] == key->ep_in_size[ep_in]) { in canokey_handle_data()
258 key->ep_in_pos[ep_in] = 0; in canokey_handle_data()
285 key->ep_in_pos[i] = 0; in canokey_realize()
H A Dcanokey.h56 uint32_t ep_in_pos[CANOKEY_EP_NUM]; member