Lines Matching defs:tmp_slot

2411 	int tmp_slot;
2501 for (tmp_slot = 0;
2502 tmp_slot < ahci_ctlp->ahcictl_num_cmd_slots; tmp_slot++) {
2503 if (ahci_portp->ahciport_slot_pkts[tmp_slot] == spkt) {
2504 aborted_tags = (0x1 << tmp_slot);
8710 int tmp_slot;
8807 tmp_slot = ddi_ffs(finished_tags) - 1;
8808 if (tmp_slot == -1) {
8812 satapkt = ahci_portp->ahciport_slot_pkts[tmp_slot];
8825 CLEAR_BIT(finished_tags, tmp_slot);
8826 aborted_tags |= tmp_slot;
8832 tmp_slot);
8833 CLEAR_BIT(ahci_portp->ahciport_pending_tags, tmp_slot);
8834 CLEAR_BIT(finished_tags, tmp_slot);
8835 ahci_portp->ahciport_slot_pkts[tmp_slot] = NULL;
8864 tmp_slot = ddi_ffs(failed_tags) - 1;
8865 if (tmp_slot == -1) {
8869 satapkt = ahci_portp->ahciport_slot_pkts[tmp_slot];
8878 tmp_slot);
8879 CLEAR_BIT(ahci_portp->ahciport_pending_tags, tmp_slot);
8880 CLEAR_BIT(failed_tags, tmp_slot);
8881 ahci_portp->ahciport_slot_pkts[tmp_slot] = NULL;
8910 tmp_slot = ddi_ffs(timeout_tags) - 1;
8911 if (tmp_slot == -1) {
8915 satapkt = ahci_portp->ahciport_slot_pkts[tmp_slot];
8924 tmp_slot);
8925 CLEAR_BIT(ahci_portp->ahciport_pending_tags, tmp_slot);
8926 CLEAR_BIT(timeout_tags, tmp_slot);
8927 ahci_portp->ahciport_slot_pkts[tmp_slot] = NULL;
8957 tmp_slot = ddi_ffs(aborted_tags) - 1;
8958 if (tmp_slot == -1) {
8962 satapkt = ahci_portp->ahciport_slot_pkts[tmp_slot];
8971 tmp_slot);
8972 CLEAR_BIT(ahci_portp->ahciport_pending_tags, tmp_slot);
8973 CLEAR_BIT(aborted_tags, tmp_slot);
8974 ahci_portp->ahciport_slot_pkts[tmp_slot] = NULL;
8993 tmp_slot = ddi_ffs(reset_tags) - 1;
8994 if (tmp_slot == -1) {
8998 satapkt = ahci_portp->ahciport_slot_pkts[tmp_slot];
9007 tmp_slot);
9008 CLEAR_BIT(ahci_portp->ahciport_pending_tags, tmp_slot);
9009 CLEAR_BIT(reset_tags, tmp_slot);
9010 ahci_portp->ahciport_slot_pkts[tmp_slot] = NULL;
9017 tmp_slot = ddi_ffs(unfinished_tags) - 1;
9018 if (tmp_slot == -1) {
9022 satapkt = ahci_portp->ahciport_slot_pkts[tmp_slot];
9031 tmp_slot);
9032 CLEAR_BIT(ahci_portp->ahciport_pending_tags, tmp_slot);
9033 CLEAR_BIT(unfinished_tags, tmp_slot);
9034 ahci_portp->ahciport_slot_pkts[tmp_slot] = NULL;
9751 int tmp_slot;
9806 tmp_slot = ddi_ffs(pending_tags) - 1;
9807 if (tmp_slot == -1) {
9816 spkt = ahci_portp->ahciport_slot_pkts[tmp_slot];
9825 ahci_portp->ahciport_slot_timeout[tmp_slot] -=
9828 if (ahci_portp->ahciport_slot_timeout[tmp_slot]
9850 (tmp_slot != current_slot) ||
9852 ((0x1 << tmp_slot) & current_tags)) {
9854 [tmp_slot] = spkt->satapkt_time;
9856 timeout_tags |= (0x1 << tmp_slot);
9863 CLEAR_BIT(pending_tags, tmp_slot);
9989 int tmp_slot;
9997 tmp_slot = ddi_ffs(slot_tags) - 1;
9998 if (tmp_slot == -1) {
10002 spkt = ahci_portp->ahciport_slot_pkts[tmp_slot];
10021 CLEAR_BIT(slot_tags, tmp_slot);