Lines Matching refs:ppa_hdr_ddr
48 void *ppa_hdr_ddr; in ppa_init() local
121 ppa_hdr_ddr = malloc(CONFIG_LS_PPA_ESBC_HDR_SIZE); in ppa_init()
122 if (!ppa_hdr_ddr) { in ppa_init()
129 ret = blk_dread(mmc_get_blk_desc(mmc), blk, cnt, ppa_hdr_ddr); in ppa_init()
131 free(ppa_hdr_ddr); in ppa_init()
135 debug("Read PPA header to 0x%p\n", ppa_hdr_ddr); in ppa_init()
137 ppa_esbc_hdr = (uintptr_t)ppa_hdr_ddr; in ppa_init()
185 ppa_hdr_ddr = malloc(CONFIG_LS_PPA_ESBC_HDR_SIZE); in ppa_init()
186 if (!ppa_hdr_ddr) { in ppa_init()
195 &fw_length, (u_char *)ppa_hdr_ddr); in ppa_init()
197 free(ppa_hdr_ddr); in ppa_init()
202 debug("Read PPA header to 0x%p\n", ppa_hdr_ddr); in ppa_init()
204 ppa_esbc_hdr = (uintptr_t)ppa_hdr_ddr; in ppa_init()
251 free(ppa_hdr_ddr); in ppa_init()