Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/usb/
Dhub.c156 …int expect_num_bytes; /**< Expected number of bytes for IN transfers stages. Set to 0 fo… member
330 enum_ctrl->expect_num_bytes = sizeof(usb_setup_packet_t) + ENUM_SHORT_DESC_REQ_LEN; in enum_stage_transfer()
336 … enum_ctrl->expect_num_bytes = 0; //OUT transfer. No need to check number of bytes returned in enum_stage_transfer()
343 enum_ctrl->expect_num_bytes = sizeof(usb_setup_packet_t) + sizeof(usb_device_desc_t); in enum_stage_transfer()
351 enum_ctrl->expect_num_bytes = sizeof(usb_setup_packet_t) + ENUM_SHORT_DESC_REQ_LEN; in enum_stage_transfer()
359 enum_ctrl->expect_num_bytes = sizeof(usb_setup_packet_t) + enum_ctrl->wTotalLength; in enum_stage_transfer()
365 … enum_ctrl->expect_num_bytes = 0; //OUT transfer. No need to check number of bytes returned in enum_stage_transfer()
380 enum_ctrl->expect_num_bytes = sizeof(usb_setup_packet_t) + sizeof(usb_str_desc_t); in enum_stage_transfer()
395 enum_ctrl->expect_num_bytes = sizeof(usb_setup_packet_t) + enum_ctrl->str_desc_bLength; in enum_stage_transfer()
422 …if (enum_ctrl->expect_num_bytes != 0 && enum_ctrl->expect_num_bytes != transfer->actual_num_bytes)… in enum_stage_transfer_check()