Lines Matching refs:pindex
2263 lpfc_fill_vpd(struct lpfc_hba *phba, uint8_t *vpd, int length, int *pindex)
2269 if ((vpd[*pindex] == 'S') && (vpd[*pindex + 1] == 'N')) {
2270 *pindex += 2;
2271 i = vpd[*pindex];
2272 *pindex += 1;
2276 phba->SerialNumber[j++] = vpd[(*pindex)++];
2282 } else if ((vpd[*pindex] == 'V') && (vpd[*pindex + 1] == '1')) {
2284 *pindex += 2;
2285 i = vpd[*pindex];
2286 *pindex += 1;
2290 phba->ModelDesc[j++] = vpd[(*pindex)++];
2296 } else if ((vpd[*pindex] == 'V') && (vpd[*pindex + 1] == '2')) {
2298 *pindex += 2;
2299 i = vpd[*pindex];
2300 *pindex += 1;
2304 phba->ModelName[j++] = vpd[(*pindex)++];
2310 } else if ((vpd[*pindex] == 'V') && (vpd[*pindex + 1] == '3')) {
2312 *pindex += 2;
2313 i = vpd[*pindex];
2314 *pindex += 1;
2318 phba->ProgramType[j++] = vpd[(*pindex)++];
2324 } else if ((vpd[*pindex] == 'V') && (vpd[*pindex + 1] == '4')) {
2326 *pindex += 2;
2327 i = vpd[*pindex];
2328 *pindex += 1;
2336 (*pindex)++;
2338 phba->Port[j++] = vpd[(*pindex)++];
2348 *pindex += 2;
2349 i = vpd[*pindex];
2350 *pindex += 1;
2351 *pindex += i;