Searched refs:MT6360_CRC_PREDATA_OFFSET (Results 1 – 1 of 1) sorted by relevance
72 #define MT6360_CRC_PREDATA_OFFSET (MT6360_CRC_I2C_ADDR_SIZE + MT6360_CRC_REG_ADDR_SIZE) macro429 buf + MT6360_CRC_PREDATA_OFFSET); in mt6360_regmap_read()438 crc = crc8(ddata->crc8_tbl, buf, val_size + MT6360_CRC_PREDATA_OFFSET, 0); in mt6360_regmap_read()439 if (crc != buf[val_size + MT6360_CRC_PREDATA_OFFSET]) { in mt6360_regmap_read()445 memcpy(val, buf + MT6360_CRC_PREDATA_OFFSET, val_size); in mt6360_regmap_read()476 memcpy(buf + MT6360_CRC_PREDATA_OFFSET, val + MT6360_REGMAP_REG_BYTE_SIZE, write_size); in mt6360_regmap_write()484 buf + MT6360_CRC_PREDATA_OFFSET); in mt6360_regmap_write()