Lines Matching defs:pindex
2256 lpfc_fill_vpd(struct lpfc_hba *phba, uint8_t *vpd, int length, int *pindex)
2262 if ((vpd[*pindex] == 'S') && (vpd[*pindex + 1] == 'N')) {
2263 *pindex += 2;
2264 i = vpd[*pindex];
2265 *pindex += 1;
2269 phba->SerialNumber[j++] = vpd[(*pindex)++];
2275 } else if ((vpd[*pindex] == 'V') && (vpd[*pindex + 1] == '1')) {
2277 *pindex += 2;
2278 i = vpd[*pindex];
2279 *pindex += 1;
2283 phba->ModelDesc[j++] = vpd[(*pindex)++];
2289 } else if ((vpd[*pindex] == 'V') && (vpd[*pindex + 1] == '2')) {
2291 *pindex += 2;
2292 i = vpd[*pindex];
2293 *pindex += 1;
2297 phba->ModelName[j++] = vpd[(*pindex)++];
2303 } else if ((vpd[*pindex] == 'V') && (vpd[*pindex + 1] == '3')) {
2305 *pindex += 2;
2306 i = vpd[*pindex];
2307 *pindex += 1;
2311 phba->ProgramType[j++] = vpd[(*pindex)++];
2317 } else if ((vpd[*pindex] == 'V') && (vpd[*pindex + 1] == '4')) {
2319 *pindex += 2;
2320 i = vpd[*pindex];
2321 *pindex += 1;
2329 (*pindex)++;
2331 phba->Port[j++] = vpd[(*pindex)++];
2341 *pindex += 2;
2342 i = vpd[*pindex];
2343 *pindex += 1;
2344 *pindex += i;