Lines Matching refs:curoff
2331 uint32_t len, curoff; in ptp_unpack_CANON_changes() local
2356 curoff = 8+4+4; in ptp_unpack_CANON_changes()
2360 sprintf(ce[i].u.info, "Button %d", dtoh16a(curdata+curoff)); in ptp_unpack_CANON_changes()
2362 curoff += 2; in ptp_unpack_CANON_changes()
2370 dpd->CurrentValue.u16 = curdata[curoff+5]; /* just use last byte */ in ptp_unpack_CANON_changes()
2374 curoff += 6; in ptp_unpack_CANON_changes()
2382 dpd->CurrentValue.u16 = curdata[curoff+4]; /* just use last byte */ in ptp_unpack_CANON_changes()
2386 curoff += 5; in ptp_unpack_CANON_changes()
2394 dpd->CurrentValue.u16 = curdata[curoff+3]; /* just use last byte */ in ptp_unpack_CANON_changes()
2398 curoff += 4; in ptp_unpack_CANON_changes()
2406 curdata[curoff], in ptp_unpack_CANON_changes()
2407 curdata[curoff+1], in ptp_unpack_CANON_changes()
2408 curdata[curoff+2], in ptp_unpack_CANON_changes()
2409 curdata[curoff+3] in ptp_unpack_CANON_changes()
2411 curoff += 4; in ptp_unpack_CANON_changes()
2419 curdata[curoff], in ptp_unpack_CANON_changes()
2420 curdata[curoff+1], in ptp_unpack_CANON_changes()
2421 curdata[curoff+2], in ptp_unpack_CANON_changes()
2422 curdata[curoff+3], in ptp_unpack_CANON_changes()
2423 curdata[curoff+4], in ptp_unpack_CANON_changes()
2424 curdata[curoff+5] in ptp_unpack_CANON_changes()
2426 curoff += 6; in ptp_unpack_CANON_changes()
2430 int value = (signed char)curdata[curoff+2]; in ptp_unpack_CANON_changes()
2436 curdata[curoff], in ptp_unpack_CANON_changes()
2437 curdata[curoff+1], in ptp_unpack_CANON_changes()
2439 curdata[curoff+3], in ptp_unpack_CANON_changes()
2440 curdata[curoff+4], in ptp_unpack_CANON_changes()
2441 curdata[curoff+5], in ptp_unpack_CANON_changes()
2442 curdata[curoff+6] in ptp_unpack_CANON_changes()
2444 curoff += 7; in ptp_unpack_CANON_changes()
2452 curdata[curoff], in ptp_unpack_CANON_changes()
2453 curdata[curoff+1], in ptp_unpack_CANON_changes()
2454 curdata[curoff+2], in ptp_unpack_CANON_changes()
2455 curdata[curoff+3] in ptp_unpack_CANON_changes()
2457 curoff += 4; in ptp_unpack_CANON_changes()
2465 curdata[curoff], in ptp_unpack_CANON_changes()
2466 curdata[curoff+1], in ptp_unpack_CANON_changes()
2467 curdata[curoff+2], in ptp_unpack_CANON_changes()
2468 curdata[curoff+3], in ptp_unpack_CANON_changes()
2469 curdata[curoff+4], in ptp_unpack_CANON_changes()
2470 curdata[curoff+5] in ptp_unpack_CANON_changes()
2472 curoff += 6; in ptp_unpack_CANON_changes()
2480 curdata[curoff], in ptp_unpack_CANON_changes()
2481 curdata[curoff+1], in ptp_unpack_CANON_changes()
2482 curdata[curoff+2], in ptp_unpack_CANON_changes()
2483 curdata[curoff+3], in ptp_unpack_CANON_changes()
2484 curdata[curoff+4], in ptp_unpack_CANON_changes()
2485 curdata[curoff+5], in ptp_unpack_CANON_changes()
2486 curdata[curoff+6] in ptp_unpack_CANON_changes()
2488 curoff += 7; in ptp_unpack_CANON_changes()
2496 curdata[curoff], in ptp_unpack_CANON_changes()
2497 curdata[curoff+1], in ptp_unpack_CANON_changes()
2498 curdata[curoff+2], in ptp_unpack_CANON_changes()
2499 curdata[curoff+3], in ptp_unpack_CANON_changes()
2500 curdata[curoff+4], in ptp_unpack_CANON_changes()
2501 curdata[curoff+5], in ptp_unpack_CANON_changes()
2502 curdata[curoff+6] in ptp_unpack_CANON_changes()
2504 curoff += 7; in ptp_unpack_CANON_changes()
2513 curdata[curoff], in ptp_unpack_CANON_changes()
2514 curdata[curoff+1], in ptp_unpack_CANON_changes()
2515 curdata[curoff+2], in ptp_unpack_CANON_changes()
2516 curdata[curoff+3], in ptp_unpack_CANON_changes()
2517 curdata[curoff+4], in ptp_unpack_CANON_changes()
2518 curdata[curoff+5], in ptp_unpack_CANON_changes()
2519 curdata[curoff+6], in ptp_unpack_CANON_changes()
2520 curdata[curoff+7] in ptp_unpack_CANON_changes()
2522 curoff += 8; in ptp_unpack_CANON_changes()
2530 curdata[curoff] in ptp_unpack_CANON_changes()
2532 curoff += 1; in ptp_unpack_CANON_changes()