Home
last modified time | relevance | path

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

/optee_os/core/kernel/
H A Dembedded_ts.c21 const struct embedded_ts *ts; member
38 const struct embedded_ts *ts) in decompression_init() argument
42 strm->next_in = ts->ts; in decompression_init()
43 strm->avail_in = ts->size; in decompression_init()
61 const struct embedded_ts *ts = NULL; in emb_ts_open() local
63 ts = find_ts(uuid); in emb_ts_open()
64 if (!ts) in emb_ts_open()
71 if (ts->uncompressed_size) { in emb_ts_open()
72 if (!decompression_init(&handle->strm, ts)) { in emb_ts_open()
77 handle->ts = ts; in emb_ts_open()
[all …]
/optee_os/scripts/
H A Dts_bin_to_c.py106 def dump_bin(f, ts, compress): argument
107 with open(ts, 'rb') as _ts:
138 ts = args.ta
142 ts = args.sp
145 ts_uuid = uuid.UUID(re.sub(r'\..*', '', os.path.basename(ts)))
148 f.write('/* Generated from ' + ts + ' by ' +
153 ts_size, ts_uncompressed_size = dump_bin(f, ts, args.compress)
167 f.write('\t.flags = 0x{:04x},\n'.format(sp_get_flags(ts)))
171 f.write('\t.flags = 0x{:04x},\n'.format(ta_get_flags(ts)))
/optee_os/core/include/kernel/
H A Dembedded_ts.h20 const uint8_t *ts; /* @size bytes */ member
/optee_os/core/lib/libtomcrypt/src/prngs/
H A Dfortuna.c95 struct timespec ts; in s_fortuna_current_time() local
96 clock_gettime(CLOCK_MONOTONIC, &ts); in s_fortuna_current_time()
97 cur_time = (ulong64)(ts.tv_sec) * 1000000 + (ulong64)(ts.tv_nsec) / 1000; /* get microseconds */ in s_fortuna_current_time()
/optee_os/core/pta/
H A Dscmi.c205 struct ts_session *ts = ts_get_current_session(); in pta_scmi_open_session() local
206 struct tee_ta_session *ta_session = to_ta_session(ts); in pta_scmi_open_session()
H A Drtc.c310 struct ts_session *ts = ts_get_current_session(); in open_session() local
311 struct tee_ta_session *ta_session = to_ta_session(ts); in open_session()
/optee_os/core/arch/arm/kernel/
H A Dsecure_partition.c1863 struct ts_session *ts = ts_get_current_session(); in sp_handle_scall() local
1864 struct sp_ctx *uctx = to_sp_ctx(ts->ctx); in sp_handle_scall()
1963 sp->sp_img.image.ts = (uint8_t *)(sp_pkg_va + sp_pkg_hdr->img_offset); in process_sp_pkg()