Searched refs:SYMC_MAX_LIST_NUM (Results 1 – 6 of 6) sorted by relevance
323 dma_addr += ENTRY_NODE_SIZE * SYMC_MAX_LIST_NUM; in drv_symc_set_entry()324 mmz_addr += ENTRY_NODE_SIZE * SYMC_MAX_LIST_NUM; in drv_symc_set_entry()325 cpu_addr = (hi_u8 *)cpu_addr + ENTRY_NODE_SIZE * SYMC_MAX_LIST_NUM; in drv_symc_set_entry()332 dma_addr += ENTRY_NODE_SIZE * SYMC_MAX_LIST_NUM; in drv_symc_set_entry()333 mmz_addr += ENTRY_NODE_SIZE * SYMC_MAX_LIST_NUM; in drv_symc_set_entry()334 cpu_addr = (hi_u8 *)cpu_addr + ENTRY_NODE_SIZE * SYMC_MAX_LIST_NUM; in drv_symc_set_entry()338 for (i = 0; i < SYMC_MAX_LIST_NUM; i++) { in drv_symc_set_entry()355 symc_write(reg_chann_ibuf_num(chn), SYMC_MAX_LIST_NUM); in drv_symc_set_entry()356 symc_write(reg_chann_obuf_num(chn), SYMC_MAX_LIST_NUM); in drv_symc_set_entry()1127 hi_log_chk_param_return(ctx->cnt >= SYMC_MAX_LIST_NUM); in drv_symc_add_inbuf()[all …]
415 cipher_in_cfg.bits.cipher_in_node_total_num = SYMC_MAX_LIST_NUM; in drv_symc_set_entry()426 cipher_out_cfg.bits.cipher_out_node_total_num = SYMC_MAX_LIST_NUM; in drv_symc_set_entry()1147 ctx->id_in %= SYMC_MAX_LIST_NUM; in drv_symc_add_inbuf()1182 ctx->id_out %= SYMC_MAX_LIST_NUM; in drv_symc_add_outbuf()1203 id = (ctx->id_in == 0) ? (SYMC_MAX_LIST_NUM - 1) : (ctx->id_in - 1); in drv_symc_add_buf_usage()1209 id = (ctx->id_out == 0) ? (SYMC_MAX_LIST_NUM - 1) : (ctx->id_out - 1); in drv_symc_add_buf_usage()1454 last = (last == 0) ? (SYMC_MAX_LIST_NUM - 1) : (last - 1); in drv_aead_get_tag()1601 out_node_cfg.bits.cipher_out_node_wptr = ptr % SYMC_MAX_LIST_NUM; in drv_symc_start()1614 in_node_cfg.bits.cipher_in_node_wptr = ptr % SYMC_MAX_LIST_NUM; in drv_symc_start()
31 #define CHN_LIST_SIZE ((ENTRY_NODE_SIZE * 2 + SYMC_IV_MAX_SIZE) * SYMC_MAX_LIST_NUM)
25 #define SYMC_NODE_SIZE (SYMC_MAX_LIST_NUM * 32)
39 #define SYMC_MAX_LIST_NUM 16 macro
34 #define SYMC_INT_LEVEL (SYMC_MAX_LIST_NUM - 15)