Home
last modified time | relevance | path

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

/linux/drivers/crypto/hisilicon/sec/
H A Dsec_drv.h18 #define SEC_QUEUE_LEN 512 macro
347 DECLARE_BITMAP(unprocessed, SEC_QUEUE_LEN);
351 void *shadow[SEC_QUEUE_LEN];
H A Dsec_drv.c711 SEC_QUEUE_LEN; in sec_isr_handle()
715 ooo_read = (ooo_read + 1) % SEC_QUEUE_LEN; in sec_isr_handle()
867 if (write == read && atomic_read(&msg_ring->used) == SEC_QUEUE_LEN) { in sec_queue_send()
873 write = (write + 1) % SEC_QUEUE_LEN; in sec_queue_send()
889 return SEC_QUEUE_LEN - atomic_read(&msg_ring->used) >= num; in sec_queue_can_enqueue()
905 sec_queue_depth(queue, SEC_QUEUE_LEN - 1); in sec_queue_hw_init()
1072 round_up(SEC_QUEUE_LEN * sizeof(struct sec_bd_info), PAGE_SIZE)
1074 round_up(SEC_QUEUE_LEN * sizeof(struct sec_out_bd_info), PAGE_SIZE)
1076 round_up(SEC_QUEUE_LEN * sizeof(struct sec_debug_bd_info), PAGE_SIZE)