Lines Matching refs:pidx
936 int i, pidx, err; in mmc_hwpart_config() local
978 for (pidx = 0; pidx < 4; pidx++) { in mmc_hwpart_config()
979 if (conf->gp_part[pidx].size % mmc->hc_wp_grp_size) { in mmc_hwpart_config()
981 "aligned\n", pidx+1); in mmc_hwpart_config()
984 gp_size_mult[pidx] = conf->gp_part[pidx].size / mmc->hc_wp_grp_size; in mmc_hwpart_config()
985 if (conf->gp_part[pidx].size && conf->gp_part[pidx].enhanced) { in mmc_hwpart_config()
986 part_attrs |= EXT_CSD_ENH_GP(pidx); in mmc_hwpart_config()
987 tot_enh_size_mult += gp_size_mult[pidx]; in mmc_hwpart_config()
1021 for (pidx = 0; pidx < 4; pidx++) { in mmc_hwpart_config()
1022 if (conf->gp_part[pidx].wr_rel_change) { in mmc_hwpart_config()
1023 if (conf->gp_part[pidx].wr_rel_set) in mmc_hwpart_config()
1024 wr_rel_set |= EXT_CSD_WR_DATA_REL_GP(pidx); in mmc_hwpart_config()
1026 wr_rel_set &= ~EXT_CSD_WR_DATA_REL_GP(pidx); in mmc_hwpart_config()
1077 for (pidx = 0; pidx < 4; pidx++) { in mmc_hwpart_config()
1080 EXT_CSD_GP_SIZE_MULT+pidx*3+i, in mmc_hwpart_config()
1081 (gp_size_mult[pidx] >> (i*8)) & 0xFF); in mmc_hwpart_config()