Home
last modified time | relevance | path

Searched refs:CRC8_INIT_VALUE (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.6/drivers/iio/chemical/
Dscd30_i2c.c82 crc = crc8(scd30_i2c_crc8_tbl, buf + i, 2, CRC8_INIT_VALUE); in scd30_i2c_command()
98 crc = crc8(scd30_i2c_crc8_tbl, buf + i, 2, CRC8_INIT_VALUE); in scd30_i2c_command()
Dsps30_i2c.c97 buf[i + 2] = crc8(sps30_i2c_crc8_table, buf + i, 2, CRC8_INIT_VALUE); in sps30_i2c_command()
110 crc = crc8(sps30_i2c_crc8_table, buf + i, 2, CRC8_INIT_VALUE); in sps30_i2c_command()
Dscd4x.c163 crc = crc8(scd4x_crc8_table, buf + i, 2, CRC8_INIT_VALUE); in scd4x_read()
193 crc = crc8(scd4x_crc8_table, buf + 2, 2, CRC8_INIT_VALUE); in scd4x_write()
248 crc = crc8(scd4x_crc8_table, buf + i, 2, CRC8_INIT_VALUE); in scd4x_write_and_fetch()
/Linux-v6.6/drivers/mfd/
Dtps6594-spi.c44 if (tps->use_crc && buf[3] != crc8(tps6594_spi_crc_table, buf, 3, CRC8_INIT_VALUE)) in tps6594_spi_reg_read()
64 buf[3] = crc8(tps6594_spi_crc_table, buf, count++, CRC8_INIT_VALUE); in tps6594_spi_reg_write()
Dtps6594-i2c.c70 if (buf_rx[1] != crc8(tps6594_i2c_crc_table, crc_data, sizeof(crc_data), CRC8_INIT_VALUE)) in tps6594_i2c_reg_read_with_crc()
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-v6.6/include/linux/
Dcrc8.h22 #define CRC8_INIT_VALUE 0xFF macro
/Linux-v6.6/drivers/hwmon/
Dsht4x.c105 crc = crc8(sht4x_crc8_table, &raw_data[0], SHT4X_WORD_LEN, CRC8_INIT_VALUE); in sht4x_read_values()
112 crc = crc8(sht4x_crc8_table, &raw_data[3], SHT4X_WORD_LEN, CRC8_INIT_VALUE); in sht4x_read_values()
Daht10.c155 return crc8(crc8_table, raw_data, count, CRC8_INIT_VALUE); in crc8_check()
/Linux-v6.6/drivers/crypto/intel/qat/qat_common/
Dadf_pfvf_utils.c21 return crc8(pfvf_crc8_table, buf, buf_len, CRC8_INIT_VALUE); in adf_pfvf_calc_blkmsg_crc()
/Linux-v6.6/drivers/iio/accel/
Dsca3300.c273 crc = ~crc8(sca3300_crc_table, &sca_data->txbuf[0], 3, CRC8_INIT_VALUE); in sca3300_transfer()
283 crc = ~crc8(sca3300_crc_table, &sca_data->rxbuf[0], 3, CRC8_INIT_VALUE); in sca3300_transfer()
/Linux-v6.6/drivers/input/keyboard/
Dpinephone-keyboard.c223 crc = crc8(ppkb->crc_table, &new_buf[1], PPKB_COLS, CRC8_INIT_VALUE); in ppkb_update()
/Linux-v6.6/drivers/net/ethernet/qlogic/qed/
Dqed_init_fw_funcs.c1612 CRC8_INIT_VALUE); in qed_calc_cdu_validation_byte()