Lines Matching +full:3 +full:d

77 	u8 raw_data[3];  in picolcd_debug_eeprom_read()
101 if (copy_to_user(u, resp->raw_data+3, ret)) in picolcd_debug_eeprom_read()
131 if (copy_from_user(raw_data+3, u, min((u8)20, raw_data[2]))) in picolcd_debug_eeprom_write()
141 if (memcmp(raw_data, resp->raw_data, 3+raw_data[2]) == 0) { in picolcd_debug_eeprom_write()
173 if (data->addr_sz == 3) in _picolcd_flash_setaddr()
175 return data->addr_sz == 2 ? 2 : 3; in _picolcd_flash_setaddr()
238 u8 raw_data[3]; in _picolcd_flash_erase64()
381 dst[j-2] = dst[j-3] = '.'; in dump_buff_as_hex()
388 int raw_size = (report->size >> 3) + 1; in picolcd_debug_out_report()
406 snprintf(buff, BUFF_SZ, "\nout report %d (size %d) = ", in picolcd_debug_out_report()
417 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
425 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
433 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
441 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
450 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
457 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
464 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
470 /* 3 data bytes with read area description */ in picolcd_debug_out_report()
471 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
477 snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); in picolcd_debug_out_report()
481 /* 3+1..20 data bytes with write area description */ in picolcd_debug_out_report()
482 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
488 snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); in picolcd_debug_out_report()
490 if (raw_data[3] == 0) { in picolcd_debug_out_report()
492 } else if (raw_data[3] + 4 <= raw_size) { in picolcd_debug_out_report()
495 dump_buff_as_hex(buff, BUFF_SZ, raw_data+4, raw_data[3]); in picolcd_debug_out_report()
503 /* 3 data bytes with pointer inside erase block */ in picolcd_debug_out_report()
504 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
512 case 3: in picolcd_debug_out_report()
514 raw_data[3], raw_data[2], raw_data[1]); in picolcd_debug_out_report()
524 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
532 snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); in picolcd_debug_out_report()
534 case 3: in picolcd_debug_out_report()
536 raw_data[3], raw_data[2], raw_data[1]); in picolcd_debug_out_report()
538 snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[4]); in picolcd_debug_out_report()
548 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
556 snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); in picolcd_debug_out_report()
558 if (raw_data[3] == 0) { in picolcd_debug_out_report()
560 } else if (raw_data[3] + 4 <= raw_size) { in picolcd_debug_out_report()
563 dump_buff_as_hex(buff, BUFF_SZ, raw_data+4, raw_data[3]); in picolcd_debug_out_report()
568 case 3: in picolcd_debug_out_report()
570 raw_data[3], raw_data[2], raw_data[1]); in picolcd_debug_out_report()
572 snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[4]); in picolcd_debug_out_report()
593 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
602 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
607 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
612 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
617 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
622 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
631 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
659 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", in picolcd_debug_raw_event()
672 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", in picolcd_debug_raw_event()
678 snprintf(buff, BUFF_SZ, "\tOne key pressed: 0x%02x (%d)\n", in picolcd_debug_raw_event()
681 snprintf(buff, BUFF_SZ, "\tTwo keys pressed: 0x%02x (%d), 0x%02x (%d)\n", in picolcd_debug_raw_event()
687 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", in picolcd_debug_raw_event()
694 snprintf(buff, BUFF_SZ, "\tData length: %d\n\tIR Data: ", in picolcd_debug_raw_event()
700 snprintf(buff, BUFF_SZ, "\tOverflowing data length: %d\n", in picolcd_debug_raw_event()
707 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", in picolcd_debug_raw_event()
713 snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); in picolcd_debug_raw_event()
715 if (raw_data[3] == 0) { in picolcd_debug_raw_event()
718 } else if (raw_data[3] + 4 <= size) { in picolcd_debug_raw_event()
721 dump_buff_as_hex(buff, BUFF_SZ, raw_data+4, raw_data[3]); in picolcd_debug_raw_event()
730 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", in picolcd_debug_raw_event()
738 snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[3]); in picolcd_debug_raw_event()
740 if (raw_data[3] == 0) { in picolcd_debug_raw_event()
742 } else if (raw_data[3] + 4 <= size) { in picolcd_debug_raw_event()
745 dump_buff_as_hex(buff, BUFF_SZ, raw_data+4, raw_data[3]); in picolcd_debug_raw_event()
750 case 3: in picolcd_debug_raw_event()
752 raw_data[3], raw_data[2], raw_data[1]); in picolcd_debug_raw_event()
754 snprintf(buff, BUFF_SZ, "\tData length: %d\n", raw_data[4]); in picolcd_debug_raw_event()
772 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", in picolcd_debug_raw_event()
775 snprintf(buff, BUFF_SZ, "\tFirmware version: %d.%d\n", in picolcd_debug_raw_event()
780 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", in picolcd_debug_raw_event()
786 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", in picolcd_debug_raw_event()
792 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", in picolcd_debug_raw_event()
798 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", in picolcd_debug_raw_event()
802 raw_data[1], raw_data[2], raw_data[3], raw_data[4]); in picolcd_debug_raw_event()
809 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", in picolcd_debug_raw_event()
812 snprintf(buff, BUFF_SZ, "\tTotal splash space: %d\n", in picolcd_debug_raw_event()
815 snprintf(buff, BUFF_SZ, "\tUsed splash space: %d\n", in picolcd_debug_raw_event()
816 (raw_data[4] << 8) | raw_data[3]); in picolcd_debug_raw_event()
820 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", in picolcd_debug_raw_event()
823 snprintf(buff, BUFF_SZ, "\tFirmware version: %d.%d\n", in picolcd_debug_raw_event()
828 snprintf(buff, BUFF_SZ, "report %s (%d, size=%d)\n", in picolcd_debug_raw_event()
862 if (data->addr_sz == 2 || data->addr_sz == 3) { in picolcd_init_devfs()