Lines Matching refs:byte_offset
1370 unsigned int type, instance, size, byte_offset; in mxt_prepare_cfg_mem() local
1449 byte_offset = reg + i - cfg->start_ofs; in mxt_prepare_cfg_mem()
1451 if (byte_offset >= 0 && byte_offset < cfg->mem_size) { in mxt_prepare_cfg_mem()
1452 *(cfg->mem + byte_offset) = val; in mxt_prepare_cfg_mem()
1455 reg, object->type, byte_offset); in mxt_prepare_cfg_mem()
1466 unsigned int byte_offset = 0; in mxt_upload_cfg_mem() local
1470 while (byte_offset < cfg->mem_size) { in mxt_upload_cfg_mem()
1471 unsigned int size = cfg->mem_size - byte_offset; in mxt_upload_cfg_mem()
1477 cfg->start_ofs + byte_offset, in mxt_upload_cfg_mem()
1478 size, cfg->mem + byte_offset); in mxt_upload_cfg_mem()
1485 byte_offset += size; in mxt_upload_cfg_mem()