Lines Matching refs:nrec
109 unsigned int nrec;
269 pda.nrec = 1;
579 * nrec ptr to a variable that will contain the count of PDRs
591 pda->nrec = 0;
595 pda->rec[pda->nrec] = (hfa384x_pdrec_t *) &(pda16[curroff]);
597 if (le16_to_cpu(pda->rec[pda->nrec]->code) == HFA384x_PDR_NICID) {
598 memcpy(&nicid, &pda->rec[pda->nrec]->data.nicid,
605 if (le16_to_cpu(pda->rec[pda->nrec]->code) ==
607 memcpy(&rfid, &pda->rec[pda->nrec]->data.mfisuprange,
614 if (le16_to_cpu(pda->rec[pda->nrec]->code) ==
616 memcpy(&macid, &pda->rec[pda->nrec]->data.cfisuprange,
624 (pda->nrec)++;
631 "PDR data, exiting. %x %d\n", curroff, pda->nrec);
635 pda->rec[pda->nrec] = (hfa384x_pdrec_t *) &(pda16[curroff]);
636 (pda->nrec)++;
678 for (j = 0; j < pda->nrec; j++) {
686 if (j >= pda->nrec && j != -1) { /* if no matching PDR, fail */