BUFF_SZ 396 drivers/hid/hid-picolcd_debugfs.c buff = kmalloc(BUFF_SZ, GFP_ATOMIC); BUFF_SZ 406 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\nout report %d (size %d) = ", BUFF_SZ 411 drivers/hid/hid-picolcd_debugfs.c dump_buff_as_hex(buff, BUFF_SZ, raw_data, raw_size); BUFF_SZ 417 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", BUFF_SZ 420 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tGPO state: 0x%02x\n", raw_data[1]); BUFF_SZ 425 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", BUFF_SZ 428 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tBrightness: 0x%02x\n", raw_data[1]); BUFF_SZ 433 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", BUFF_SZ 436 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tContrast: 0x%02x\n", raw_data[1]); BUFF_SZ 441 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", BUFF_SZ 444 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tDuration: 0x%02x%02x (%dms)\n", BUFF_SZ 450 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", BUFF_SZ 457 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", BUFF_SZ 464 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", BUFF_SZ 471 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", BUFF_SZ 474 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x\n", BUFF_SZ 477 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); BUFF_SZ 482 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", BUFF_SZ 485 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x\n", BUFF_SZ 488 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); BUFF_SZ 491 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tNo data\n"); BUFF_SZ 493 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData: "); BUFF_SZ 495 drivers/hid/hid-picolcd_debugfs.c dump_buff_as_hex(buff, BUFF_SZ, raw_data+4, raw_data[3]); BUFF_SZ 497 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData overflowed\n"); BUFF_SZ 504 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", BUFF_SZ 509 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tAddress inside 64 byte block: 0x%02x%02x\n", BUFF_SZ 513 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tAddress inside 64 byte block: 0x%02x%02x%02x\n", BUFF_SZ 517 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tNot supported\n"); BUFF_SZ 524 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", BUFF_SZ 529 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x\n", BUFF_SZ 532 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); BUFF_SZ 535 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x%02x\n", BUFF_SZ 538 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[4]); BUFF_SZ 541 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tNot supported\n"); BUFF_SZ 548 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", BUFF_SZ 553 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x\n", BUFF_SZ 556 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); BUFF_SZ 559 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tNo data\n"); BUFF_SZ 561 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData: "); BUFF_SZ 563 drivers/hid/hid-picolcd_debugfs.c dump_buff_as_hex(buff, BUFF_SZ, raw_data+4, raw_data[3]); BUFF_SZ 565 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData overflowed\n"); BUFF_SZ 569 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x%02x\n", BUFF_SZ 572 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[4]); BUFF_SZ 575 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tNo data\n"); BUFF_SZ 577 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData: "); BUFF_SZ 579 drivers/hid/hid-picolcd_debugfs.c dump_buff_as_hex(buff, BUFF_SZ, raw_data+5, raw_data[4]); BUFF_SZ 581 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData overflowed\n"); BUFF_SZ 585 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tNot supported\n"); BUFF_SZ 593 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", BUFF_SZ 596 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tRestart delay: %dms (0x%02x%02x)\n", BUFF_SZ 602 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", BUFF_SZ 607 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", BUFF_SZ 612 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", BUFF_SZ 617 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", BUFF_SZ 622 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", BUFF_SZ 625 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tRestart delay: %dms (0x%02x%02x)\n", BUFF_SZ 631 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", BUFF_SZ 652 drivers/hid/hid-picolcd_debugfs.c buff = kmalloc(BUFF_SZ, GFP_ATOMIC); BUFF_SZ 659 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", BUFF_SZ 663 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tError code 0x%02x (%s) in reply to report 0x%02x\n", BUFF_SZ 666 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tError code 0x%02x in reply to report 0x%02x\n", BUFF_SZ 672 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", BUFF_SZ 676 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tNo key pressed\n"); BUFF_SZ 678 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tOne key pressed: 0x%02x (%d)\n", BUFF_SZ 681 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tTwo keys pressed: 0x%02x (%d), 0x%02x (%d)\n", BUFF_SZ 687 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", BUFF_SZ 691 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tUnexpectedly 0 data length\n"); BUFF_SZ 694 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData length: %d\n\tIR Data: ", BUFF_SZ 697 drivers/hid/hid-picolcd_debugfs.c dump_buff_as_hex(buff, BUFF_SZ, raw_data+2, raw_data[1]); BUFF_SZ 700 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tOverflowing data length: %d\n", BUFF_SZ 707 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", BUFF_SZ 710 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x\n", BUFF_SZ 713 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); BUFF_SZ 716 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tNo data\n"); BUFF_SZ 719 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData: "); BUFF_SZ 721 drivers/hid/hid-picolcd_debugfs.c dump_buff_as_hex(buff, BUFF_SZ, raw_data+4, raw_data[3]); BUFF_SZ 724 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData overflowed\n"); BUFF_SZ 730 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", BUFF_SZ 735 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x\n", BUFF_SZ 738 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); BUFF_SZ 741 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tNo data\n"); BUFF_SZ 743 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData: "); BUFF_SZ 745 drivers/hid/hid-picolcd_debugfs.c dump_buff_as_hex(buff, BUFF_SZ, raw_data+4, raw_data[3]); BUFF_SZ 747 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData overflowed\n"); BUFF_SZ 751 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData address: 0x%02x%02x%02x\n", BUFF_SZ 754 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[4]); BUFF_SZ 757 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tNo data\n"); BUFF_SZ 759 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData: "); BUFF_SZ 761 drivers/hid/hid-picolcd_debugfs.c dump_buff_as_hex(buff, BUFF_SZ, raw_data+5, raw_data[4]); BUFF_SZ 763 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tData overflowed\n"); BUFF_SZ 767 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tNot supported\n"); BUFF_SZ 772 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", BUFF_SZ 775 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tFirmware version: %d.%d\n", BUFF_SZ 780 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", BUFF_SZ 786 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", BUFF_SZ 792 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", BUFF_SZ 798 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", BUFF_SZ 801 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tSerial: 0x%02x%02x%02x%02x\n", BUFF_SZ 804 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tType: 0x%02x\n", BUFF_SZ 809 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", BUFF_SZ 812 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tTotal splash space: %d\n", BUFF_SZ 815 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tUsed splash space: %d\n", BUFF_SZ 820 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", BUFF_SZ 823 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "\tFirmware version: %d.%d\n", BUFF_SZ 828 drivers/hid/hid-picolcd_debugfs.c snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n",