Lines Matching refs:raw_pos
274 off_t raw_pos; member
1410 while (cfg->raw_pos < cfg->raw_size) { in mxt_prepare_cfg_mem()
1412 ret = sscanf(cfg->raw + cfg->raw_pos, "%x %x %x%n", in mxt_prepare_cfg_mem()
1421 cfg->raw_pos += offset; in mxt_prepare_cfg_mem()
1427 ret = sscanf(cfg->raw + cfg->raw_pos, "%hhx%n", in mxt_prepare_cfg_mem()
1434 cfg->raw_pos += offset; in mxt_prepare_cfg_mem()
1469 ret = sscanf(cfg->raw + cfg->raw_pos, "%hhx%n", in mxt_prepare_cfg_mem()
1477 cfg->raw_pos += offset; in mxt_prepare_cfg_mem()
1570 cfg.raw_pos = strlen(MXT_CFG_MAGIC); in mxt_update_cfg()
1574 ret = sscanf(cfg.raw + cfg.raw_pos, "%hhx%n", in mxt_update_cfg()
1583 cfg.raw_pos += offset; in mxt_update_cfg()
1599 ret = sscanf(cfg.raw + cfg.raw_pos, "%x%n", &info_crc, &offset); in mxt_update_cfg()
1605 cfg.raw_pos += offset; in mxt_update_cfg()
1607 ret = sscanf(cfg.raw + cfg.raw_pos, "%x%n", &config_crc, &offset); in mxt_update_cfg()
1613 cfg.raw_pos += offset; in mxt_update_cfg()