• Home
  • Raw
  • Download

Lines Matching refs:cparams

20 static VbError_t VbRegionReadGbb(VbCommonParams *cparams, uint32_t offset,  in VbRegionReadGbb()  argument
23 return VbRegionReadData(cparams, VB_REGION_GBB, offset, size, buf); in VbRegionReadGbb()
26 VbError_t VbGbbReadBmpHeader(VbCommonParams *cparams, BmpBlockHeader *hdr_ret) in VbGbbReadBmpHeader() argument
31 if (!cparams) in VbGbbReadBmpHeader()
33 if (!cparams->bmp) { in VbGbbReadBmpHeader()
34 GoogleBinaryBlockHeader *gbb = cparams->gbb; in VbGbbReadBmpHeader()
40 ret = VbRegionReadGbb(cparams, gbb->bmpfv_offset, in VbGbbReadBmpHeader()
58 cparams->bmp = hdr; in VbGbbReadBmpHeader()
61 *hdr_ret = *cparams->bmp; in VbGbbReadBmpHeader()
65 VbError_t VbRegionReadHWID(VbCommonParams *cparams, char *hwid, in VbRegionReadHWID() argument
75 if (!cparams) in VbRegionReadHWID()
78 gbb = cparams->gbb; in VbRegionReadHWID()
89 ret = VbRegionReadGbb(cparams, gbb->hwid_offset, gbb->hwid_size, hwid); in VbRegionReadHWID()
96 VbError_t VbGbbReadImage(VbCommonParams *cparams, in VbGbbReadImage() argument
108 if (!cparams) in VbGbbReadImage()
111 ret = VbGbbReadBmpHeader(cparams, &hdr); in VbGbbReadImage()
115 gbb = cparams->gbb; in VbGbbReadImage()
120 ret = VbRegionReadGbb(cparams, layout_offset, sizeof(*layout), layout); in VbGbbReadImage()
129 ret = VbRegionReadGbb(cparams, image_offset, sizeof(*image_info), in VbGbbReadImage()
140 ret = VbRegionReadGbb(cparams, data_offset, in VbGbbReadImage()
172 void VbRegionCheckVersion(VbCommonParams *cparams) in VbRegionCheckVersion() argument
176 if (!cparams) in VbRegionCheckVersion()
179 gbb = cparams->gbb; in VbRegionCheckVersion()