Lines Matching refs:targ_info
45 struct ath6kl_bmi_target_info *targ_info) in ath6kl_bmi_get_target_info() argument
62 ret = ath6kl_hif_bmi_read(ar, (u8 *)targ_info, in ath6kl_bmi_get_target_info()
63 sizeof(*targ_info)); in ath6kl_bmi_get_target_info()
65 ret = ath6kl_hif_bmi_read(ar, (u8 *)&targ_info->version, in ath6kl_bmi_get_target_info()
66 sizeof(targ_info->version)); in ath6kl_bmi_get_target_info()
74 if (le32_to_cpu(targ_info->version) == TARGET_VERSION_SENTINAL) { in ath6kl_bmi_get_target_info()
77 (u8 *)&targ_info->byte_count, in ath6kl_bmi_get_target_info()
78 sizeof(targ_info->byte_count)); in ath6kl_bmi_get_target_info()
89 if (le32_to_cpu(targ_info->byte_count) != sizeof(*targ_info)) { in ath6kl_bmi_get_target_info()
96 ((u8 *)targ_info) + in ath6kl_bmi_get_target_info()
97 sizeof(targ_info->byte_count), in ath6kl_bmi_get_target_info()
98 sizeof(*targ_info) - in ath6kl_bmi_get_target_info()
99 sizeof(targ_info->byte_count)); in ath6kl_bmi_get_target_info()
103 targ_info->byte_count, ret); in ath6kl_bmi_get_target_info()
109 targ_info->version, targ_info->type); in ath6kl_bmi_get_target_info()