Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/hisilicon/sec2/
H A Dsec_main.c137 static struct hisi_qm_list sec_devices = { variable
386 ret = hisi_qm_alloc_qps_node(&sec_devices, ctx_num, 0, node, qps); in sec_create_qps()
1117 qm->qm_list = &sec_devices; in sec_qm_init()
1246 ret = hisi_qm_alg_register(qm, &sec_devices); in sec_probe()
1276 hisi_qm_alg_unregister(qm, &sec_devices); in sec_probe()
1292 hisi_qm_wait_task_finish(qm, &sec_devices); in sec_remove()
1294 hisi_qm_alg_unregister(qm, &sec_devices); in sec_remove()
1352 hisi_qm_init_list(&sec_devices); in sec_init()
/openbmc/linux/drivers/crypto/hisilicon/sec/
H A Dsec_drv.c224 static struct sec_dev_info *sec_devices[SEC_MAX_DEVICES]; variable
761 this_sec_dev = sec_devices[i]; in sec_device_get()
1180 if (!sec_devices[i]) in sec_id_alloc()
1187 sec_devices[info->sec_id] = info; in sec_id_alloc()
1198 sec_devices[info->sec_id] = NULL; in sec_id_free()