Home
last modified time | relevance | path

Searched refs:tee_ring_cmd (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/crypto/ccp/
Dtee-dev.c109 int ring_size = MAX_RING_BUFFER_ENTRIES * sizeof(struct tee_ring_cmd); in tee_init_ring()
115 BUILD_BUG_ON(sizeof(struct tee_ring_cmd) != 1024); in tee_init_ring()
244 void *buf, size_t len, struct tee_ring_cmd **resp) in tee_submit_cmd()
246 struct tee_ring_cmd *cmd; in tee_submit_cmd()
260 if (!(wptr + sizeof(struct tee_ring_cmd) == rptr)) in tee_submit_cmd()
273 if (!nloop && (wptr + sizeof(struct tee_ring_cmd) == rptr)) { in tee_submit_cmd()
281 cmd = (struct tee_ring_cmd *)(tee->rb_mgr.ring_start + wptr); in tee_submit_cmd()
290 tee->rb_mgr.wptr += sizeof(struct tee_ring_cmd); in tee_submit_cmd()
309 struct tee_ring_cmd *resp, in tee_wait_cmd_completion()
335 struct tee_ring_cmd *resp; in psp_tee_process_cmd()
Dtee-dev.h95 struct tee_ring_cmd { struct