Lines Matching defs:pba_num
753 * @pba_num: pointer to device part number
757 * the value in pba_num.
759 s32 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num,
770 if (pba_num == NULL) {
801 pba_num[0] = (nvm_data >> 12) & 0xF;
802 pba_num[1] = (nvm_data >> 8) & 0xF;
803 pba_num[2] = (nvm_data >> 4) & 0xF;
804 pba_num[3] = nvm_data & 0xF;
805 pba_num[4] = (pba_ptr >> 12) & 0xF;
806 pba_num[5] = (pba_ptr >> 8) & 0xF;
807 pba_num[6] = '-';
808 pba_num[7] = 0;
809 pba_num[8] = (pba_ptr >> 4) & 0xF;
810 pba_num[9] = pba_ptr & 0xF;
813 pba_num[10] = '\0';
817 if (pba_num[offset] < 0xA)
818 pba_num[offset] += '0';
819 else if (pba_num[offset] < 0x10)
820 pba_num[offset] += 'A' - 0xA;
836 /* check if pba_num buffer is big enough */
852 pba_num[offset * 2] = (u8)(nvm_data >> 8);
853 pba_num[(offset * 2) + 1] = (u8)(nvm_data & 0xFF);
855 pba_num[offset * 2] = '\0';