Home
last modified time | relevance | path

Searched refs:HWGROUP (Results 1 – 20 of 20) sorted by relevance

/linux-2.4.37.9/drivers/ide/arm/
Dicside.c269 return HWIF(drive)->sg_nents = ide_build_sglist(HWIF(drive), HWGROUP(drive)->rq, ddir); in icside_build_dmatable()
344 struct request *rq = HWGROUP(drive)->rq; in icside_dmaintr()
345 rq = HWGROUP(drive)->rq; in icside_dmaintr()
581 if (HWGROUP(drive)->handler != NULL) /* paranoia check */ in icside_dma_read()
589 ide_task_t *args = HWGROUP(drive)->rq->special; in icside_dma_read()
594 if (HWGROUP(drive)->rq->flags & REQ_DRIVE_TASKFILE) { in icside_dma_read()
595 ide_task_t *args = HWGROUP(drive)->rq->special; in icside_dma_read()
635 if (HWGROUP(drive)->handler != NULL) in icside_dma_write()
643 ide_task_t *args = HWGROUP(drive)->rq->special; in icside_dma_write()
648 if (HWGROUP(drive)->rq->flags & REQ_DRIVE_TASKFILE) { in icside_dma_write()
[all …]
/linux-2.4.37.9/drivers/ide/
Dide-taskfile.c331 if (HWGROUP(drive)->rq) in taskfile_dump_status()
333 HWGROUP(drive)->rq->sector); in taskfile_dump_status()
357 rq = HWGROUP(drive)->rq; in ide_end_taskfile()
398 HWGROUP(drive)->rq = NULL; in ide_end_taskfile()
438 if (drive == NULL || (rq = HWGROUP(drive)->rq) == NULL) in taskfile_error()
536 if (HWGROUP(drive)->handler != NULL) in set_geometry_intr()
564 ide_task_t *args = HWGROUP(drive)->rq->special; in task_no_data_intr()
592 struct request *rq = HWGROUP(drive)->rq; in task_in_intr()
616 if (HWGROUP(drive)->handler == NULL) in task_in_intr()
661 if (HWGROUP(drive)->handler == NULL) in task_in_intr()
[all …]
Dide-io.c75 rq = HWGROUP(drive)->rq; in ide_end_request()
83 HWGROUP(drive)->hwif->ide_dma_on(drive); in ide_end_request()
89 HWGROUP(drive)->rq = NULL; in ide_end_request()
121 rq = HWGROUP(drive)->rq; in ide_end_drive_cmd()
191 HWGROUP(drive)->rq = NULL; in ide_end_drive_cmd()
250 if (drive == NULL || (rq = HWGROUP(drive)->rq) == NULL) in ide_error()
337 if (drive == NULL || (rq = HWGROUP(drive)->rq) == NULL) in ide_abort()
396 struct request *rq = HWGROUP(drive)->rq; in drive_cmd_intr()
899 rq = HWGROUP(drive)->rq; in ide_dma_timeout_retry()
900 HWGROUP(drive)->rq = NULL; in ide_dma_timeout_retry()
[all …]
Dide-cd.c553 rq = HWGROUP(drive)->rq; in ide_cdrom_end_request()
561 HWGROUP(drive)->hwif->ide_dma_on(drive); in ide_cdrom_end_request()
567 HWGROUP(drive)->rq = NULL; in ide_cdrom_end_request()
630 if (drive == NULL || (rq = HWGROUP(drive)->rq) == NULL) in ide_cdrom_error()
664 if (drive == NULL || (rq = HWGROUP(drive)->rq) == NULL) in ide_cdrom_abort()
679 struct request *rq = HWGROUP(drive)->rq; in cdrom_end_request()
699 struct request *rq = HWGROUP(drive)->rq; in cdrom_decode_status()
825 struct request *rq = HWGROUP(drive)->rq; in cdrom_timer_expiry()
1046 struct request *rq = HWGROUP(drive)->rq; in cdrom_read_intr()
1174 struct request *rq = HWGROUP(drive)->rq; in cdrom_read_from_buffer()
[all …]
Dide-disk.c170 rq = HWGROUP(drive)->rq; in read_intr()
211 ide_hwgroup_t *hwgroup = HWGROUP(drive); in write_intr()
268 ide_hwgroup_t *hwgroup = HWGROUP(drive); in ide_multwrite()
316 ide_hwgroup_t *hwgroup = HWGROUP(drive); in multwrite_intr()
459 if (HWGROUP(drive)->handler != NULL) in __ide_do_rw_disk()
490 ide_hwgroup_t *hwgroup = HWGROUP(drive); in __ide_do_rw_disk()
792 rq = HWGROUP(drive)->rq; in idedisk_end_request()
800 HWGROUP(drive)->hwif->ide_dma_on(drive); in idedisk_end_request()
806 HWGROUP(drive)->rq = NULL; in idedisk_end_request()
880 if (HWGROUP(drive) && HWGROUP(drive)->rq) in idedisk_dump_status()
[all …]
Dide-iops.c1036 ide_hwgroup_t *hwgroup = HWGROUP(drive);
1080 ide_hwgroup_t *hwgroup = HWGROUP(drive);
1119 ide_hwgroup_t *hwgroup = HWGROUP(drive);
1130 if (HWGROUP(drive)->handler != NULL)
1156 ide_hwgroup_t *hwgroup = HWGROUP(drive);
1170 if (HWGROUP(drive)->handler != NULL)
1270 hwgroup = HWGROUP(drive);
Dide-dma.c223 struct request *rq = HWGROUP(drive)->rq; in ide_dma_intr()
553 HWGROUP(drive)->expiry = NULL; in dma_timer_expiry()
689 struct request *rq = HWGROUP(drive)->rq; in __ide_dma_read()
735 struct request *rq = HWGROUP(drive)->rq; in __ide_dma_write()
Dide-floppy.c538 rq = HWGROUP(drive)->rq; in idefloppy_end_request()
546 HWGROUP(drive)->hwif->ide_dma_on(drive); in idefloppy_end_request()
552 HWGROUP(drive)->rq = NULL; in idefloppy_end_request()
569 struct request *rq = HWGROUP(drive)->rq; in idefloppy_do_end_request()
899 if (HWGROUP(drive)->handler != NULL) in idefloppy_pc_intr()
935 if (HWGROUP(drive)->handler != NULL) in idefloppy_pc_intr()
963 if (HWGROUP(drive)->handler != NULL) in idefloppy_transfer_pc()
1020 if (HWGROUP(drive)->handler != NULL) in idefloppy_transfer_pc1()
Dide.c433 if (HWGROUP(drive) && HWGROUP(drive)->rq) in ide_dump_status()
434 printk(", sector=%ld", HWGROUP(drive)->rq->sector); in ide_dump_status()
466 hwgroup = HWGROUP(drive); in ide_revalidate_disk()
1439 ide_hwgroup_t *hwgroup = HWGROUP(drive); in ide_spin_wait_hwgroup()
1900 if(HWGROUP(drive)->handler) in ide_ioctl()
1906 HWGROUP(drive)->busy = 1; in ide_ioctl()
Dide-tape.c1877 struct request *rq = HWGROUP(drive)->rq; in idetape_end_request()
2072 tape->postponed_rq = HWGROUP(drive)->rq; in idetape_postpone_request()
2235 if (HWGROUP(drive)->handler != NULL) in idetape_pc_intr()
2272 if (HWGROUP(drive)->handler != NULL) in idetape_pc_intr()
2353 if (HWGROUP(drive)->handler != NULL) /* paranoia check */ in idetape_transfer_pc()
2633 struct request *rq = HWGROUP(drive)->rq; in idetape_rw_callback()
2761 rq = HWGROUP(drive)->rq; in idetape_do_end_request()
2769 HWGROUP(drive)->hwif->ide_dma_on(drive); in idetape_do_end_request()
2775 HWGROUP(drive)->rq = NULL; in idetape_do_end_request()
Dide-probe.c982 q->queuedata = HWGROUP(drive); in ide_init_queue()
/linux-2.4.37.9/drivers/ide/legacy/
Dpdc4030.c418 rq = HWGROUP(drive)->rq; in promise_read_intr()
424 rq = HWGROUP(drive)->rq; in promise_read_intr()
478 if (HWGROUP(drive)->handler != NULL) in promise_read_intr()
508 ide_hwgroup_t *hwgroup = HWGROUP(drive); in promise_complete_pollfunc()
553 ide_hwgroup_t *hwgroup = HWGROUP(drive); in promise_multwrite()
611 ide_hwgroup_t *hwgroup = HWGROUP(drive); in promise_write_pollfunc()
653 ide_hwgroup_t *hwgroup = HWGROUP(drive); in promise_write()
709 struct request *rq = HWGROUP(drive)->rq;
782 HWGROUP(drive)->wrq = *rq; /* scratchpad */
/linux-2.4.37.9/drivers/ide/pci/
Dtrm290.c183 struct request *rq = HWGROUP(drive)->rq; in trm290_ide_dma_write()
208 if (HWGROUP(drive)->handler != NULL) /* paranoia check */ in trm290_ide_dma_write()
234 struct request *rq = HWGROUP(drive)->rq; in trm290_ide_dma_read()
252 if (HWGROUP(drive)->handler != NULL) /* paranoia check */ in trm290_ide_dma_read()
Dsgiioc4.c223 struct request *rq = HWGROUP(drive)->rq; in sgiioc4_ide_dma_read()
239 struct request *rq = HWGROUP(drive)->rq; in sgiioc4_ide_dma_write()
Dsiimage.c560 struct request *rq = HWGROUP(drive)->rq; in siimage_mmio_ide_dma_count()
687 HWGROUP(drive)->poll_timeout = 0; in siimage_reset_poll()
Dpdc202xx_old.c538 struct request *rq = HWGROUP(drive)->rq; in pdc202xx_old_ide_dma_begin()
/linux-2.4.37.9/arch/cris/drivers/
Dide.c687 struct request *rq = HWGROUP(drive)->rq; in e100_ide_build_dmatable()
816 rq = HWGROUP(drive)->rq; in etrax_dma_intr()
873 if ((HWGROUP(drive)->rq->cmd == IDE_DRIVE_TASKFILE) && in e100_start_dma()
875 ide_task_t *args = HWGROUP(drive)->rq->special; in e100_start_dma()
931 if ((HWGROUP(drive)->rq->cmd == IDE_DRIVE_TASKFILE) && in e100_start_dma()
933 ide_task_t *args = HWGROUP(drive)->rq->special; in e100_start_dma()
/linux-2.4.37.9/drivers/scsi/
Dide-scsi.c332 rq = HWGROUP(drive)->rq; in idescsi_do_end_request()
340 HWGROUP(drive)->hwif->ide_dma_on(drive); in idescsi_do_end_request()
346 HWGROUP(drive)->rq = NULL; in idescsi_do_end_request()
357 struct request *rq = HWGROUP(drive)->rq; in idescsi_end_request()
485 if (HWGROUP(drive)->handler != NULL) in idescsi_pc_intr()
517 if (HWGROUP(drive)->handler != NULL) in idescsi_pc_intr()
545 if (HWGROUP(drive)->handler != NULL) in idescsi_transfer_pc()
597 if (HWGROUP(drive)->handler != NULL) in idescsi_issue_pc()
1156 if(HWGROUP(drive)->handler) in idescsi_reset()
1162 HWGROUP(drive)->busy = 1; in idescsi_reset()
/linux-2.4.37.9/drivers/ide/ppc/
Dpmac.c1557 struct request *rq = HWGROUP(drive)->rq; in pmac_ide_dma_read()
1609 struct request *rq = HWGROUP(drive)->rq; in pmac_ide_dma_write()
1916 HWGROUP(drive)->busy = 1; in idepmac_wake_device()
1918 HWGROUP(drive)->busy = 0; in idepmac_wake_device()
1920 ide_do_request(HWGROUP(drive), 0); in idepmac_wake_device()
1969 HWGROUP(drive)->busy = 1; in idepmac_sleep_drive()
2002 HWGROUP(drive)->busy = 0; in idepmac_wake_drive()
2004 ide_do_request(HWGROUP(drive), 0); in idepmac_wake_drive()
/linux-2.4.37.9/include/linux/
Dide.h149 #define HWGROUP(drive) ((ide_hwgroup_t *)(HWIF(drive)->hwgroup)) macro