/drivers/acpi/ |
H A D | acpi_ipmi.c | 273 msg->cmd = IPMI_OP_RGN_CMD(address); 294 * If the netfn is APP_REQUEST and the cmd is SEND_MESSAGE,
|
H A D | ec.c | 171 static const char *acpi_ec_cmd_string(u8 cmd) argument 173 switch (cmd) { 188 #define acpi_ec_cmd_string(cmd) "UNDEF" 892 ret = !!request_region(ec->command_addr, 1, "EC cmd"); 893 WARN(!ret, "Could not request EC cmd io port 0x%lx", ec->command_addr);
|
/drivers/acpi/apei/ |
H A D | erst-dbg.c | 67 static long erst_dbg_ioctl(struct file *f, unsigned int cmd, unsigned long arg) argument 73 switch (cmd) {
|
H A D | ghes.c | 814 static int ghes_notify_nmi(unsigned int cmd, struct pt_regs *regs) argument
|
/drivers/ata/ |
H A D | acard-ahci.c | 340 u32 cmd = readl(port_mmio + PORT_CMD); local 341 if (cmd & PORT_CMD_FBSCP)
|
H A D | libahci.c | 668 u32 cmd; local 670 cmd = readl(port_mmio + PORT_CMD) & ~PORT_CMD_ICC_MASK; 674 cmd |= PORT_CMD_SPIN_UP; 675 writel(cmd, port_mmio + PORT_CMD); 679 writel(cmd | PORT_CMD_ICC_ACTIVE, port_mmio + PORT_CMD); 703 u32 cmd = readl(port_mmio + PORT_CMD); local 706 cmd &= ~(PORT_CMD_ASP | PORT_CMD_ALPE); 707 cmd |= PORT_CMD_ICC_ACTIVE; 709 writel(cmd, port_mmio + PORT_CMD); 715 cmd | 750 u32 cmd, scontrol; local 2142 u32 cmd; local 2168 u32 cmd; local 2241 u32 cmd = readl(port_mmio + PORT_CMD); local [all...] |
H A D | libata-core.c | 651 u8 cmd; local 671 cmd = ata_rw_cmds[index + fua + lba48 + write]; 672 if (cmd) { 673 tf->command = cmd; 1668 ata_dev_warn(dev, "qc timeout (cmd 0x%x)\n", 1752 * @cmd: Opcode to execute 1755 * 'cmd' itself, without filling any other registers 1763 unsigned int ata_do_simple_cmd(struct ata_device *dev, u8 cmd) argument 1769 tf.command = cmd;
|
H A D | libata-eh.c | 310 static int ata_lookup_timeout_table(u8 cmd) argument 318 if (*cur == cmd) 328 * @cmd: internal command to be issued 330 * Determine timeout for internal command @cmd for @dev. 338 unsigned long ata_internal_cmd_timeout(struct ata_device *dev, u8 cmd) argument 341 int ent = ata_lookup_timeout_table(cmd); 354 * @cmd: internal command which timed out 356 * Notify EH that internal command @cmd for @dev timed out. This 363 void ata_internal_cmd_timed_out(struct ata_device *dev, u8 cmd) argument 366 int ent = ata_lookup_timeout_table(cmd); 521 ata_scsi_timed_out(struct scsi_cmnd *cmd) argument 2482 struct ata_taskfile *cmd = &qc->tf, *res = &qc->result_tf; local [all...] |
H A D | libata-scsi.c | 272 static void ata_scsi_set_sense(struct scsi_cmnd *cmd, u8 sk, u8 asc, u8 ascq) argument 274 cmd->result = (DRIVER_SENSE << 24) | SAM_STAT_CHECK_CONDITION; 276 scsi_build_sense_buffer(0, cmd->sense_buffer, sk, asc, ascq); 366 static void ata_scsi_invalid_field(struct scsi_cmnd *cmd) argument 368 ata_scsi_set_sense(cmd, ILLEGAL_REQUEST, 0x24, 0x0); 370 cmd->scsi_done(cmd); 675 int cmd, void __user *arg) 680 switch (cmd) { 727 int ata_scsi_ioctl(struct scsi_device *scsidev, int cmd, voi argument 674 ata_sas_scsi_ioctl(struct ata_port *ap, struct scsi_device *scsidev, int cmd, void __user *arg) argument 753 ata_scsi_qc_new(struct ata_device *dev, struct scsi_cmnd *cmd) argument 958 struct scsi_cmnd *cmd = qc->scsicmd; local 1032 struct scsi_cmnd *cmd = qc->scsicmd; local 1749 struct scsi_cmnd *cmd = qc->scsicmd; local 1813 ata_scsi_translate(struct ata_device *dev, struct scsi_cmnd *cmd, ata_xlat_func_t xlat_func) argument 1892 ata_scsi_rbuf_get(struct scsi_cmnd *cmd, bool copy_in, unsigned long *flags) argument 1916 ata_scsi_rbuf_put(struct scsi_cmnd *cmd, bool copy_out, unsigned long *flags) argument 1945 struct scsi_cmnd *cmd = args->cmd; local 2570 struct scsi_cmnd *cmd = qc->scsicmd; local 2619 struct scsi_cmnd *cmd = qc->scsicmd; local 3344 ata_get_xlat_func(struct ata_device *dev, u8 cmd) argument 3392 ata_scsi_dump_cdb(struct ata_port *ap, struct scsi_cmnd *cmd) argument 3475 ata_scsi_queuecmd(struct Scsi_Host *shost, struct scsi_cmnd *cmd) argument 3514 ata_scsi_simulate(struct ata_device *dev, struct scsi_cmnd *cmd) argument 4200 ata_sas_queuecmd(struct scsi_cmnd *cmd, struct ata_port *ap) argument [all...] |
H A D | libata.h | 37 struct scsi_cmnd *cmd; member in struct:ata_scsi_args 79 extern unsigned int ata_do_simple_cmd(struct ata_device *dev, u8 cmd); 151 extern unsigned long ata_internal_cmd_timeout(struct ata_device *dev, u8 cmd); 152 extern void ata_internal_cmd_timed_out(struct ata_device *dev, u8 cmd); 155 extern enum blk_eh_timer_return ata_scsi_timed_out(struct scsi_cmnd *cmd);
|
H A D | pata_hpt3x3.c | 165 u16 cmd; local 169 pci_read_config_word(dev, PCI_COMMAND, &cmd); 170 if (cmd & PCI_COMMAND_MEMORY) 245 ata_port_pbar_desc(ap, 4, offset_cmd[i], "cmd");
|
H A D | pata_icside.c | 345 void __iomem *cmd = base + port->dataoffset; local 347 ioaddr->cmd_addr = cmd; 348 ioaddr->data_addr = cmd + (ATA_REG_DATA << port->stepping); 349 ioaddr->error_addr = cmd + (ATA_REG_ERR << port->stepping); 350 ioaddr->feature_addr = cmd + (ATA_REG_FEATURE << port->stepping); 351 ioaddr->nsect_addr = cmd + (ATA_REG_NSECT << port->stepping); 352 ioaddr->lbal_addr = cmd + (ATA_REG_LBAL << port->stepping); 353 ioaddr->lbam_addr = cmd + (ATA_REG_LBAM << port->stepping); 354 ioaddr->lbah_addr = cmd + (ATA_REG_LBAH << port->stepping); 355 ioaddr->device_addr = cmd [all...] |
H A D | pata_it821x.c | 648 * @cmd: command 656 static u8 *it821x_firmware_command(struct ata_port *ap, u8 cmd, int len) argument 671 iowrite8(cmd, ap->ioaddr.command_addr);
|
H A D | pata_macio.c | 799 u16 cmd; local 837 pci_read_config_word(priv->pdev, PCI_COMMAND, &cmd); 839 cmd | PCI_COMMAND_INVALIDATE);
|
H A D | pata_mpiix.c | 158 int cmd, ctl, irq; local 177 cmd = 0x1F0; 181 cmd = 0x170; 186 cmd_addr = devm_ioport_map(&dev->dev, cmd, 8); 191 ata_port_desc(ap, "cmd 0x%x ctl 0x%x", cmd, ctl);
|
H A D | pata_pdc2027x.c | 442 struct scsi_cmnd *cmd = qc->scsicmd; local 443 u8 *scsicmd = cmd->cmnd; 750 ata_port_pbar_desc(ap, PDC_MMIO_BAR, cmd_offset[i], "cmd");
|
H A D | sata_mv.c | 1892 /* clear all DMA cmd bits */ 1917 u32 cmd = (rw ? 0 : ATA_DMA_WR) | ATA_DMA_START; local 1920 writelfl(cmd, port_mmio + BMDMA_CMD); 1935 u32 cmd; local 1938 cmd = readl(port_mmio + BMDMA_CMD); 1939 if (cmd & ATA_DMA_START) { 1940 cmd &= ~ATA_DMA_START; 1941 writelfl(cmd, port_mmio + BMDMA_CMD);
|
/drivers/atm/ |
H A D | ambassador.c | 376 PRINTDB (DBG_LOAD, "lb @ %p; res: %d, cmd: %d, pay:", 387 static inline void dump_command (command * cmd) { argument 390 PRINTDB (DBG_CMD, "cmd @ %p, req: %08x, pars:", 391 cmd, /*be32_to_cpu*/ (cmd->request)); 393 PRINTDM (DBG_CMD, " %08x", /*be32_to_cpu*/ (cmd->args.par[i])); 396 (void) cmd; 556 static int command_do (amb_dev * dev, command * cmd) { argument 574 dump_command (cmd); 577 *ptrs->in = *cmd; 757 command cmd; local 1153 command cmd; local 1187 command cmd; local 1240 command cmd; local 1262 command cmd; local 1544 command * cmd = memory; local 1670 decode_loader_result(loader_command cmd, u32 result) argument 1740 do_loader_command(volatile loader_block *lb, const amb_dev *dev, loader_command cmd) argument 2038 command cmd; local 2054 command cmd; local [all...] |
H A D | atmtcp.c | 156 static int atmtcp_v_ioctl(struct atm_dev *dev,unsigned int cmd,void __user *arg) argument 163 if (cmd != ATM_SETCIRANGE) return -ENOIOCTLCMD; 444 static int atmtcp_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 449 if (cmd != SIOCSIFATMTCP && cmd != ATMTCP_CREATE && cmd != ATMTCP_REMOVE) 455 switch (cmd) {
|
H A D | eni.c | 1991 static int eni_ioctl(struct atm_dev *dev,unsigned int cmd,void __user *arg) argument 1995 if (cmd == ENI_MEMDUMP) { 2002 if (cmd == ENI_SETMULT) { 2016 if (cmd == ATM_SETCIRANGE) { 2027 return dev->phy->ioctl(dev,cmd,arg);
|
H A D | firestream.c | 639 u32 cmd, u32 p1, u32 p2, u32 p3) 644 qe->cmd = cmd; 651 pq[qp].cmd = cmd; 666 u32 cmd, u32 p1, u32 p2, u32 p3) 668 write_fs (dev, CMDR0, cmd); 688 qe->cmd, qe->p0, qe->p1, qe->p2, STATUS_CODE (qe)); 716 qe->cmd, qe->p0, qe->p1, qe->p2, STATUS_CODE (qe)); 720 qe->cmd, q 638 submit_queue(struct fs_dev *dev, struct queue *q, u32 cmd, u32 p1, u32 p2, u32 p3) argument 665 submit_command(struct fs_dev *dev, struct queue *q, u32 cmd, u32 p1, u32 p2, u32 p3) argument [all...] |
H A D | firestream.h | 46 u32 cmd; member in struct:FS_QENTRY 65 #define STATUS_CODE(qe) ((qe->cmd >> 22) & 0x3f)
|
H A D | fore200e.c | 238 printk(FORE200E "cmd polling failed, got status 0x%08x, expected 0x%08x\n", 619 fore200e->bus->write(prom_dma, &entry->cp_entry->cmd.prom_block.prom_haddr); 623 fore200e->bus->write(*(u32*)&opcode, (u32 __iomem *)&entry->cp_entry->cmd.prom_block.opcode); 1351 fore200e->bus->write(mtu, &entry->cp_entry->cmd.activate_block.mtu); 1352 fore200e->bus->write(*(u32*)&vpvc, (u32 __iomem *)&entry->cp_entry->cmd.activate_block.vpvc); 1353 fore200e->bus->write(*(u32*)&activ_opcode, (u32 __iomem *)&entry->cp_entry->cmd.activate_block.opcode); 1356 fore200e->bus->write(*(u32*)&vpvc, (u32 __iomem *)&entry->cp_entry->cmd.deactivate_block.vpvc); 1357 fore200e->bus->write(*(u32*)&deactiv_opcode, (u32 __iomem *)&entry->cp_entry->cmd.deactivate_block.opcode); 1764 fore200e->bus->write(stats_dma_addr, &entry->cp_entry->cmd.stats_block.stats_haddr); 1768 fore200e->bus->write(*(u32*)&opcode, (u32 __iomem *)&entry->cp_entry->cmd 1952 fore200e_ioctl(struct atm_dev* dev, unsigned int cmd, void __user * arg) argument [all...] |
H A D | fore200e.h | 498 typedef union cmd { union 512 union cmd cmd; /* command */ member in struct:cp_cmdq_entry 556 struct cp_cmdq_entry __iomem *cp_entry; /* addr of cp resident cmd queue entry */ 601 struct host_cmdq_entry host_entry[ QUEUE_SIZE_CMD ]; /* host resident cmd queue entries */ 602 int head; /* head of cmd queue */ 665 /* initialization command block (one-time command, not in cmd queue) */ 711 struct init_block init; /* one time cmd, not in cmd queue */ 855 struct host_cmdq host_cmdq; /* host resident cmd queu [all...] |
H A D | he.c | 101 static int he_ioctl(struct atm_dev *dev, unsigned int cmd, void __user *arg); 2611 he_ioctl(struct atm_dev *atm_dev, unsigned int cmd, void __user *arg) argument 2618 switch (cmd) { 2662 err = atm_dev->phy->ioctl(atm_dev, cmd, arg);
|