Searched refs:cmd_slot (Results 1 – 5 of 5) sorted by relevance
| /rk3399_rockchip-uboot/drivers/ata/ |
| H A D | dwc_ahsata.c | 352 static void ahci_fill_cmd_slot(struct ahci_ioports *pp, u32 cmd_slot, u32 opts) in ahci_fill_cmd_slot() argument 354 struct ahci_cmd_hdr *cmd_hdr = (struct ahci_cmd_hdr *)(pp->cmd_slot + in ahci_fill_cmd_slot() 355 AHCI_CMD_SLOT_SZ * cmd_slot); in ahci_fill_cmd_slot() 360 pp->cmd_slot->tbl_addr = cpu_to_le32((u32)pp->cmd_tbl & 0xffffffff); in ahci_fill_cmd_slot() 362 pp->cmd_slot->tbl_addr_hi = in ahci_fill_cmd_slot() 376 int sg_count = 0, cmd_slot = 0; in ahci_exec_ata_cmd() local 378 cmd_slot = AHCI_GET_CMD_SLOT(readl(&port_mmio->ci)); in ahci_exec_ata_cmd() 379 if (32 == cmd_slot) { in ahci_exec_ata_cmd() 399 ahci_fill_cmd_slot(pp, cmd_slot, opts); in ahci_exec_ata_cmd() 401 flush_cache((int)(pp->cmd_slot), AHCI_PORT_PRIV_DMA_SZ); in ahci_exec_ata_cmd() [all …]
|
| H A D | ahci.c | 95 ahci_dcache_flush_range((unsigned long)pp->cmd_slot, in ahci_dcache_flush_sata_cmd() 551 pp->cmd_slot->opts = cpu_to_le32(opts); in ahci_fill_cmd_slot() 552 pp->cmd_slot->status = 0; in ahci_fill_cmd_slot() 553 pp->cmd_slot->tbl_addr = cpu_to_le32((u32)pp->cmd_tbl & 0xffffffff); in ahci_fill_cmd_slot() 555 pp->cmd_slot->tbl_addr_hi = in ahci_fill_cmd_slot() 603 pp->cmd_slot = in ahci_port_start() 605 debug("cmd_slot = %p\n", pp->cmd_slot); in ahci_port_start() 625 dma_addr = (ulong)pp->cmd_slot; in ahci_port_start() 692 debug("%s: %d byte transferred.\n", __func__, pp->cmd_slot->status); in ahci_device_data_io()
|
| H A D | fsl_sata.h | 211 cmd_hdr_entry_t cmd_slot[SATA_HC_MAX_CMD]; member
|
| H A D | fsl_sata.c | 156 cmd_hdr->cmd_slot[i].cda = cpu_to_le32(cda); in init_sata() 379 cmd_hdr = (cmd_hdr_entry_t *)&sata->cmd_hdr->cmd_slot[tag]; in fsl_ata_exec_ata_cmd()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | ahci.h | 141 struct ahci_cmd_hdr *cmd_slot; member
|