Home
last modified time | relevance | path

Searched refs:VbError_t (Results 1 – 25 of 36) sorted by relevance

12

/external/vboot_reference/firmware/include/
Dvboot_api.h35 typedef uint32_t VbError_t; typedef
354 VbError_t VbInit(VbCommonParams *cparams, VbInitParams *iparams);
367 VbError_t VbSelectFirmware(VbCommonParams *cparams,
383 VbError_t VbSelectAndLoadKernel(VbCommonParams *cparams,
462 VbError_t VbExBeep(uint32_t msec, uint32_t frequency);
469 VbError_t VbExTpmInit(void);
476 VbError_t VbExTpmClose(void);
477 VbError_t VbExTpmOpen(void);
484 VbError_t VbExTpmSendReceive(const uint8_t *request, uint32_t request_length,
495 VbError_t VbExNvStorageRead(uint8_t *buf);
[all …]
Dgbb_access.h27 VbError_t VbGbbReadHeader_static(VbCommonParams *cparams,
38 VbError_t VbGbbReadRootKey(VbCommonParams *cparams,
49 VbError_t VbGbbReadRecoveryKey(VbCommonParams *cparams,
59 VbError_t VbGbbReadBmpHeader(VbCommonParams *cparams,
77 VbError_t VbGbbReadImage(VbCommonParams *cparams,
Dregion.h30 VbError_t VbRegionReadData(VbCommonParams *cparams,
52 VbError_t VbRegionReadHWID(VbCommonParams *cparams, char *hwid,
/external/vboot_reference/firmware/stub/
Dvboot_api_stub.c26 VbError_t VbExBeep(uint32_t msec, uint32_t frequency) in VbExBeep()
31 VbError_t VbExDisplayInit(uint32_t *width, uint32_t *height) in VbExDisplayInit()
36 VbError_t VbExDisplayBacklight(uint8_t enable) in VbExDisplayBacklight()
41 VbError_t VbExDisplaySetDimension(uint32_t width, uint32_t height) in VbExDisplaySetDimension()
46 VbError_t VbExDisplayScreen(uint32_t screen_type) in VbExDisplayScreen()
51 VbError_t VbExDisplayImage(uint32_t x, uint32_t y, in VbExDisplayImage()
57 VbError_t VbExDisplayDebugInfo(const char *info_str) in VbExDisplayDebugInfo()
82 VbError_t VbExDecompress(void *inbuf, uint32_t in_size, in VbExDecompress()
94 VbError_t VbExEcRunningRW(int devidx, int *in_rw) in VbExEcRunningRW()
100 VbError_t VbExEcJumpToRW(int devidx) in VbExEcJumpToRW()
[all …]
Dtpm_lite_stub.c49 static VbError_t DoError(VbError_t result, const char* format, ...) { in DoError()
79 static VbError_t TpmExecute(const uint8_t *in, const uint32_t in_len, in TpmExecute()
136 VbError_t VbExTpmInit(void) { in VbExTpmInit()
144 VbError_t VbExTpmClose(void) { in VbExTpmClose()
153 VbError_t VbExTpmOpen(void) { in VbExTpmOpen()
188 VbError_t VbExTpmSendReceive(const uint8_t* request, uint32_t request_length, in VbExTpmSendReceive()
210 VbError_t result; in VbExTpmSendReceive()
Dvboot_api_stub_disk.c21 VbError_t VbExDiskGetInfo(VbDiskInfo** infos_ptr, uint32_t* count, in VbExDiskGetInfo()
29 VbError_t VbExDiskFreeInfo(VbDiskInfo* infos_ptr, in VbExDiskFreeInfo()
35 VbError_t VbExDiskRead(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskRead()
41 VbError_t VbExDiskWrite(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskWrite()
Dvboot_api_stub_stream.c29 VbError_t VbExStreamOpen(VbExDiskHandle_t handle, uint64_t lba_start, in VbExStreamOpen()
49 VbError_t VbExStreamRead(VbExStream_t stream, uint32_t bytes, void *buffer) in VbExStreamRead()
53 VbError_t rv; in VbExStreamRead()
Dvboot_api_stub_init.c64 VbError_t VbExNvStorageRead(uint8_t *buf) in VbExNvStorageRead()
69 VbError_t VbExNvStorageWrite(const uint8_t *buf) in VbExNvStorageWrite()
/external/vboot_reference/tests/
Dvboot_api_devmode_tests.c41 VbError_t beep_return;
146 static VbError_t beep_return;
189 VbError_t VbExNvStorageRead(uint8_t* buf) { in VbExNvStorageRead()
194 VbError_t VbExNvStorageWrite(const uint8_t* buf) { in VbExNvStorageWrite()
199 VbError_t VbExDiskGetInfo(VbDiskInfo** infos_ptr, uint32_t* count, in VbExDiskGetInfo()
204 VbError_t VbExDiskFreeInfo(VbDiskInfo* infos, in VbExDiskFreeInfo()
209 VbError_t VbExDiskRead(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskRead()
214 VbError_t VbExDiskWrite(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskWrite()
252 VbError_t VbExBeep(uint32_t msec, uint32_t frequency) { in VbExBeep()
268 VbError_t VbExDisplayScreen(uint32_t screen_type) { in VbExDisplayScreen()
[all …]
Dvboot_api_kernel3_tests.c31 static VbError_t in_rw_retval;
120 VbError_t VbExEcRunningRW(int devidx, int *in_rw) in VbExEcRunningRW()
126 VbError_t VbExEcProtectRW(int devidx) in VbExEcProtectRW()
132 VbError_t VbExEcDisableJump(int devidx) in VbExEcDisableJump()
137 VbError_t VbExEcJumpToRW(int devidx) in VbExEcJumpToRW()
143 VbError_t VbExEcHashRW(int devidx, const uint8_t **hash, int *hash_size) in VbExEcHashRW()
150 VbError_t VbExEcGetExpectedRW(int devidx, enum VbSelectFirmware_t select, in VbExEcGetExpectedRW()
159 VbError_t VbExEcGetExpectedRWHash(int devidx, enum VbSelectFirmware_t select, in VbExEcGetExpectedRWHash()
177 VbError_t VbExEcUpdateRW(int devidx, const uint8_t *image, int image_size) in VbExEcUpdateRW()
183 VbError_t VbDisplayScreen(VbCommonParams *cparams, uint32_t screen, int force, in VbDisplayScreen()
[all …]
Dvboot_api_kernel4_tests.c35 static VbError_t vbboot_retval;
68 VbError_t VbExNvStorageRead(uint8_t *buf) in VbExNvStorageRead()
74 VbError_t VbExNvStorageWrite(const uint8_t *buf) in VbExNvStorageWrite()
80 VbError_t VbEcSoftwareSync(int devidx, VbCommonParams *cparams) in VbEcSoftwareSync()
103 VbError_t VbBootNormal(VbCommonParams *cparams, LoadKernelParams *p) in VbBootNormal()
113 VbError_t VbBootDeveloper(VbCommonParams *cparams, LoadKernelParams *p) in VbBootDeveloper()
123 VbError_t VbBootRecovery(VbCommonParams *cparams, LoadKernelParams *p) in VbBootRecovery()
133 static void test_slk(VbError_t retval, int recovery_reason, const char *desc) in test_slk()
Dvboot_api_firmware_tests.c41 static VbError_t mock_rfw_retval;
42 static VbError_t mock_rfl_retval;
43 static VbError_t mock_lf_retval;
44 static VbError_t mock_stbms_retval;
82 VbError_t VbExNvStorageRead(uint8_t* buf) { in VbExNvStorageRead()
87 VbError_t VbExNvStorageWrite(const uint8_t* buf) { in VbExNvStorageWrite()
135 static void TestVbSf(VbError_t expected_retval, in TestVbSf()
Dvboot_region_tests.c35 static VbError_t mock_lf_retval;
124 VbError_t VbExNvStorageRead(uint8_t* buf) { in VbExNvStorageRead()
129 VbError_t VbExNvStorageWrite(const uint8_t* buf) { in VbExNvStorageWrite()
134 VbError_t VbExRegionRead(VbCommonParams *cparams, in VbExRegionRead()
147 VbError_t VbExDisplayImage(uint32_t x, uint32_t y, in VbExDisplayImage()
164 VbError_t VbExDecompress(void *inbuf, uint32_t in_size, in VbExDecompress()
Dvboot_api_kernel_tests.c36 VbError_t diskgetinfo_return_val;
39 VbError_t loadkernel_return_val[MAX_TEST_DISKS];
221 VbError_t VbExDiskGetInfo(VbDiskInfo **infos_ptr, uint32_t *count, in VbExDiskGetInfo()
269 VbError_t VbExDiskFreeInfo(VbDiskInfo *infos, in VbExDiskFreeInfo()
278 VbError_t LoadKernel(LoadKernelParams *params, VbCommonParams *cparams) in LoadKernel()
Dtlcl_tests.c25 static VbError_t mock_retval;
36 VbError_t retval; /* Value to return */
72 VbError_t VbExTpmInit(void) in VbExTpmInit()
78 VbError_t VbExTpmClose(void) in VbExTpmClose()
83 VbError_t VbExTpmSendReceive(const uint8_t *request, uint32_t request_length, in VbExTpmSendReceive()
Dverify_kernel.c27 VbError_t VbExDiskRead(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskRead()
41 VbError_t VbExDiskWrite(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskWrite()
/external/vboot_reference/firmware/lib/include/
Dvboot_display.h15 VbError_t VbDisplayScreenFromGBB(VbCommonParams *cparams, uint32_t screen,
17 VbError_t VbDisplayScreen(VbCommonParams *cparams, uint32_t screen, int force,
19 VbError_t VbDisplayDebugInfo(VbCommonParams *cparams, VbNvContext *vncptr);
20 VbError_t VbCheckDisplayKey(VbCommonParams *cparams, uint32_t key,
48 VbError_t VbGetLocalizationCount(VbCommonParams *cparams, uint32_t *count);
Dvboot_kernel.h57 VbError_t VbBootNormal(VbCommonParams *cparams, LoadKernelParams *p);
62 VbError_t VbBootDeveloper(VbCommonParams *cparams, LoadKernelParams *p);
67 VbError_t VbBootRecovery(VbCommonParams *cparams, LoadKernelParams *p);
72 VbError_t VbEcSoftwareSync(int devidx, VbCommonParams *cparams);
/external/vboot_reference/firmware/lib/
Dregion-kernel.c20 static VbError_t VbRegionReadGbb(VbCommonParams *cparams, uint32_t offset, in VbRegionReadGbb()
26 VbError_t VbGbbReadBmpHeader(VbCommonParams *cparams, BmpBlockHeader *hdr_ret) in VbGbbReadBmpHeader()
29 VbError_t ret; in VbGbbReadBmpHeader()
65 VbError_t VbRegionReadHWID(VbCommonParams *cparams, char *hwid, in VbRegionReadHWID()
69 VbError_t ret; in VbRegionReadHWID()
96 VbError_t VbGbbReadImage(VbCommonParams *cparams, in VbGbbReadImage()
106 VbError_t ret; in VbGbbReadImage()
Dregion-fw.c20 static VbError_t VbGbbReadKey(VbCommonParams *cparams, uint32_t offset, in VbGbbReadKey()
24 VbError_t ret; in VbGbbReadKey()
47 VbError_t VbGbbReadRootKey(VbCommonParams *cparams, VbPublicKey **keyp) in VbGbbReadRootKey()
52 VbError_t VbGbbReadRecoveryKey(VbCommonParams *cparams, VbPublicKey **keyp) in VbGbbReadRecoveryKey()
Dregion-init.c20 VbError_t VbRegionReadData(VbCommonParams *cparams, in VbRegionReadData()
32 VbError_t ret; in VbRegionReadData()
45 VbError_t VbGbbReadHeader_static(VbCommonParams *cparams, in VbGbbReadHeader_static()
Dvboot_display.c23 VbError_t VbGetLocalizationCount(VbCommonParams *cparams, uint32_t *count) in VbGetLocalizationCount()
26 VbError_t ret; in VbGetLocalizationCount()
140 VbError_t VbDisplayScreenFromGBB(VbCommonParams *cparams, uint32_t screen, in VbDisplayScreenFromGBB()
147 VbError_t retval = VBERROR_UNKNOWN; /* Assume error until proven ok */ in VbDisplayScreenFromGBB()
153 VbError_t ret; in VbDisplayScreenFromGBB()
305 VbError_t VbDisplayScreen(VbCommonParams *cparams, uint32_t screen, in VbDisplayScreen()
308 VbError_t retval; in VbDisplayScreen()
503 VbError_t VbDisplayDebugInfo(VbCommonParams *cparams, VbNvContext *vncptr) in VbDisplayDebugInfo()
513 VbError_t ret; in VbDisplayDebugInfo()
628 VbError_t VbCheckDisplayKey(VbCommonParams *cparams, uint32_t key, in VbCheckDisplayKey()
Dvboot_api_kernel.c74 VbError_t retval = VBERROR_UNKNOWN; in VbTryLoadKernel()
220 VbError_t VbBootNormal(VbCommonParams *cparams, LoadKernelParams *p) in VbBootNormal()
227 VbError_t VbBootDeveloper(VbCommonParams *cparams, LoadKernelParams *p) in VbBootDeveloper()
450 VbError_t VbBootRecovery(VbCommonParams *cparams, LoadKernelParams *p) in VbBootRecovery()
620 static VbError_t EcProtectRW(int devidx) in EcProtectRW()
633 VbError_t VbEcSoftwareSync(int devidx, VbCommonParams *cparams) in VbEcSoftwareSync()
967 VbError_t VbSelectAndLoadKernel(VbCommonParams *cparams, in VbSelectAndLoadKernel()
972 VbError_t retval = VBERROR_SUCCESS; in VbSelectAndLoadKernel()
Dvboot_api_firmware.c20 VbError_t VbSelectFirmware(VbCommonParams *cparams, in VbSelectFirmware()
26 VbError_t retval = VBERROR_UNKNOWN; /* Default to error */ in VbSelectFirmware()
/external/vboot_reference/utility/
Dload_kernel_test.c36 VbError_t VbExDiskRead(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskRead()
56 VbError_t VbExDiskWrite(VbExDiskHandle_t handle, uint64_t lba_start, in VbExDiskWrite()
87 VbError_t rv; in main()

12