Lines Matching refs:pidx
1310 int i, pidx, err; local
1352 for (pidx = 0; pidx < 4; pidx++) {
1353 if (conf->gp_part[pidx].size % mmc->hc_wp_grp_size) {
1355 "aligned\n", pidx+1);
1358 gp_size_mult[pidx] = conf->gp_part[pidx].size / mmc->hc_wp_grp_size;
1359 if (conf->gp_part[pidx].size && conf->gp_part[pidx].enhanced) {
1360 part_attrs |= EXT_CSD_ENH_GP(pidx);
1361 tot_enh_size_mult += gp_size_mult[pidx];
1395 for (pidx = 0; pidx < 4; pidx++) {
1396 if (conf->gp_part[pidx].wr_rel_change) {
1397 if (conf->gp_part[pidx].wr_rel_set)
1398 wr_rel_set |= EXT_CSD_WR_DATA_REL_GP(pidx);
1400 wr_rel_set &= ~EXT_CSD_WR_DATA_REL_GP(pidx);
1451 for (pidx = 0; pidx < 4; pidx++) {
1454 EXT_CSD_GP_SIZE_MULT+pidx*3+i,
1455 (gp_size_mult[pidx] >> (i*8)) & 0xFF);