Lines Matching refs:ac

84 	struct ap_card *ac = to_ap_card(dev);  in cca_serialnr_show()  local
89 cca_get_info(ac->id, ap_domain_index, &ci, zc->online); in cca_serialnr_show()
224 struct ap_card *ac = to_ap_card(dev); in ep11_api_ordinalnr_show() local
228 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_api_ordinalnr_show()
245 struct ap_card *ac = to_ap_card(dev); in ep11_fw_version_show() local
249 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_fw_version_show()
268 struct ap_card *ac = to_ap_card(dev); in ep11_serialnr_show() local
272 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_serialnr_show()
302 struct ap_card *ac = to_ap_card(dev); in ep11_card_op_modes_show() local
306 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_card_op_modes_show()
476 struct ap_card *ac = to_ap_card(&ap_dev->device); in zcrypt_cex4_card_probe() local
483 zc->card = ac; in zcrypt_cex4_card_probe()
485 if (ap_test_bit(&ac->functions, AP_FUNC_ACCEL)) { in zcrypt_cex4_card_probe()
486 if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX4) { in zcrypt_cex4_card_probe()
490 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX5) { in zcrypt_cex4_card_probe()
494 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX6) { in zcrypt_cex4_card_probe()
498 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX7) { in zcrypt_cex4_card_probe()
514 if (ap_test_bit(&ac->functions, AP_FUNC_MEX4K) && in zcrypt_cex4_card_probe()
515 ap_test_bit(&ac->functions, AP_FUNC_CRT4K)) { in zcrypt_cex4_card_probe()
524 } else if (ap_test_bit(&ac->functions, AP_FUNC_COPRO)) { in zcrypt_cex4_card_probe()
525 if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX4) { in zcrypt_cex4_card_probe()
532 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX5) { in zcrypt_cex4_card_probe()
539 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX6) { in zcrypt_cex4_card_probe()
546 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX7) { in zcrypt_cex4_card_probe()
564 } else if (ap_test_bit(&ac->functions, AP_FUNC_EP11)) { in zcrypt_cex4_card_probe()
565 if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX4) { in zcrypt_cex4_card_probe()
569 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX5) { in zcrypt_cex4_card_probe()
573 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX6) { in zcrypt_cex4_card_probe()
577 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX7) { in zcrypt_cex4_card_probe()
607 if (ap_test_bit(&ac->functions, AP_FUNC_COPRO)) { in zcrypt_cex4_card_probe()
614 } else if (ap_test_bit(&ac->functions, AP_FUNC_EP11)) { in zcrypt_cex4_card_probe()
633 struct ap_card *ac = to_ap_card(&ap_dev->device); in zcrypt_cex4_card_remove() local
635 if (ap_test_bit(&ac->functions, AP_FUNC_COPRO)) in zcrypt_cex4_card_remove()
637 else if (ap_test_bit(&ac->functions, AP_FUNC_EP11)) in zcrypt_cex4_card_remove()