Home
last modified time | relevance | path

Searched refs:psa_crc (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/drivers/net/
Dwavelan.c267 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()
[all …]
Dwavelan.h203 unsigned char psa_crc[2]; /* [0x3D] CRC-16 over PSA */ member
/linux-2.4.37.9/drivers/net/pcmcia/
Dwavelan_cs.c248 psa_crc(unsigned char * psa, /* The PSA */ in psa_crc() function
287 crc = psa_crc((unsigned char *) &psa, in update_psa_checksum()
288 sizeof(psa) - sizeof(psa.psa_crc[0]) - sizeof(psa.psa_crc[1]) in update_psa_checksum()
291 psa.psa_crc[0] = crc & 0xFF; in update_psa_checksum()
292 psa.psa_crc[1] = (crc & 0xFF00) >> 8; in update_psa_checksum()
295 psa_write(dev, (char *)&psa.psa_crc - (char *)&psa, in update_psa_checksum()
296 (unsigned char *)&psa.psa_crc, 2); in update_psa_checksum()
300 dev->name, psa.psa_crc[0], psa.psa_crc[1]); in update_psa_checksum()
303 crc = psa_crc((unsigned char *) &psa, in update_psa_checksum()
1164 printk("psa_crc: 0x%02x%02x, ", p->psa_crc[0], p->psa_crc[1]); in wv_psa_show()
Dwavelan.h219 unsigned char psa_crc[2]; /* [0x3D] CRC-16 over PSA */ member