Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/ata/
Dsata_nv.c263 unsigned int tag[ATA_MAX_QUEUE];
403 .can_queue = ATA_MAX_QUEUE,
1732 WARN_ON(dq->tail - dq->head == ATA_MAX_QUEUE); in nv_swncq_qc_to_dq()
1734 dq->tag[dq->tail++ & (ATA_MAX_QUEUE - 1)] = qc->tag; in nv_swncq_qc_to_dq()
1746 tag = dq->tag[dq->head & (ATA_MAX_QUEUE - 1)]; in nv_swncq_qc_from_dq()
1747 dq->tag[dq->head++ & (ATA_MAX_QUEUE - 1)] = ATA_TAG_POISON; in nv_swncq_qc_from_dq()
1815 for (i = 0; i < ATA_MAX_QUEUE; i++) { in nv_swncq_ncq_stop()
1978 pp->prd = dmam_alloc_coherent(dev, ATA_PRD_TBL_SZ * ATA_MAX_QUEUE, in nv_swncq_port_start()
1982 memset(pp->prd, 0, ATA_PRD_TBL_SZ * ATA_MAX_QUEUE); in nv_swncq_port_start()
Dlibata-eh.c668 for (i = 0; i < ATA_MAX_QUEUE; i++) { in ata_scsi_cmd_error_handler()
675 if (i < ATA_MAX_QUEUE) { in ata_scsi_cmd_error_handler()
876 for (tag = 0; tag < ATA_MAX_QUEUE - 1; tag++) in ata_eh_nr_in_flight()
903 for (tag = 0; tag < ATA_MAX_QUEUE - 1; tag++) { in ata_eh_fastdrain_timerfn()
1057 for (tag = 0; tag < ATA_MAX_QUEUE; tag++) { in ata_do_link_abort()
1762 for (tag = 0; tag < ATA_MAX_QUEUE; tag++) { in ata_eh_analyze_ncq_error()
2171 for (tag = 0; tag < ATA_MAX_QUEUE; tag++) { in ata_eh_link_autopsy()
2435 for (tag = 0; tag < ATA_MAX_QUEUE; tag++) { in ata_eh_link_report()
2499 for (tag = 0; tag < ATA_MAX_QUEUE; tag++) { in ata_eh_link_report()
3958 for (tag = 0; tag < ATA_MAX_QUEUE; tag++) { in ata_eh_finish()
Dacard-ahci.c415 WARN_ON((int)ATA_MAX_QUEUE > AHCI_MAX_CMDS); in acard_ahci_init_one()
Dlibata-scsi.c1186 depth = min(ATA_MAX_QUEUE - 1, depth); in ata_scsi_dev_config()
1296 queue_depth = min(queue_depth, ATA_MAX_QUEUE - 1); in __ata_change_queue_depth()
Dahci.c1399 WARN_ON((int)ATA_MAX_QUEUE > AHCI_MAX_CMDS); in ahci_init_one()
Dsata_fsl.c1231 for (tag = 0; tag < ATA_MAX_QUEUE; tag++) { in sata_fsl_host_intr()
Dlibata-core.c2098 hdepth = min(ap->scsi_host->can_queue, ATA_MAX_QUEUE - 1); in ata_dev_config_ncq()
6037 host->n_tags = ATA_MAX_QUEUE - 1; in ata_host_init()
6119 host->n_tags = clamp(sht->can_queue, 1, ATA_MAX_QUEUE - 1); in ata_host_register()
/linux-4.1.27/include/linux/
Dlibata.h128 ATA_MAX_QUEUE = 32, enumerator
129 ATA_TAG_INTERNAL = ATA_MAX_QUEUE - 1,
837 struct ata_queued_cmd qcmd[ATA_MAX_QUEUE];
1503 return (tag < ATA_MAX_QUEUE) ? 1 : 0; in ata_tag_valid()