Lines Matching defs:clone
353 * Combination of instance number and clone number 0 is used for
401 int clone;
411 for (clone = 1; clone < DS1287_MAX_CLONE; clone++)
412 if (!softsp->clones[clone])
415 if (clone == DS1287_MAX_CLONE) {
417 "to clone a minor.");
422 *devp = makedevice(getmajor(*devp), (instance << 8) + clone);
423 softsp->clones[clone] = 1;
434 int clone;
443 clone = DS1287_MINOR_TO_CLONE(getminor(dev));
445 if (softsp->monitor_on == clone)
447 softsp->clones[clone] = 0;
459 int clone;
465 clone = DS1287_MINOR_TO_CLONE(getminor(dev));
474 softsp->monitor_on = clone;
493 * This clone is not monitoring the button.
495 if (softsp->monitor_on != clone) {