Lines Matching refs:last_if
66 struct libusb20_interface *last_if;
165 last_if = NULL;
171 if (last_if) {
174 last_if->num_endpoints++;
194 last_if = lub_interface;
199 last_if = lub_alt_interface;
203 LIBUSB20_INIT(LIBUSB20_INTERFACE_DESC, &last_if->desc);
205 if (libusb20_me_decode(ptr, ptr[0], &last_if->desc)) {
210 if (last_if->desc.bInterfaceNumber != (uint8_t)(niface - 1)) {
214 last_if->desc.bInterfaceNumber, niface - 1);
217 last_if->extra.ptr = LIBUSB20_ADD_BYTES(ptr, ptr[0]);
218 last_if->extra.len = 0;
219 last_if->extra.type = LIBUSB20_ME_IS_RAW;
220 last_if->endpoints = lub_endpoint + 1;
221 last_if->altsetting = lub_alt_interface;
222 last_if->num_altsetting = 0;
223 last_if->num_endpoints = 0;
227 if (last_if) {
231 last_if->extra.len += ptr[0];