Home
last modified time | relevance | path

Searched refs:ATA_MAX_QUEUE (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/include/linux/
H A Dlibata.h63 ATA_MAX_QUEUE = 32, enumerator
64 ATA_TAG_INTERNAL = ATA_MAX_QUEUE,
837 struct ata_queued_cmd qcmd[ATA_MAX_QUEUE + 1];
1574 return tag < ATA_MAX_QUEUE || ata_tag_internal(tag); in ata_tag_valid()
1586 __ata_qc_for_each(ap, qc, tag, ATA_MAX_QUEUE, __ata_qc_from_tag)
1592 __ata_qc_for_each(ap, qc, tag, ATA_MAX_QUEUE, ata_qc_from_tag)
1598 __ata_qc_for_each(ap, qc, tag, ATA_MAX_QUEUE + 1, ata_qc_from_tag)
/openbmc/linux/drivers/ata/
H A Dsata_nv.c248 unsigned int tag[ATA_MAX_QUEUE];
391 .can_queue = ATA_MAX_QUEUE - 1,
1687 WARN_ON(dq->tail - dq->head == ATA_MAX_QUEUE); in nv_swncq_qc_to_dq()
1689 dq->tag[dq->tail++ & (ATA_MAX_QUEUE - 1)] = qc->hw_tag; in nv_swncq_qc_to_dq()
1701 tag = dq->tag[dq->head & (ATA_MAX_QUEUE - 1)]; in nv_swncq_qc_from_dq()
1702 dq->tag[dq->head++ & (ATA_MAX_QUEUE - 1)] = ATA_TAG_POISON; in nv_swncq_qc_from_dq()
1770 for (i = 0; i < ATA_MAX_QUEUE; i++) { in nv_swncq_ncq_stop()
1933 pp->prd = dmam_alloc_coherent(dev, ATA_PRD_TBL_SZ * ATA_MAX_QUEUE, in nv_swncq_port_start()
H A Dacard-ahci.c361 WARN_ON((int)ATA_MAX_QUEUE > AHCI_MAX_CMDS); in acard_ahci_init_one()
H A Dlibata-sata.c1074 max_queue_depth = min(ATA_MAX_QUEUE, sdev->host->can_queue); in ata_change_queue_depth()
H A Dsata_dwc_460ex.c139 #define SATA_DWC_QCMD_MAX (ATA_MAX_QUEUE + 1)
H A Dlibata-core.c2347 hdepth = min(ap->scsi_host->can_queue, ATA_MAX_QUEUE); in ata_dev_config_ncq()
5841 host->n_tags = ATA_MAX_QUEUE; in ata_host_init()
5911 host->n_tags = clamp(sht->can_queue, 1, ATA_MAX_QUEUE); in ata_host_register()
H A Dlibata-scsi.c753 if (WARN_ON_ONCE(cmd->budget_token >= ATA_MAX_QUEUE)) in ata_scsi_qc_new()
1126 depth = min(ATA_MAX_QUEUE, depth); in ata_scsi_dev_config()
H A Dahci.c1805 WARN_ON((int)ATA_MAX_QUEUE > AHCI_MAX_CMDS); in ahci_init_one()
H A Dlibata-eh.c635 if (i < ATA_MAX_QUEUE) { in ata_scsi_cmd_error_handler()