Searched refs:MT6360_CRC_PREDATA_OFFSET (Results 1 – 1 of 1) sorted by relevance
73 #define MT6360_CRC_PREDATA_OFFSET (MT6360_CRC_I2C_ADDR_SIZE + MT6360_CRC_REG_ADDR_SIZE) macro434 buf + MT6360_CRC_PREDATA_OFFSET); in mt6360_regmap_read()441 crc = crc8(ddata->crc8_tbl, buf, val_size + MT6360_CRC_PREDATA_OFFSET, 0); in mt6360_regmap_read()442 if (crc != buf[val_size + MT6360_CRC_PREDATA_OFFSET]) in mt6360_regmap_read()446 memcpy(val, buf + MT6360_CRC_PREDATA_OFFSET, val_size); in mt6360_regmap_read()481 memcpy(buf + MT6360_CRC_PREDATA_OFFSET, val + MT6360_REGMAP_REG_BYTE_SIZE, write_size); in mt6360_regmap_write()489 buf + MT6360_CRC_PREDATA_OFFSET); in mt6360_regmap_write()