Searched refs:drive (Results 76 - 100 of 118) sorted by relevance

12345

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/pci/
H A Dsis5513.c436 /* Enables per-drive prefetch and postwrite */
437 static void config_drive_art_rwp (ide_drive_t *drive) argument
439 ide_hwif_t *hwif = HWIF(drive);
443 u8 rw_prefetch = (0x11 << drive->dn);
445 if (drive->media != ide_disk)
453 /* Set per-drive active and recovery time */
454 static void config_art_rwp_pio (ide_drive_t *drive, u8 pio) argument
456 ide_hwif_t *hwif = HWIF(drive);
461 config_drive_art_rwp(drive);
463 /* In pre ATA_133 case, drives sit at 0x40 + 4*drive
522 sis5513_tune_drive(ide_drive_t *drive, u8 pio) argument
529 sis5513_tuneproc(ide_drive_t *drive, u8 pio) argument
534 sis5513_tune_chipset(ide_drive_t *drive, u8 xferspeed) argument
625 sis5513_config_xfer_rate(ide_drive_t *drive) argument
[all...]
H A Dpdc202xx_new.c149 static int pdcnew_tune_chipset(ide_drive_t *drive, u8 speed) argument
151 ide_hwif_t *hwif = HWIF(drive);
152 u8 adj = (drive->dn & 1) ? 0x08 : 0x00;
155 speed = ide_rate_filter(drive, speed);
158 * Issue SETFEATURES_XFER to the drive first. PDC202xx hardware will
161 err = ide_config_drive_speed(drive, speed);
220 static void pdcnew_tune_drive(ide_drive_t *drive, u8 pio) argument
222 pio = ide_get_best_pio_mode(drive, pio, 4, NULL);
223 (void)pdcnew_tune_chipset(drive, XFER_PIO_0 + pio);
231 static int pdcnew_config_drive_xfer_rate(ide_drive_t *drive) argument
244 pdcnew_quirkproc(ide_drive_t *drive) argument
254 pdcnew_reset(ide_drive_t *drive) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/os_windows/
H A Dos_open.c29 _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,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/mtools-4.0.10/
H A Dminfo.c34 "Usage: %s [-v] drive\n", progname);
71 char drive; local
100 drive = toupper(argv[optind][0]);
102 if(! (Stream = find_device(drive, O_RDONLY, &dev, boot,
128 printf("%c:\n", tolower(drive));
154 printf("physical drive id: 0x%x\n",
H A Dmdir.c50 static int filesOnDrive; /* files on drive */
52 static int dirsOnDrive; /* number of listed directories on this drive */
188 static __inline__ int print_volume_label(Stream_t *Dir, char drive) argument
210 printf(" Volume in drive %c has no label", drive);
212 printf(" Volume in drive %c is %s (abbr=%s)",
213 drive, longname, shortname);
215 printf(" Volume in drive %c is %s",
216 drive, shortname);
281 static int enterDrive(Stream_t *Dir, char drive) argument
323 char drive; local
[all...]
H A Dmpartition.c273 "drive\n", progname);
311 char drive, name[EXPAND_BUF]; local
418 drive = toupper(argv[optind][0]);
420 /* check out a drive whose letter and parameters match */
421 sprintf(errmsg, "Drive '%c:' not supported", drive);
423 for(dev=devices;dev->drive;dev++) {
427 /* drive letter */
428 if (dev->drive != drive)
433 drive);
[all...]
H A DfsP.h62 char drive; /* for error messages */ member in struct:Fs_t
H A Dllong.h105 Stream_t *find_device(char drive, int mode, struct device *out_dev,
H A Dfloppyd_io.c64 int drive; member in struct:RemoteFile_t
242 dword2byte(This->drive, buf+9);
421 char **display, short* port, int *drive)
438 *drive = 0;
440 *drive = strtoul(p, &p, 0);
562 "Can't open remote drive: %s", strerror(errno));
578 &port, &floppyd->drive);
420 get_host_and_port_and_drive(const char* name, char** hostname, char **display, short* port, int *drive) argument
H A Ddevices.h69 UNUSED(static __inline__ void RR_SETDRIVE(struct floppy_raw_cmd *request,int drive)) argument
71 request->cmd[1] = (request->cmd[1] & ~3) | (drive & 3);
H A Dmainloop.c54 /* drive letter present? */
79 /* if only drive, colon, & separator */
426 char drive; local
431 drive='\0';
434 drive = toupper(*pathname);
436 if(mp->mcwd[0] == drive)
439 drive = mp->mcwd[0];
442 drive = get_default_drive();
448 RootDir = mp->File = open_root_dir(drive, open_mode, NULL);
533 /* On Windows, support only the command-line image drive
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/mach-au1x00/
H A Dau1xxx_ide.h72 ide_drive_t *drive; member in struct:__anon7800
133 void auide_outbsync(ide_drive_t *drive, u8 addr, unsigned long port);
138 static void auide_tune_drive(ide_drive_t *drive, byte pio);
139 static int auide_tune_chipset (ide_drive_t *drive, u8 speed);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-mips/mach-au1x00/
H A Dau1xxx_ide.h72 ide_drive_t *drive; member in struct:__anon9171
133 void auide_outbsync(ide_drive_t *drive, u8 addr, unsigned long port);
138 static void auide_tune_drive(ide_drive_t *drive, byte pio);
139 static int auide_tune_chipset (ide_drive_t *drive, u8 speed);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/legacy/
H A Dali14xx.c73 /* timing parameter registers for each drive */
75 {0x03, 0x26, 0x04, 0x27}, /* drive 0 */
76 {0x05, 0x28, 0x06, 0x29}, /* drive 1 */
77 {0x2b, 0x30, 0x2c, 0x31}, /* drive 2 */
78 {0x2d, 0x32, 0x2e, 0x33}, /* drive 3 */
108 * Set PIO mode for the specified drive.
112 static void ali14xx_tune_drive (ide_drive_t *drive, u8 pio) argument
121 pio = ide_get_best_pio_mode(drive, pio, ALI_MAX_PIO, &d);
133 drive->name, pio, time1, time2, param1, param2, param3, param4);
136 driveNum = (HWIF(drive)
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/
H A Dps2esdi.c72 u_short cyl, u_short head, u_short sector, u_short length, u_char drive);
171 int drive; local
173 for(drive = 0; drive < MAX_HD; drive++) {
174 struct ps2esdi_i_struct *info = &ps2esdi_info[drive];
176 if (cyl[drive] != -1) {
177 info->cyl = info->lzone = cyl[drive];
180 if (head[drive] != -1) {
181 info->head = head[drive];
539 int drive = p - ps2esdi_info; local
574 ps2esdi_fill_cmd_block(u_short * cmd_blk, u_short cmd, u_short cyl, u_short head, u_short sector, u_short length, u_char drive) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/paride/
H A Dpg.c58 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.
213 int drive; /* drive */ member in struct:pg
251 dev->drive = parm[D_SLV];
275 return 0xa0+0x10*dev->drive;
450 printk("%s: %s %s, %s\n", dev->name, mf, id, ms[dev->drive]);
457 * returns 0, with id set if drive i
[all...]
H A Dpf.c9 port ATAPI disk drive, but if their individual parameters are
24 the corresponding drive. (required)
27 supports this drive. These numbers are
42 Set this to 0 to choose the master drive, 1 to
44 first drive found.
47 One example is the ATAPI PD/CD drive from
49 CD drive on LUN 0 and a PD drive on LUN 1.
231 int drive; /* drive */ member in struct:pf_unit
[all...]
H A Dpcd.c9 port ATAPI CD-ROM drive, but if their individual parameters are
24 the corresponding drive. (required)
27 supports this drive. These numbers are
42 Set this to 0 to choose the master drive, 1 to
44 first drive found.
192 int drive; /* master/slave */ member in struct:pcd_unit
214 static struct pcd_unit *pcd_current; /* current request's drive */
291 cd->drive = (*drives[unit])[D_SLV];
364 write_reg(cd, 6, 0xa0 + 0x10 * cd->drive);
528 write_reg(cd, 6, 0xa0 + 0x10 * cd->drive);
[all...]
H A Dpd.c9 port IDE drive, but if their individual parameters are
24 the corresponding drive. (required)
27 supports this drive. These numbers are
42 should use the CHS geometry provided by the drive
59 Set this to 0 to choose the master drive, 1 to
61 first drive found.
228 int drive; /* master=0 slave=1 */ member in struct:pd_unit
268 return 0xa0+0x10*disk->drive;
285 { /* called only for MASTER drive */
381 static struct pd_unit *pd_current; /* current request's drive */
[all...]
H A Dpt.c17 port ATAPI tape drive, but if their individual parameters are
35 the corresponding drive. (required)
38 supports this drive. These numbers are
53 Set this to 0 to choose the master drive, 1 to
55 first drive found.
218 int drive; /* drive */ member in struct:pt_unit
264 return 0xa0+0x10*tape->drive;
543 tape->name, tape->drive, dt);
566 printk("%s: %s %s, %s", tape->name, mf, id, ms[tape->drive]);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc64/
H A Dfloppy.h26 * Define this to enable exchanging drive 0 and 1 if only drive 1 is
85 #define fd_eject(drive) sun_fdops.fd_eject(drive)
285 static int sun_fd_eject(int drive) argument
426 static int sun_pci_fd_eject(int drive) argument
497 static int sun_pci_fd_test_drive(unsigned long port, int drive) argument
505 data = (0x10 << drive) | 0x0c | drive;
509 sun_pci_fd_out_byte(port, drive
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/Documentation/cdrom/
H A Dcdrom-standard.tex53 devices; the way a particular drive reacts to a `standard' $ioctl()$
67 When the \cdrom\ was developed, the interface between the \cdrom\ drive
75 most of the `NoName' manufacturers). In cases where a new drive really
90 capabilities of a particular drive, in an {\fo ad hoc\/} manner. More
106 of the low-level device drivers for each \cdrom\ drive. By adding this
125 more than one \cdrom\ drive, possibly of mixed types. It is important
128 drive. In the months that I was busy writing a \linux\ driver for it,
132 16 speed \cdrom\ drive, and 24 speed drives are common.
145 drive behavior, and to provide a common set of services to the various
206 This structure contains information about a particular \cdrom\ drive,
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/
H A Dide-cd.h60 /* Configuration flags. These describe the capabilities of the drive.
62 more about the drive from stuff failing. */
68 __u8 nec260 : 1; /* Drive is a pre-1.2 NEC 260 drive. */
90 __u8 mo_drive : 1; /* drive is an MO device */
92 byte max_speed; /* Max speed of the drive */
94 #define CDROM_CONFIG_FLAGS(drive) (&(((struct cdrom_info *)(drive->driver_data))->config_flags))
98 drive, and will change during normal operation. */
102 __u8 door_locked : 1; /* We think that the drive door is locked. */
103 __u8 writing : 1; /* the drive i
460 ide_drive_t *drive; member in struct:cdrom_info
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/cdrom/
H A Dmcdx.c11 * If you ever plan to update your CD ROM drive and perhaps
14 * mail me (heiko@lotte.sax.de). When my last drive goes
104 /* Following are the number of sectors we _request_ from the drive
116 static const int SINGLE = 0x01; /* single speed drive (FX001S, LU) */
117 static const int DOUBLE = 0x02; /* double speed drive (FX001D, ..? */
151 /* Per drive/controller stuff **************************************/
161 volatile int busy; /* drive performs an operation */
191 int irq; /* irq used by this drive */
192 int present; /* drive present and its capabilities */
358 /* Spin up the drive
1065 mcdx_init_drive(int drive) argument
1251 int drive; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/passdb/
H A Dpdb_sql.c239 config_value_read(data, "dir drive column",
452 config_value_write(location, "dir drive column",

Completed in 231 milliseconds

12345