Lines Matching refs:tinstr
591 thumb2arm(u16 tinstr) in thumb2arm() argument
593 u32 L = (tinstr & (1<<11)) >> 11; in thumb2arm()
595 switch ((tinstr & 0xf800) >> 11) { in thumb2arm()
602 ((tinstr & (1<<12)) << (22-12)) | /* fixup */ in thumb2arm()
604 ((tinstr & (7<<0)) << (12-0)) | /* Rd */ in thumb2arm()
605 ((tinstr & (7<<3)) << (16-3)) | /* Rn */ in thumb2arm()
606 ((tinstr & (31<<6)) >> /* immed_5 */ in thumb2arm()
607 (6 - ((tinstr & (1<<12)) ? 0 : 2))); in thumb2arm()
612 ((tinstr & (7<<0)) << (12-0)) | /* Rd */ in thumb2arm()
613 ((tinstr & (7<<3)) << (16-3)) | /* Rn */ in thumb2arm()
614 ((tinstr & (7<<6)) >> (6-1)) | /* immed_5[2:0] */ in thumb2arm()
615 ((tinstr & (3<<9)) >> (9-8)); /* immed_5[4:3] */ in thumb2arm()
631 return subset[(tinstr & (7<<9)) >> 9] | in thumb2arm()
632 ((tinstr & (7<<0)) << (12-0)) | /* Rd */ in thumb2arm()
633 ((tinstr & (7<<3)) << (16-3)) | /* Rn */ in thumb2arm()
634 ((tinstr & (7<<6)) >> (6-0)); /* Rm */ in thumb2arm()
645 ((tinstr & (7<<8)) << (12-8)) | /* Rd */ in thumb2arm()
646 ((tinstr & 255) << (2-0)); /* immed_8 */ in thumb2arm()
653 ((tinstr & (7<<8)) << (12-8)) | /* Rd */ in thumb2arm()
654 ((tinstr & 255) << 2); /* immed_8 */ in thumb2arm()
660 u32 Rn = (tinstr & (7<<8)) >> 8; in thumb2arm()
661 u32 W = ((L<<Rn) & (tinstr&255)) ? 0 : 1<<21; in thumb2arm()
664 (tinstr&255); in thumb2arm()
670 if ((tinstr & (3 << 9)) == 0x0400) { in thumb2arm()
677 return subset[(L<<1) | ((tinstr & (1<<8)) >> 8)] | in thumb2arm()
678 (tinstr & 255); /* register_list */ in thumb2arm()
758 u16 tinstr = 0; in do_alignment() local
769 fault = probe_kernel_address(ptr, tinstr); in do_alignment()
770 tinstr = __mem_to_opcode_thumb16(tinstr); in do_alignment()
773 IS_T32(tinstr)) { in do_alignment()
778 instr = __opcode_thumb32_compose(tinstr, tinst2); in do_alignment()
782 instr = thumb2arm(tinstr); in do_alignment()
911 isize == 2 ? tinstr : instr, instrptr); in do_alignment()
923 isize == 2 ? tinstr : instr, in do_alignment()