Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/crypto/ccp/
Dtee-dev.c26 struct ring_buf_manager *rb_mgr = &tee->rb_mgr; in tee_alloc_ring() local
39 rb_mgr->ring_start = start_addr; in tee_alloc_ring()
40 rb_mgr->ring_size = ring_size; in tee_alloc_ring()
41 rb_mgr->ring_pa = __psp_pa(start_addr); in tee_alloc_ring()
42 mutex_init(&rb_mgr->mutex); in tee_alloc_ring()
49 struct ring_buf_manager *rb_mgr = &tee->rb_mgr; in tee_free_ring() local
51 if (!rb_mgr->ring_start) in tee_free_ring()
54 free_pages((unsigned long)rb_mgr->ring_start, in tee_free_ring()
55 get_order(rb_mgr->ring_size)); in tee_free_ring()
57 rb_mgr->ring_start = NULL; in tee_free_ring()
[all …]
Dtee-dev.h69 struct ring_buf_manager rb_mgr; member