Lines Matching refs:pidx
1291 int i, pidx, err; local
1333 for (pidx = 0; pidx < 4; pidx++) {
1334 if (conf->gp_part[pidx].size % mmc->hc_wp_grp_size) {
1336 "aligned\n", pidx+1);
1339 gp_size_mult[pidx] = conf->gp_part[pidx].size / mmc->hc_wp_grp_size;
1340 if (conf->gp_part[pidx].size && conf->gp_part[pidx].enhanced) {
1341 part_attrs |= EXT_CSD_ENH_GP(pidx);
1342 tot_enh_size_mult += gp_size_mult[pidx];
1376 for (pidx = 0; pidx < 4; pidx++) {
1377 if (conf->gp_part[pidx].wr_rel_change) {
1378 if (conf->gp_part[pidx].wr_rel_set)
1379 wr_rel_set |= EXT_CSD_WR_DATA_REL_GP(pidx);
1381 wr_rel_set &= ~EXT_CSD_WR_DATA_REL_GP(pidx);
1432 for (pidx = 0; pidx < 4; pidx++) {
1435 EXT_CSD_GP_SIZE_MULT+pidx*3+i,
1436 (gp_size_mult[pidx] >> (i*8)) & 0xFF);