Searched refs:hwif (Results 51 - 75 of 77) sorted by relevance

1234

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-powerpc/
H A Dide.h72 #define ide_ack_intr(hwif) (hwif->hw.ack_intr ? hwif->hw.ack_intr(hwif) : 1)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/pci/
H A Dcs5535.c91 piob = ide_get_best_pio_mode(&(drive->hwif->drives[!unit]),
195 * @hwif: Channel descriptor
201 static void __devinit init_hwif_cs5535(ide_hwif_t *hwif) argument
205 hwif->autodma = 0;
207 hwif->tuneproc = &cs5535_tuneproc;
208 hwif->speedproc = &cs5535_set_drive;
209 hwif->ide_dma_check = &cs5535_dma_check;
211 hwif->atapi_dma = 1;
212 hwif->ultra_mask = 0x1F;
213 hwif
[all...]
H A Dgeneric.c57 static void __devinit init_hwif_generic (ide_hwif_t *hwif) argument
59 switch(hwif->pci_dev->device) {
63 hwif->irq = hwif->channel ? 15 : 14;
69 if (!(hwif->dma_base))
72 hwif->atapi_dma = 1;
73 hwif->ultra_mask = 0x7f;
74 hwif->mwdma_mask = 0x07;
75 hwif->swdma_mask = 0x07;
78 hwif
[all...]
H A Damd74xx.c417 static void __devinit init_hwif_amd74xx(ide_hwif_t *hwif) argument
421 if (hwif->irq == 0) /* 0 is bogus but will do for now */
422 hwif->irq = pci_get_legacy_ide_irq(hwif->pci_dev, hwif->channel);
424 hwif->autodma = 0;
426 hwif->tuneproc = &amd74xx_tune_drive;
427 hwif->speedproc = &amd_set_drive;
430 hwif->drives[i].io_32bit = 1;
431 hwif
[all...]
H A Dsis5513.c439 ide_hwif_t *hwif = HWIF(drive); local
440 struct pci_dev *dev = hwif->pci_dev;
456 ide_hwif_t *hwif = HWIF(drive); local
457 struct pci_dev *dev = hwif->pci_dev;
536 ide_hwif_t *hwif = HWIF(drive); local
537 struct pci_dev *dev = hwif->pci_dev;
799 static unsigned int __devinit ata66_sis5513 (ide_hwif_t *hwif) argument
805 u16 reg_addr = hwif->channel ? 0x52: 0x50;
806 pci_read_config_word(hwif->pci_dev, reg_addr, &regw);
810 u8 mask = hwif
817 init_hwif_sis5513(ide_hwif_t *hwif) argument
[all...]
H A Dcmd640.c421 ide_hwif_t *hwif = &ide_hwifs[i]; local
422 if (hwif->chipset == ide_unknown || hwif->chipset == ide_forced) {
423 if (hwif->io_ports[IDE_DATA_OFFSET] == 0x1f0)
424 cmd_hwif0 = hwif;
425 else if (hwif->io_ports[IDE_DATA_OFFSET] == 0x170)
426 cmd_hwif1 = hwif;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/legacy/
H A Dmacide.c59 * 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;
H A Dht6560b.c312 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 Dbuddha.c120 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 Dumc8672.c129 ide_hwif_t *hwif, *mate; local
148 hwif = &ide_hwifs[0];
151 hwif->chipset = ide_umc8672;
152 hwif->tuneproc = &tune_umc;
153 hwif->mate = mate;
157 mate->mate = hwif;
160 probe_hwif_init(hwif);
163 ide_proc_register_port(hwif);
H A Dali14xx.c200 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 Dq40ide.c105 * hwif->name unfortunately isn�t available yet
118 ide_hwif_t *hwif; local
145 index = ide_register_hw(&hw, 1, &hwif);
147 hwif->mmio = 1;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/
H A Dide-lib.c75 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 Dide-disk.c164 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 Dide-proc.c47 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 Dide-tape.c1538 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 Dide-floppy.c525 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);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/cris/
H A Dide-cris.c90 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/arm/
H A Dbast-ide.c30 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
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-m68k/
H A Dide.h140 #define ide_ack_intr(hwif) ((hwif)->hw.ack_intr ? (hwif)->hw.ack_intr(hwif) : 1)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dide.h83 #define HWIF(drive) ((ide_hwif_t *)((drive)->hwif))
305 # define ide_ack_intr(hwif) (1)
564 struct hwif_s *hwif; /* actually (ide_hwif_t *) */ member in struct:ide_drive_s
660 struct hwif_s *mate; /* other hwif from same PCI chip */
784 unsigned sharing_irq: 1; /* 1 = sharing irq with another hwif */
799 void *hwif_data; /* extra hwif data */
831 /* ptr to current hwif in linked-list */
832 ide_hwif_t *hwif; member in struct:hwgroup_s
939 static inline void ide_proc_register_port(ide_hwif_t *hwif) { ; } argument
940 static inline void ide_proc_unregister_port(ide_hwif_t *hwif) { ; } argument
1323 ide_acpi_get_timing(ide_hwif_t *hwif) argument
1324 ide_acpi_push_timing(ide_hwif_t *hwif) argument
1325 ide_acpi_init(ide_hwif_t *hwif) argument
1340 ide_get_hwifdata(ide_hwif_t * hwif) argument
1345 ide_set_hwifdata(ide_hwif_t * hwif, void *data) argument
1403 hwif_to_node(ide_hwif_t *hwif) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Dide-scsi.c190 drive->hwif->atapi_input_bytes(drive,
196 drive->hwif->atapi_input_bytes(drive,
225 drive->hwif->atapi_output_bytes(drive,
231 drive->hwif->atapi_output_bytes(drive,
548 drive->hwif->atapi_input_bytes(drive, pc->current_position, temp);
586 ide_hwif_t *hwif = drive->hwif; local
607 drive->hwif->atapi_output_bytes(drive, scsi->pc->c, 12);
610 hwif->dma_start(drive);
631 ide_hwif_t *hwif local
665 ide_hwif_t *hwif = drive->hwif; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/mach-au1x00/
H A Dau1xxx_ide.h70 ide_hwif_t *hwif; member in struct:__anon7800
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-mips/mach-au1x00/
H A Dau1xxx_ide.h70 ide_hwif_t *hwif; member in struct:__anon9171
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wan/
H A Dfarsync.c428 int hwif; /* Line hardware (lineInterface copy) */ member in struct:fst_port_info
1145 if (signals & (((port->hwif == X21) || (port->hwif == X21D))
1919 port->hwif = V35;
1924 port->hwif = V24;
1929 port->hwif = X21;
1934 port->hwif = X21D;
1939 port->hwif = T1;
1944 port->hwif = E1;
1981 switch (port->hwif) {
[all...]

Completed in 215 milliseconds

1234