Lines Matching defs:reg
1136 struct st_scanmode reg, *mode;
1144 while ((cfg_scanmode_get (dev->sensorcfg->type, a, ®) == OK)
1150 memcpy (mode, ®, sizeof (struct st_scanmode));
2030 struct st_scanmode *reg;
2034 reg = dev->scanmodes[a];
2035 if (reg != NULL)
2037 if ((reg->scantype == scantype) && (reg->colormode == colormode))
2038 rst = max (rst, reg->resolution); /* found ! */
2062 struct st_scanmode *reg;
2068 reg = dev->scanmodes[a];
2069 if (reg != NULL)
2071 if ((reg->scantype == scantype) && (reg->colormode == colormode))
2072 rst = min (rst, reg->resolution); /* found ! */
2098 struct st_scanmode *reg;
2105 reg = dev->scanmodes[a];
2106 if (reg != NULL)
2108 if ((reg->scantype == scantype) && (reg->colormode == colormode))
2110 if ((reg->resolution < rst) && (resolution <= reg->resolution))
2111 rst = reg->resolution;
2144 struct st_scanmode *reg;
2148 reg = dev->scanmodes[a];
2149 if (reg != NULL)
2151 if ((reg->scantype == scantype) && (reg->colormode == colormode)
2152 && (reg->resolution == resolution))
2314 struct st_timing reg, *tmg;
2323 while ((cfg_timing_get (dev->sensorcfg->type, a, ®) == OK)
2329 memcpy (tmg, ®, sizeof (struct st_timing));
2952 struct st_motormove reg, *mm;
2961 while ((cfg_motormove_get (dev->sensorcfg->type, a, ®) != ERROR)
2974 memcpy (mm, ®, sizeof (struct st_motormove));