Searched refs:ptn (Results 1 – 3 of 3) sorted by relevance
315 struct ptentry *ptn; in update_fip_spec() local317 ptn = find_ptn("fastboot"); in update_fip_spec()318 if (!ptn) { in update_fip_spec()320 ptn = find_ptn("bios"); in update_fip_spec()321 if (!ptn) { in update_fip_spec()327 __func__, ptn->name, ptn->start, ptn->length); in update_fip_spec()328 fip_block_spec.offset = ptn->start; in update_fip_spec()329 fip_block_spec.length = ptn->length; in update_fip_spec()488 struct ptentry *ptn; in do_unsparse() local496 ptn = find_ptn(cmdbuf); in do_unsparse()[all …]
143 struct ptentry *ptn = NULL; in find_ptn() local148 ptn = &ptable[i]; in find_ptn()152 return ptn; in find_ptn()
1225 struct ptentry *ptn = 0; in fb_getvar() local1235 ptn = find_ptn(part_name); in fb_getvar()1236 if (ptn == NULL) { in fb_getvar()1242 flash_ptn = ptn; in fb_getvar()1256 ptn = find_ptn(part_name); in fb_getvar()1257 if (ptn == NULL) { in fb_getvar()1263 bytes = sprintf(response, "OKAY%llx",ptn->length); in fb_getvar()1265 flash_ptn = ptn; in fb_getvar()