Lines Matching full:return

35     return xtisa_errno;  in xtensa_isa_errno()
41 return xtisa_error_msg; in xtensa_isa_error_msg()
50 return ERRVAL; \
65 return ERRVAL; \
75 return intisa->insnbuf_size; in xtensa_insnbuf_size()
85 return result; in xtensa_insnbuf_alloc()
98 * internal representation of a xtensa instruction word, return the index of
104 return byte_index / sizeof(xtensa_insnbuf_word); in byte_to_word_index()
110 return (byte_index & 0x3) * 8; in byte_to_bit_index()
153 return XTENSA_UNDEFINED; in xtensa_insnbuf_to_chars()
158 return XTENSA_UNDEFINED; in xtensa_insnbuf_to_chars()
164 return XTENSA_UNDEFINED; in xtensa_insnbuf_to_chars()
176 return byte_count; in xtensa_insnbuf_to_chars()
319 return (xtensa_isa)isa; in xtensa_isa_init()
373 return strcasecmp(e1->key, e2->key); in xtensa_isa_name_compare()
380 return intisa->insn_size; in xtensa_isa_maxlength()
387 return (intisa->length_decode_fn)(cp); in xtensa_isa_length_from_chars()
401 return intisa->num_stages; in xtensa_isa_num_pipe_stages()
419 return intisa->num_states; in xtensa_isa_num_pipe_stages()
426 return intisa->num_formats; in xtensa_isa_num_formats()
433 return intisa->num_opcodes; in xtensa_isa_num_opcodes()
440 return intisa->num_regfiles; in xtensa_isa_num_regfiles()
447 return intisa->num_states; in xtensa_isa_num_states()
454 return intisa->num_sysregs; in xtensa_isa_num_sysregs()
461 return intisa->num_interfaces; in xtensa_isa_num_interfaces()
468 return intisa->num_funcUnits; in xtensa_isa_num_funcUnits()
480 return ERRVAL; \
490 return ERRVAL; \
500 return intisa->formats[fmt].name; in xtensa_format_name()
512 return XTENSA_UNDEFINED; in xtensa_format_lookup()
517 return fmt; in xtensa_format_lookup()
523 return XTENSA_UNDEFINED; in xtensa_format_lookup()
534 return fmt; in xtensa_format_decode()
539 return XTENSA_UNDEFINED; in xtensa_format_decode()
550 return 0; in xtensa_format_encode()
559 return intisa->formats[fmt].length; in xtensa_format_length()
568 return intisa->formats[fmt].num_slots; in xtensa_format_num_slots()
582 return xtensa_opcode_lookup(isa, intisa->slots[slot_id].nop_name); in xtensa_format_slot_nop_opcode()
597 return 0; in xtensa_format_get_slot()
612 return 0; in xtensa_format_set_slot()
624 return ERRVAL; \
637 return XTENSA_UNDEFINED; in xtensa_opcode_lookup()
650 return XTENSA_UNDEFINED; in xtensa_opcode_lookup()
653 return result->u.opcode; in xtensa_opcode_lookup()
671 return opc; in xtensa_opcode_decode()
676 return XTENSA_UNDEFINED; in xtensa_opcode_decode()
698 return -1; in xtensa_opcode_encode()
701 return 0; in xtensa_opcode_encode()
710 return intisa->opcodes[opc].name; in xtensa_opcode_name()
720 return 1; in xtensa_opcode_is_branch()
722 return 0; in xtensa_opcode_is_branch()
732 return 1; in xtensa_opcode_is_jump()
734 return 0; in xtensa_opcode_is_jump()
744 return 1; in xtensa_opcode_is_loop()
746 return 0; in xtensa_opcode_is_loop()
756 return 1; in xtensa_opcode_is_call()
758 return 0; in xtensa_opcode_is_call()
769 return intisa->iclasses[iclass_id].num_operands; in xtensa_opcode_num_operands()
780 return intisa->iclasses[iclass_id].num_stateOperands; in xtensa_opcode_num_stateOperands()
791 return intisa->iclasses[iclass_id].num_interfaceOperands; in xtensa_opcode_num_interfaceOperands()
800 return intisa->opcodes[opc].num_funcUnit_uses; in xtensa_opcode_num_funcUnit_uses()
815 return NULL; in xtensa_opcode_funcUnit_use()
817 return &intisa->opcodes[opc].funcUnit_uses[u]; in xtensa_opcode_funcUnit_use()
831 return ERRVAL; \
847 return &intisa->operands[operand_id]; in get_operand()
858 return NULL; in xtensa_operand_name()
860 return intop->name; in xtensa_operand_name()
878 return 0; in xtensa_operand_is_visible()
885 return 1; in xtensa_operand_is_visible()
887 return 0; in xtensa_operand_is_visible()
906 return 'o'; in xtensa_operand_inout()
909 return 'i'; in xtensa_operand_inout()
911 return inout; in xtensa_operand_inout()
926 return -1; in xtensa_operand_get_field()
936 return -1; in xtensa_operand_get_field()
944 return -1; in xtensa_operand_get_field()
947 return 0; in xtensa_operand_get_field()
962 return -1; in xtensa_operand_set_field()
972 return -1; in xtensa_operand_set_field()
980 return -1; in xtensa_operand_set_field()
983 return 0; in xtensa_operand_set_field()
996 return -1; in xtensa_operand_encode()
1020 return -1; in xtensa_operand_encode()
1032 return (*get_fn)(tmpbuf) != *valp; in xtensa_operand_encode()
1039 return -1; in xtensa_operand_encode()
1054 return -1; in xtensa_operand_encode()
1057 return 0; in xtensa_operand_encode()
1069 return -1; in xtensa_operand_decode()
1074 return 0; in xtensa_operand_decode()
1080 return -1; in xtensa_operand_decode()
1082 return 0; in xtensa_operand_decode()
1093 return XTENSA_UNDEFINED; in xtensa_operand_is_register()
1097 return 1; in xtensa_operand_is_register()
1099 return 0; in xtensa_operand_is_register()
1111 return XTENSA_UNDEFINED; in xtensa_operand_regfile()
1114 return intop->regfile; in xtensa_operand_regfile()
1125 return XTENSA_UNDEFINED; in xtensa_operand_num_regs()
1128 return intop->num_regs; in xtensa_operand_num_regs()
1139 return XTENSA_UNDEFINED; in xtensa_operand_is_known_reg()
1143 return 1; in xtensa_operand_is_known_reg()
1145 return 0; in xtensa_operand_is_known_reg()
1156 return XTENSA_UNDEFINED; in xtensa_operand_is_PCrelative()
1160 return 1; in xtensa_operand_is_PCrelative()
1162 return 0; in xtensa_operand_is_PCrelative()
1174 return -1; in xtensa_operand_do_reloc()
1178 return 0; in xtensa_operand_do_reloc()
1184 return -1; in xtensa_operand_do_reloc()
1191 return -1; in xtensa_operand_do_reloc()
1194 return 0; in xtensa_operand_do_reloc()
1206 return -1; in xtensa_operand_undo_reloc()
1210 return 0; in xtensa_operand_undo_reloc()
1216 return -1; in xtensa_operand_undo_reloc()
1223 return -1; in xtensa_operand_undo_reloc()
1226 return 0; in xtensa_operand_undo_reloc()
1241 return ERRVAL; \
1257 return iclass->stateOperands[stOp].u.state; in xtensa_stateOperand_state()
1271 return iclass->stateOperands[stOp].inout; in xtensa_stateOperand_inout()
1287 return ERRVAL; \
1304 return iclass->interfaceOperands[ifOp]; in xtensa_interfaceOperand_interface()
1316 return ERRVAL; \
1329 return XTENSA_UNDEFINED; in xtensa_regfile_lookup()
1335 return n; in xtensa_regfile_lookup()
1341 return XTENSA_UNDEFINED; in xtensa_regfile_lookup()
1354 return XTENSA_UNDEFINED; in xtensa_regfile_lookup_shortname()
1367 return n; in xtensa_regfile_lookup_shortname()
1374 return XTENSA_UNDEFINED; in xtensa_regfile_lookup_shortname()
1383 return intisa->regfiles[rf].name; in xtensa_regfile_name()
1392 return intisa->regfiles[rf].shortname; in xtensa_regfile_shortname()
1401 return intisa->regfiles[rf].parent; in xtensa_regfile_view_parent()
1410 return intisa->regfiles[rf].num_bits; in xtensa_regfile_num_bits()
1419 return intisa->regfiles[rf].num_entries; in xtensa_regfile_num_entries()
1431 return ERRVAL; \
1444 return XTENSA_UNDEFINED; in xtensa_state_lookup()
1457 return XTENSA_UNDEFINED; in xtensa_state_lookup()
1460 return result->u.state; in xtensa_state_lookup()
1469 return intisa->states[st].name; in xtensa_state_name()
1478 return intisa->states[st].num_bits; in xtensa_state_num_bits()
1488 return 1; in xtensa_state_is_exported()
1490 return 0; in xtensa_state_is_exported()
1500 return 1; in xtensa_state_is_shared_or()
1502 return 0; in xtensa_state_is_shared_or()
1514 return ERRVAL; \
1531 return XTENSA_UNDEFINED; in xtensa_sysreg_lookup()
1534 return intisa->sysreg_table[is_user][num]; in xtensa_sysreg_lookup()
1546 return XTENSA_UNDEFINED; in xtensa_sysreg_lookup_name()
1559 return XTENSA_UNDEFINED; in xtensa_sysreg_lookup_name()
1562 return result->u.sysreg; in xtensa_sysreg_lookup_name()
1571 return intisa->sysregs[sysreg].name; in xtensa_sysreg_name()
1580 return intisa->sysregs[sysreg].number; in xtensa_sysreg_number()
1590 return 1; in xtensa_sysreg_is_user()
1592 return 0; in xtensa_sysreg_is_user()
1604 return ERRVAL; \
1617 return XTENSA_UNDEFINED; in xtensa_interface_lookup()
1630 return XTENSA_UNDEFINED; in xtensa_interface_lookup()
1633 return result->u.intf; in xtensa_interface_lookup()
1642 return intisa->interfaces[intf].name; in xtensa_interface_name()
1651 return intisa->interfaces[intf].num_bits; in xtensa_interface_num_bits()
1660 return intisa->interfaces[intf].inout; in xtensa_interface_inout()
1671 return 1; in xtensa_interface_has_side_effect()
1673 return 0; in xtensa_interface_has_side_effect()
1682 return intisa->interfaces[intf].class_id; in xtensa_interface_class_id()
1694 return ERRVAL; \
1707 return XTENSA_UNDEFINED; in xtensa_funcUnit_lookup()
1721 return XTENSA_UNDEFINED; in xtensa_funcUnit_lookup()
1724 return result->u.fun; in xtensa_funcUnit_lookup()
1733 return intisa->funcUnits[fun].name; in xtensa_funcUnit_name()
1742 return intisa->funcUnits[fun].num_copies; in xtensa_funcUnit_num_copies()