Searched refs:ATA_MAX_QUEUE (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | libata.h | 63 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 D | sata_nv.c | 248 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 D | acard-ahci.c | 361 WARN_ON((int)ATA_MAX_QUEUE > AHCI_MAX_CMDS); in acard_ahci_init_one()
|
H A D | libata-sata.c | 1074 max_queue_depth = min(ATA_MAX_QUEUE, sdev->host->can_queue); in ata_change_queue_depth()
|
H A D | sata_dwc_460ex.c | 139 #define SATA_DWC_QCMD_MAX (ATA_MAX_QUEUE + 1)
|
H A D | libata-core.c | 2347 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 D | libata-scsi.c | 753 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 D | ahci.c | 1805 WARN_ON((int)ATA_MAX_QUEUE > AHCI_MAX_CMDS); in ahci_init_one()
|
H A D | libata-eh.c | 635 if (i < ATA_MAX_QUEUE) { in ata_scsi_cmd_error_handler()
|