Home
last modified time | relevance | path

Searched refs:ofd (Results 1 – 7 of 7) sorted by relevance

/u-boot/board/samsung/smdkv310/tools/
A Dmksmdkv310spl.c36 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()
/u-boot/board/samsung/origen/tools/
A Dmkorigenspl.c38 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()
/u-boot/tools/
A Dmkexynosspl.c39 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()
A Dimx8mimage.c414 void build_image(int ofd) in build_image() argument
537 ret = lseek(ofd, header_hdmi_off, SEEK_SET); in build_image()
544 copy_file(ofd, signed_hdmi, 0, header_hdmi_off, 0x400); in build_image()
550 ret = lseek(ofd, header_image_off, SEEK_SET); in build_image()
557 if (write(ofd, &imx_header[IMAGE_IVT_ID], sizeof(imx_header_v3_t)) != in build_image()
563 copy_file(ofd, ap_img, 0, image_off, 0); in build_image()
566 fill_zero(ofd, CSF_SIZE, csf_off); in build_image()
570 ret = lseek(ofd, sld_header_off, SEEK_SET); in build_image()
580 copy_file(ofd, sld_img, 0, sld_header_off, 0); in build_image()
582 generate_ivt_for_fit(ofd, sld_header_off, in build_image()
A Dimx8image.c774 uint16_t sw_version, int ofd) in build_container() argument
907 copy_file(ofd, img_sp->filename, 0, 0); in build_container()
914 ret = lseek(ofd, file_padding, SEEK_SET); in build_container()
926 if (write(ofd, tmp, size) != size) { in build_container()
945 copy_file_aligned(ofd, img_sp->filename, img_sp->src, in build_container()
/u-boot/arch/arm/dts/
A Dstih407-clock.dtsi81 clock-output-names = "clk-s-a0-pll-ofd-0";
82 clock-critical = <0>; /* clk-s-a0-pll-ofd-0 */
A Dstih410-clock.dtsi81 clock-output-names = "clk-s-a0-pll-ofd-0";
82 clock-critical = <0>; /* clk-s-a0-pll-ofd-0 */

Completed in 10 milliseconds