Lines Matching refs:buf16
2621 srom_otp_write_region_crc(si_t *sih, uint nbytes, uint16* buf16, bool write)
2637 if (!((buf16[SROM4_SIGN] == SROM4_SIGNATURE) ||
2638 (buf16[SROM8_SIGN] == SROM4_SIGNATURE))) {
2640 __FUNCTION__, buf16[SROM4_SIGN], buf16[SROM8_SIGN]));
2645 if (buf16[0] == 0xffff) {
2650 BS_ERROR(("%s: invalid buf16[0] = 0x%x\n", __FUNCTION__, buf16[0]));
2654 buf8 = (uint8*)buf16;
2660 buf16[SROM4_CRCREV] = (crc << 8) | (buf16[SROM4_CRCREV] & 0xff);