Lines Matching refs:add_token_u8
513 static void add_token_u8(int *err, struct opal_dev *cmd, u8 tok) in add_token_u8() function
536 add_token_u8(&err, cmd, atom); in add_short_atom_header()
559 add_token_u8(err, cmd, number); in add_token_u64()
573 add_token_u8(err, cmd, number >> (len * 8)); in add_token_u64()
652 add_token_u8(&err, cmd, OPAL_ENDOFDATA); in cmd_finalize()
653 add_token_u8(&err, cmd, OPAL_STARTLIST); in cmd_finalize()
654 add_token_u8(&err, cmd, 0); in cmd_finalize()
655 add_token_u8(&err, cmd, 0); in cmd_finalize()
656 add_token_u8(&err, cmd, 0); in cmd_finalize()
657 add_token_u8(&err, cmd, OPAL_ENDLIST); in cmd_finalize()
1065 add_token_u8(&err, dev, OPAL_CALL); in gen_key()
1069 add_token_u8(&err, dev, OPAL_STARTLIST); in gen_key()
1070 add_token_u8(&err, dev, OPAL_ENDLIST); in gen_key()
1119 add_token_u8(&err, dev, OPAL_CALL); in get_active_key()
1122 add_token_u8(&err, dev, OPAL_STARTLIST); in get_active_key()
1123 add_token_u8(&err, dev, OPAL_STARTLIST); in get_active_key()
1124 add_token_u8(&err, dev, OPAL_STARTNAME); in get_active_key()
1125 add_token_u8(&err, dev, 3); /* startCloumn */ in get_active_key()
1126 add_token_u8(&err, dev, 10); /* ActiveKey */ in get_active_key()
1127 add_token_u8(&err, dev, OPAL_ENDNAME); in get_active_key()
1128 add_token_u8(&err, dev, OPAL_STARTNAME); in get_active_key()
1129 add_token_u8(&err, dev, 4); /* endColumn */ in get_active_key()
1130 add_token_u8(&err, dev, 10); /* ActiveKey */ in get_active_key()
1131 add_token_u8(&err, dev, OPAL_ENDNAME); in get_active_key()
1132 add_token_u8(&err, dev, OPAL_ENDLIST); in get_active_key()
1133 add_token_u8(&err, dev, OPAL_ENDLIST); in get_active_key()
1148 add_token_u8(&err, dev, OPAL_CALL); in generic_lr_enable_disable()
1152 add_token_u8(&err, dev, OPAL_STARTLIST); in generic_lr_enable_disable()
1153 add_token_u8(&err, dev, OPAL_STARTNAME); in generic_lr_enable_disable()
1154 add_token_u8(&err, dev, OPAL_VALUES); in generic_lr_enable_disable()
1155 add_token_u8(&err, dev, OPAL_STARTLIST); in generic_lr_enable_disable()
1157 add_token_u8(&err, dev, OPAL_STARTNAME); in generic_lr_enable_disable()
1158 add_token_u8(&err, dev, 5); /* ReadLockEnabled */ in generic_lr_enable_disable()
1159 add_token_u8(&err, dev, rle); in generic_lr_enable_disable()
1160 add_token_u8(&err, dev, OPAL_ENDNAME); in generic_lr_enable_disable()
1162 add_token_u8(&err, dev, OPAL_STARTNAME); in generic_lr_enable_disable()
1163 add_token_u8(&err, dev, 6); /* WriteLockEnabled */ in generic_lr_enable_disable()
1164 add_token_u8(&err, dev, wle); in generic_lr_enable_disable()
1165 add_token_u8(&err, dev, OPAL_ENDNAME); in generic_lr_enable_disable()
1167 add_token_u8(&err, dev, OPAL_STARTNAME); in generic_lr_enable_disable()
1168 add_token_u8(&err, dev, OPAL_READLOCKED); in generic_lr_enable_disable()
1169 add_token_u8(&err, dev, rl); in generic_lr_enable_disable()
1170 add_token_u8(&err, dev, OPAL_ENDNAME); in generic_lr_enable_disable()
1172 add_token_u8(&err, dev, OPAL_STARTNAME); in generic_lr_enable_disable()
1173 add_token_u8(&err, dev, OPAL_WRITELOCKED); in generic_lr_enable_disable()
1174 add_token_u8(&err, dev, wl); in generic_lr_enable_disable()
1175 add_token_u8(&err, dev, OPAL_ENDNAME); in generic_lr_enable_disable()
1177 add_token_u8(&err, dev, OPAL_ENDLIST); in generic_lr_enable_disable()
1178 add_token_u8(&err, dev, OPAL_ENDNAME); in generic_lr_enable_disable()
1179 add_token_u8(&err, dev, OPAL_ENDLIST); in generic_lr_enable_disable()
1213 add_token_u8(&err, dev, OPAL_CALL); in setup_locking_range()
1218 add_token_u8(&err, dev, OPAL_STARTLIST); in setup_locking_range()
1219 add_token_u8(&err, dev, OPAL_STARTNAME); in setup_locking_range()
1220 add_token_u8(&err, dev, OPAL_VALUES); in setup_locking_range()
1221 add_token_u8(&err, dev, OPAL_STARTLIST); in setup_locking_range()
1223 add_token_u8(&err, dev, OPAL_STARTNAME); in setup_locking_range()
1224 add_token_u8(&err, dev, 3); /* Ranges Start */ in setup_locking_range()
1226 add_token_u8(&err, dev, OPAL_ENDNAME); in setup_locking_range()
1228 add_token_u8(&err, dev, OPAL_STARTNAME); in setup_locking_range()
1229 add_token_u8(&err, dev, 4); /* Ranges length */ in setup_locking_range()
1231 add_token_u8(&err, dev, OPAL_ENDNAME); in setup_locking_range()
1233 add_token_u8(&err, dev, OPAL_STARTNAME); in setup_locking_range()
1234 add_token_u8(&err, dev, 5); /*ReadLockEnabled */ in setup_locking_range()
1236 add_token_u8(&err, dev, OPAL_ENDNAME); in setup_locking_range()
1238 add_token_u8(&err, dev, OPAL_STARTNAME); in setup_locking_range()
1239 add_token_u8(&err, dev, 6); /*WriteLockEnabled*/ in setup_locking_range()
1241 add_token_u8(&err, dev, OPAL_ENDNAME); in setup_locking_range()
1243 add_token_u8(&err, dev, OPAL_ENDLIST); in setup_locking_range()
1244 add_token_u8(&err, dev, OPAL_ENDNAME); in setup_locking_range()
1245 add_token_u8(&err, dev, OPAL_ENDLIST); in setup_locking_range()
1274 add_token_u8(&err, dev, OPAL_CALL); in start_generic_opal_session()
1279 add_token_u8(&err, dev, OPAL_STARTLIST); in start_generic_opal_session()
1282 add_token_u8(&err, dev, 1); in start_generic_opal_session()
1286 add_token_u8(&err, dev, OPAL_ENDLIST); in start_generic_opal_session()
1290 add_token_u8(&err, dev, OPAL_STARTNAME); in start_generic_opal_session()
1291 add_token_u8(&err, dev, 0); /* HostChallenge */ in start_generic_opal_session()
1293 add_token_u8(&err, dev, OPAL_ENDNAME); in start_generic_opal_session()
1294 add_token_u8(&err, dev, OPAL_STARTNAME); in start_generic_opal_session()
1295 add_token_u8(&err, dev, 3); /* HostSignAuth */ in start_generic_opal_session()
1298 add_token_u8(&err, dev, OPAL_ENDNAME); in start_generic_opal_session()
1299 add_token_u8(&err, dev, OPAL_ENDLIST); in start_generic_opal_session()
1376 add_token_u8(&err, dev, OPAL_CALL); in start_auth_opal_session()
1382 add_token_u8(&err, dev, OPAL_STARTLIST); in start_auth_opal_session()
1386 add_token_u8(&err, dev, 1); in start_auth_opal_session()
1387 add_token_u8(&err, dev, OPAL_STARTNAME); in start_auth_opal_session()
1388 add_token_u8(&err, dev, 0); in start_auth_opal_session()
1390 add_token_u8(&err, dev, OPAL_ENDNAME); in start_auth_opal_session()
1391 add_token_u8(&err, dev, OPAL_STARTNAME); in start_auth_opal_session()
1392 add_token_u8(&err, dev, 3); in start_auth_opal_session()
1394 add_token_u8(&err, dev, OPAL_ENDNAME); in start_auth_opal_session()
1395 add_token_u8(&err, dev, OPAL_ENDLIST); in start_auth_opal_session()
1412 add_token_u8(&err, dev, OPAL_CALL); in revert_tper()
1417 add_token_u8(&err, dev, OPAL_STARTLIST); in revert_tper()
1418 add_token_u8(&err, dev, OPAL_ENDLIST); in revert_tper()
1439 add_token_u8(&err, dev, OPAL_CALL); in internal_activate_user()
1442 add_token_u8(&err, dev, OPAL_STARTLIST); in internal_activate_user()
1443 add_token_u8(&err, dev, OPAL_STARTNAME); in internal_activate_user()
1444 add_token_u8(&err, dev, OPAL_VALUES); in internal_activate_user()
1445 add_token_u8(&err, dev, OPAL_STARTLIST); in internal_activate_user()
1446 add_token_u8(&err, dev, OPAL_STARTNAME); in internal_activate_user()
1447 add_token_u8(&err, dev, 5); /* Enabled */ in internal_activate_user()
1448 add_token_u8(&err, dev, OPAL_TRUE); in internal_activate_user()
1449 add_token_u8(&err, dev, OPAL_ENDNAME); in internal_activate_user()
1450 add_token_u8(&err, dev, OPAL_ENDLIST); in internal_activate_user()
1451 add_token_u8(&err, dev, OPAL_ENDNAME); in internal_activate_user()
1452 add_token_u8(&err, dev, OPAL_ENDLIST); in internal_activate_user()
1474 add_token_u8(&err, dev, OPAL_CALL); in erase_locking_range()
1478 add_token_u8(&err, dev, OPAL_STARTLIST); in erase_locking_range()
1479 add_token_u8(&err, dev, OPAL_ENDLIST); in erase_locking_range()
1496 add_token_u8(&err, dev, OPAL_CALL); in set_mbr_done()
1500 add_token_u8(&err, dev, OPAL_STARTLIST); in set_mbr_done()
1501 add_token_u8(&err, dev, OPAL_STARTNAME); in set_mbr_done()
1502 add_token_u8(&err, dev, OPAL_VALUES); in set_mbr_done()
1503 add_token_u8(&err, dev, OPAL_STARTLIST); in set_mbr_done()
1504 add_token_u8(&err, dev, OPAL_STARTNAME); in set_mbr_done()
1505 add_token_u8(&err, dev, 2); /* Done */ in set_mbr_done()
1506 add_token_u8(&err, dev, *mbr_done_tf); /* Done T or F */ in set_mbr_done()
1507 add_token_u8(&err, dev, OPAL_ENDNAME); in set_mbr_done()
1508 add_token_u8(&err, dev, OPAL_ENDLIST); in set_mbr_done()
1509 add_token_u8(&err, dev, OPAL_ENDNAME); in set_mbr_done()
1510 add_token_u8(&err, dev, OPAL_ENDLIST); in set_mbr_done()
1528 add_token_u8(&err, dev, OPAL_CALL); in set_mbr_enable_disable()
1532 add_token_u8(&err, dev, OPAL_STARTLIST); in set_mbr_enable_disable()
1533 add_token_u8(&err, dev, OPAL_STARTNAME); in set_mbr_enable_disable()
1534 add_token_u8(&err, dev, OPAL_VALUES); in set_mbr_enable_disable()
1535 add_token_u8(&err, dev, OPAL_STARTLIST); in set_mbr_enable_disable()
1536 add_token_u8(&err, dev, OPAL_STARTNAME); in set_mbr_enable_disable()
1537 add_token_u8(&err, dev, 1); in set_mbr_enable_disable()
1538 add_token_u8(&err, dev, *mbr_en_dis); in set_mbr_enable_disable()
1539 add_token_u8(&err, dev, OPAL_ENDNAME); in set_mbr_enable_disable()
1540 add_token_u8(&err, dev, OPAL_ENDLIST); in set_mbr_enable_disable()
1541 add_token_u8(&err, dev, OPAL_ENDNAME); in set_mbr_enable_disable()
1542 add_token_u8(&err, dev, OPAL_ENDLIST); in set_mbr_enable_disable()
1560 add_token_u8(&err, dev, OPAL_CALL); in generic_pw_cmd()
1564 add_token_u8(&err, dev, OPAL_STARTLIST); in generic_pw_cmd()
1565 add_token_u8(&err, dev, OPAL_STARTNAME); in generic_pw_cmd()
1566 add_token_u8(&err, dev, OPAL_VALUES); in generic_pw_cmd()
1567 add_token_u8(&err, dev, OPAL_STARTLIST); in generic_pw_cmd()
1568 add_token_u8(&err, dev, OPAL_STARTNAME); in generic_pw_cmd()
1569 add_token_u8(&err, dev, 3); /* PIN */ in generic_pw_cmd()
1571 add_token_u8(&err, dev, OPAL_ENDNAME); in generic_pw_cmd()
1572 add_token_u8(&err, dev, OPAL_ENDLIST); in generic_pw_cmd()
1573 add_token_u8(&err, dev, OPAL_ENDNAME); in generic_pw_cmd()
1574 add_token_u8(&err, dev, OPAL_ENDLIST); in generic_pw_cmd()
1640 add_token_u8(&err, dev, OPAL_CALL); in add_user_to_lr()
1645 add_token_u8(&err, dev, OPAL_STARTLIST); in add_user_to_lr()
1646 add_token_u8(&err, dev, OPAL_STARTNAME); in add_user_to_lr()
1647 add_token_u8(&err, dev, OPAL_VALUES); in add_user_to_lr()
1649 add_token_u8(&err, dev, OPAL_STARTLIST); in add_user_to_lr()
1650 add_token_u8(&err, dev, OPAL_STARTNAME); in add_user_to_lr()
1651 add_token_u8(&err, dev, 3); in add_user_to_lr()
1653 add_token_u8(&err, dev, OPAL_STARTLIST); in add_user_to_lr()
1656 add_token_u8(&err, dev, OPAL_STARTNAME); in add_user_to_lr()
1661 add_token_u8(&err, dev, OPAL_ENDNAME); in add_user_to_lr()
1664 add_token_u8(&err, dev, OPAL_STARTNAME); in add_user_to_lr()
1669 add_token_u8(&err, dev, OPAL_ENDNAME); in add_user_to_lr()
1672 add_token_u8(&err, dev, OPAL_STARTNAME); in add_user_to_lr()
1675 add_token_u8(&err, dev, 1); in add_user_to_lr()
1676 add_token_u8(&err, dev, OPAL_ENDNAME); in add_user_to_lr()
1679 add_token_u8(&err, dev, OPAL_ENDLIST); in add_user_to_lr()
1680 add_token_u8(&err, dev, OPAL_ENDNAME); in add_user_to_lr()
1681 add_token_u8(&err, dev, OPAL_ENDLIST); in add_user_to_lr()
1682 add_token_u8(&err, dev, OPAL_ENDNAME); in add_user_to_lr()
1683 add_token_u8(&err, dev, OPAL_ENDLIST); in add_user_to_lr()
1724 add_token_u8(&err, dev, OPAL_CALL); in lock_unlock_locking_range()
1727 add_token_u8(&err, dev, OPAL_STARTLIST); in lock_unlock_locking_range()
1728 add_token_u8(&err, dev, OPAL_STARTNAME); in lock_unlock_locking_range()
1729 add_token_u8(&err, dev, OPAL_VALUES); in lock_unlock_locking_range()
1730 add_token_u8(&err, dev, OPAL_STARTLIST); in lock_unlock_locking_range()
1732 add_token_u8(&err, dev, OPAL_STARTNAME); in lock_unlock_locking_range()
1733 add_token_u8(&err, dev, OPAL_READLOCKED); in lock_unlock_locking_range()
1734 add_token_u8(&err, dev, read_locked); in lock_unlock_locking_range()
1735 add_token_u8(&err, dev, OPAL_ENDNAME); in lock_unlock_locking_range()
1737 add_token_u8(&err, dev, OPAL_STARTNAME); in lock_unlock_locking_range()
1738 add_token_u8(&err, dev, OPAL_WRITELOCKED); in lock_unlock_locking_range()
1739 add_token_u8(&err, dev, write_locked); in lock_unlock_locking_range()
1740 add_token_u8(&err, dev, OPAL_ENDNAME); in lock_unlock_locking_range()
1742 add_token_u8(&err, dev, OPAL_ENDLIST); in lock_unlock_locking_range()
1743 add_token_u8(&err, dev, OPAL_ENDNAME); in lock_unlock_locking_range()
1744 add_token_u8(&err, dev, OPAL_ENDLIST); in lock_unlock_locking_range()
1804 add_token_u8(&err, dev, OPAL_CALL); in activate_lsp()
1817 add_token_u8(&err, dev, OPAL_STARTLIST); in activate_lsp()
1818 add_token_u8(&err, dev, OPAL_STARTNAME); in activate_lsp()
1819 add_token_u8(&err, dev, uint_3); in activate_lsp()
1820 add_token_u8(&err, dev, 6); in activate_lsp()
1821 add_token_u8(&err, dev, 0); in activate_lsp()
1822 add_token_u8(&err, dev, 0); in activate_lsp()
1824 add_token_u8(&err, dev, OPAL_STARTLIST); in activate_lsp()
1830 add_token_u8(&err, dev, OPAL_ENDLIST); in activate_lsp()
1831 add_token_u8(&err, dev, OPAL_ENDNAME); in activate_lsp()
1832 add_token_u8(&err, dev, OPAL_ENDLIST); in activate_lsp()
1835 add_token_u8(&err, dev, OPAL_STARTLIST); in activate_lsp()
1836 add_token_u8(&err, dev, OPAL_ENDLIST); in activate_lsp()
1875 add_token_u8(&err, dev, OPAL_CALL); in get_lsp_lifecycle()
1880 add_token_u8(&err, dev, OPAL_STARTLIST); in get_lsp_lifecycle()
1881 add_token_u8(&err, dev, OPAL_STARTLIST); in get_lsp_lifecycle()
1883 add_token_u8(&err, dev, OPAL_STARTNAME); in get_lsp_lifecycle()
1884 add_token_u8(&err, dev, 3); /* Start Column */ in get_lsp_lifecycle()
1885 add_token_u8(&err, dev, 6); /* Lifecycle Column */ in get_lsp_lifecycle()
1886 add_token_u8(&err, dev, OPAL_ENDNAME); in get_lsp_lifecycle()
1888 add_token_u8(&err, dev, OPAL_STARTNAME); in get_lsp_lifecycle()
1889 add_token_u8(&err, dev, 4); /* End Column */ in get_lsp_lifecycle()
1890 add_token_u8(&err, dev, 6); /* Lifecycle Column */ in get_lsp_lifecycle()
1891 add_token_u8(&err, dev, OPAL_ENDNAME); in get_lsp_lifecycle()
1893 add_token_u8(&err, dev, OPAL_ENDLIST); in get_lsp_lifecycle()
1894 add_token_u8(&err, dev, OPAL_ENDLIST); in get_lsp_lifecycle()
1936 add_token_u8(&err, dev, OPAL_CALL); in get_msid_cpin_pin()
1941 add_token_u8(&err, dev, OPAL_STARTLIST); in get_msid_cpin_pin()
1942 add_token_u8(&err, dev, OPAL_STARTLIST); in get_msid_cpin_pin()
1944 add_token_u8(&err, dev, OPAL_STARTNAME); in get_msid_cpin_pin()
1945 add_token_u8(&err, dev, 3); /* Start Column */ in get_msid_cpin_pin()
1946 add_token_u8(&err, dev, 3); /* PIN */ in get_msid_cpin_pin()
1947 add_token_u8(&err, dev, OPAL_ENDNAME); in get_msid_cpin_pin()
1949 add_token_u8(&err, dev, OPAL_STARTNAME); in get_msid_cpin_pin()
1950 add_token_u8(&err, dev, 4); /* End Column */ in get_msid_cpin_pin()
1951 add_token_u8(&err, dev, 3); /* Lifecycle Column */ in get_msid_cpin_pin()
1952 add_token_u8(&err, dev, OPAL_ENDNAME); in get_msid_cpin_pin()
1954 add_token_u8(&err, dev, OPAL_ENDLIST); in get_msid_cpin_pin()
1955 add_token_u8(&err, dev, OPAL_ENDLIST); in get_msid_cpin_pin()
1971 add_token_u8(&err, dev, OPAL_ENDOFSESSION); in end_opal_session()