Lines Matching refs:tmp_dev
53 struct adf_accel_dev *accel_dev = NULL, *tmp_dev; in qat_crypto_get_instance_node() local
57 list_for_each_entry(tmp_dev, adf_devmgr_get_head(), list) { in qat_crypto_get_instance_node()
60 if ((node == dev_to_node(&GET_DEV(tmp_dev)) || in qat_crypto_get_instance_node()
61 dev_to_node(&GET_DEV(tmp_dev)) < 0) && in qat_crypto_get_instance_node()
62 adf_dev_started(tmp_dev) && in qat_crypto_get_instance_node()
63 !list_empty(&tmp_dev->crypto_list)) { in qat_crypto_get_instance_node()
64 ctr = atomic_read(&tmp_dev->ref_count); in qat_crypto_get_instance_node()
66 accel_dev = tmp_dev; in qat_crypto_get_instance_node()
75 list_for_each_entry(tmp_dev, adf_devmgr_get_head(), list) { in qat_crypto_get_instance_node()
76 if (adf_dev_started(tmp_dev) && in qat_crypto_get_instance_node()
77 !list_empty(&tmp_dev->crypto_list)) { in qat_crypto_get_instance_node()
78 accel_dev = tmp_dev; in qat_crypto_get_instance_node()