Home
last modified time | relevance | path

Searched refs:crc_data (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/mfd/
Dtps6594-i2c.c50 u8 crc_data[] = { addr << 1, reg, addr << 1 | 1, 0 }; in tps6594_i2c_reg_read_with_crc() local
69 crc_data[sizeof(crc_data) - 1] = *val = buf_rx[0]; in tps6594_i2c_reg_read_with_crc()
70 if (buf_rx[1] != crc8(tps6594_i2c_crc_table, crc_data, sizeof(crc_data), CRC8_INIT_VALUE)) in tps6594_i2c_reg_read_with_crc()
90 const u8 crc_data[] = { addr << 1, reg, val }; in tps6594_i2c_reg_write_with_crc() local
98 buf[msg.len - 1] = crc8(tps6594_i2c_crc_table, crc_data, sizeof(crc_data), CRC8_INIT_VALUE); in tps6594_i2c_reg_write_with_crc()
/linux-6.12.1/drivers/net/phy/aquantia/
Daquantia_firmware.c110 u8 crc_data[4]; in aqr_fw_load_memory() local
129 crc_data[0] = word >> 24; in aqr_fw_load_memory()
130 crc_data[1] = word >> 16; in aqr_fw_load_memory()
131 crc_data[2] = word >> 8; in aqr_fw_load_memory()
132 crc_data[3] = word; in aqr_fw_load_memory()
135 crc = crc_itu_t(crc, crc_data, sizeof(crc_data)); in aqr_fw_load_memory()
/linux-6.12.1/net/nfc/nci/
Dspi.c246 u16 crc_data = (skb->data[skb->len - 2] << 8) | in nci_spi_check_crc() local
251 == crc_data); in nci_spi_check_crc()
/linux-6.12.1/sound/soc/codecs/
Dtas2781-fmwlib.c1313 struct tas_crc crc_data; in tasdev_multibytes_chksum() local
1335 in = check_yram(&crc_data, book, page, reg, len); in tasdev_multibytes_chksum()
1346 TASDEVICE_REG(book, page, crc_data.offset), in tasdev_multibytes_chksum()
1347 nBuf1, crc_data.len); in tasdev_multibytes_chksum()
1351 for (i = 0; i < crc_data.len; i++) { in tasdev_multibytes_chksum()
1355 && ((i + crc_data.offset) in tasdev_multibytes_chksum()
1357 && ((i + crc_data.offset) in tasdev_multibytes_chksum()
1377 struct tas_crc crc_data; in do_singlereg_checksum() local
1392 in = check_yram(&crc_data, book, page, reg, 1); in do_singlereg_checksum()
/linux-6.12.1/kernel/power/
Dswap.c594 struct crc_data { struct
611 struct crc_data *d = data; in crc32_threadfn() argument
707 struct crc_data *crc = NULL; in save_compressed_image()
1216 struct crc_data *crc = NULL; in load_compressed_image()