Lines Matching refs:pindex

2261 lpfc_fill_vpd(struct lpfc_hba *phba, uint8_t *vpd, int length, int *pindex)  in lpfc_fill_vpd()  argument
2267 if ((vpd[*pindex] == 'S') && (vpd[*pindex + 1] == 'N')) { in lpfc_fill_vpd()
2268 *pindex += 2; in lpfc_fill_vpd()
2269 i = vpd[*pindex]; in lpfc_fill_vpd()
2270 *pindex += 1; in lpfc_fill_vpd()
2274 phba->SerialNumber[j++] = vpd[(*pindex)++]; in lpfc_fill_vpd()
2280 } else if ((vpd[*pindex] == 'V') && (vpd[*pindex + 1] == '1')) { in lpfc_fill_vpd()
2282 *pindex += 2; in lpfc_fill_vpd()
2283 i = vpd[*pindex]; in lpfc_fill_vpd()
2284 *pindex += 1; in lpfc_fill_vpd()
2288 phba->ModelDesc[j++] = vpd[(*pindex)++]; in lpfc_fill_vpd()
2294 } else if ((vpd[*pindex] == 'V') && (vpd[*pindex + 1] == '2')) { in lpfc_fill_vpd()
2296 *pindex += 2; in lpfc_fill_vpd()
2297 i = vpd[*pindex]; in lpfc_fill_vpd()
2298 *pindex += 1; in lpfc_fill_vpd()
2302 phba->ModelName[j++] = vpd[(*pindex)++]; in lpfc_fill_vpd()
2308 } else if ((vpd[*pindex] == 'V') && (vpd[*pindex + 1] == '3')) { in lpfc_fill_vpd()
2310 *pindex += 2; in lpfc_fill_vpd()
2311 i = vpd[*pindex]; in lpfc_fill_vpd()
2312 *pindex += 1; in lpfc_fill_vpd()
2316 phba->ProgramType[j++] = vpd[(*pindex)++]; in lpfc_fill_vpd()
2322 } else if ((vpd[*pindex] == 'V') && (vpd[*pindex + 1] == '4')) { in lpfc_fill_vpd()
2324 *pindex += 2; in lpfc_fill_vpd()
2325 i = vpd[*pindex]; in lpfc_fill_vpd()
2326 *pindex += 1; in lpfc_fill_vpd()
2334 (*pindex)++; in lpfc_fill_vpd()
2336 phba->Port[j++] = vpd[(*pindex)++]; in lpfc_fill_vpd()
2346 *pindex += 2; in lpfc_fill_vpd()
2347 i = vpd[*pindex]; in lpfc_fill_vpd()
2348 *pindex += 1; in lpfc_fill_vpd()
2349 *pindex += i; in lpfc_fill_vpd()