Searched refs:CRC8_INIT_VALUE (Results 1 – 12 of 12) sorted by relevance
/Linux-v6.6/drivers/iio/chemical/ |
D | scd30_i2c.c | 82 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()
|
D | sps30_i2c.c | 97 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()
|
D | scd4x.c | 163 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/ |
D | tps6594-spi.c | 44 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()
|
D | tps6594-i2c.c | 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() 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/ |
D | crc8.h | 22 #define CRC8_INIT_VALUE 0xFF macro
|
/Linux-v6.6/drivers/hwmon/ |
D | sht4x.c | 105 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()
|
D | aht10.c | 155 return crc8(crc8_table, raw_data, count, CRC8_INIT_VALUE); in crc8_check()
|
/Linux-v6.6/drivers/crypto/intel/qat/qat_common/ |
D | adf_pfvf_utils.c | 21 return crc8(pfvf_crc8_table, buf, buf_len, CRC8_INIT_VALUE); in adf_pfvf_calc_blkmsg_crc()
|
/Linux-v6.6/drivers/iio/accel/ |
D | sca3300.c | 273 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/ |
D | pinephone-keyboard.c | 223 crc = crc8(ppkb->crc_table, &new_buf[1], PPKB_COLS, CRC8_INIT_VALUE); in ppkb_update()
|
/Linux-v6.6/drivers/net/ethernet/qlogic/qed/ |
D | qed_init_fw_funcs.c | 1612 CRC8_INIT_VALUE); in qed_calc_cdu_validation_byte()
|