Lines Matching defs:slot
160 * link desc to the transfer desc table on a per slot basis.
191 /* total size of a slot: 1 task & 1 transfer (link) */
199 pr_debug("%s: cqhci: desc_size: %zu data_sz: %zu slot-sz: %d\n",
206 * setup each link-desc memory offset per slot-number to
624 cq_host->slot[tag].mrq = mrq;
625 cq_host->slot[tag].flags = 0;
675 struct cqhci_slot *slot;
699 slot = &cq_host->slot[tag];
700 if (slot->mrq) {
701 slot->flags = cqhci_error_flags(cmd_error, data_error);
702 cqhci_recovery_needed(mmc, slot->mrq, true);
708 slot = &cq_host->slot[tag];
709 if (slot->mrq) {
710 slot->flags = cqhci_error_flags(data_error, cmd_error);
711 cqhci_recovery_needed(mmc, slot->mrq, true);
721 slot = &cq_host->slot[tag];
722 if (!slot->mrq)
724 slot->flags = cqhci_error_flags(data_error, cmd_error);
725 cqhci_recovery_needed(mmc, slot->mrq, true);
737 struct cqhci_slot *slot = &cq_host->slot[tag];
738 struct mmc_request *mrq = slot->mrq;
749 slot->flags |= CQHCI_COMPLETED;
753 slot->mrq = NULL;
846 struct cqhci_slot *slot = &cq_host->slot[tag];
851 timed_out = slot->mrq == mrq;
853 slot->flags |= CQHCI_EXTERNAL_TIMEOUT;
973 struct cqhci_slot *slot = &cq_host->slot[tag];
974 struct mmc_request *mrq = slot->mrq;
980 slot->mrq = NULL;
987 data->error = cqhci_error_from_flags(slot->flags);
989 mrq->cmd->error = cqhci_error_from_flags(slot->flags);
1140 cq_host->slot = devm_kcalloc(mmc_dev(mmc), cq_host->num_slots,
1141 sizeof(*cq_host->slot), GFP_KERNEL);
1142 if (!cq_host->slot) {