Searched refs:out (Results 1 - 15 of 15) sorted by relevance

/bootable/bootloader/legacy/include/boot/
H A Dgpio.h32 void gpio_dir(int nr, int out);
H A Dboot.h82 void gpio_output_enable(unsigned n, unsigned out);
/bootable/recovery/
H A Dbootloader.h51 int get_bootloader_message(struct bootloader_message *out);
H A Dbootloader.cpp28 static int get_bootloader_message_mtd(struct bootloader_message *out, const Volume* v);
30 static int get_bootloader_message_block(struct bootloader_message *out, const Volume* v);
33 int get_bootloader_message(struct bootloader_message *out) { argument
40 return get_bootloader_message_mtd(out, v);
42 return get_bootloader_message_block(out, v);
70 static int get_bootloader_message_mtd(struct bootloader_message *out, argument
93 memcpy(out, &data[write_size * MISC_COMMAND_PAGE], sizeof(*out));
162 static int get_bootloader_message_block(struct bootloader_message *out, argument
180 memcpy(out,
[all...]
H A Dmake-overlay.py68 # Now write out an image containing just that box, for each frame.
73 out = Image.new("RGB", (w, h)) variable
77 out.putpixel((i, j), t)
80 out.save(fn)
83 # Write out the base icon, which is the first frame with that box
84 # blacked out (just to make the file smaller, since it's always
H A Dinstall.cpp193 RSAPublicKey* out = NULL; local
207 out = (RSAPublicKey*)realloc(out, *numKeys * sizeof(RSAPublicKey));
208 RSAPublicKey* key = out + (*numKeys - 1);
244 return out;
248 free(out);
/bootable/bootloader/legacy/libboot/
H A Dgpio_keypad.c49 unsigned out, in; local
55 out = keypad->noutputs;
57 while(out > 0) {
58 out--;
60 gpio_set(keypad->output_gpios[out], !npolarity);
62 gpio_dir(keypad->output_gpios[out], 1);
73 //dprintf("gpio_keypad_scan_keys: %d-%d (%d-%d) %d (%d): %d\n", out, in,
74 // keypad->output_gpios[out], keypad->input_gpios[in],
81 gpio_set(keypad->output_gpios[out], npolarity);
83 gpio_dir(keypad->output_gpios[out],
[all...]
/bootable/recovery/tools/ota/
H A Dcheck-lost+found.c50 FILE *out = fopen(kOutputFile, "a"); local
51 if (out == NULL) {
58 fprintf(out, "*** check-lost+found ***\nStarted: %s", ctime(&start));
68 fprintf(out, "Wrote %s, rebooting\n", kMarkerFile);
69 fflush(out);
87 fprintf(out, "Reboot failed?!\n");
90 fprintf(out, "Can't write %s: %s\n", kMarkerFile, strerror(errno));
93 fprintf(out, "Found %s\n", kMarkerFile);
102 fprintf(out, "Can't open %s: %s\n", fn, strerror(errno));
112 fprintf(out, "OMG
[all...]
H A Dadd-property-tag.c56 void write_tagged(FILE *out, const char *line, const char *tag, int number) { argument
60 fprintf(out, "%.*s%s%d%s", end - line, line, tag, number, end);
62 fprintf(out, "%.*s%s%s", end - line, line, tag, end);
/bootable/bootloader/legacy/arch_msm7k/
H A Dgpio.c38 unsigned out; member in struct:gpioregs
50 .out = GPIO_OUT_0,
60 .out = GPIO_OUT_1,
70 .out = GPIO_OUT_2,
80 .out = GPIO_OUT_3,
90 .out = GPIO_OUT_4,
124 void gpio_output_enable(unsigned n, unsigned out) argument
133 if(out) {
148 v = readl(r->out);
150 writel(v | b, r->out);
166 gpio_dir(int nr, int out) argument
[all...]
/bootable/recovery/mtdutils/
H A Dflash_image.c95 MtdWriteContext *out = mtd_write_partition(partition); local
96 if (out == NULL) die("error writing %s", argv[1]);
100 int wrote = mtd_write_data(out, buf, headerlen);
105 wrote = mtd_write_data(out, buf, len);
110 if (mtd_write_close(out)) die("error closing %s", argv[1]);
114 out = mtd_write_partition(partition);
115 if (out == NULL) die("error re-opening %s", argv[1]);
117 wrote = mtd_write_data(out, header, headerlen);
133 if (mtd_write_data(out, buf, len) != len)
138 if (mtd_write_close(out)) di
[all...]
/bootable/bootloader/legacy/nandwrite/
H A Djtag.c49 unsigned char *out = _jtag_msg_buffer; local
50 while((*out++ = *msg++) != 0) ;
/bootable/recovery/applypatch/
H A Dimgdiff.c521 int TryReconstruction(ImageChunk* chunk, unsigned char* out) { argument
541 strm.next_out = out;
545 if (memcmp(out, chunk->deflate_data+p, have) != 0) {
554 // mismatch; ran out of data before we should have.
573 unsigned char* out = malloc(BUFFER_SIZE); local
583 if (TryReconstruction(chunk, out) == 0) {
584 free(out);
589 free(out);
705 int out = 0; local
725 printf("chunk %d is now %d\n", in_start, out);
[all...]
/bootable/bootloader/legacy/usbloader/
H A Dusbloader.c83 static void fixup_tags(unsigned *tags, unsigned *out, const char *cmdline) argument
163 *out++ = *newtags++;
327 static void num_to_hex8(unsigned n, char *out) argument
332 out[i] = tohex[n & 15];
335 out[8] = 0;
/bootable/diskinstaller/
H A Dconfig.mk120 $(filter-out --%,$(internal_installerimage_args))

Completed in 104 milliseconds