Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/crypto/ccp/
Dtee-dev.c27 struct ring_buf_manager *rb_mgr = &tee->rb_mgr; in tee_alloc_ring() local
41 rb_mgr->ring_start = start_addr; in tee_alloc_ring()
42 rb_mgr->ring_size = ring_size; in tee_alloc_ring()
43 rb_mgr->ring_pa = __psp_pa(start_addr); in tee_alloc_ring()
44 mutex_init(&rb_mgr->mutex); in tee_alloc_ring()
51 struct ring_buf_manager *rb_mgr = &tee->rb_mgr; in tee_free_ring() local
53 if (!rb_mgr->ring_start) in tee_free_ring()
56 free_pages((unsigned long)rb_mgr->ring_start, in tee_free_ring()
57 get_order(rb_mgr->ring_size)); in tee_free_ring()
59 rb_mgr->ring_start = NULL; in tee_free_ring()
[all …]
Dtee-dev.h69 struct ring_buf_manager rb_mgr; member