Lines Matching refs:ptr
129 const void *ptr; in do_boot() local
138 if (bootimage_get_file_section(bi, TYPE_LK, &ptr, NULL) >= 0) { in do_boot()
139 TRACEF("found lk section at %p\n", ptr); in do_boot()
151 ptr = buf; in do_boot()
157 cl_args.func = (void *)ptr; in do_boot()
197 const void *ptr; in do_flash_boot() local
220 err = bio_ioctl(bdev, BIO_IOCTL_GET_MEM_MAP, (void *)&ptr); in do_flash_boot()
221 TRACEF("err %d, ptr %p\n", err, ptr); in do_flash_boot()
229 if (bootimage_open((char *)ptr + entry.offset, entry.length, &bi) >= 0) { in do_flash_boot()
236 if (bootimage_get_file_section(bi, TYPE_LK, &ptr, &len) >= 0) { in do_flash_boot()
237 TRACEF("found lk section at %p\n", ptr); in do_flash_boot()
251 TRACEF("chain loading binary at %p\n", ptr); in do_flash_boot()
252 arch_chain_load((void *)ptr, lk_args[0], lk_args[1], lk_args[2], lk_args[3]); in do_flash_boot()
380 const void *ptr; in lkb_handle_command() local
382 if (sysparam_get_ptr(arg, &ptr, &len_local) == 0) { in lkb_handle_command()
383 lkb_write(lkb, ptr, len_local); in lkb_handle_command()