Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/ide/
Dide-taskfile.c80 ide_startstop_t do_rw_taskfile(ide_drive_t *drive, struct ide_cmd *orig_cmd) in do_rw_taskfile() argument
89 if (orig_cmd->protocol == ATA_PROT_PIO && in do_rw_taskfile()
90 (orig_cmd->tf_flags & IDE_TFLAG_MULTI_PIO) && in do_rw_taskfile()
96 if (orig_cmd->ftf_flags & IDE_FTFLAG_FLAGGED) in do_rw_taskfile()
97 orig_cmd->ftf_flags |= IDE_FTFLAG_SET_IN_FLAGS; in do_rw_taskfile()
99 memcpy(cmd, orig_cmd, sizeof(*cmd)); in do_rw_taskfile()
Dide-io.c116 struct ide_cmd *orig_cmd = ide_req(rq)->special; in ide_complete_cmd() local
119 kfree(orig_cmd); in ide_complete_cmd()
120 else if (cmd != orig_cmd) in ide_complete_cmd()
121 memcpy(orig_cmd, cmd, sizeof(*cmd)); in ide_complete_cmd()
/Linux-v5.10/drivers/pci/
Dprobe.c181 u16 orig_cmd; in __pci_read_base() local
188 pci_read_config_word(dev, PCI_COMMAND, &orig_cmd); in __pci_read_base()
189 if (orig_cmd & PCI_COMMAND_DECODE_ENABLE) { in __pci_read_base()
191 orig_cmd & ~PCI_COMMAND_DECODE_ENABLE); in __pci_read_base()
249 if (!dev->mmio_always_on && (orig_cmd & PCI_COMMAND_DECODE_ENABLE)) in __pci_read_base()
250 pci_write_config_word(dev, PCI_COMMAND, orig_cmd); in __pci_read_base()
/Linux-v5.10/drivers/media/v4l2-core/
Dv4l2-ioctl.c3250 video_usercopy(struct file *file, unsigned int orig_cmd, unsigned long arg, in video_usercopy() argument
3262 unsigned int cmd = video_translate_cmd(orig_cmd); in video_usercopy()
3277 err = video_get_user((void __user *)arg, parg, orig_cmd, in video_usercopy()
3333 if (video_put_user((void __user *)arg, parg, orig_cmd)) in video_usercopy()