Home
last modified time | relevance | path

Searched refs:PORT_CMD (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/platform/x86/
H A Dwinmate-fm07-keys.c17 #define PORT_CMD 0x6c macro
36 while (inb(PORT_CMD) & 0x01) { in fm07keys_poll()
43 outb(EC_CMD_READ, PORT_CMD); in fm07keys_poll()
45 while (inb(PORT_CMD) & 0x02) in fm07keys_poll()
51 while (inb(PORT_CMD) & 0x02) in fm07keys_poll()
57 while (!(inb(PORT_CMD) & 0x01)) in fm07keys_poll()
88 if (!devm_request_region(dev, PORT_CMD, 1, "Winmate FM07 EC")) in fm07keys_probe()
/linux/drivers/ata/
H A Dlibahci.c300 ret = sprintf(buf, "%x\n", readl(port_mmio + PORT_CMD)); in ahci_show_port_cmd()
592 readl(port_mmio + PORT_CMD) & PORT_CMD_CAP; in ahci_save_initial_config()
637 writel(hpriv->saved_port_cap[i], port_mmio + PORT_CMD); in ahci_restore_initial_config()
688 tmp = readl(port_mmio + PORT_CMD); in ahci_start_engine()
690 writel(tmp, port_mmio + PORT_CMD); in ahci_start_engine()
691 readl(port_mmio + PORT_CMD); /* flush */ in ahci_start_engine()
714 tmp = readl(port_mmio + PORT_CMD); in ahci_stop_engine()
732 writel(tmp, port_mmio + PORT_CMD); in ahci_stop_engine()
735 tmp = ata_wait_register(ap, port_mmio + PORT_CMD, in ahci_stop_engine()
763 tmp = readl(port_mmio + PORT_CMD); in ahci_start_fis_rx()
[all …]
H A Dahci_qoriq.c118 px_cmd = readl(port_mmio + PORT_CMD); in ahci_qoriq_hardreset()
132 px_val = readl(port_mmio + PORT_CMD); in ahci_qoriq_hardreset()
134 writel(px_cmd, port_mmio + PORT_CMD); in ahci_qoriq_hardreset()
H A Dahci_xgene.c402 portcmd_saved = readl(port_mmio + PORT_CMD); in xgene_ahci_hardreset()
413 writel(portcmd_saved, port_mmio + PORT_CMD); in xgene_ahci_hardreset()
H A Dahci.h119 PORT_CMD = 0x18, /* port command */ enumerator
H A Dahci.c1778 tmp = readl(port_mmio + PORT_CMD); in ahci_mark_external_port()