Lines Matching refs:se_devices
53 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()
1688 count = atomic_read(&se_devices.count); in otx2_cpt_crypto_init()
1694 se_devices.desc[count].num_queues = num_queues; in otx2_cpt_crypto_init()
1695 se_devices.desc[count++].dev = pdev; in otx2_cpt_crypto_init()
1696 atomic_inc(&se_devices.count); in otx2_cpt_crypto_init()
1698 if (atomic_read(&se_devices.count) == num_devices && in otx2_cpt_crypto_init()
1709 sort(se_devices.desc, count, sizeof(struct cpt_device_desc), in otx2_cpt_crypto_init()
1725 dev_tbl = &se_devices; in otx2_cpt_crypto_exit()
1740 if (atomic_dec_and_test(&se_devices.count)) { in otx2_cpt_crypto_exit()