Home
last modified time | relevance | path

Searched refs:write (Results 1 – 25 of 40) sorted by relevance

12

/optee_os-3.20.0/scripts/
A Dts_bin_to_c.py97 f.write('\t\t')
101 f.write('\n')
103 f.write(' ')
134 f.write('};\n')
141 f.write('};\n')
146 f.write('. image = {')
152 f.write('\t.uuid = {\n')
160 f.write('\t\t\t')
162 f.write('\n\t\t},\n\t},\n')
170 f.write('}\n')
[all …]
A Dgen_stmm_hex.py36 outf.write('/* Automatically generated, do no edit */\n')
37 outf.write('const unsigned char stmm_image[] = {\n')
41 outf.write('\t')
42 outf.write('0x{:02x},'.format(bytes[i]))
45 outf.write('\n')
47 outf.write(' ')
48 outf.write('};\n')
50 outf.write('const unsigned int stmm_image_size = sizeof(stmm_image);\n')
51 outf.write('const unsigned int stmm_image_uncompressed_size = '
A Dbin_to_c.py47 f.write('/* Generated from ' + args.bin + ' by ' +
49 f.write('#include <compiler.h>\n')
50 f.write('#include <stdint.h>\n')
52 f.write('__extension__ const char ' + args.vname + '[] = {\n')
54 f.write('__extension__ const uint8_t ' + args.vname + '[] ' +
59 f.write('\t\t')
63 f.write(hex(bytes[i]) + ',')
66 f.write('\n')
68 f.write(' ')
69 f.write('};\n')
A Dpem_to_pub_c.py51 f.write("#include <stdint.h>\n")
52 f.write("#include <stddef.h>\n\n")
53 f.write("const uint32_t " + args.prefix + "_exponent = " +
55 f.write("const uint8_t " + args.prefix + "_modulus[] = {\n")
59 f.write("0x" + '{0:02x}'.format(x) + ",")
62 f.write("\n")
64 f.write(" ")
65 f.write("};\n")
66 f.write("const size_t " + args.prefix + "_modulus_size = sizeof(" +
A Dgen_ldelf_hex.py96 outf.write(b' __aligned(4096) = {\n')
104 outf.write(b'\t')
105 outf.write(b'0x' + '{:02x}'.format(data[j]).encode('utf-8')
109 outf.write(b'\n')
111 outf.write(b' ')
113 outf.write(b'};\n')
115 outf.write(b'const unsigned int ldelf_code_size = %d;\n' % code_size)
140 outf.write(b'/* Automatically generated, do no edit */\n')
141 outf.write(b'#include <compiler.h>\n')
142 outf.write(b'#include <stdint.h>\n')
[all …]
A Dgen_tee_bin.py249 outf.write(get_pager_bin(elffile))
253 outf.write(get_pageable_bin(elffile))
269 outf.write(pager_bin)
270 outf.write(pageable_bin[:init_bin_size])
271 outf.write(embdata_bin)
272 outf.write(pageable_bin[init_bin_size:])
299 outf.write(pager_bin)
300 outf.write(pageable_bin[:init_bin_size])
301 outf.write(embdata_bin)
335 outf.write(pager_bin)
[all …]
A Dsymbolize.py420 def write(self, line): member in Symbolizer
427 self._out.write(line[:pre])
428 self._out.write(addr)
439 self._out.write(' ' + res)
440 self._out.write(line[post:])
451 self._out.write(line[:pre])
454 self._out.write(res_arr[0])
459 self._out.write(line)
487 self._out.write(line)
534 self._out.write(line)
[all …]
A Dsign_encrypt.py806 def write(self, outf): member in BinaryImage
811 f.write(self.shdr)
812 f.write(self.img_digest)
813 f.write(self.sig)
818 f.write(self.ehdr)
819 f.write(self.nonce)
820 f.write(self.tag)
823 f.write(self.img)
843 ta_image.write(args.outf)
854 image.write(args.outf)
[all …]
A Dupdate_changelog.py42 f.write(text + '\n' + current_content)
A Dget_maintainer.py124 of.write(line)
234 f.write(urlopen(url).read())
/optee_os-3.20.0/core/arch/arm/plat-stm32mp1/scripts/
A Dstm32image.py46 dest_fd.write(struct.pack('<I', hdr_magic_number))
49 dest_fd.write(b'\x00' * 64)
52 dest_fd.write(struct.pack('<IBBBBIIIIIIII',
68 dest_fd.write(b'\x00' * 64)
71 dest_fd.write(b'\x00' * 83)
72 dest_fd.write(struct.pack('<B', bintype))
80 dest_fd.write(b'\x00' * header_size)
85 dest_fd.write(mmsrc[:sizesrc])
/optee_os-3.20.0/core/arch/arm/plat-amlogic/scripts/
A Daml_bin2img.py28 dest_fd.write(struct.pack('<IIQQQQQ',
38 dest_fd.write(b'\x00' * 464)
47 dest_fd.write(b'\x00' * header_size)
52 dest_fd.write(mmsrc[:sizesrc])
/optee_os-3.20.0/lib/libutils/isoc/include/
A Dunistd.h15 ssize_t write(int fd, const void *buf, size_t count);
/optee_os-3.20.0/lib/libutils/isoc/
A Dwrite.c10 ssize_t write(int fd, const void *buf, size_t count) in write() function
A Dfwrite.c21 return write(fd, ptr, size * nmemb); in fwrite()
A Dsub.mk36 srcs-y += write.c
/optee_os-3.20.0/core/arch/arm/plat-totalcompute/fdts/
A Doptee_sp_manifest.dts33 attributes = <0x3>; /* read-write */
/optee_os-3.20.0/core/include/tee/
A Dfs_dirfile.h43 TEE_Result (*write)(struct tee_file_handle *fh, size_t pos, member
A Dtee_fs.h42 TEE_Result (*write)(struct tee_file_handle *fh, size_t pos, member
/optee_os-3.20.0/core/arch/arm/dts/
A Dstm32mp15xx-dhcom-som.dtsi172 st,fmc2-ebi-cs-write-address-setup-ns = <5>;
173 st,fmc2-ebi-cs-write-address-hold-ns = <5>;
174 st,fmc2-ebi-cs-write-bus-turnaround-ns = <5>;
175 st,fmc2-ebi-cs-write-data-setup-ns = <45>;
176 st,fmc2-ebi-cs-write-data-hold-ns = <1>;
/optee_os-3.20.0/core/arch/arm/kernel/
A Darm32_sysreg.txt93 ATS12NSOPW c7 0 c8 5 WO Stages 1 and 2 Non-secure only PL1 write
95 ATS12NSOUW c7 0 c8 7 WO Stages 1 and 2 Non-secure only unprivileged write
97 ATS1CPW c7 0 c8 1 WO Stage 1 Current state PL1 write
99 ATS1CUW c7 0 c8 3 WO Stage 1 Current state unprivileged write
101 ATS1HW c7 4 c8 1 WO Stage 1 Hyp mode write
/optee_os-3.20.0/core/lib/zlib/
A Dgzguts.h50 # define write _write macro
/optee_os-3.20.0/core/include/drivers/
A Dstm32_i2c.h230 bool write);
/optee_os-3.20.0/core/kernel/
A Dree_fs_ta.c117 res = ops->write(fh, 0, &db_hdr, sizeof(db_hdr)); in check_update_version()
158 res = ops->write(fh, sizeof(db_hdr) + (i * len), in check_update_version()
167 res = ops->write(fh, sizeof(db_hdr) + (db_hdr.nb_entries * len), in check_update_version()
173 res = ops->write(fh, 0, &db_hdr, sizeof(db_hdr)); in check_update_version()
/optee_os-3.20.0/core/drivers/
A Dstm32_i2c.c1218 bool write) in stm32_i2c_read_write_membyte() argument
1235 hi2c->i2c_state = write ? I2C_STATE_BUSY_TX : I2C_STATE_BUSY_RX; in stm32_i2c_read_write_membyte()
1239 write ? I2C_RELOAD_MODE : I2C_SOFTEND_MODE, in stm32_i2c_read_write_membyte()
1248 if (write) in stm32_i2c_read_write_membyte()
1259 write ? I2C_NO_STARTSTOP : I2C_GENERATE_START_READ); in stm32_i2c_read_write_membyte()
1262 if (write) { in stm32_i2c_read_write_membyte()

Completed in 22 milliseconds

12