Searched refs:sec_queue (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/crypto/hisilicon/sec/ |
H A D | sec_drv.c | 227 static int sec_queue_map_io(struct sec_queue *queue) in sec_queue_map_io() 247 static void sec_queue_unmap_io(struct sec_queue *queue) in sec_queue_unmap_io() 252 static int sec_queue_ar_pkgattr(struct sec_queue *queue, u32 ar_pkg) in sec_queue_ar_pkgattr() 267 static int sec_queue_aw_pkgattr(struct sec_queue *queue, u32 aw_pkg) in sec_queue_aw_pkgattr() 519 static void sec_queue_ar_alloc(struct sec_queue *queue, u32 alloc) in sec_queue_ar_alloc() 536 static void sec_queue_aw_alloc(struct sec_queue *queue, u32 alloc) in sec_queue_aw_alloc() 553 static void sec_queue_reorder(struct sec_queue *queue, bool reorder) in sec_queue_reorder() 566 static void sec_queue_depth(struct sec_queue *queue, u32 depth) in sec_queue_depth() 578 static void sec_queue_cmdbase_addr(struct sec_queue *queue, u64 addr) in sec_queue_cmdbase_addr() 584 static void sec_queue_outorder_addr(struct sec_queue *queue, u64 addr) in sec_queue_outorder_addr() [all …]
|
H A D | sec_drv.h | 247 struct sec_queue *queue; 335 struct sec_queue { struct 412 struct sec_queue queues[SEC_Q_NUM]; 417 int sec_queue_send(struct sec_queue *queue, struct sec_bd_info *msg, void *ctx); 418 bool sec_queue_can_enqueue(struct sec_queue *queue, int num); 419 int sec_queue_stop_release(struct sec_queue *queue); 420 struct sec_queue *sec_queue_alloc_start_safe(void); 421 bool sec_queue_empty(struct sec_queue *queue);
|
H A D | sec_algs.c | 384 static int sec_send_request(struct sec_request *sec_req, struct sec_queue *queue) in sec_send_request() 713 struct sec_queue *queue = ctx->queue; in sec_alg_skcipher_crypto()
|