/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/arm/ |
H A D | bast-ide.c | 30 ide_hwif_t **hwif) 48 ide_register_hw(&hw, 0, hwif); 29 bastide_register(unsigned int base, unsigned int aux, int irq, ide_hwif_t **hwif) argument
|
H A D | icside.c | 76 ide_hwif_t *hwif[2]; member in struct:icside_state 171 ide_hwif_t *hwif = HWIF(drive); local 172 struct icside_state *state = hwif->hwif_data; 177 state->channel = hwif->channel; 180 switch (hwif->channel) { 211 ide_hwif_t *hwif = drive->hwif; local 212 struct icside_state *state = hwif->hwif_data; 213 struct scatterlist *sg = hwif->sg_table; 218 hwif 328 ide_hwif_t *hwif = HWIF(drive); local 366 ide_hwif_t *hwif = HWIF(drive); local 382 ide_hwif_t *hwif = HWIF(drive); local 391 ide_hwif_t *hwif = HWIF(drive); local 442 ide_hwif_t *hwif = HWIF(drive); local 470 icside_dma_init(ide_hwif_t *hwif) argument 507 ide_hwif_t *hwif; local 531 ide_hwif_t *hwif; local 565 ide_hwif_t *hwif; local 600 ide_hwif_t *hwif, *mate; local [all...] |
H A D | rapide.c | 23 ide_hwif_t *hwif; local 27 hwif = ide_hwifs + index; 28 if (hwif->io_ports[IDE_DATA_OFFSET] == port) 33 hwif = ide_hwifs + index; 34 if (hwif->io_ports[IDE_DATA_OFFSET] == 0) 42 hwif->hw.io_ports[i] = port; 43 hwif->io_ports[i] = port; 46 hwif->hw.io_ports[IDE_CONTROL_OFFSET] = (unsigned long)ctrl; 47 hwif->io_ports[IDE_CONTROL_OFFSET] = (unsigned long)ctrl; 48 hwif 58 ide_hwif_t *hwif; local 91 ide_hwif_t *hwif = ecard_get_drvdata(ec); local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/cris/ |
H A D | ide-cris.c | 90 cris_ide_ack_intr(ide_hwif_t* hwif) argument 93 int, hwif->io_ports[0]); 341 cris_ide_ack_intr(ide_hwif_t* hwif) argument 794 ide_hwif_t *hwif = &ide_hwifs[h]; local 799 ide_register_hw(&hw, 1, &hwif); 800 hwif->mmio = 1; 801 hwif->chipset = ide_etrax100; 802 hwif->tuneproc = &tune_cris_ide; 803 hwif->speedproc = &speed_cris_ide; 804 hwif 929 ide_hwif_t *hwif = drive->hwif; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/h8300/ |
H A D | ide-h8300.c | 75 static inline void hwif_setup(ide_hwif_t *hwif) argument 77 default_hwif_iops(hwif); 79 hwif->mmio = 1; 80 hwif->OUTW = mm_outw; 81 hwif->OUTSW = mm_outsw; 82 hwif->INW = mm_inw; 83 hwif->INSW = mm_insw; 84 hwif->OUTSL = NULL; 85 hwif->INSL = NULL; 91 ide_hwif_t *hwif; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/ |
H A D | ide-acpi.c | 48 ide_hwif_t *hwif; member in struct:ide_acpi_hwif_link 132 * ide_acpi_hwif_get_handle - Get ACPI object handle for a given hwif 133 * @hwif: device to locate 135 * Retrieves the object handle for a given hwif. 139 static acpi_handle ide_acpi_hwif_get_handle(ide_hwif_t *hwif) argument 141 struct device *dev = hwif->gendev.parent; 147 DEBPRINT("ENTER: device %s\n", hwif->name); 150 DEBPRINT("no PCI device for %s\n", hwif->name); 162 /* channel is hwif->channel */ 163 chan_handle = acpi_get_child(dev_handle, hwif 181 ide_hwif_t *hwif = HWIF(drive); local 226 ide_hwif_t *hwif = HWIF(drive); local 481 ide_acpi_get_timing(ide_hwif_t *hwif) argument 570 ide_acpi_push_timing(ide_hwif_t *hwif) argument 625 ide_acpi_init(ide_hwif_t *hwif) argument [all...] |
H A D | ide-cd.c | 615 ide_hwif_t *hwif = drive->hwif; local 622 info->dma = !hwif->dma_setup(drive); 647 hwif->OUTBSYNC(drive, WIN_PACKETCMD, IDE_COMMAND_REG); 669 ide_hwif_t *hwif = drive->hwif; local 705 hwif->dma_start(drive);
|
H A D | ide-disk.c | 164 ide_hwif_t *hwif = HWIF(drive); local 172 if (hwif->no_lba48_dma && lba48 && dma) { 185 hwif->OUTB(drive->ctl, IDE_CONTROL_REG); 216 hwif->OUTB(tasklets[1], IDE_FEATURE_REG); 217 hwif->OUTB(tasklets[3], IDE_NSECTOR_REG); 218 hwif->OUTB(tasklets[7], IDE_SECTOR_REG); 219 hwif->OUTB(tasklets[8], IDE_LCYL_REG); 220 hwif->OUTB(tasklets[9], IDE_HCYL_REG); 222 hwif->OUTB(tasklets[0], IDE_FEATURE_REG); 223 hwif 307 ide_hwif_t *hwif = HWIF(drive); local 920 ide_hwif_t *hwif = HWIF(drive); local [all...] |
H A D | ide-dma.c | 205 ide_hwif_t *hwif = HWIF(drive); local 206 struct scatterlist *sg = hwif->sg_table; 213 hwif->sg_dma_direction = PCI_DMA_FROMDEVICE; 215 hwif->sg_dma_direction = PCI_DMA_TODEVICE; 217 return pci_map_sg(hwif->pci_dev, sg, hwif->sg_nents, hwif->sg_dma_direction); 238 ide_hwif_t *hwif = HWIF(drive); local 239 unsigned int *table = hwif->dmatable_cpu; 240 unsigned int is_trm290 = (hwif 394 ide_hwif_t *hwif = HWIF(drive); local 428 ide_hwif_t *hwif = HWIF(drive); local 483 ide_hwif_t *hwif = HWIF(drive); local 545 ide_hwif_t *hwif = drive->hwif; local 589 ide_hwif_t *hwif = HWIF(drive); local 608 ide_hwif_t *hwif = HWIF(drive); local 633 ide_hwif_t *hwif = HWIF(drive); local 678 ide_hwif_t *hwif = drive->hwif; local 721 ide_hwif_t *hwif = drive->hwif; local 772 ide_hwif_t *hwif = HWIF(drive); local 823 ide_hwif_t *hwif = drive->hwif; local 869 ide_release_dma_engine(ide_hwif_t *hwif) argument 881 ide_release_iomio_dma(ide_hwif_t *hwif) argument 892 ide_release_dma(ide_hwif_t *hwif) argument 902 ide_allocate_dma_engine(ide_hwif_t *hwif) argument 917 ide_mapped_mmio_dma(ide_hwif_t *hwif, unsigned long base, unsigned int ports) argument 930 ide_iomio_dma(ide_hwif_t *hwif, unsigned long base, unsigned int ports) argument 963 ide_dma_iobase(ide_hwif_t *hwif, unsigned long base, unsigned int ports) argument 974 ide_setup_dma(ide_hwif_t *hwif, unsigned long dma_base, unsigned int num_ports) argument [all...] |
H A D | ide-floppy.c | 525 drive->hwif->atapi_input_bytes(drive, data, count); 559 drive->hwif->atapi_output_bytes(drive, data, count); 950 ide_hwif_t *hwif = drive->hwif; local 1011 feature.b.dma = !hwif->dma_setup(drive); 1023 hwif->dma_start(drive);
|
H A D | ide-io.c | 78 HWGROUP(drive)->hwif->ide_dma_on(drive); 199 if (drive->hwif->tuneproc != NULL) 200 drive->hwif->tuneproc(drive, 255); 218 * Right now, all we do is call hwif->ide_dma_check(drive), 224 if (drive->hwif->ide_dma_check == NULL) 226 drive->hwif->dma_off_quietly(drive); 275 HWGROUP(drive)->hwif->ide_dma_on(drive); 368 ide_hwif_t *hwif = HWIF(drive); local 384 args[2] = hwif->INB(IDE_NSECTOR_REG); 394 args[2] = hwif 490 ide_hwif_t *hwif = drive->hwif; local 540 ide_hwif_t *hwif = drive->hwif; local 680 ide_hwif_t *hwif = HWIF(drive); local 701 ide_hwif_t *hwif = HWIF(drive); local 815 ide_hwif_t *hwif = drive->hwif; local 833 ide_hwif_t *hwif = drive->hwif; local 856 ide_hwif_t *hwif = HWIF(drive); local 1174 ide_hwif_t *hwif; local 1323 ide_hwif_t *hwif = HWIF(drive); local 1416 ide_hwif_t *hwif; local 1512 ide_hwif_t *hwif = hwgroup->hwif; local 1565 ide_hwif_t *hwif; local [all...] |
H A D | ide-iops.c | 82 void default_hwif_iops (ide_hwif_t *hwif) argument 84 hwif->OUTB = ide_outb; 85 hwif->OUTBSYNC = ide_outbsync; 86 hwif->OUTW = ide_outw; 87 hwif->OUTSW = ide_outsw; 88 hwif->OUTSL = ide_outsl; 89 hwif->INB = ide_inb; 90 hwif->INW = ide_inw; 91 hwif->INSW = ide_insw; 92 hwif 144 default_hwif_mmiops(ide_hwif_t *hwif) argument 217 ide_hwif_t *hwif = HWIF(drive); local 239 ide_hwif_t *hwif = HWIF(drive); local 266 ide_hwif_t *hwif = HWIF(drive); local 283 ide_hwif_t *hwif = HWIF(drive); local 298 default_hwif_transport(ide_hwif_t *hwif) argument 439 ide_hwif_t *hwif = HWIF(drive); local 476 ide_hwif_t *hwif = HWIF(drive); local 512 ide_hwif_t *hwif = HWIF(drive); local 569 ide_hwif_t *hwif = drive->hwif; local 664 ide_hwif_t *hwif = HWIF(drive); local 727 ide_hwif_t *hwif = HWIF(drive); local 893 ide_hwif_t *hwif = HWIF(drive); local 923 ide_hwif_t *hwif = HWIF(drive); local 960 ide_hwif_t *hwif = HWIF(drive); local 1085 ide_hwif_t *hwif; local 1179 ide_wait_not_busy(ide_hwif_t *hwif, unsigned long timeout) argument [all...] |
H A D | ide-lib.c | 75 ide_hwif_t *hwif = drive->hwif; local 76 u8 mask = hwif->ultra_mask, mode = XFER_MW_DMA_2; 78 if (hwif->udma_filter) 79 mask = hwif->udma_filter(drive); 405 ide_hwif_t *hwif = HWIF(drive); local 424 err = hwif->INB(IDE_ERROR_REG); 440 hwif->OUTB(drive->ctl|0x80, IDE_CONTROL_REG); 447 u8 cur = hwif->INB(IDE_SELECT_REG); 451 |(hwif [all...] |
H A D | ide-pnp.c | 33 ide_hwif_t *hwif; local 45 index = ide_register_hw(&hw, 1, &hwif); 49 pnp_set_drvdata(dev,hwif); 58 ide_hwif_t *hwif = pnp_get_drvdata(dev); local 59 if (hwif) { 60 ide_unregister(hwif->index);
|
H A D | ide-probe.c | 20 * Version 1.03 fix for (hwif->chipset == ide_4drives) 23 * Version 1.05 fix for (hwif->chipset == ide_pdc4030) 135 ide_hwif_t *hwif = HWIF(drive); local 141 hwif->ata_input_data(drive, id, SECTOR_WORDS); 276 ide_hwif_t *hwif = HWIF(drive); local 286 a = hwif->INB(IDE_ALTSTATUS_REG); 287 s = hwif->INB(IDE_STATUS_REG); 305 hwif->OUTB(0, IDE_FEATURE_REG); 308 hwif->OUTB(cmd, IDE_COMMAND_REG); 319 } while ((hwif 354 ide_hwif_t *hwif = HWIF(drive); local 426 ide_hwif_t *hwif = HWIF(drive); local 507 ide_hwif_t *hwif = HWIF(drive); local 618 ide_hwif_t *hwif = container_of(dev, ide_hwif_t, gendev); local 623 hwif_register(ide_hwif_t *hwif) argument 644 wait_hwif_ready(ide_hwif_t *hwif) argument 689 ide_undecoded_slave(ide_hwif_t *hwif) argument 721 probe_hwif(ide_hwif_t *hwif, void (*fixup)(ide_hwif_t *hwif)) argument 874 probe_hwif_init_with_fixup(ide_hwif_t *hwif, void (*fixup)(ide_hwif_t *hwif)) argument 905 probe_hwif_init(ide_hwif_t *hwif) argument 924 save_match(ide_hwif_t *hwif, ide_hwif_t *new, ide_hwif_t **match) argument 945 ide_hwif_t *hwif = HWIF(drive); local 1004 init_irq(ide_hwif_t *hwif) argument 1178 ide_hwif_t *hwif = data; local 1232 ide_hwif_t *hwif = drive->hwif; local 1291 init_gendisk(ide_hwif_t *hwif) argument 1306 THIS_MODULE, ata_probe, ata_lock, hwif); local 1309 hwif_init(ide_hwif_t *hwif) argument 1399 ide_hwif_t *hwif = &ide_hwifs[index]; local [all...] |
H A D | ide-proc.c | 47 ide_hwif_t *hwif = (ide_hwif_t *) data; local 54 switch (hwif->chipset) { 81 ide_hwif_t *hwif = (ide_hwif_t *) data; local 84 if (hwif && hwif->mate && hwif->mate->present) 85 len = sprintf(page, "%s\n", hwif->mate->name); 94 ide_hwif_t *hwif = (ide_hwif_t *) data; local 97 page[0] = hwif->channel ? '1' : '0'; 720 static void create_proc_ide_drives(ide_hwif_t *hwif) argument 744 destroy_proc_ide_device(ide_hwif_t *hwif, ide_drive_t *drive) argument 754 destroy_proc_ide_drives(ide_hwif_t *hwif) argument 772 ide_proc_register_port(ide_hwif_t *hwif) argument 800 ide_proc_unregister_port(ide_hwif_t *hwif) argument [all...] |
H A D | ide-tape.c | 1538 ide_hwif_t *hwif = drive->hwif; local 1655 bcount.b.high = hwif->INB(IDE_BCOUNTH_REG); 1656 bcount.b.low = hwif->INB(IDE_BCOUNTL_REG); 1658 ireason.all = hwif->INB(IDE_IREASON_REG); 1757 ide_hwif_t *hwif = drive->hwif; local 1768 ireason.all = hwif->INB(IDE_IREASON_REG); 1773 ireason.all = hwif->INB(IDE_IREASON_REG); 1791 hwif 1800 ide_hwif_t *hwif = drive->hwif; local [all...] |
H A D | ide-taskfile.c | 99 ide_hwif_t *hwif = HWIF(drive); local 107 hwif->OUTB(drive->ctl, IDE_CONTROL_REG); 112 hwif->OUTB(hobfile->feature, IDE_FEATURE_REG); 113 hwif->OUTB(hobfile->sector_count, IDE_NSECTOR_REG); 114 hwif->OUTB(hobfile->sector_number, IDE_SECTOR_REG); 115 hwif->OUTB(hobfile->low_cylinder, IDE_LCYL_REG); 116 hwif->OUTB(hobfile->high_cylinder, IDE_HCYL_REG); 119 hwif->OUTB(taskfile->feature, IDE_FEATURE_REG); 120 hwif->OUTB(taskfile->sector_count, IDE_NSECTOR_REG); 121 hwif 167 ide_hwif_t *hwif = HWIF(drive); local 185 ide_hwif_t *hwif = HWIF(drive); local 208 ide_hwif_t *hwif = HWIF(drive); local 222 ide_hwif_t *hwif = HWIF(drive); local 240 ide_hwif_t *hwif = HWIF(drive); local 264 ide_hwif_t *hwif = drive->hwif; local 337 ide_hwif_t *hwif = drive->hwif; local 394 ide_hwif_t *hwif = drive->hwif; local 430 ide_hwif_t *hwif = drive->hwif; local 773 ide_hwif_t *hwif = HWIF(drive); local [all...] |
H A D | ide.c | 103 * Version 6.20 Added/Fixed Generic ATA-66 support and hwif detection. 199 static void init_hwif_data(ide_hwif_t *hwif, unsigned int index) argument 203 /* bulk initialize hwif & drive info with zeros */ 204 memset(hwif, 0, sizeof(ide_hwif_t)); 207 hwif->index = index; 208 hwif->major = ide_hwif_to_major[index]; 210 hwif->name[0] = 'i'; 211 hwif->name[1] = 'd'; 212 hwif->name[2] = 'e'; 213 hwif 245 init_hwif_default(ide_hwif_t *hwif, unsigned int index) argument 268 ide_hwif_t *hwif; local 333 hwif_request_region(ide_hwif_t *hwif, unsigned long addr, int num) argument 354 ide_hwif_request_regions(ide_hwif_t *hwif) argument 403 ide_hwif_release_regions(ide_hwif_t *hwif) argument 429 ide_hwif_restore(ide_hwif_t *hwif, ide_hwif_t *tmp_hwif) argument 549 ide_hwif_t *hwif, *g; local 738 ide_register_hw_with_fixup(hw_regs_t *hw, int initializing, ide_hwif_t **hwifp, void(*fixup)(ide_hwif_t *hwif)) argument 743 ide_hwif_t *hwif; local 872 ide_hwif_t *hwif = drive->hwif; local 969 ide_hwif_t *hwif = HWIF(drive); local 995 ide_hwif_t *hwif = HWIF(drive); local 1298 ide_hwif_t *hwif; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/legacy/ |
H A D | ali14xx.c | 200 ide_hwif_t *hwif, *mate; local 211 hwif = &ide_hwifs[0]; 214 hwif->chipset = ide_ali14xx; 215 hwif->tuneproc = &ali14xx_tune_drive; 216 hwif->mate = mate; 220 mate->mate = hwif; 223 probe_hwif_init(hwif); 226 ide_proc_register_port(hwif);
|
H A D | buddha.c | 120 static int buddha_ack_intr(ide_hwif_t *hwif) argument 124 ch = z_readb(hwif->io_ports[IDE_IRQ_OFFSET]); 130 static int xsurf_ack_intr(ide_hwif_t *hwif) argument 134 ch = z_readb(hwif->io_ports[IDE_IRQ_OFFSET]); 136 z_writeb(0, hwif->io_ports[IDE_IRQ_OFFSET]); 149 ide_hwif_t *hwif; local 213 index = ide_register_hw(&hw, 1, &hwif); 215 hwif->mmio = 1;
|
H A D | dtc2278.c | 98 ide_hwif_t *hwif, *mate; local 100 hwif = &ide_hwifs[0]; 103 if (hwif->chipset != ide_unknown || mate->chipset != ide_unknown) 124 hwif->serialized = 1; 125 hwif->chipset = ide_dtc2278; 126 hwif->tuneproc = &tune_dtc2278; 127 hwif->drives[0].no_unmask = 1; 128 hwif->drives[1].no_unmask = 1; 129 hwif->mate = mate; 135 mate->mate = hwif; [all...] |
H A D | gayle.c | 87 static int gayle_ack_intr_a4000(ide_hwif_t *hwif) argument 91 ch = z_readb(hwif->io_ports[IDE_IRQ_OFFSET]); 97 static int gayle_ack_intr_a1200(ide_hwif_t *hwif) argument 101 ch = z_readb(hwif->io_ports[IDE_IRQ_OFFSET]); 104 (void)z_readb(hwif->io_ports[IDE_STATUS_OFFSET]); 105 z_writeb(0x7c, hwif->io_ports[IDE_IRQ_OFFSET]); 135 ide_hwif_t *hwif; local 165 index = ide_register_hw(&hw, 1, &hwif); 167 hwif->mmio = 1;
|
H A D | ht6560b.c | 312 ide_hwif_t *hwif, *mate; local 318 hwif = &ide_hwifs[0]; 321 if (!request_region(HT_CONFIG_PORT, 1, hwif->name)) { 332 hwif->chipset = ide_ht6560b; 333 hwif->selectproc = &ht6560b_selectproc; 334 hwif->tuneproc = &tune_ht6560b; 335 hwif->serialized = 1; /* is this needed? */ 336 hwif->mate = mate; 342 mate->mate = hwif; 350 hwif [all...] |
H A D | macide.c | 59 * Bit 5: IDE interrupt flag (any hwif) 60 * Bit 6: maybe IDE interrupt enable (any hwif) ?? 71 int macide_ack_intr(ide_hwif_t* hwif) argument 96 ide_hwif_t *hwif; local 105 index = ide_register_hw(&hw, 1, &hwif); 112 index = ide_register_hw(&hw, 1, &hwif); 119 index = ide_register_hw(&hw, 1, &hwif); 144 hwif->mmio = 1;
|