Lines Matching refs:tag
69 static int ahci_setup_fis(struct ahci_channel *ch, struct ahci_cmd_tab *ctp, union ccb *ccb, int tag);
219 /* Create controller-wide DMA tag. */
1331 /* Tagged command while we have no supported tag free. */
1378 int tag, tags;
1386 tag = ffs(~(ch->oslots >> (ch->lastslot + 1)));
1388 tag = 0;
1389 if (tag == 0 || tag + ch->lastslot >= tags)
1390 tag = ffs(~ch->oslots) - 1;
1392 tag += ch->lastslot;
1393 ch->lastslot = tag;
1395 slot = &ch->slot[tag];
1401 ch->oslots |= (1 << tag);
1412 ch->aslots |= (1 << tag);
2321 ahci_setup_fis(struct ahci_channel *ch, struct ahci_cmd_tab *ctp, union ccb *ccb, int tag)
2357 fis[12] = tag << 3;