Searched defs:drive (Results 101 - 109 of 109) sorted by relevance

12345

/drivers/block/paride/
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.
235 int drive; /* drive */ member in struct:pf_unit
[all...]
/drivers/block/
H A Dswim.c173 enum drive_location location; /* internal or external drive */
174 int head_number; /* single- or double-sided drive */
314 swim_write(base, mode0, EXTERNAL_DRIVE); /* clear drive 1 bit */
315 swim_write(base, mode1, INTERNAL_DRIVE); /* set drive 0 bit */
317 swim_write(base, mode0, INTERNAL_DRIVE); /* clear drive 0 bit */
318 swim_write(base, mode1, EXTERNAL_DRIVE); /* set drive 1 bit */
361 /* wait drive is ready */
780 int drive = (*part & 3); local
782 if (drive > swd->floppy_count)
786 return get_disk(swd->unit[drive]
815 int drive; local
939 int drive; local
[all...]
H A Dfloppy.c240 * motor of these drives causes system hangs on some PCI computers. drive
241 * 0 is the low bit (0x1), and drive 7 is the high bit (0x80). Bits are on if
242 * a drive is allowed.
298 #define UNIT(x) ((x) & 0x03) /* drive on fdc */
299 #define FDC(x) (((x) & 0x04) >> 2) /* fdc of drive */
300 /* reverse mapping from unit and fdc to drive */
308 #define UDP (&drive_params[drive])
309 #define UDRS (&drive_state[drive])
310 #define UDRWE (&write_errors[drive])
311 #define UFDCS (&fdc_state[FDC(drive)])
601 drive_no_geom(int drive) argument
607 fd_eject(int drive) argument
669 __reschedule_timeout(int drive, const char *message) argument
688 reschedule_timeout(int drive, const char *message) argument
733 disk_change(int drive) argument
792 unsigned char drive; local
836 int drive; local
848 set_fdc(int drive) argument
869 lock_fdc(int drive, bool interruptible) argument
909 floppy_off(unsigned int drive) argument
939 int drive; local
2058 set_floppy(int drive) argument
2172 do_format(int drive, struct format_descr *tmp_format_req) argument
2208 unsigned int drive = (unsigned long)req->rq_disk->private_data; local
2818 int drive; local
2959 user_reset_fdc(int drive, int arg, bool interruptible) argument
2994 drive_name(int type, int drive) argument
3175 int drive; local
3230 set_geometry(unsigned int cmd, struct floppy_struct *g, int drive, int type, struct block_device *bdev) argument
3347 get_floppy_geometry(int drive, int type, struct floppy_struct **g) argument
3366 int drive = (long)bdev->bd_disk->private_data; local
3384 int drive = (long)bdev->bd_disk->private_data; local
3572 int drive; local
3623 int drive = (long)disk->private_data; local
3644 int drive = (long)bdev->bd_disk->private_data; local
3743 int drive = (long)disk->private_data; local
3770 int drive; member in struct:rb0_cbdata
3777 int drive = cbdata->drive; local
3786 __floppy_read_block_0(struct block_device *bdev, int drive) argument
3836 int drive = (long)disk->private_data; local
4107 int drive; local
4144 floppy_available(int drive) argument
4155 int drive = (*part & 3) | ((*part & 0x80) >> 5); local
4166 int i, unit, drive, err; local
4507 int drive; local
4584 int drive; local
[all...]
/drivers/ide/
H A Dide-tape.c141 ide_drive_t *drive; member in struct:ide_tape_obj
244 if (ide_device_get(tape->drive))
256 ide_drive_t *drive = tape->drive; local
260 ide_device_put(drive);
268 static void idetape_analyze_error(ide_drive_t *drive) argument
270 idetape_tape_t *tape = drive->driver_data;
271 struct ide_atapi_pc *pc = drive->failed_pc;
272 struct request *rq = drive->hwif->rq;
326 static int ide_tape_callback(ide_drive_t *drive, in argument
378 ide_tape_stall_queue(ide_drive_t *drive) argument
390 ide_tape_handle_dsc(ide_drive_t *drive) argument
439 ide_tape_issue_pc(ide_drive_t *drive, struct ide_cmd *cmd, struct ide_atapi_pc *pc) argument
515 idetape_media_access_finished(ide_drive_t *drive) argument
566 idetape_do_request(ide_drive_t *drive, struct request *rq, sector_t block) argument
672 idetape_create_write_filemark_cmd(ide_drive_t *drive, struct ide_atapi_pc *pc, int write_filemark) argument
681 idetape_wait_ready(ide_drive_t *drive, unsigned long timeout) argument
709 idetape_flush_tape_buffers(ide_drive_t *drive) argument
723 ide_tape_read_position(ide_drive_t *drive) argument
765 idetape_create_locate_cmd(ide_drive_t *drive, struct ide_atapi_pc *pc, unsigned int block, u8 partition, int skip) argument
777 __ide_tape_discard_merge_buffer(ide_drive_t *drive) argument
800 idetape_position_tape(ide_drive_t *drive, unsigned int block, u8 partition, int skip) argument
822 ide_tape_discard_merge_buffer(ide_drive_t *drive, int restore_position) argument
844 idetape_queue_rw_tail(ide_drive_t *drive, int cmd, int size) argument
894 idetape_create_rewind_cmd(ide_drive_t *drive, struct ide_atapi_pc *pc) argument
919 ide_tape_flush_merge_buffer(ide_drive_t *drive) argument
939 idetape_init_rw(ide_drive_t *drive, int dir) argument
989 idetape_pad_zeros(ide_drive_t *drive, int bcount) argument
1007 idetape_rewind_tape(ide_drive_t *drive) argument
1028 idetape_blkdev_ioctl(ide_drive_t *drive, unsigned int cmd, unsigned long arg) argument
1061 idetape_space_over_filemarks(ide_drive_t *drive, short mt_op, int mt_count) argument
1131 ide_drive_t *drive = tape->drive; local
1186 ide_drive_t *drive = tape->drive; local
1225 idetape_write_filemark(ide_drive_t *drive) argument
1252 idetape_mtioctop(ide_drive_t *drive, short mt_op, int mt_count) argument
1372 ide_drive_t *drive = tape->drive; local
1437 ide_tape_get_bsize_from_bdesc(ide_drive_t *drive) argument
1465 ide_drive_t *drive; local
1547 idetape_write_release(ide_drive_t *drive, unsigned int minor) argument
1567 ide_drive_t *drive = tape->drive; local
1601 idetape_get_inquiry_results(ide_drive_t *drive) argument
1630 idetape_get_mode_sense_results(ide_drive_t *drive) argument
1706 mulf_tdsc(ide_drive_t *drive) argument
1707 divf_tdsc(ide_drive_t *drive) argument
1708 divf_buffer(ide_drive_t *drive) argument
1709 divf_buffer_size(ide_drive_t *drive) argument
1743 idetape_setup(ide_drive_t *drive, idetape_tape_t *tape, int minor) argument
1806 ide_tape_remove(ide_drive_t *drive) argument
1822 ide_drive_t *drive = tape->drive; local
1841 ide_drive_t *drive = (ide_drive_t *) m->private; local
1867 ide_tape_proc_entries(ide_drive_t *drive) argument
1872 ide_tape_proc_devsets(ide_drive_t *drive) argument
1934 ide_drive_t *drive = tape->drive; local
1953 ide_tape_probe(ide_drive_t *drive) argument
[all...]
H A Dpmac.c409 ((void __iomem *)((drive)->hwif->io_ports.data_addr + (x)))
416 static void pmac_ide_apply_timings(ide_drive_t *drive) argument
418 ide_hwif_t *hwif = drive->hwif;
421 if (drive->dn & 1)
433 static void pmac_ide_kauai_apply_timings(ide_drive_t *drive) argument
435 ide_hwif_t *hwif = drive->hwif;
438 if (drive->dn & 1) {
449 * Force an update of controller timing values for a given drive
452 pmac_ide_do_update_timings(ide_drive_t *drive) argument
454 ide_hwif_t *hwif = drive
465 pmac_dev_select(ide_drive_t *drive) argument
473 pmac_kauai_dev_select(ide_drive_t *drive) argument
498 pmac_ide_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument
645 set_timings_mdma(ide_drive_t *drive, int intf_type, u32 *timings, u32 *timings2, u8 speed) argument
778 pmac_ide_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument
945 pmac_ide_init_dev(ide_drive_t *drive) argument
1457 pmac_ide_build_dmatable(ide_drive_t *drive, struct ide_cmd *cmd) argument
1534 pmac_ide_dma_setup(ide_drive_t *drive, struct ide_cmd *cmd) argument
1559 pmac_ide_dma_start(ide_drive_t *drive) argument
1576 pmac_ide_dma_end(ide_drive_t *drive) argument
1600 pmac_ide_dma_test_irq(ide_drive_t *drive) argument
1649 pmac_ide_dma_host_set(ide_drive_t *drive, int on) argument
1654 pmac_ide_dma_lost_irq(ide_drive_t *drive) argument
[all...]
/drivers/media/dvb-frontends/
H A Ddib7000p.c2387 static int dib7090_host_bus_drive(struct dib7000p_state *state, u8 drive) argument
2391 /* drive host bus 2, 3, 4 */
2393 reg |= (drive << 12) | (drive << 6) | drive;
2396 /* drive host bus 5,6 */
2398 reg |= (drive << 8) | (drive << 2);
2401 /* drive host bus 7, 8, 9 */
2403 reg |= (drive << 1
[all...]
H A Ddib8000.c1072 dprintk("using standard PAD-drive-settings, please adjust settings in config-struct to be optimal.");
1073 /* min drive SDRAM - not optimal - adjust */
1339 static void dib8096p_host_bus_drive(struct dib8000_state *state, u8 drive) argument
1343 drive &= 0x7;
1345 /* drive host bus 2, 3, 4 */
1348 reg |= (drive<<12) | (drive<<6) | drive;
1351 /* drive host bus 5,6 */
1353 reg |= (drive<<
[all...]
/drivers/scsi/
H A Dosst.c129 /* Do not retry! The drive firmware already retries when appropriate,
196 return tape->drive->disk_name;
892 printk(OSST_DEB_MSG "%s:D: Reached onstream flush drive buffer (write filemark)\n", name);
933 return 0; /* successful recovery leaves drive ready for frame */
1119 * Issue a read 0 command to get the OnStream drive
1463 * Read back the drive's internal buffer contents, as a part
1467 * drive's buffer must be of one type (DATA, MARK or EOD)!
1491 printk(KERN_INFO "%s:I: Reading back %d frames from drive buffer%s\n",
2681 * Configure the OnStream SCII tape drive for default operation
2843 printk(OSST_DEB_MSG "%s:D: Density %d, tape length: %dMB, drive buffe
5840 struct gendisk * drive; local
[all...]
H A Dosst.h532 /* The OnStream tape drive descriptor */
591 unsigned char poll; /* flag that this drive needs polling (IDE|firmware) */
628 struct gendisk *drive; member in struct:osst_tape

Completed in 1200 milliseconds

12345