Lines Matching defs:pgo
2412 int pgo;
2420 pgo = MODE_HEADER_LENGTH + (STp->buffer)->b_data[MH_OFF_BDESCS_LENGTH];
2421 cmd[4] = pgo + (STp->buffer)->b_data[pgo + MP_OFF_PAGE_LENGTH] + 2;
2427 (STp->buffer)->b_data[pgo + MP_OFF_PAGE_NBR] &= MP_MSK_PAGE_NBR;
3256 int pgo, psd_cnt, psdo;
3266 pgo = MODE_HEADER_LENGTH + bp[MH_OFF_BDESCS_LENGTH];
3268 name, bp[pgo + MP_OFF_PAGE_LENGTH] + 2));
3270 psd_cnt = (bp[pgo + MP_OFF_PAGE_LENGTH] + 2 - PART_PAGE_FIXED_LENGTH) / 2;
3271 psdo = pgo + PART_PAGE_FIXED_LENGTH;
3272 if (psd_cnt > bp[pgo + PP_OFF_MAX_ADD_PARTS]) {
3276 memset(bp + psdo, 0, bp[pgo + PP_OFF_NBR_ADD_PARTS] * 2);
3279 psd_cnt, bp[pgo + PP_OFF_MAX_ADD_PARTS],
3280 bp[pgo + PP_OFF_NBR_ADD_PARTS]));
3283 bp[pgo + PP_OFF_NBR_ADD_PARTS] = 0;
3284 if (psd_cnt <= bp[pgo + PP_OFF_MAX_ADD_PARTS])
3285 bp[pgo + MP_OFF_PAGE_LENGTH] = 6;
3291 bp[pgo + 3] = 1;
3292 if (bp[pgo + MP_OFF_PAGE_LENGTH] < 8)
3293 bp[pgo + MP_OFF_PAGE_LENGTH] = 8;
3298 bp[pgo + PP_OFF_PART_UNITS] = 0;
3299 bp[pgo + PP_OFF_RESERVED] = 0;
3300 bp[pgo + PP_OFF_FLAGS] = PP_BIT_IDP | PP_MSK_PSUM_MB;