Home
last modified time | relevance | path

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

/drivers/platform/x86/
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()
/drivers/ata/
Dlibahci.c299 ret = sprintf(buf, "%x\n", readl(port_mmio + PORT_CMD)); in ahci_show_port_cmd()
590 readl(port_mmio + PORT_CMD) & PORT_CMD_CAP; in ahci_save_initial_config()
635 writel(hpriv->saved_port_cap[i], port_mmio + PORT_CMD); in ahci_restore_initial_config()
686 tmp = readl(port_mmio + PORT_CMD); in ahci_start_engine()
688 writel(tmp, port_mmio + PORT_CMD); in ahci_start_engine()
689 readl(port_mmio + PORT_CMD); /* flush */ in ahci_start_engine()
712 tmp = readl(port_mmio + PORT_CMD); in ahci_stop_engine()
730 writel(tmp, port_mmio + PORT_CMD); in ahci_stop_engine()
733 tmp = ata_wait_register(ap, port_mmio + PORT_CMD, in ahci_stop_engine()
761 tmp = readl(port_mmio + PORT_CMD); in ahci_start_fis_rx()
[all …]
Dahci_mvebu.c124 tmp = readl(port_mmio + PORT_CMD); in ahci_mvebu_stop_engine()
135 writel(tmp, port_mmio + PORT_CMD); in ahci_mvebu_stop_engine()
145 tmp = ata_wait_register(ap, port_mmio + PORT_CMD, in ahci_mvebu_stop_engine()
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()
Dahci_sunxi.c199 sunxi_setbits(port_mmio + PORT_CMD, PORT_CMD_START); in ahci_sunxi_start_engine()
Dahci_xgene.c404 portcmd_saved = readl(port_mmio + PORT_CMD); in xgene_ahci_hardreset()
415 writel(portcmd_saved, port_mmio + PORT_CMD); in xgene_ahci_hardreset()
Dahci.h119 PORT_CMD = 0x18, /* port command */ enumerator
Dacard-ahci.c289 u32 cmd = readl(port_mmio + PORT_CMD); in acard_ahci_port_start()
/drivers/block/mtip32xx/
Dmtip32xx.c235 tmp = readl(port->mmio + PORT_CMD); in mtip_enable_fis()
237 writel(tmp | PORT_CMD_FIS_RX, port->mmio + PORT_CMD); in mtip_enable_fis()
239 writel(tmp & ~PORT_CMD_FIS_RX, port->mmio + PORT_CMD); in mtip_enable_fis()
242 readl(port->mmio + PORT_CMD); in mtip_enable_fis()
261 tmp = readl(port->mmio + PORT_CMD); in mtip_enable_engine()
263 writel(tmp | PORT_CMD_START, port->mmio + PORT_CMD); in mtip_enable_engine()
265 writel(tmp & ~PORT_CMD_START, port->mmio + PORT_CMD); in mtip_enable_engine()
267 readl(port->mmio + PORT_CMD); in mtip_enable_engine()
373 while ((readl(port->mmio + PORT_CMD) & PORT_CMD_LIST_ON) in mtip_restart_port()
384 if (readl(port->mmio + PORT_CMD) & PORT_CMD_LIST_ON) { in mtip_restart_port()