/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/ide/ |
H A D | umc8672.c | 33 * in the beginning of the driver, which sets the speed of drive 0 to 11 (there 58 #define UMC_DRIVE0 1 /* DOS measured drive speeds */ 103 printk("umc8672: drive speeds [0 to 11]: %d %d %d %d\n", 107 static void umc_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 111 const u8 pio = drive->pio_mode - XFER_PIO_0; 114 drive->name, pio, pio_to_umc[pio]); 120 current_speeds[drive->name[2] - 'a'] = pio_to_umc[pio];
|
H A D | dtc2278.c | 71 static void dtc2278_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 75 if (drive->pio_mode >= XFER_PIO_3) {
|
H A D | ali14xx.c | 71 /* timing parameter registers for each drive */ 73 {0x03, 0x26, 0x04, 0x27}, /* drive 0 */ 74 {0x05, 0x28, 0x06, 0x29}, /* drive 1 */ 75 {0x2b, 0x30, 0x2c, 0x31}, /* drive 2 */ 76 {0x2d, 0x32, 0x2e, 0x33}, /* drive 3 */ 108 * Set PIO mode for the specified drive. 112 static void ali14xx_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 119 const u8 pio = drive->pio_mode - XFER_PIO_0; 123 time1 = ide_pio_cycle_time(drive, pio); 132 drive [all...] |
H A D | at91_ide.c | 143 static void at91_ide_input_data(ide_drive_t *drive, struct ide_cmd *cmd, argument 146 ide_hwif_t *hwif = drive->hwif; 160 static void at91_ide_output_data(ide_drive_t *drive, struct ide_cmd *cmd, argument 163 ide_hwif_t *hwif = drive->hwif; 175 static void at91_ide_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 180 const u8 pio = drive->pio_mode - XFER_PIO_0; 187 if (ide_pio_need_iordy(drive, pio))
|
H A D | via82cxxx.c | 173 * @drive: Drive to set up 179 static void via_set_drive(ide_hwif_t *hwif, ide_drive_t *drive) argument 181 ide_drive_t *peer = ide_get_pair_dev(drive); 187 const u8 speed = drive->dma_mode; 199 ide_timing_compute(drive, speed, &t, T, UT); 206 via_set_speed(hwif, drive->dn, &t); 212 * @drive: drive 217 static void via_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 219 drive [all...] |
H A D | jmicron.c | 83 static void jmicron_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 90 * @drive: drive 95 static void jmicron_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument
|
H A D | pdc202xx_new.c | 132 static void pdcnew_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 135 u8 adj = (drive->dn & 1) ? 0x08 : 0x00; 136 const u8 speed = drive->dma_mode; 139 * IDE core issues SETFEATURES_XFER to the drive first (thanks to 170 static void pdcnew_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 173 u8 adj = (drive->dn & 1) ? 0x08 : 0x00; 174 const u8 pio = drive->pio_mode - XFER_PIO_0; 191 static void pdcnew_reset(ide_drive_t *drive) argument 197 drive->hwif->channel ? "Secondary" : "Primary");
|
H A D | buddha.c | 112 static void xsurf_clear_irq(ide_drive_t *drive) argument 117 z_writeb(0, drive->hwif->io_ports.irq_addr);
|
H A D | gayle.c | 71 static void gayle_a1200_clear_irq(ide_drive_t *drive) argument 73 ide_hwif_t *hwif = drive->hwif;
|
H A D | ide-pci-generic.c | 36 static void netcell_quirkproc(ide_drive_t *drive) argument 39 drive->id[ATA_ID_CSF_DEFAULT] |= 0x4000;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/db-4.8.30/os_windows/ |
H A D | os_open.c | 29 _TCHAR *drive, dbuf[4]; /* <letter><colon><slash><nul> */ local 142 * we call GetDiskFreeSpace, which expects a drive name like "d:\\" 151 drive = dbuf; 154 drive = NULL; 160 if (GetDiskFreeSpace(drive, &cluster_size,
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/db-4.8.30/os_windows/ |
H A D | os_open.c | 29 _TCHAR *drive, dbuf[4]; /* <letter><colon><slash><nul> */ local 142 * we call GetDiskFreeSpace, which expects a drive name like "d:\\" 151 drive = dbuf; 154 drive = NULL; 160 if (GetDiskFreeSpace(drive, &cluster_size,
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/ide/ |
H A D | dtc2278.c | 71 static void dtc2278_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 75 if (drive->pio_mode >= XFER_PIO_3) {
|
H A D | ali14xx.c | 71 /* timing parameter registers for each drive */ 73 {0x03, 0x26, 0x04, 0x27}, /* drive 0 */ 74 {0x05, 0x28, 0x06, 0x29}, /* drive 1 */ 75 {0x2b, 0x30, 0x2c, 0x31}, /* drive 2 */ 76 {0x2d, 0x32, 0x2e, 0x33}, /* drive 3 */ 108 * Set PIO mode for the specified drive. 112 static void ali14xx_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 119 const u8 pio = drive->pio_mode - XFER_PIO_0; 123 time1 = ide_pio_cycle_time(drive, pio); 132 drive [all...] |
H A D | at91_ide.c | 143 static void at91_ide_input_data(ide_drive_t *drive, struct ide_cmd *cmd, argument 146 ide_hwif_t *hwif = drive->hwif; 160 static void at91_ide_output_data(ide_drive_t *drive, struct ide_cmd *cmd, argument 163 ide_hwif_t *hwif = drive->hwif; 175 static void at91_ide_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 180 const u8 pio = drive->pio_mode - XFER_PIO_0; 187 if (ide_pio_need_iordy(drive, pio))
|
H A D | via82cxxx.c | 173 * @drive: Drive to set up 179 static void via_set_drive(ide_hwif_t *hwif, ide_drive_t *drive) argument 181 ide_drive_t *peer = ide_get_pair_dev(drive); 187 const u8 speed = drive->dma_mode; 199 ide_timing_compute(drive, speed, &t, T, UT); 206 via_set_speed(hwif, drive->dn, &t); 212 * @drive: drive 217 static void via_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 219 drive [all...] |
H A D | jmicron.c | 83 static void jmicron_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 90 * @drive: drive 95 static void jmicron_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument
|
H A D | pdc202xx_new.c | 132 static void pdcnew_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 135 u8 adj = (drive->dn & 1) ? 0x08 : 0x00; 136 const u8 speed = drive->dma_mode; 139 * IDE core issues SETFEATURES_XFER to the drive first (thanks to 170 static void pdcnew_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 173 u8 adj = (drive->dn & 1) ? 0x08 : 0x00; 174 const u8 pio = drive->pio_mode - XFER_PIO_0; 191 static void pdcnew_reset(ide_drive_t *drive) argument 197 drive->hwif->channel ? "Secondary" : "Primary");
|
H A D | buddha.c | 112 static void xsurf_clear_irq(ide_drive_t *drive) argument 117 z_writeb(0, drive->hwif->io_ports.irq_addr);
|
H A D | gayle.c | 71 static void gayle_a1200_clear_irq(ide_drive_t *drive) argument 73 ide_hwif_t *hwif = drive->hwif;
|
H A D | ide-pci-generic.c | 36 static void netcell_quirkproc(ide_drive_t *drive) argument 39 drive->id[ATA_ID_CSF_DEFAULT] |= 0x4000;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/block/paride/ |
H A D | pg.c | 58 the corresponding drive. (required) 61 supports this drive. These numbers are 76 Set this to 0 to choose the master drive, 1 to 78 first drive found. 214 int drive; /* drive */ member in struct:pg 252 dev->drive = parm[D_SLV]; 276 return 0xa0+0x10*dev->drive; 451 printk("%s: %s %s, %s\n", dev->name, mf, id, ms[dev->drive]); 458 * returns 0, with id set if drive i [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/sparc/include/asm/ |
H A D | floppy_64.h | 19 * Define this to enable exchanging drive 0 and 1 if only drive 1 is 78 #define fd_eject(drive) sun_fdops.fd_eject(drive) 276 static int sun_fd_eject(int drive) argument 415 static int sun_pci_fd_eject(int drive) argument 486 static int sun_pci_fd_test_drive(unsigned long port, int drive) argument 494 data = (0x10 << drive) | 0x0c | drive; 498 sun_pci_fd_out_byte(port, drive [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/block/paride/ |
H A D | pg.c | 58 the corresponding drive. (required) 61 supports this drive. These numbers are 76 Set this to 0 to choose the master drive, 1 to 78 first drive found. 214 int drive; /* drive */ member in struct:pg 252 dev->drive = parm[D_SLV]; 276 return 0xa0+0x10*dev->drive; 451 printk("%s: %s %s, %s\n", dev->name, mf, id, ms[dev->drive]); 458 * returns 0, with id set if drive i [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/sparc/include/asm/ |
H A D | floppy_64.h | 19 * Define this to enable exchanging drive 0 and 1 if only drive 1 is 78 #define fd_eject(drive) sun_fdops.fd_eject(drive) 276 static int sun_fd_eject(int drive) argument 415 static int sun_pci_fd_eject(int drive) argument 486 static int sun_pci_fd_test_drive(unsigned long port, int drive) argument 494 data = (0x10 << drive) | 0x0c | drive; 498 sun_pci_fd_out_byte(port, drive [all...] |