Lines Matching refs:tag
1634 int tag;
1646 * For later hardware, we have one unique sg_tbl per NCQ tag.
1648 for (tag = 0; tag < MV_MAX_Q_DEPTH; ++tag) {
1649 if (pp->sg_tbl[tag]) {
1650 if (tag == 0 || !IS_GEN_I(hpriv))
1652 pp->sg_tbl[tag],
1653 pp->sg_tbl_dma[tag]);
1654 pp->sg_tbl[tag] = NULL;
1675 int tag;
1695 * For later hardware, we need one unique sg_tbl per NCQ tag.
1697 for (tag = 0; tag < MV_MAX_Q_DEPTH; ++tag) {
1698 if (tag == 0 || !IS_GEN_I(hpriv)) {
1699 pp->sg_tbl[tag] = dma_pool_alloc(hpriv->sg_tbl_pool,
1700 GFP_KERNEL, &pp->sg_tbl_dma[tag]);
1701 if (!pp->sg_tbl[tag])
1704 pp->sg_tbl[tag] = pp->sg_tbl[0];
1705 pp->sg_tbl_dma[tag] = pp->sg_tbl_dma[0];
2046 * (nsect is used only for the tag; feat/hob_feat hold true nsect).
2738 struct mv_crpb *response, unsigned int tag, int ncq_enabled)
2780 unsigned int tag;
2787 tag = ap->link.active_tag;
2789 /* Gen II/IIE: get command tag from CRPB entry */
2790 tag = le16_to_cpu(response->id) & 0x1f;
2792 if (mv_process_crpb_response(ap, response, tag, ncq_enabled))
2793 done_mask |= 1 << tag;