Searched refs:speed_rating (Results 1 – 6 of 6) sorted by relevance
120 if (zdev->speed_rating == 0) in __zcrypt_increase_preference()124 if ((tmp->request_count + 1) * tmp->speed_rating <= in __zcrypt_increase_preference()125 (zdev->request_count + 1) * zdev->speed_rating && in __zcrypt_increase_preference()126 tmp->speed_rating != 0) in __zcrypt_increase_preference()148 if (zdev->speed_rating == 0) in __zcrypt_decrease_preference()152 if ((tmp->request_count + 1) * tmp->speed_rating > in __zcrypt_decrease_preference()153 (zdev->request_count + 1) * zdev->speed_rating || in __zcrypt_decrease_preference()154 tmp->speed_rating == 0) in __zcrypt_decrease_preference()
107 int speed_rating; /* Speed of the crypto device. */ member
1047 zdev->speed_rating = PCIXCC_MCL2_SPEED_RATING; in zcrypt_pcixcc_probe()1053 zdev->speed_rating = PCIXCC_MCL3_SPEED_RATING; in zcrypt_pcixcc_probe()1062 zdev->speed_rating = CEX2C_SPEED_RATING; in zcrypt_pcixcc_probe()1070 zdev->speed_rating = CEX3C_SPEED_RATING; in zcrypt_pcixcc_probe()
441 zdev->speed_rating = CEX2A_SPEED_RATING; in zcrypt_cex2a_probe()458 zdev->speed_rating = CEX3A_SPEED_RATING; in zcrypt_cex2a_probe()
373 zdev->speed_rating = PCICA_SPEED_RATING; in zcrypt_pcica_probe()
579 zdev->speed_rating = PCICC_SPEED_RATING; in zcrypt_pcicc_probe()