• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/sim/ppc/

Lines Matching refs:ide

32    ide - Integrated Disk Electronics
38 This device models the primary/secondary <<ide>> controller
42 <<ide>> bus.
55 If present, this specifies the time that the <<ide>> device takes
59 disk@?/ide-byte-count = <integer> (optional)
61 disk@?/ide-sector-count = <integer> (optional)
63 disk@?/ide-head-count = <integer> (optional)
65 The <<ide>> device checks each child (disk device) node to see if
75 | -t ide-device \
78 Attach the <<ide>> device to the <<pci>> bus at slot one. Specify
81 | -o '/phb/ide@1/assigned-addresses \
87 | -o '/phb@0x80000000/ide@1/reg \
102 <<ide>> controller.
104 | -o '/phb@0x80000000/ide@1/disk@0/file "zero' \
105 | -o '/phb@0x80000000/ide@1/cdrom@2/file "/dev/cdrom"' \
112 | -o '/phb@0x80000000/ide@1 > a 0 /phb@0x80000000/glue@2' \
113 | -o '/phb@0x80000000/ide@1 > b 1 /phb@0x80000000/glue@2'
126 <<ide>> controller. I've chosen to use integers with devices zero
249 DTRACE(ide, ("controller %d - interrupt set\n", controller->nr));
261 DTRACE(ide, ("controller %d - interrupt clear\n", controller->nr));
326 DTRACE(ide, ("controller %d:%d - reading %d byte block at 0x%x\n",
368 DTRACE(ide, ("controller %d:%d - writing %d byte block at 0x%x\n",
453 DTRACE(ide, ("controller %ld:%ld - transfer (%s) %ld blocks of %ld bytes from 0x%lx\n",
593 DTRACE(ide, ("controller %d command register block at %d:0x%lx..0x%lx\n",
609 DTRACE(ide, ("controller %d control register block at %d:0x%lx..0x%lx\n",
624 DTRACE(ide, ("controller %d dma register block at %d:0x%lx..0x%lx\n",
634 DTRACE(ide, ("controller %d dma register block at %d:0x%lx..0x%lx\n",
658 hw_ide_device *ide = device_data(me);
664 memset(&ide->controller[controller], 0, sizeof(ide_controller));
666 ide->controller[controller].drive[drive].nr = drive;
668 ide->controller[controller].me = me;
670 ide->controller[controller].ready_delay =
678 build_address_decoder(me, &ide->decoder);
692 hw_ide_device *ide = (hw_ide_device*)device_data(me);
701 controller = &ide->controller[controller_nr];
704 if (device_find_property(client, "ide-byte-count") != NULL)
705 drive->geometry.byte = device_find_integer_property(client, "ide-byte-count");
708 if (device_find_property(client, "ide-sector-count") != NULL)
709 drive->geometry.sector = device_find_integer_property(client, "ide-sector-count");
710 if (device_find_property(client, "ide-head-count") != NULL)
711 drive->geometry.head = device_find_integer_property(client, "ide-head-count");
713 DTRACE(ide, ("controller %d:%d %s byte-count %d, sector-count %d, head-count %d\n",
732 hw_ide_device *ide = (hw_ide_device *)device_data(me);
738 decode_address(me, &ide->decoder, space, addr, &control_nr, &reg, is_read);
739 controller = & ide->controller[control_nr];
786 hw_ide_device *ide = (hw_ide_device *)device_data(me);
792 decode_address(me, &ide->decoder, space, addr, &control_nr, &reg, is_write);
793 controller = &ide->controller[control_nr];
859 hw_ide_device *ide = ZALLOC(hw_ide_device);
860 return ide;
865 { "ide", hw_ide_create, &hw_ide_callbacks },