Lines Matching defs:controller
293 int controller;
320 * Adjust the rnumbers based on which controller instance
321 * is requested; adjust for the 2 tuples per controller.
324 controller = 0;
326 controller = 1;
332 rnumber += (2 * controller);
370 * the child's controller #.
380 if (controller == 1) {
406 * controller is "ata@0" and the Secondary controller "ata@1".
442 * 2. primary controller (compatibility mode)
447 * 3. secondary controller
453 * to map primary or secondary controller rnumbers into mapping requests
473 * the controller number (0 or 1) from the 'reg' property.
482 * copy the controller number and
546 int controller;
552 controller = 0;
554 controller = 1;
557 * Adjust the rnumbers based on which controller instance
558 * is being mapped; adjust for the 2 tuples per controller.
564 mp->map_obj.rnumber += (controller * 2);
577 offset += 8 * controller;
872 * This is one of the places where controller specific setup needs to be
874 * At this point the controller was already pre-qualified as a known and
875 * supported pciide controller.
883 * for both controllers and the Bus Master DMA capabilitiy of the controller.
947 * primary controller (BAR 0)
948 * primary controller (BAR 1)
949 * secondary controller (BAR 2)
950 * secondary controller (BAR 3)
959 * each controller. There ends up being four possible