Searched refs:bin_num (Results 1 – 1 of 1) sorted by relevance
27 static int aw_check_sum(struct aw_device *aw_dev, struct aw_bin *bin, int bin_num) in aw_check_sum() argument34 p_check_sum = &(bin->info.data[(bin->header_info[bin_num].valid_data_addr - in aw_check_sum()35 bin->header_info[bin_num].header_len)]); in aw_check_sum()36 len = bin->header_info[bin_num].bin_data_len + bin->header_info[bin_num].header_len; in aw_check_sum()46 __func__, bin_num, check_sum, sum_data); in aw_check_sum()53 static int aw_check_data_version(struct aw_device *aw_dev, struct aw_bin *bin, int bin_num) in aw_check_data_version() argument55 if (bin->header_info[bin_num].bin_data_ver < DATA_VERSION_V1 || in aw_check_data_version()56 bin->header_info[bin_num].bin_data_ver > DATA_VERSION_MAX) { in aw_check_data_version()64 static int aw_check_register_num(struct aw_device *aw_dev, struct aw_bin *bin, int bin_num) in aw_check_register_num() argument66 struct bin_header_info temp_info = bin->header_info[bin_num]; in aw_check_register_num()[all …]