Lines Matching refs:tinstr

612 thumb2arm(u16 tinstr)  in thumb2arm()  argument
614 u32 L = (tinstr & (1<<11)) >> 11; in thumb2arm()
616 switch ((tinstr & 0xf800) >> 11) { in thumb2arm()
623 ((tinstr & (1<<12)) << (22-12)) | /* fixup */ in thumb2arm()
625 ((tinstr & (7<<0)) << (12-0)) | /* Rd */ in thumb2arm()
626 ((tinstr & (7<<3)) << (16-3)) | /* Rn */ in thumb2arm()
627 ((tinstr & (31<<6)) >> /* immed_5 */ in thumb2arm()
628 (6 - ((tinstr & (1<<12)) ? 0 : 2))); in thumb2arm()
633 ((tinstr & (7<<0)) << (12-0)) | /* Rd */ in thumb2arm()
634 ((tinstr & (7<<3)) << (16-3)) | /* Rn */ in thumb2arm()
635 ((tinstr & (7<<6)) >> (6-1)) | /* immed_5[2:0] */ in thumb2arm()
636 ((tinstr & (3<<9)) >> (9-8)); /* immed_5[4:3] */ in thumb2arm()
652 return subset[(tinstr & (7<<9)) >> 9] | in thumb2arm()
653 ((tinstr & (7<<0)) << (12-0)) | /* Rd */ in thumb2arm()
654 ((tinstr & (7<<3)) << (16-3)) | /* Rn */ in thumb2arm()
655 ((tinstr & (7<<6)) >> (6-0)); /* Rm */ in thumb2arm()
666 ((tinstr & (7<<8)) << (12-8)) | /* Rd */ in thumb2arm()
667 ((tinstr & 255) << (2-0)); /* immed_8 */ in thumb2arm()
674 ((tinstr & (7<<8)) << (12-8)) | /* Rd */ in thumb2arm()
675 ((tinstr & 255) << 2); /* immed_8 */ in thumb2arm()
681 u32 Rn = (tinstr & (7<<8)) >> 8; in thumb2arm()
682 u32 W = ((L<<Rn) & (tinstr&255)) ? 0 : 1<<21; in thumb2arm()
685 (tinstr&255); in thumb2arm()
691 if ((tinstr & (3 << 9)) == 0x0400) { in thumb2arm()
698 return subset[(L<<1) | ((tinstr & (1<<8)) >> 8)] | in thumb2arm()
699 (tinstr & 255); /* register_list */ in thumb2arm()
779 u16 tinstr = 0; in do_alignment() local
790 fault = probe_kernel_address(ptr, tinstr); in do_alignment()
791 tinstr = __mem_to_opcode_thumb16(tinstr); in do_alignment()
794 IS_T32(tinstr)) { in do_alignment()
799 instr = __opcode_thumb32_compose(tinstr, tinst2); in do_alignment()
803 instr = thumb2arm(tinstr); in do_alignment()
932 isize == 2 ? tinstr : instr, instrptr); in do_alignment()
944 isize == 2 ? tinstr : instr, in do_alignment()