Searched refs:cmd_slot (Results 1 – 12 of 12) sorted by relevance
/openbmc/u-boot/drivers/ata/ |
H A D | dwc_ahsata.c | 351 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 …]
|
H A D | ahci.c | 100 ahci_dcache_flush_range((unsigned long)pp->cmd_slot, in ahci_dcache_flush_sata_cmd() 535 pp->cmd_slot->opts = cpu_to_le32(opts); in ahci_fill_cmd_slot() 536 pp->cmd_slot->status = 0; in ahci_fill_cmd_slot() 537 pp->cmd_slot->tbl_addr = cpu_to_le32((u32)pp->cmd_tbl & 0xffffffff); in ahci_fill_cmd_slot() 539 pp->cmd_slot->tbl_addr_hi = in ahci_fill_cmd_slot() 589 pp->cmd_slot = in ahci_port_start() 591 debug("cmd_slot = %p\n", pp->cmd_slot); in ahci_port_start() 611 writel_with_flush((unsigned long)pp->cmd_slot, in ahci_port_start() 676 debug("%s: %d byte transferred.\n", __func__, pp->cmd_slot->status); in ahci_device_data_io()
|
H A D | fsl_sata.h | 210 cmd_hdr_entry_t cmd_slot[SATA_HC_MAX_CMD]; member
|
H A D | fsl_sata.c | 155 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()
|
/openbmc/linux/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_cmd.c | 97 memcpy(dev->cmd_slot, req, sizeof(*req)); in pvrdma_cmd_post()
|
H A D | pvrdma_main.c | 577 if (dev->cmd_slot) in pvrdma_free_slots() 578 dma_free_coherent(&pdev->dev, PAGE_SIZE, dev->cmd_slot, in pvrdma_free_slots() 871 dev->cmd_slot = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, in pvrdma_pci_probe() 873 if (!dev->cmd_slot) { in pvrdma_pci_probe()
|
H A D | pvrdma.h | 210 void *cmd_slot; member
|
/openbmc/u-boot/include/ |
H A D | ahci.h | 140 struct ahci_cmd_hdr *cmd_slot; member
|
/openbmc/linux/drivers/scsi/ |
H A D | qlogicpti.c | 1160 u_int cmd_slot; in qlogicpti_intr_handler() local 1169 cmd_slot = sts->handle; in qlogicpti_intr_handler() 1170 Cmnd = qpti->cmd_slots[cmd_slot]; in qlogicpti_intr_handler() 1171 qpti->cmd_slots[cmd_slot] = NULL; in qlogicpti_intr_handler()
|
/openbmc/linux/drivers/ata/ |
H A D | ahci.h | 310 struct ahci_cmd_hdr *cmd_slot; member
|
H A D | acard-ahci.c | 317 pp->cmd_slot = mem; in acard_ahci_port_start()
|
H A D | libahci.c | 1361 pp->cmd_slot[tag].opts = cpu_to_le32(opts); in ahci_fill_cmd_slot() 1362 pp->cmd_slot[tag].status = 0; in ahci_fill_cmd_slot() 1363 pp->cmd_slot[tag].tbl_addr = cpu_to_le32(cmd_tbl_dma & 0xffffffff); in ahci_fill_cmd_slot() 1364 pp->cmd_slot[tag].tbl_addr_hi = cpu_to_le32((cmd_tbl_dma >> 16) >> 16); in ahci_fill_cmd_slot() 2537 pp->cmd_slot = mem; in ahci_port_start()
|