Home
last modified time | relevance | path

Searched refs:orig_cmd (Results 1 – 3 of 3) sorted by relevance

/drivers/ide/
Dide-taskfile.c78 ide_startstop_t do_rw_taskfile(ide_drive_t *drive, struct ide_cmd *orig_cmd) in do_rw_taskfile() argument
87 if (orig_cmd->protocol == ATA_PROT_PIO && in do_rw_taskfile()
88 (orig_cmd->tf_flags & IDE_TFLAG_MULTI_PIO) && in do_rw_taskfile()
94 if (orig_cmd->ftf_flags & IDE_FTFLAG_FLAGGED) in do_rw_taskfile()
95 orig_cmd->ftf_flags |= IDE_FTFLAG_SET_IN_FLAGS; in do_rw_taskfile()
97 memcpy(cmd, orig_cmd, sizeof(*cmd)); in do_rw_taskfile()
Dide-io.c106 struct ide_cmd *orig_cmd = rq->special; in ide_complete_cmd() local
109 kfree(orig_cmd); in ide_complete_cmd()
111 memcpy(orig_cmd, cmd, sizeof(*cmd)); in ide_complete_cmd()
/drivers/pci/
Dprobe.c215 u16 orig_cmd; in __pci_read_base() local
221 pci_read_config_word(dev, PCI_COMMAND, &orig_cmd); in __pci_read_base()
223 orig_cmd & ~(PCI_COMMAND_MEMORY | PCI_COMMAND_IO)); in __pci_read_base()
234 pci_write_config_word(dev, PCI_COMMAND, orig_cmd); in __pci_read_base()