Searched refs:crc8 (Results 1 – 12 of 12) sorted by relevance
/drivers/w1/slaves/ |
D | w1_ds250x.c | 52 u8 crc8; in w1_ds2502_read_page() local 67 crc8 = w1_read_8(sl->master); in w1_ds2502_read_page() 68 if (w1_calc_crc8(buf, 3) != crc8) in w1_ds2502_read_page() 73 crc8 = w1_read_8(sl->master); in w1_ds2502_read_page() 74 if (w1_calc_crc8(&data->eprom[pgoff], W1_PAGE_SIZE) != crc8) in w1_ds2502_read_page()
|
/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.c | 110 buf[4] = crc8(sps30_crc8_table, &buf[2], 2, CRC8_INIT_VALUE); in sps30_do_cmd() 132 buf[4] = crc8(sps30_crc8_table, &buf[2], 2, CRC8_INIT_VALUE); in sps30_do_cmd() 135 buf[7] = crc8(sps30_crc8_table, &buf[5], 2, CRC8_INIT_VALUE); in sps30_do_cmd() 145 u8 crc = crc8(sps30_crc8_table, &buf[i], 2, CRC8_INIT_VALUE); in sps30_do_cmd()
|
D | sgp30.c | 85 u8 crc8; member 212 crc = crc8(sgp_crc8_table, &data_buf[i], SGP_WORD_LEN, in sgp_verify_buffer()
|
/drivers/hwmon/pmbus/ |
D | adm1266.c | 122 crc = crc8(pmbus_crc_table, &addr, 1, 0); in adm1266_pmbus_block_xfer() 123 crc = crc8(pmbus_crc_table, msgs[0].buf, msgs[0].len, crc); in adm1266_pmbus_block_xfer() 126 crc = crc8(pmbus_crc_table, &addr, 1, crc); in adm1266_pmbus_block_xfer() 127 crc = crc8(pmbus_crc_table, msgs[1].buf, msgs[1].buf[0] + 1, crc); in adm1266_pmbus_block_xfer()
|
/drivers/i2c/ |
D | i2c-core-smbus.c | 28 static u8 crc8(u16 data) in crc8() function 46 crc = crc8((crc ^ p[i]) << 8); in i2c_smbus_pec()
|
/drivers/gpio/ |
D | gpio-max3191x.c | 141 val = (status & 0xf8) != crc8(max3191x_crc8, &in, 1, 0); in max3191x_readout_locked()
|
/drivers/iio/pressure/ |
D | icp10100.c | 180 crc = crc8(icp10100_crc8_table, ptr, ICP10100_CRC8_WORD_LENGTH, in icp10100_send_cmd()
|
/drivers/hwmon/ |
D | sht3x.c | 369 *position = crc8(sht3x_crc8_table, in limit_store()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_type.h | 1390 u16 crc8; member
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_init_fw_funcs.c | 1409 crc = crc8(cdu_crc8_table, (u8 *)&data_to_crc, sizeof(data_to_crc), in qed_calc_cdu_validation_byte()
|
/drivers/net/ethernet/marvell/ |
D | mvneta.c | 2961 unsigned char crc8, in mvneta_set_other_mcast_addr() argument 2968 tbl_offset = (crc8 / 4) * 4; /* Register offset from OMC table base */ in mvneta_set_other_mcast_addr() 2969 reg_offset = crc8 % 4; /* Entry offset within the above reg */ in mvneta_set_other_mcast_addr()
|