tlen             6747 tools/finsig_dryos.c void print_kval(firmware *fw, uint32_t tadr, int tsiz, int tlen, uint32_t ev, const char *name, char *sfx)
tlen             6751 tools/finsig_dryos.c     for (k=0; k<tlen; k+=tsiz)
tlen             6775 tools/finsig_dryos.c void print_physw_raw_vals(firmware *fw, uint32_t tadr, int tsiz, int tlen)
tlen             6783 tools/finsig_dryos.c     for (k=0; k<tlen; k+=tsiz)
tlen             6828 tools/finsig_dryos.c uint32_t add_kmval(firmware *fw, uint32_t tadr, int tsiz, int tlen, uint32_t ev, const char *name, uint32_t xtra)
tlen             6834 tools/finsig_dryos.c     for (k=0; k<tlen; k+=tsiz)
tlen             6985 tools/finsig_dryos.c         int tlen = (madr - tadr) / 4;
tlen             6989 tools/finsig_dryos.c             for (k=0; k<tlen/3; k+=3)
tlen             6998 tools/finsig_dryos.c         if (tlen > 50*tsiz) tlen = 50*tsiz;
tlen             7002 tools/finsig_dryos.c         print_physw_raw_vals(fw, tadr, tsiz, tlen);
tlen             7008 tools/finsig_dryos.c             print_kval(fw,tadr,tsiz,tlen,0x30A,"SD_READONLY","_FLAG");
tlen             7009 tools/finsig_dryos.c             print_kval(fw,tadr,tsiz,tlen,0x302,"USB","_MASK");
tlen             7010 tools/finsig_dryos.c             print_kval(fw,tadr,tsiz,tlen,0x305,"BATTCOVER","_FLAG");
tlen             7011 tools/finsig_dryos.c             print_kval(fw,tadr,tsiz,tlen,0x304,"HOTSHOE","_FLAG");
tlen             7012 tools/finsig_dryos.c             print_kval(fw,tadr,tsiz,tlen,0x300,"ANALOG_AV","_FLAG");
tlen             7017 tools/finsig_dryos.c             print_kval(fw,tadr,tsiz,tlen,0x20A,"SD_READONLY","_FLAG");
tlen             7018 tools/finsig_dryos.c             print_kval(fw,tadr,tsiz,tlen,0x202,"USB","_MASK");
tlen             7019 tools/finsig_dryos.c             print_kval(fw,tadr,tsiz,tlen,0x205,"BATTCOVER","_FLAG");
tlen             7020 tools/finsig_dryos.c             print_kval(fw,tadr,tsiz,tlen,0x204,"HOTSHOE","_FLAG");
tlen             7021 tools/finsig_dryos.c             print_kval(fw,tadr,tsiz,tlen,0x200,"ANALOG_AV","_FLAG");
tlen             7025 tools/finsig_dryos.c             print_kval(fw,tadr,tsiz,tlen,0x90A,"SD_READONLY","_FLAG");
tlen             7026 tools/finsig_dryos.c             print_kval(fw,tadr,tsiz,tlen,0x902,"USB","_MASK");
tlen             7027 tools/finsig_dryos.c             print_kval(fw,tadr,tsiz,tlen,0x905,"BATTCOVER","_FLAG");
tlen             7028 tools/finsig_dryos.c             print_kval(fw,tadr,tsiz,tlen,0x904,"HOTSHOE","_FLAG");
tlen             7029 tools/finsig_dryos.c             print_kval(fw,tadr,tsiz,tlen,0x900,"ANALOG_AV","_FLAG");
tlen             7032 tools/finsig_dryos.c         uint32_t key_half = add_kmval(fw,tadr,tsiz,tlen,0,"KEY_SHOOT_HALF",0);
tlen             7033 tools/finsig_dryos.c         add_kmval(fw,tadr,tsiz,tlen,1,"KEY_SHOOT_FULL",key_half);
tlen             7034 tools/finsig_dryos.c         add_kmval(fw,tadr,tsiz,tlen,1,"KEY_SHOOT_FULL_ONLY",0);
tlen             7038 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,3,"KEY_ZOOM_IN",0);
tlen             7039 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,4,"KEY_ZOOM_OUT",0);
tlen             7040 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,6,"KEY_UP",0);
tlen             7041 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,7,"KEY_DOWN",0);
tlen             7042 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,8,"KEY_LEFT",0);
tlen             7043 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,9,"KEY_RIGHT",0);
tlen             7044 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,0xA,"KEY_SET",0);
tlen             7045 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,0xB,"KEY_MENU",0);
tlen             7046 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,0xC,"KEY_DISPLAY",0);
tlen             7047 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,0x12,"KEY_HELP",0);
tlen             7048 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,0x19,"KEY_ERASE",0);
tlen             7049 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,2,"KEY_VIDEO",0);
tlen             7053 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,2,"KEY_ZOOM_IN",0);
tlen             7054 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,3,"KEY_ZOOM_OUT",0);
tlen             7055 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,4,"KEY_UP",0);
tlen             7056 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,5,"KEY_DOWN",0);
tlen             7057 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,6,"KEY_LEFT",0);
tlen             7058 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,7,"KEY_RIGHT",0);
tlen             7059 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,8,"KEY_SET",0);
tlen             7060 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,9,"KEY_MENU",0);
tlen             7061 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,0xA,"KEY_DISPLAY",0);
tlen             7065 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,3,"KEY_ZOOM_IN",0);
tlen             7066 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,4,"KEY_ZOOM_OUT",0);
tlen             7067 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,6,"KEY_UP",0);
tlen             7068 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,7,"KEY_DOWN",0);
tlen             7069 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,8,"KEY_LEFT",0);
tlen             7070 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,9,"KEY_RIGHT",0);
tlen             7071 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,0xA,"KEY_SET",0);
tlen             7072 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,0xE,"KEY_MENU",0);
tlen             7073 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,2,"KEY_VIDEO",0);
tlen             7074 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,0xD,"KEY_HELP",0);
tlen             7079 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,3,"KEY_ZOOM_IN",0);
tlen             7080 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,4,"KEY_ZOOM_OUT",0);
tlen             7081 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,6,"KEY_UP",0);
tlen             7082 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,7,"KEY_DOWN",0);
tlen             7083 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,8,"KEY_LEFT",0);
tlen             7084 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,9,"KEY_RIGHT",0);
tlen             7085 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,0xA,"KEY_SET",0);
tlen             7086 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,0x14,"KEY_MENU",0);
tlen             7087 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,2,"KEY_VIDEO",0);
tlen             7088 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,0xD,"KEY_HELP",0);
tlen             7093 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,0x601,"KEY_PLAYBACK",0);
tlen             7094 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,0x600,"KEY_POWER",0);
tlen             7095 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,0x12,"KEY_VIDEO",0);
tlen             7099 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,0x101,"KEY_PLAYBACK",0);
tlen             7100 tools/finsig_dryos.c             add_kmval(fw,tadr,tsiz,tlen,0x100,"KEY_POWER",0);
tlen             7103 tools/finsig_dryos.c                 add_kmval(fw,tadr,tsiz,tlen,0x19,"KEY_VIDEO",0);
tlen             7107 tools/finsig_dryos.c                 add_kmval(fw,tadr,tsiz,tlen,0x1A,"KEY_VIDEO",0);
tlen             7108 tools/finsig_dryos.c                 add_kmval(fw,tadr,tsiz,tlen,0x14,"KEY_HELP",0);
tlen             5645 tools/finsig_thumb2.c uint32_t add_kmval(firmware *fw, uint32_t tadr, int tsiz, int tlen, uint32_t ev, const char *name, uint32_t xtra)
tlen             5647 tools/finsig_thumb2.c     uint32_t adr=find_physw_table_entry(fw,tadr,tlen,ev);
tlen             5729 tools/finsig_thumb2.c void do_km_vals(firmware *fw, uint32_t tadr,int tsiz,int tlen)
tlen             5731 tools/finsig_thumb2.c     uint32_t key_half = add_kmval(fw,tadr,tsiz,tlen,0,"KEY_SHOOT_HALF",0);
tlen             5732 tools/finsig_thumb2.c     add_kmval(fw,tadr,tsiz,tlen,1,"KEY_SHOOT_FULL",key_half);
tlen             5733 tools/finsig_thumb2.c     add_kmval(fw,tadr,tsiz,tlen,1,"KEY_SHOOT_FULL_ONLY",0);
tlen             5735 tools/finsig_thumb2.c     add_kmval(fw,tadr,tsiz,tlen,0x101,"KEY_PLAYBACK",0);
tlen             5736 tools/finsig_thumb2.c     add_kmval(fw,tadr,tsiz,tlen,0x100,"KEY_POWER",0);
tlen             5741 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,3,"KEY_ZOOM_IN",0);
tlen             5742 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,4,"KEY_ZOOM_OUT",0);
tlen             5743 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,6,"KEY_UP",0);
tlen             5744 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,7,"KEY_DOWN",0);
tlen             5745 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,8,"KEY_LEFT",0);
tlen             5746 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,9,"KEY_RIGHT",0);
tlen             5747 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,0xA,"KEY_SET",0);
tlen             5748 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,0xB,"KEY_MENU",0);
tlen             5749 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,0xC,"KEY_DISPLAY",0);
tlen             5750 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,0x12,"KEY_HELP",0);
tlen             5751 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,0x19,"KEY_ERASE",0);
tlen             5752 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,2,"KEY_VIDEO",0);
tlen             5757 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,2,"KEY_ZOOM_IN",0);
tlen             5758 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,3,"KEY_ZOOM_OUT",0);
tlen             5759 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,4,"KEY_UP",0);
tlen             5760 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,5,"KEY_DOWN",0);
tlen             5761 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,6,"KEY_LEFT",0);
tlen             5762 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,7,"KEY_RIGHT",0);
tlen             5763 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,8,"KEY_SET",0);
tlen             5764 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,9,"KEY_MENU",0);
tlen             5765 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,0xA,"KEY_DISPLAY",0);
tlen             5769 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,3,"KEY_ZOOM_IN",0);
tlen             5770 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,4,"KEY_ZOOM_OUT",0);
tlen             5771 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,6,"KEY_UP",0);
tlen             5772 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,7,"KEY_DOWN",0);
tlen             5773 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,8,"KEY_LEFT",0);
tlen             5774 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,9,"KEY_RIGHT",0);
tlen             5775 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,0xA,"KEY_SET",0);
tlen             5776 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,0xE,"KEY_MENU",0);
tlen             5777 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,2,"KEY_VIDEO",0);
tlen             5778 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,0xD,"KEY_DISPLAY",0);
tlen             5779 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,0x103,"KEY_WIFI",0);
tlen             5785 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,3,"KEY_ZOOM_IN",0);
tlen             5786 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,4,"KEY_ZOOM_OUT",0);
tlen             5787 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,6,"KEY_UP",0);
tlen             5788 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,7,"KEY_DOWN",0);
tlen             5789 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,8,"KEY_LEFT",0);
tlen             5790 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,9,"KEY_RIGHT",0);
tlen             5791 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,0xA,"KEY_SET",0);
tlen             5792 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,0x14,"KEY_MENU",0);
tlen             5793 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,2,"KEY_VIDEO",0);
tlen             5794 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,0xD,"KEY_DISPLAY",0);
tlen             5795 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,0x103,"KEY_WIFI",0);
tlen             5801 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,3,"KEY_ZOOM_IN",0);
tlen             5802 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,4,"KEY_ZOOM_OUT",0);
tlen             5803 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,6,"KEY_UP",0);
tlen             5804 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,7,"KEY_DOWN",0);
tlen             5805 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,8,"KEY_LEFT",0);
tlen             5806 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,9,"KEY_RIGHT",0);
tlen             5807 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,0xA,"KEY_SET",0);
tlen             5808 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,0x15,"KEY_MENU",0);
tlen             5809 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,2,"KEY_VIDEO",0);
tlen             5810 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,0xB,"KEY_ERASE",0); // also framing assist etc
tlen             5811 tools/finsig_thumb2.c         add_kmval(fw,tadr,tsiz,tlen,0x103,"KEY_WIFI",0);
tlen             5301 tools/finsig_vxworks.c void print_kval(firmware *fw, uint32_t tadr, int tsiz, int tlen, uint32_t ev, const char *name, char *sfx)
tlen             5305 tools/finsig_vxworks.c     for (k=0; k<tlen; k+=tsiz)
tlen             5355 tools/finsig_vxworks.c uint32_t add_kmval(firmware *fw, uint32_t tadr, int tsiz, int tlen, uint32_t ev, const char *name, uint32_t xtra)
tlen             5361 tools/finsig_vxworks.c     for (k=0; k<tlen; k+=tsiz)
tlen             5512 tools/finsig_vxworks.c         int tlen = (madr - tadr) / 4;
tlen             5516 tools/finsig_vxworks.c             for (k=0; k<tlen/3; k+=3)
tlen             5525 tools/finsig_vxworks.c         if (tlen > 50*tsiz) tlen = 50*tsiz;
tlen             5531 tools/finsig_vxworks.c             print_kval(fw,tadr,tsiz,tlen,0x20A,"SD_READONLY","_FLAG");
tlen             5532 tools/finsig_vxworks.c             print_kval(fw,tadr,tsiz,tlen,0x202,"USB","_MASK");
tlen             5536 tools/finsig_vxworks.c             print_kval(fw,tadr,tsiz,tlen,0x90A,"SD_READONLY","_FLAG");
tlen             5537 tools/finsig_vxworks.c             print_kval(fw,tadr,tsiz,tlen,0x902,"USB","_MASK");
tlen             5540 tools/finsig_vxworks.c         uint32_t key_half = add_kmval(fw,tadr,tsiz,tlen,0,"KEY_SHOOT_HALF",0);
tlen             5541 tools/finsig_vxworks.c         add_kmval(fw,tadr,tsiz,tlen,1,"KEY_SHOOT_FULL",key_half);
tlen             5542 tools/finsig_vxworks.c         add_kmval(fw,tadr,tsiz,tlen,1,"KEY_SHOOT_FULL_ONLY",0);
tlen             5543 tools/finsig_vxworks.c         add_kmval(fw,tadr,tsiz,tlen,2,"KEY_ZOOM_IN",0);
tlen             5544 tools/finsig_vxworks.c         add_kmval(fw,tadr,tsiz,tlen,3,"KEY_ZOOM_OUT",0);
tlen             5545 tools/finsig_vxworks.c         add_kmval(fw,tadr,tsiz,tlen,4,"KEY_UP",0);
tlen             5546 tools/finsig_vxworks.c         add_kmval(fw,tadr,tsiz,tlen,5,"KEY_DOWN",0);
tlen             5547 tools/finsig_vxworks.c         add_kmval(fw,tadr,tsiz,tlen,6,"KEY_LEFT",0);
tlen             5548 tools/finsig_vxworks.c         add_kmval(fw,tadr,tsiz,tlen,7,"KEY_RIGHT",0);
tlen             5549 tools/finsig_vxworks.c         add_kmval(fw,tadr,tsiz,tlen,8,"KEY_SET",0);
tlen             5550 tools/finsig_vxworks.c         add_kmval(fw,tadr,tsiz,tlen,9,"KEY_MENU",0);
tlen             5551 tools/finsig_vxworks.c         add_kmval(fw,tadr,tsiz,tlen,0xA,"KEY_DISPLAY",0);
tlen             5554 tools/finsig_vxworks.c             add_kmval(fw,tadr,tsiz,tlen,0x601,"KEY_PLAYBACK",0);
tlen             5555 tools/finsig_vxworks.c             add_kmval(fw,tadr,tsiz,tlen,0x600,"KEY_POWER",0);
tlen             5556 tools/finsig_vxworks.c             add_kmval(fw,tadr,tsiz,tlen,0x12,"KEY_VIDEO",0);
tlen             5560 tools/finsig_vxworks.c             add_kmval(fw,tadr,tsiz,tlen,0x101,"KEY_PLAYBACK",0);
tlen             5561 tools/finsig_vxworks.c             add_kmval(fw,tadr,tsiz,tlen,0x100,"KEY_POWER",0);
tlen             5564 tools/finsig_vxworks.c                 add_kmval(fw,tadr,tsiz,tlen,0x19,"KEY_VIDEO",0);
tlen             5568 tools/finsig_vxworks.c                 add_kmval(fw,tadr,tsiz,tlen,0x1A,"KEY_VIDEO",0);
tlen             5569 tools/finsig_vxworks.c                 add_kmval(fw,tadr,tsiz,tlen,0x14,"KEY_HELP",0);