Searched refs:ide_req (Results 1 – 14 of 14) sorted by relevance
23 ide_req(rq)->type = ATA_PRIV_PM_SUSPEND; in generic_ide_suspend()24 ide_req(rq)->special = &rqpm; in generic_ide_suspend()81 ide_req(rq)->type = ATA_PRIV_PM_RESUME; in generic_ide_resume()82 ide_req(rq)->special = &rqpm; in generic_ide_resume()101 struct ide_pm_state *pm = ide_req(rq)->special; in ide_complete_power_step()131 struct ide_pm_state *pm = ide_req(rq)->special; in ide_start_power_step()203 struct ide_pm_state *pm = ide_req(rq)->special; in ide_complete_pm_rq()211 (ide_req(rq)->type == ATA_PRIV_PM_SUSPEND) ? "suspend" : "resume"); in ide_complete_pm_rq()213 if (ide_req(rq)->type == ATA_PRIV_PM_SUSPEND) in ide_complete_pm_rq()225 struct ide_pm_state *pm = ide_req(rq)->special; in ide_check_pm_state()[all …]
38 ide_req(rq)->type = ATA_PRIV_MISC; in issue_park_cmd()39 ide_req(rq)->special = &timeout; in issue_park_cmd()56 ide_req(rq)->type = ATA_PRIV_MISC; in issue_park_cmd()72 drive->sleep = *(unsigned long *)ide_req(rq)->special; in ide_do_park_unpark()
170 ide_req(rq)->type = ATA_PRIV_MISC; in ide_devset_execute()174 ide_req(rq)->special = setting->set; in ide_devset_execute()185 int err, (*setfunc)(ide_drive_t *, int) = ide_req(rq)->special; in ide_do_devset()
437 if (ide_req(rq)->special) { in idedisk_prep_rq()438 cmd = ide_req(rq)->special; in idedisk_prep_rq()457 ide_req(rq)->type = ATA_PRIV_TASKFILE; in idedisk_prep_rq()458 ide_req(rq)->special = cmd; in idedisk_prep_rq()481 ide_req(rq)->type = ATA_PRIV_TASKFILE; in set_multcount()
97 ide_req(rq)->type = ATA_PRIV_MISC; in ide_queue_pc_tail()98 ide_req(rq)->special = pc; in ide_queue_pc_tail()225 ide_req(sense_rq)->type = ATA_PRIV_SENSE; in ide_prep_sense()253 ide_req(sense_rq)->special = special; in ide_queue_sense_rq()338 switch (ide_req(rq)->type) { in ide_cd_get_xferlen()
116 struct ide_cmd *orig_cmd = ide_req(rq)->special; in ide_complete_cmd()269 struct ide_cmd *cmd = ide_req(rq)->special; in execute_drive_cmd()360 struct ide_pm_state *pm = ide_req(rq)->special; in start_request()468 ide_req(rq)->special = NULL; in ide_issue_rq()
139 ide_req(rq)->type = ATA_PRIV_TASKFILE; in ide_cmd_ioctl()235 ide_req(rq)->type = ATA_PRIV_MISC; in generic_drive_reset()
277 switch (ide_req(rq)->type) { in ide_floppy_do_request()280 pc = (struct ide_atapi_pc *)ide_req(rq)->special; in ide_floppy_do_request()
428 ide_req(rq)->type = ATA_PRIV_TASKFILE; in ide_raw_taskfile()443 ide_req(rq)->special = cmd; in ide_raw_taskfile()
582 BUG_ON(ide_req(rq)->type != ATA_PRIV_MISC && in idetape_do_request()583 ide_req(rq)->type != ATA_PRIV_SENSE); in idetape_do_request()643 pc = (struct ide_atapi_pc *)ide_req(rq)->special; in idetape_do_request()859 ide_req(rq)->type = ATA_PRIV_MISC; in idetape_queue_rw_tail()
300 ide_req(rq)->type = ATA_PRIV_MISC; in ide_cdrom_reset()
129 struct ide_cmd *cmd = ide_req(rq)->special; in ide_error()
220 struct request *failed = ide_req(rq)->special; in ide_cd_complete_failed_rq()458 ide_req(rq)->type = ATA_PRIV_PC; in ide_cd_queue_pc()903 switch (ide_req(rq)->type) { in ide_cd_do_request()
56 static inline struct ide_request *ide_req(struct request *rq) in ide_req() function63 return blk_rq_is_private(rq) && ide_req(rq)->type == ATA_PRIV_MISC; in ata_misc_request()68 return blk_rq_is_private(rq) && ide_req(rq)->type == ATA_PRIV_TASKFILE; in ata_taskfile_request()73 return blk_rq_is_private(rq) && ide_req(rq)->type == ATA_PRIV_PC; in ata_pc_request()78 return blk_rq_is_private(rq) && ide_req(rq)->type == ATA_PRIV_SENSE; in ata_sense_request()84 (ide_req(rq)->type == ATA_PRIV_PM_SUSPEND || in ata_pm_request()85 ide_req(rq)->type == ATA_PRIV_PM_RESUME); in ata_pm_request()