Lines Matching refs:psa_crc
267 static inline u16 psa_crc(u8 * psa, /* The PSA */ in psa_crc() function
303 crc = psa_crc((unsigned char *) &psa, in update_psa_checksum()
304 sizeof(psa) - sizeof(psa.psa_crc[0]) - in update_psa_checksum()
305 sizeof(psa.psa_crc[1]) in update_psa_checksum()
308 psa.psa_crc[0] = crc & 0xFF; in update_psa_checksum()
309 psa.psa_crc[1] = (crc & 0xFF00) >> 8; in update_psa_checksum()
312 psa_write(ioaddr, hacr, (char *) &psa.psa_crc - (char *) &psa, in update_psa_checksum()
313 (unsigned char *) &psa.psa_crc, 2); in update_psa_checksum()
317 dev->name, psa.psa_crc[0], psa.psa_crc[1]); in update_psa_checksum()
320 crc = psa_crc((unsigned char *) &psa, in update_psa_checksum()
961 printk("psa_crc: 0x%02x%02x, ", p->psa_crc[0], p->psa_crc[1]); in wv_psa_show()