Searched refs:token_type (Results 1 – 2 of 2) sorted by relevance
779 static bool it82xx2_usb_fake_token(const uint8_t ep_idx, uint8_t *token_type) in it82xx2_usb_fake_token() argument802 *token_type = ep_regs[ep_fifo].ep_transtype_sts & DC_ALL_TRANS; in it82xx2_usb_fake_token()808 switch (*token_type) { in it82xx2_usb_fake_token()840 uint8_t ep_idx, token_type; in it82xx2_usb_dc_trans_done() local851 if (!it82xx2_usb_fake_token(ep_idx, &token_type)) { in it82xx2_usb_dc_trans_done()852 switch (token_type) { in it82xx2_usb_dc_trans_done()
925 static bool it82xx2_fake_token(const struct device *dev, const uint8_t ep, const uint8_t token_type) in it82xx2_fake_token() argument934 switch (token_type) { in it82xx2_fake_token()961 LOG_ERR("Invalid token type(%d)", token_type); in it82xx2_fake_token()