/openbmc/u-boot/board/samsung/smdkv310/tools/ |
H A D | mksmdkv310spl.c | 36 int ifd, ofd; in main() local 51 ofd = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC, FILE_PERM); in main() 52 if (ofd < 0) { in main() 71 if (ofd) in main() 72 close(ofd); in main() 82 if (write(ofd, buffer, BUFSIZE) != BUFSIZE) { in main() 88 if (ofd) in main() 89 close(ofd); in main() 96 if (ofd) in main() 97 close(ofd); in main()
|
/openbmc/u-boot/board/samsung/origen/tools/ |
H A D | mkorigenspl.c | 38 int ifd, ofd; in main() local 53 ofd = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC, FILE_PERM); in main() 54 if (ofd < 0) { in main() 76 if (ofd) in main() 77 close(ofd); in main() 91 if (write(ofd, buffer, BUFSIZE) != BUFSIZE) { in main() 97 if (ofd) in main() 98 close(ofd); in main() 105 if (ofd) in main() 106 close(ofd); in main()
|
/openbmc/u-boot/tools/ |
H A D | mkexynosspl.c | 39 static void write_to_file(int ofd, void *buffer, int size) in write_to_file() argument 41 if (write(ofd, buffer, size) == size) in write_to_file() 78 int i, ifd, ofd; in main() local 111 ofd = open(argv[of_index], O_WRONLY | O_CREAT | O_TRUNC, FILE_PERM); in main() 112 if (ofd < 0) { in main() 172 write_to_file(ofd, &vsh, sizeof(vsh)); in main() 175 write_to_file(ofd, buffer, count); in main() 179 write_to_file(ofd, &checksum, sizeof(checksum)); in main() 182 close(ofd); in main()
|
H A D | imx8mimage.c | 394 void build_image(int ofd) in build_image() argument 515 ret = lseek(ofd, header_hdmi_off, SEEK_SET); in build_image() 522 copy_file(ofd, signed_hdmi, 0, header_hdmi_off, 0x400); in build_image() 528 ret = lseek(ofd, header_image_off, SEEK_SET); in build_image() 535 if (write(ofd, &imx_header[IMAGE_IVT_ID], sizeof(imx_header_v3_t)) != in build_image() 541 copy_file(ofd, ap_img, 0, image_off, 0); in build_image() 544 fill_zero(ofd, CSF_SIZE, csf_off); in build_image() 548 ret = lseek(ofd, sld_header_off, SEEK_SET); in build_image() 558 copy_file(ofd, sld_img, 0, sld_header_off, 0); in build_image() 560 generate_ivt_for_fit(ofd, sld_header_off, in build_image()
|
H A D | imx8image.c | 773 uint16_t sw_version, int ofd) in build_container() argument 906 copy_file(ofd, img_sp->filename, 0, 0); in build_container() 913 ret = lseek(ofd, file_padding, SEEK_SET); in build_container() 925 if (write(ofd, tmp, size) != size) { in build_container() 944 copy_file_aligned(ofd, img_sp->filename, img_sp->src, in build_container()
|
/openbmc/linux/arch/alpha/boot/tools/ |
H A D | objstrip.c | 56 int fd, ofd, i, j, verbose = 0, primary = 0; in main() local 97 ofd = 1; in main() 99 ofd = open(argv[i++], O_WRONLY | O_CREAT | O_TRUNC, 0666); in main() 100 if (ofd == -1) { in main() 114 if (ofd == 1) { in main() 133 if (write(ofd, bb, sizeof(bb)) != sizeof(bb)) { in main() 250 nwritten = write(ofd, buf, n); in main() 275 nwritten = write(ofd, buf, n); in main()
|
/openbmc/linux/tools/bpf/ |
H A D | bpf_jit_disasm.c | 269 int ofd; in main() local 309 ofd = open(ofile, O_WRONLY | O_CREAT | O_TRUNC, DEFFILEMODE); in main() 310 if (ofd < 0) { in main() 317 nr = write(ofd, pos, len); in main() 326 close(ofd); in main()
|
/openbmc/linux/tools/perf/util/ |
H A D | copyfile.c | 45 int copyfile_offset(int ifd, loff_t off_in, int ofd, loff_t off_out, u64 size) in copyfile_offset() argument 58 ssize_t ret = pwrite(ofd, ptr + off_in, size, off_out); in copyfile_offset()
|
H A D | copyfile.h | 14 int copyfile_offset(int ifd, loff_t off_in, int ofd, loff_t off_out, u64 size);
|
/openbmc/linux/scripts/ |
H A D | unifdef.c | 337 int ofd; in main() local 347 ofd = mkstemp(tempname); in main() 348 if (ofd != -1) in main() 349 output = fdopen(ofd, "wb+"); in main() 352 fchmod(ofd, ist.st_mode & (S_IRWXU|S_IRWXG|S_IRWXO)); in main()
|
/openbmc/linux/Documentation/devicetree/bindings/clock/st/ |
H A D | st,clkgen.txt | 55 clock-output-names = "clk-s-a0-pll-ofd-0";
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | stih410-clock.dtsi | 105 clock-output-names = "clk-s-a0-pll-ofd-0"; 106 clock-critical = <0>; /* clk-s-a0-pll-ofd-0 */
|
H A D | stih407-clock.dtsi | 103 clock-output-names = "clk-s-a0-pll-ofd-0";
|