/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/pci/ |
H A D | it821x.c | 86 u16 udma[2]; /* Cached UDMA values (per drive) */ 107 * @drive: drive to tune 114 static void it821x_program(ide_drive_t *drive, u16 timing) argument 116 ide_hwif_t *hwif = drive->hwif; 131 * @drive: drive to tune 134 * Program the UDMA timing for this drive according to the 138 static void it821x_program_udma(ide_drive_t *drive, u16 timing) argument 140 ide_hwif_t *hwif = drive 167 it821x_clock_strategy(ide_drive_t *drive) argument 241 it821x_tunepio(ide_drive_t *drive, u8 set_pio) argument 277 it821x_tuneproc(ide_drive_t *drive, u8 pio) argument 294 it821x_tune_mwdma(ide_drive_t *drive, byte mode_wanted) argument 331 it821x_tune_udma(ide_drive_t *drive, byte mode_wanted) argument 363 it821x_dma_start(ide_drive_t *drive) argument 384 it821x_dma_end(ide_drive_t *drive) argument 406 it821x_tune_chipset(ide_drive_t *drive, byte xferspeed) argument 462 it821x_config_drive_for_dma(ide_drive_t *drive) argument 501 ide_drive_t *drive = &hwif->drives[i]; local 515 ide_drive_t *drive = &hwif->drives[i]; local [all...] |
H A D | trm290.c | 146 static void trm290_prepare_drive (ide_drive_t *drive, unsigned int use_dma) argument 148 ide_hwif_t *hwif = HWIF(drive); 165 if (drive->present) { 175 static void trm290_selectproc (ide_drive_t *drive) argument 177 trm290_prepare_drive(drive, drive->using_dma); 180 static void trm290_ide_dma_exec_cmd(ide_drive_t *drive, u8 command) argument 182 BUG_ON(HWGROUP(drive)->handler != NULL); /* paranoia check */ 183 ide_set_handler(drive, &ide_dma_intr, WAIT_CMD, NULL); 184 /* issue cmd to drive */ 188 trm290_ide_dma_setup(ide_drive_t *drive) argument 218 trm290_ide_dma_start(ide_drive_t *drive) argument 222 trm290_ide_dma_end(ide_drive_t *drive) argument 234 trm290_ide_dma_test_irq(ide_drive_t *drive) argument [all...] |
H A D | cy82c693.c | 185 static void cy82c693_dma_enable (ide_drive_t *drive, int mode, int single) argument 192 if (mode > drive->id->tDMA) /* to be absolutly sure we have a valid mode */ 193 mode = drive->id->tDMA; 195 index = (HWIF(drive)->channel==0) ? CY82_INDEX_CHANNEL0 : CY82_INDEX_CHANNEL1; 204 drive->name, HWIF(drive)->channel, drive->select.b.unit, 215 drive->name, HWIF(drive)->channel, drive 242 cy82c693_ide_dma_on(ide_drive_t *drive) argument 275 cy82c693_tune_drive(ide_drive_t *drive, u8 pio) argument [all...] |
H A D | cs5530.c | 34 * cs5530_xfer_set_mode - set a new transfer mode at the drive 35 * @drive: drive to tune 42 static int cs5530_set_xfer_mode (ide_drive_t *drive, u8 mode) argument 45 drive->name, ide_xfer_verbose(mode)); 46 return (ide_config_drive_speed(drive, mode)); 65 static void cs5530_tunepio(ide_drive_t *drive, u8 pio) argument 67 unsigned long basereg = CS5530_BASEREG(drive->hwif); 70 outl(cs5530_pio_timings[format][pio], basereg + ((drive->dn & 1)<<3)); 77 * for both the chipset and drive 83 cs5530_tuneproc(ide_drive_t *drive, u8 pio) argument 110 cs5530_udma_filter(ide_drive_t *drive) argument 138 cs5530_config_dma(ide_drive_t *drive) argument 146 cs5530_tune_chipset(ide_drive_t *drive, u8 mode) argument [all...] |
H A D | it8213.c | 58 * it8213_tuneproc - tune a drive 59 * @drive: drive to tune 65 static void it8213_tuneproc (ide_drive_t *drive, u8 pio) argument 67 ide_hwif_t *hwif = HWIF(drive); 69 int is_slave = drive->dn & 1; 85 pio = ide_get_best_pio_mode(drive, pio, 4, NULL); 92 if (drive->media != ide_disk) 118 * @drive: Drive to set up 126 static int it8213_tune_chipset (ide_drive_t *drive, u argument 210 it8213_config_drive_for_dma(ide_drive_t *drive) argument [all...] |
H A D | sgiioc4.c | 111 sgiioc4_maskproc(ide_drive_t * drive, int mask) argument 113 writeb(mask ? (drive->ctl | 2) : (drive->ctl & ~2), 133 sgiioc4_clearirq(ide_drive_t * drive) argument 136 ide_hwif_t *hwif = HWIF(drive); 172 __FUNCTION__, drive->name, pci_stat_cmd_reg); 175 __FUNCTION__, drive->name, 191 static void sgiioc4_ide_dma_start(ide_drive_t * drive) argument 193 ide_hwif_t *hwif = HWIF(drive); 219 sgiioc4_ide_dma_end(ide_drive_t * drive) argument 278 sgiioc4_ide_dma_on(ide_drive_t * drive) argument 285 sgiioc4_dma_off_quietly(ide_drive_t *drive) argument 292 sgiioc4_ide_dma_check(ide_drive_t *drive) argument 304 sgiioc4_ide_dma_test_irq(ide_drive_t * drive) argument 309 sgiioc4_dma_host_on(ide_drive_t * drive) argument 313 sgiioc4_dma_host_off(ide_drive_t * drive) argument 319 sgiioc4_ide_dma_lostirq(ide_drive_t * drive) argument 327 sgiioc4_resetproc(ide_drive_t * drive) argument 423 sgiioc4_configure_for_dma(int dma_direction, ide_drive_t * drive) argument 484 sgiioc4_build_dma_table(ide_drive_t * drive, struct request *rq, int ddir) argument 550 sgiioc4_ide_dma_setup(ide_drive_t *drive) argument [all...] |
H A D | pdc202xx_old.c | 66 static int pdc202xx_tune_chipset (ide_drive_t *drive, u8 xferspeed) argument 68 ide_hwif_t *hwif = HWIF(drive); 70 u8 drive_pci = 0x60 + (drive->dn << 2); 71 u8 speed = ide_rate_filter(drive, xferspeed); 118 if (drive->id->capability & 4) 120 if (drive->media == ide_disk) 136 printk(KERN_DEBUG "%s: %s drive%d 0x%08x ", 137 drive->name, ide_xfer_verbose(speed), 138 drive->dn, drive_conf); 143 return ide_config_drive_speed(drive, spee 146 pdc202xx_tune_drive(ide_drive_t *drive, u8 pio) argument 175 pdc202xx_config_drive_xfer_rate(ide_drive_t *drive) argument 188 pdc202xx_quirkproc(ide_drive_t *drive) argument 198 pdc202xx_old_ide_dma_start(ide_drive_t *drive) argument 220 pdc202xx_old_ide_dma_end(ide_drive_t *drive) argument 237 pdc202xx_old_ide_dma_test_irq(ide_drive_t *drive) argument 261 pdc202xx_ide_dma_lostirq(ide_drive_t *drive) argument 268 pdc202xx_ide_dma_timeout(ide_drive_t *drive) argument 289 pdc202xx_reset(ide_drive_t *drive) argument [all...] |
H A D | ns87415.c | 105 * This routine either enables/disables (according to drive->present) 106 * the IRQ associated with the port (HWIF(drive)), 109 static void ns87415_prepare_drive (ide_drive_t *drive, unsigned int use_dma) argument 111 ide_hwif_t *hwif = HWIF(drive); 121 new = drive->present ? (new & ~bit) : (new | bit); 123 /* Select PIO or DMA, DMA may only be selected for one drive/channel. */ 124 bit = 1 << (20 + drive->select.b.unit + (hwif->channel << 1)); 125 other = 1 << (20 + (1 - drive->select.b.unit) + (hwif->channel << 1)); 153 static void ns87415_selectproc (ide_drive_t *drive) argument 155 ns87415_prepare_drive (drive, driv 158 ns87415_ide_dma_end(ide_drive_t *drive) argument 178 ns87415_ide_dma_setup(ide_drive_t *drive) argument 189 ns87415_ide_dma_check(ide_drive_t *drive) argument [all...] |
H A D | hpt34x.c | 46 static int hpt34x_tune_chipset (ide_drive_t *drive, u8 xferspeed) argument 48 struct pci_dev *dev = HWIF(drive)->pci_dev; 49 u8 speed = ide_rate_filter(drive, xferspeed); 65 tmp1 = ((lo_speed << (3*drive->dn)) | (reg1 & ~(7 << (3*drive->dn)))); 66 tmp2 = ((hi_speed << drive->dn) | (reg2 & ~(0x11 << drive->dn))); 71 printk("%s: %s drive%d (0x%04x 0x%04x) (0x%04x 0x%04x)" \ 73 drive->name, ide_xfer_verbose(speed), 74 drive 81 hpt34x_tune_drive(ide_drive_t *drive, u8 pio) argument 87 hpt34x_config_drive_xfer_rate(ide_drive_t *drive) argument [all...] |
H A D | cmd64x.c | 179 static void program_cycle_times (ide_drive_t *drive, int cycle_time, int active_time) argument 181 struct pci_dev *dev = HWIF(drive)->pci_dev; 217 (void) pci_write_config_byte(dev, drwtim_regs[drive->dn], drwtim); 218 cmdprintk("Write 0x%02x to reg 0x%x\n", drwtim, drwtim_regs[drive->dn]); 222 * This routine selects drive's best PIO mode and writes into the chipset 225 static u8 cmd64x_tune_pio (ide_drive_t *drive, u8 mode_wanted) argument 227 ide_hwif_t *hwif = HWIF(drive); 233 pio_mode = ide_get_best_pio_mode(drive, mode_wanted, 5, &pio); 236 drive->name, mode_wanted, pio_mode, pio.cycle_time, 239 program_cycle_times(drive, pi 282 cmd64x_tune_drive(ide_drive_t *drive, u8 pio) argument 295 cmd64x_tune_chipset(ide_drive_t *drive, u8 speed) argument 355 cmd64x_config_drive_for_dma(ide_drive_t *drive) argument 366 cmd648_ide_dma_end(ide_drive_t *drive) argument 380 cmd64x_ide_dma_end(ide_drive_t *drive) argument 397 cmd648_ide_dma_test_irq(ide_drive_t *drive) argument 419 cmd64x_ide_dma_test_irq(ide_drive_t *drive) argument 450 cmd646_1_ide_dma_end(ide_drive_t *drive) argument [all...] |
H A D | cs5535.c | 72 * @drive: Drive to set up 77 static void cs5535_set_speed(ide_drive_t *drive, u8 speed) argument 81 int unit = drive->select.b.unit; 91 piob = ide_get_best_pio_mode(&(drive->hwif->drives[!unit]), 95 /* Write the speed of the current drive */ 100 /* And if nessesary - change the speed of the other drive */ 131 * cs5535_set_drive - Configure the drive to the new speed 132 * @drive: Drive to set up 135 * cs5535_set_drive() configures the drive and the chipset to a 138 static int cs5535_set_drive(ide_drive_t *drive, u argument 154 cs5535_tuneproc(ide_drive_t *drive, u8 xferspeed) argument 167 cs5535_dma_check(ide_drive_t *drive) argument [all...] |
H A D | aec62xx.c | 90 static int aec6210_tune_chipset (ide_drive_t *drive, u8 xferspeed) argument 92 ide_hwif_t *hwif = HWIF(drive); 95 u8 speed = ide_rate_filter(drive, xferspeed); 101 /* 0x40|(2*drive->dn): Active, 0x41|(2*drive->dn): Recovery */ 102 pci_read_config_word(dev, 0x40|(2*drive->dn), &d_conf); 105 pci_write_config_word(dev, 0x40|(2*drive->dn), d_conf); 110 tmp1 = ((0x00 << (2*drive->dn)) | (ultra & ~(3 << (2*drive->dn)))); 112 tmp2 = ((ultra_conf << (2*drive 118 aec6260_tune_chipset(ide_drive_t *drive, u8 xferspeed) argument 143 aec62xx_tune_chipset(ide_drive_t *drive, u8 speed) argument 158 aec62xx_tune_drive(ide_drive_t *drive, u8 pio) argument 164 aec62xx_config_drive_xfer_rate(ide_drive_t *drive) argument 175 aec62xx_irq_timeout(ide_drive_t *drive) argument [all...] |
H A D | cs5520.c | 6 * typical IDE controllers they do bus mastering with the drive in 10 * drive for the right PIO mode. We must also ignore all the blacklists 11 * and the drive bus mastering DMA information. 69 static int cs5520_tune_chipset(ide_drive_t *drive, u8 xferspeed) argument 71 ide_hwif_t *hwif = HWIF(drive); 76 int controller = drive->dn > 1 ? 1 : 0; 104 pci_write_config_byte(pdev, 0x64 + 4*controller + (drive->dn&1), 108 pci_write_config_byte(pdev, 0x66 + 4*controller + (drive->dn&1), 114 reg |= 1<<((drive->dn&1)+5); 117 error = ide_config_drive_speed(drive, spee 125 cs5520_tune_drive(ide_drive_t *drive, u8 pio) argument 131 cs5520_config_drive_xfer_rate(ide_drive_t *drive) argument 158 cs5520_dma_on(ide_drive_t *drive) argument [all...] |
H A D | jmicron.c | 85 static void jmicron_tuneproc (ide_drive_t *drive, byte mode_wanted) argument 91 * config_jmicron_chipset_for_pio - set drive timings 92 * @drive: drive to tune 97 static void config_jmicron_chipset_for_pio (ide_drive_t *drive, byte set_speed) argument 99 u8 speed = XFER_PIO_0 + ide_get_best_pio_mode(drive, 255, 5, NULL); 101 (void) ide_config_drive_speed(drive, speed); 106 * @drive: Drive to set up 114 static int jmicron_tune_chipset (ide_drive_t *drive, byte xferspeed) argument 116 u8 speed = ide_rate_filter(drive, xferspee 129 jmicron_config_drive_for_dma(ide_drive_t *drive) argument [all...] |
H A D | serverworks.c | 61 static int check_in_drive_lists (ide_drive_t *drive, const char **list) argument 64 if (!strcmp(*list++, drive->id->model)) 69 static u8 svwks_udma_filter(ide_drive_t *drive) argument 71 struct pci_dev *dev = HWIF(drive)->pci_dev; 87 if(drive->media == ide_disk) 100 if (mode > 2 && check_in_drive_lists(drive, svwks_bad_ata100)) 130 static int svwks_tune_chipset (ide_drive_t *drive, u8 xferspeed) argument 138 ide_hwif_t *hwif = HWIF(drive); 140 u8 speed = ide_rate_filter(drive, xferspeed); 141 u8 pio = ide_get_best_pio_mode(drive, 25 286 svwks_tune_drive(ide_drive_t *drive, u8 pio) argument 292 svwks_config_drive_xfer_rate(ide_drive_t *drive) argument [all...] |
H A D | piix.c | 20 * | PIO 0 | c0 | 80 | 0 | piix_tune_drive(drive, 0); 21 * | PIO 2 | SW2 | d0 | 90 | 4 | piix_tune_drive(drive, 2); 22 * | PIO 3 | MW1 | e1 | a1 | 9 | piix_tune_drive(drive, 3); 23 * | PIO 4 | MW2 | e3 | a3 | b | piix_tune_drive(drive, 4); 48 * 54 8421|8421 ata66 drive|ata66 enable 50 * pci_read_config_word(HWIF(drive)->pci_dev, 0x40, ®40); 51 * pci_read_config_word(HWIF(drive)->pci_dev, 0x42, ®42); 52 * pci_read_config_word(HWIF(drive)->pci_dev, 0x44, ®44); 53 * pci_read_config_byte(HWIF(drive)->pci_dev, 0x48, ®48); 54 * pci_read_config_word(HWIF(drive) 152 piix_tune_pio(ide_drive_t *drive, u8 pio) argument 220 piix_tune_drive(ide_drive_t *drive, u8 pio) argument 237 piix_tune_chipset(ide_drive_t *drive, u8 xferspeed) argument 314 piix_config_drive_xfer_rate(ide_drive_t *drive) argument 386 piix_dma_clear_irq(ide_drive_t *drive) argument [all...] |
H A D | opti621.c | 32 * with the third, 1GB drive: I got 3MB/s (hdparm), but sometimes 34 * not this drive now, so I can't try it again. 51 * got only one drive to set, but have to set both drives. 53 * the second drive, compute_pios use ide_get_best_pio_mode 55 * If you then set the second drive to another PIO, the old value 107 /* In fact, I do not have any PIO 4 drive 120 * and till reset drive is inaccessible. 121 * This (hw) read prefetch is safe on my drive. 140 static void compute_pios(ide_drive_t *drive, u8 pio) argument 141 /* Store values into drive 244 opti621_tune_drive(ide_drive_t *drive, u8 pio) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/legacy/ |
H A D | ht6560b.c | 111 * Active Time for each drive. Smaller value gives higher speed. 125 * This routine is invoked from ide.c to prepare for access to a given drive. 127 static void ht6560b_selectproc (ide_drive_t *drive) argument 136 select = HT_CONFIG(drive); 137 timing = HT_TIMING(drive); 142 if (drive->media != ide_disk || !drive->present) 150 * Set timing for this drive: 156 drive->name, select, timing); 202 static u8 ht_pio2timings(ide_drive_t *drive, u argument 252 ht_set_prefetch(ide_drive_t *drive, u8 state) argument 278 tune_ht6560b(ide_drive_t *drive, u8 pio) argument [all...] |
H A D | qd65xx.h | 37 #define QD_TIMING(drive) (byte)(((drive)->drive_data) & 0x00ff) 38 #define QD_TIMREG(drive) (byte)((((drive)->drive_data) & 0xff00) >> 8)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/acorn/block/ |
H A D | fd1772.c | 12 * - Disk change detection and drive deselecting after motor-off 15 * don't have an HD drive :-( 20 * - Removed drive type (unknown on atari) 45 * - Sometimes the drive-change-detection stops to work. The 95 * (PC gets 14.3K/sec - 0% CPU!) Hmm - hard drive corrupt! 189 { "D360", 9, 720, 1 }, /* 360kb in 720kb drive */ 208 int connected; /* !=0 : drive is connected */ 262 #define IS_BUFFERED(drive,side,track) \ 263 (BufferDrive == (drive) && BufferSide == (side) && BufferTrack == (track)) 292 #define RECALIBRATE_ERRORS 4 /* After this many errors the drive 402 fd_select_drive(int drive) argument 496 static int drive = 0; local 619 do_fd_action(int drive) argument 1136 unsigned int drive = p - unit; local 1158 unsigned int drive = p - unit; local 1174 setup_req_params(int drive) argument 1195 int drive, type; local 1323 fd_probe(int drive) argument 1347 fd_test_drive_present(int drive) argument 1410 int drive, cnt = 0; local 1449 int drive = iminor(inode) & 3; local 1484 int drive = iminor(inode) & 3; local 1507 int drive = *part & 3; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/arm/ |
H A D | icside.c | 167 * we write the command to the drive. 169 static void icside_maskproc(ide_drive_t *drive, int mask) argument 171 ide_hwif_t *hwif = HWIF(drive); 204 * one drive can be accessed at one time. NOTE! We do not enforce that 209 static void icside_build_sglist(ide_drive_t *drive, struct request *rq) argument 211 ide_hwif_t *hwif = drive->hwif; 215 ide_map_sg(drive, rq); 230 * MW DMA specs that the drive provides in the IDENTIFY command. 251 static int icside_set_speed(ide_drive_t *drive, u8 xfer_mode) argument 287 if (use_dma_info && drive 305 icside_dma_host_off(ide_drive_t *drive) argument 309 icside_dma_off_quietly(ide_drive_t *drive) argument 314 icside_dma_host_on(ide_drive_t *drive) argument 318 icside_dma_on(ide_drive_t *drive) argument 325 icside_dma_check(ide_drive_t *drive) argument 364 icside_dma_end(ide_drive_t *drive) argument 380 icside_dma_start(ide_drive_t *drive) argument 389 icside_dma_setup(ide_drive_t *drive) argument 434 icside_dma_exec_cmd(ide_drive_t *drive, u8 cmd) argument 440 icside_dma_test_irq(ide_drive_t *drive) argument 451 icside_dma_timeout(ide_drive_t *drive) argument 464 icside_dma_lostirq(ide_drive_t *drive) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/ |
H A D | ide-acpi.c | 42 ide_drive_t *drive; member in struct:ide_acpi_drive_link 161 * + _their_ children == drive objects */ 171 * ide_acpi_drive_get_handle - Get ACPI object handle for a given drive 172 * @drive: device to locate 174 * Retrieves the object handle of a given drive. According to the ACPI 175 * spec the drive is a child of the hwif. 179 static acpi_handle ide_acpi_drive_get_handle(ide_drive_t *drive) argument 181 ide_hwif_t *hwif = HWIF(drive); 191 port = hwif->channel ? drive->dn - 2: drive 219 do_drive_get_GTF(ide_drive_t *drive, unsigned int *gtf_length, unsigned long *gtf_address, unsigned long *obj_loc) argument 340 taskfile_load_raw(ide_drive_t *drive, const struct taskfile_array *gtf) argument 387 do_drive_set_taskfiles(ide_drive_t *drive, unsigned int gtf_length, unsigned long gtf_address) argument 442 ide_acpi_exec_tfs(ide_drive_t *drive) argument 689 ide_drive_t *drive = &hwif->drives[unit]; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/ |
H A D | xd.h | 28 #define CMD_TESTREADY 0x00 /* test drive ready */ 29 #define CMD_RECALIBRATE 0x01 /* recalibrate drive */ 31 #define CMD_FORMATDRV 0x04 /* format drive */ 40 #define CMD_DTCSETPARAM 0x0C /* set drive parameters (DTC 5150X & CX only?) */ 45 #define CMD_DTCGETPARAM 0xFB /* get drive parameters (DTC 5150X only?) */ 50 #define CMD_WDSETPARAM 0x0C /* set drive parameters (WD 1004A27X only?) */ 51 #define CMD_XBSETPARAM 0x0C /* set drive parameters (XEBEC only?) */ 97 void (*init_drive)(u_char drive); 105 static u_char xd_initdrives (void (*init_drive)(u_char drive)); 110 static void xd_recalibrate (u_char drive); [all...] |
H A D | ataflop.c | 11 * - Disk change detection and drive deselecting after motor-off 14 * don't have an HD drive :-( 19 * - Removed drive type (unknown on atari) 42 * - Let user set max. supported drive type (speeds up format 95 { "D360", 9, 720, 0, 1}, /* 1: 360kb in 720k or 1.2MB drive */ 96 { "D720", 9,1440, 0, 0}, /* 2: 720kb in 720k or 1.2MB drive */ 193 * MSch: User-provided type information. 'drive' points to 199 * User-provided permanent type information. 'drive' points to 208 int connected; /* !=0 : drive is connected */ 224 #define UD unit[drive] 512 static int drive = 0; local 638 do_format(int drive, int type, struct atari_format_descr *desc) argument 1328 unsigned int drive = p - unit; local 1350 unsigned int drive = p - unit; local 1396 int drive, type; local 1491 int drive = floppy - unit; local 1766 int drive, cnt = 0; local 1869 int drive = *part & 3; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/ppc/ |
H A D | pmac.c | 413 static int pmac_ide_build_dmatable(ide_drive_t *drive, struct request *rq); 414 static int pmac_ide_tune_chipset(ide_drive_t *drive, u8 speed); 415 static void pmac_ide_tuneproc(ide_drive_t *drive, u8 pio); 416 static void pmac_ide_selectproc(ide_drive_t *drive); 417 static void pmac_ide_kauai_selectproc(ide_drive_t *drive); 465 pmac_ide_selectproc(ide_drive_t *drive) argument 467 pmac_ide_hwif_t* pmif = (pmac_ide_hwif_t *)HWIF(drive)->hwif_data; 472 if (drive->select.b.unit & 0x01) 485 pmac_ide_kauai_selectproc(ide_drive_t *drive) argument 487 pmac_ide_hwif_t* pmif = (pmac_ide_hwif_t *)HWIF(drive) 506 pmac_ide_do_update_timings(ide_drive_t *drive) argument 522 pmac_outbsync(ide_drive_t *drive, u8 value, unsigned long port) argument 539 pmac_ide_do_setfeature(ide_drive_t *drive, u8 command) argument 616 pmac_ide_tuneproc(ide_drive_t *drive, u8 pio) argument 775 set_timings_mdma(ide_drive_t *drive, int intf_type, u32 *timings, u32 *timings2, u8 speed, int drive_cycle_time) argument 920 pmac_ide_tune_chipset(ide_drive_t *drive, byte speed) argument 1586 pmac_ide_build_dmatable(ide_drive_t *drive, struct request *rq) argument 1670 pmac_ide_destroy_dmatable(ide_drive_t *drive) argument 1687 pmac_ide_mdma_enable(ide_drive_t *drive, u16 mode) argument 1744 pmac_ide_udma_enable(ide_drive_t *drive, u16 mode) argument 1800 pmac_ide_dma_check(ide_drive_t *drive) argument 1852 pmac_ide_dma_setup(ide_drive_t *drive) argument 1882 pmac_ide_dma_exec_cmd(ide_drive_t *drive, u8 command) argument 1893 pmac_ide_dma_start(ide_drive_t *drive) argument 1909 pmac_ide_dma_end(ide_drive_t *drive) argument 1937 pmac_ide_dma_test_irq(ide_drive_t *drive) argument 1992 pmac_ide_dma_host_off(ide_drive_t *drive) argument 1996 pmac_ide_dma_host_on(ide_drive_t *drive) argument 2001 pmac_ide_dma_lostirq(ide_drive_t *drive) argument [all...] |