Lines Matching refs:refcfg
10652 struct st_autoref refcfg;
10666 cfg_autoref_get (&refcfg);
10668 if (refcfg.type != REF_NONE)
10676 refcfg.type = REF_AUTODETECT;
10679 switch (refcfg.type)
10684 (dev, Regs, refcfg.resolution, refcfg.resolution, &x, &y) == OK)
10697 (dev, Regs, refcfg.resolution, refcfg.resolution, &x,
10710 /* values are based on resolution given by refcfg.resolution.
10715 x *= (2400 / refcfg.resolution);
10716 y *= (2400 / refcfg.resolution);
10720 scan.ser = ((x + refcfg.offset_x) * scancfg->resolution_x) / 2400;
10721 scan.ler = ((y + refcfg.offset_y) * scancfg->resolution_y) / 2400;
11453 struct st_autoref refcfg;
11576 refcfg.extern_boundary = 0;
11577 cfg_autoref_get (&refcfg);
11578 calibcfg->ExternBoundary = refcfg.extern_boundary * 0.01;