Home
last modified time | relevance | path

Searched refs:se_devices (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/sh/boards/mach-se/770x/
H A Dsetup.c181 static struct platform_device *se_devices[] __initdata = { variable
194 return platform_add_devices(se_devices, ARRAY_SIZE(se_devices)); in se_devices_setup()
/openbmc/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_algs.c61 static struct cpt_device_table se_devices = { variable
73 count = atomic_read(&se_devices.count); in get_se_device()
79 if (se_devices.desc[0].pf_type == OTX_CPT_SE) { in get_se_device()
88 *pdev = se_devices.desc[*cpu_num].dev; in get_se_device()
1658 count = atomic_read(&se_devices.count); in otx_cpt_crypto_init()
1664 se_devices.desc[count].pf_type = pf_type; in otx_cpt_crypto_init()
1665 se_devices.desc[count].num_queues = num_queues; in otx_cpt_crypto_init()
1666 se_devices.desc[count++].dev = pdev; in otx_cpt_crypto_init()
1667 atomic_inc(&se_devices.count); in otx_cpt_crypto_init()
1669 if (atomic_read(&se_devices.count) == num_devices && in otx_cpt_crypto_init()
[all …]
/openbmc/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_algs.c53 static struct cpt_device_table se_devices = { variable
61 count = atomic_read(&se_devices.count); in get_se_device()
73 if (*cpu_num >= se_devices.desc[0].num_queues) in get_se_device()
74 *cpu_num %= se_devices.desc[0].num_queues; in get_se_device()
75 *pdev = se_devices.desc[0].dev; in get_se_device()
1689 count = atomic_read(&se_devices.count); in otx2_cpt_crypto_init()
1695 se_devices.desc[count].num_queues = num_queues; in otx2_cpt_crypto_init()
1696 se_devices.desc[count++].dev = pdev; in otx2_cpt_crypto_init()
1697 atomic_inc(&se_devices.count); in otx2_cpt_crypto_init()
1726 dev_tbl = &se_devices; in otx2_cpt_crypto_exit()
[all …]