Home
last modified time | relevance | path

Searched refs:cmd_slot (Results 1 – 5 of 5) sorted by relevance

/external/u-boot/drivers/ata/
Ddwc_ahsata.c351 static void ahci_fill_cmd_slot(struct ahci_ioports *pp, u32 cmd_slot, u32 opts) in ahci_fill_cmd_slot() argument
353 struct ahci_cmd_hdr *cmd_hdr = (struct ahci_cmd_hdr *)(pp->cmd_slot + in ahci_fill_cmd_slot()
354 AHCI_CMD_SLOT_SZ * cmd_slot); in ahci_fill_cmd_slot()
359 pp->cmd_slot->tbl_addr = cpu_to_le32((u32)pp->cmd_tbl & 0xffffffff); in ahci_fill_cmd_slot()
361 pp->cmd_slot->tbl_addr_hi = in ahci_fill_cmd_slot()
375 int sg_count = 0, cmd_slot = 0; in ahci_exec_ata_cmd() local
377 cmd_slot = AHCI_GET_CMD_SLOT(readl(&port_mmio->ci)); in ahci_exec_ata_cmd()
378 if (32 == cmd_slot) { in ahci_exec_ata_cmd()
398 ahci_fill_cmd_slot(pp, cmd_slot, opts); in ahci_exec_ata_cmd()
400 flush_cache((int)(pp->cmd_slot), AHCI_PORT_PRIV_DMA_SZ); in ahci_exec_ata_cmd()
[all …]
Dahci.c100 ahci_dcache_flush_range((unsigned long)pp->cmd_slot, in ahci_dcache_flush_sata_cmd()
533 pp->cmd_slot->opts = cpu_to_le32(opts); in ahci_fill_cmd_slot()
534 pp->cmd_slot->status = 0; in ahci_fill_cmd_slot()
535 pp->cmd_slot->tbl_addr = cpu_to_le32((u32)pp->cmd_tbl & 0xffffffff); in ahci_fill_cmd_slot()
537 pp->cmd_slot->tbl_addr_hi = in ahci_fill_cmd_slot()
587 pp->cmd_slot = in ahci_port_start()
589 debug("cmd_slot = %p\n", pp->cmd_slot); in ahci_port_start()
609 writel_with_flush((unsigned long)pp->cmd_slot, in ahci_port_start()
674 debug("%s: %d byte transferred.\n", __func__, pp->cmd_slot->status); in ahci_device_data_io()
Dfsl_sata.h210 cmd_hdr_entry_t cmd_slot[SATA_HC_MAX_CMD]; member
Dfsl_sata.c155 cmd_hdr->cmd_slot[i].cda = cpu_to_le32(cda); in init_sata()
378 cmd_hdr = (cmd_hdr_entry_t *)&sata->cmd_hdr->cmd_slot[tag]; in fsl_ata_exec_ata_cmd()
/external/u-boot/include/
Dahci.h140 struct ahci_cmd_hdr *cmd_slot; member