Searched refs:cmd_slot (Results 1 – 12 of 12) sorted by relevance
| /OK3568_Linux_fs/u-boot/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() 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() 587 pp->cmd_slot = in ahci_port_start() 589 debug("cmd_slot = %p\n", pp->cmd_slot); in ahci_port_start() 609 dma_addr = (ulong)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 | 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()
|
| /OK3568_Linux_fs/kernel/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 | 605 if (dev->cmd_slot) in pvrdma_free_slots() 606 dma_free_coherent(&pdev->dev, PAGE_SIZE, dev->cmd_slot, in pvrdma_free_slots() 909 dev->cmd_slot = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, in pvrdma_pci_probe() 911 if (!dev->cmd_slot) { in pvrdma_pci_probe()
|
| H A D | pvrdma.h | 210 void *cmd_slot; member
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | ahci.h | 141 struct ahci_cmd_hdr *cmd_slot; member
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/drivers/ata/ |
| H A D | ahci.h | 305 struct ahci_cmd_hdr *cmd_slot; member
|
| H A D | libahci.c | 1295 pp->cmd_slot[tag].opts = cpu_to_le32(opts); in ahci_fill_cmd_slot() 1296 pp->cmd_slot[tag].status = 0; in ahci_fill_cmd_slot() 1297 pp->cmd_slot[tag].tbl_addr = cpu_to_le32(cmd_tbl_dma & 0xffffffff); in ahci_fill_cmd_slot() 1298 pp->cmd_slot[tag].tbl_addr_hi = cpu_to_le32((cmd_tbl_dma >> 16) >> 16); in ahci_fill_cmd_slot() 2379 pp->cmd_slot = mem; in ahci_port_start()
|
| H A D | acard-ahci.c | 321 pp->cmd_slot = mem; in acard_ahci_port_start()
|