Home
last modified time | relevance | path

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

/openbmc/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()
/openbmc/linux/drivers/ata/
H A Dlibahci.c686 tmp = readl(port_mmio + PORT_CMD); in ahci_start_engine()
688 writel(tmp, port_mmio + PORT_CMD); 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()
761 tmp = readl(port_mmio + PORT_CMD); in ahci_start_fis_rx()
763 writel(tmp, port_mmio + PORT_CMD); in ahci_start_fis_rx()
766 readl(port_mmio + PORT_CMD); in ahci_start_fis_rx()
776 tmp = readl(port_mmio + PORT_CMD); in ahci_stop_fis_rx()
778 writel(tmp, port_mmio + PORT_CMD); in ahci_stop_fis_rx()
839 readl(port_mmio + PORT_CMD); in ahci_set_lpm()
[all …]
H A 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()
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_sunxi.c199 sunxi_setbits(port_mmio + PORT_CMD, PORT_CMD_START); in ahci_sunxi_start_engine()
H A 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()
H A Dahci.h119 PORT_CMD = 0x18, /* port command */ enumerator
H A Dacard-ahci.c289 u32 cmd = readl(port_mmio + PORT_CMD); in acard_ahci_port_start()
/openbmc/u-boot/drivers/ata/
H A Dahci.c246 tmp = readl(port_mmio + PORT_CMD); in ahci_host_init()
252 writel_with_flush(tmp, port_mmio + PORT_CMD); in ahci_host_init()
267 cmd = readl(port_mmio + PORT_CMD); in ahci_host_init()
269 writel_with_flush(cmd, port_mmio + PORT_CMD); in ahci_host_init()
622 PORT_CMD_START, port_mmio + PORT_CMD); in ahci_port_start()
/openbmc/u-boot/include/
H A Dahci.h50 #define PORT_CMD 0x18 /* port command */ macro
/openbmc/linux/drivers/block/mtip32xx/
H A 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()