Searched refs:se_devices (Results 1 – 3 of 3) sorted by relevance
181 static struct platform_device *se_devices[] __initdata = { variable194 return platform_add_devices(se_devices, ARRAY_SIZE(se_devices)); in se_devices_setup()
60 static struct cpt_device_table se_devices = { variable74 count = atomic_read(&se_devices.count); in get_se_device()80 if (se_devices.desc[0].pf_type == OTX_CPT_SE) { in get_se_device()89 *pdev = se_devices.desc[*cpu_num].dev; in get_se_device()91 pr_err("Unknown PF type %d\n", se_devices.desc[0].pf_type); in get_se_device()1583 count = atomic_read(&se_devices.count); in otx_cpt_crypto_init()1589 se_devices.desc[count].pf_type = pf_type; in otx_cpt_crypto_init()1590 se_devices.desc[count].num_queues = num_queues; in otx_cpt_crypto_init()1591 se_devices.desc[count++].dev = pdev; in otx_cpt_crypto_init()1592 atomic_inc(&se_devices.count); in otx_cpt_crypto_init()[all …]
52 static struct cpt_device_table se_devices = { variable62 count = atomic_read(&se_devices.count); in get_se_device()74 if (*cpu_num >= se_devices.desc[0].num_queues) in get_se_device()75 *cpu_num %= se_devices.desc[0].num_queues; in get_se_device()76 *pdev = se_devices.desc[0].dev; in get_se_device()1615 count = atomic_read(&se_devices.count); in otx2_cpt_crypto_init()1621 se_devices.desc[count].num_queues = num_queues; in otx2_cpt_crypto_init()1622 se_devices.desc[count++].dev = pdev; in otx2_cpt_crypto_init()1623 atomic_inc(&se_devices.count); in otx2_cpt_crypto_init()1625 if (atomic_read(&se_devices.count) == num_devices && in otx2_cpt_crypto_init()[all …]