tstate           1083 dev/ic/aic79xx.c 			struct	ahd_tmode_tstate *tstate;
tstate           1116 dev/ic/aic79xx.c 							&tstate);
tstate           2286 dev/ic/aic79xx.c 			struct ahd_tmode_tstate *tstate;
tstate           2304 dev/ic/aic79xx.c 						    devinfo.target, &tstate);
tstate           2564 dev/ic/aic79xx.c 	struct	ahd_tmode_tstate *tstate;
tstate           2576 dev/ic/aic79xx.c 					&tstate);
tstate           2577 dev/ic/aic79xx.c 	ahd_update_neg_request(ahd, devinfo, tstate,
tstate           2813 dev/ic/aic79xx.c 	struct ahd_tmode_tstate *tstate;
tstate           2821 dev/ic/aic79xx.c 	tstate = malloc(sizeof(*tstate), M_DEVBUF, M_NOWAIT);
tstate           2822 dev/ic/aic79xx.c 	if (tstate == NULL)
tstate           2832 dev/ic/aic79xx.c 		memcpy(tstate, master_tstate, sizeof(*tstate));
tstate           2833 dev/ic/aic79xx.c 		memset(tstate->enabled_luns, 0, sizeof(tstate->enabled_luns));
tstate           2835 dev/ic/aic79xx.c 			memset(&tstate->transinfo[i].curr, 0,
tstate           2836 dev/ic/aic79xx.c 			      sizeof(tstate->transinfo[i].curr));
tstate           2837 dev/ic/aic79xx.c 			memset(&tstate->transinfo[i].goal, 0,
tstate           2838 dev/ic/aic79xx.c 			      sizeof(tstate->transinfo[i].goal));
tstate           2841 dev/ic/aic79xx.c 		memset(tstate, 0, sizeof(*tstate));
tstate           2842 dev/ic/aic79xx.c 	ahd->enabled_targets[scsi_id] = tstate;
tstate           2843 dev/ic/aic79xx.c 	return (tstate);
tstate           2854 dev/ic/aic79xx.c 	struct ahd_tmode_tstate *tstate;
tstate           2864 dev/ic/aic79xx.c 	tstate = ahd->enabled_targets[scsi_id];
tstate           2865 dev/ic/aic79xx.c 	if (tstate != NULL)
tstate           2866 dev/ic/aic79xx.c 		free(tstate, M_DEVBUF);
tstate           3028 dev/ic/aic79xx.c 		       struct ahd_tmode_tstate *tstate,
tstate           3033 dev/ic/aic79xx.c 	auto_negotiate_orig = tstate->auto_negotiate;
tstate           3054 dev/ic/aic79xx.c 		tstate->auto_negotiate |= devinfo->target_mask;
tstate           3056 dev/ic/aic79xx.c 		tstate->auto_negotiate &= ~devinfo->target_mask;
tstate           3058 dev/ic/aic79xx.c 	return (auto_negotiate_orig != tstate->auto_negotiate);
tstate           3075 dev/ic/aic79xx.c 	struct	ahd_tmode_tstate *tstate;
tstate           3091 dev/ic/aic79xx.c 				    devinfo->target, &tstate);
tstate           3201 dev/ic/aic79xx.c 	update_needed += ahd_update_neg_request(ahd, devinfo, tstate,
tstate           3221 dev/ic/aic79xx.c 	struct	ahd_tmode_tstate *tstate;
tstate           3229 dev/ic/aic79xx.c 				    devinfo->target, &tstate);
tstate           3262 dev/ic/aic79xx.c 	update_needed += ahd_update_neg_request(ahd, devinfo, tstate,
tstate           3417 dev/ic/aic79xx.c 		struct ahd_tmode_tstate *tstate;
tstate           3422 dev/ic/aic79xx.c 					    devinfo.target, &tstate);
tstate           3423 dev/ic/aic79xx.c 		if ((tstate->auto_negotiate & devinfo.target_mask) == 0
tstate           3705 dev/ic/aic79xx.c 	struct	ahd_tmode_tstate *tstate;
tstate           3714 dev/ic/aic79xx.c 				    devinfo->target, &tstate);
tstate           4290 dev/ic/aic79xx.c 	struct	ahd_tmode_tstate *tstate;
tstate           4299 dev/ic/aic79xx.c 				    devinfo->target, &tstate);
tstate           4488 dev/ic/aic79xx.c 			ahd_update_neg_request(ahd, devinfo, tstate,
tstate           4651 dev/ic/aic79xx.c 		tstate = ahd->enabled_targets[devinfo->our_scsiid];
tstate           4652 dev/ic/aic79xx.c 		if (tstate != NULL) {
tstate           4655 dev/ic/aic79xx.c 			lstate = tstate->enabled_luns[devinfo->lun];
tstate           4715 dev/ic/aic79xx.c 	struct ahd_tmode_tstate *tstate;
tstate           4724 dev/ic/aic79xx.c 				    devinfo->target, &tstate);
tstate           5113 dev/ic/aic79xx.c 	struct ahd_tmode_tstate* tstate;
tstate           5126 dev/ic/aic79xx.c 	tstate = ahd->enabled_targets[devinfo->our_scsiid];
tstate           5127 dev/ic/aic79xx.c 	if (tstate != NULL) {
tstate           5141 dev/ic/aic79xx.c 			lstate = tstate->enabled_luns[cur_lun];
tstate           5415 dev/ic/aic79xx.c 		struct ahd_tmode_tstate *tstate;
tstate           5417 dev/ic/aic79xx.c 		tstate = ahd->enabled_targets[i];
tstate           5418 dev/ic/aic79xx.c 		if (tstate != NULL) {
tstate           5425 dev/ic/aic79xx.c 				lstate = tstate->enabled_luns[j];
tstate           5432 dev/ic/aic79xx.c 			free(tstate, M_DEVBUF);
tstate           6551 dev/ic/aic79xx.c 		struct	 ahd_tmode_tstate *tstate;
tstate           6554 dev/ic/aic79xx.c 					    target, &tstate);
tstate           6721 dev/ic/aic79xx.c 		struct	 ahd_tmode_tstate *tstate;
tstate           6725 dev/ic/aic79xx.c 					    targ, &tstate);
tstate           6734 dev/ic/aic79xx.c 		tstate->discenable |= target_mask;
tstate           6764 dev/ic/aic79xx.c 		tstate->tagenable &= ~target_mask;
tstate           6801 dev/ic/aic79xx.c 		struct	 ahd_tmode_tstate *tstate;
tstate           6805 dev/ic/aic79xx.c 					    targ, &tstate);
tstate           6816 dev/ic/aic79xx.c 		tstate->discenable &= ~target_mask;
tstate           6819 dev/ic/aic79xx.c 			tstate->discenable |= target_mask;
tstate           6870 dev/ic/aic79xx.c 		tstate->tagenable &= ~target_mask;
tstate           7893 dev/ic/aic79xx.c 		struct ahd_tmode_tstate* tstate;
tstate           7896 dev/ic/aic79xx.c 		tstate = ahd->enabled_targets[target];
tstate           7897 dev/ic/aic79xx.c 		if (tstate == NULL)
tstate           7902 dev/ic/aic79xx.c 			lstate = tstate->enabled_luns[lun];
tstate           8145 dev/ic/aic79xx.c 		struct ahd_tmode_tstate *tstate;
tstate           8167 dev/ic/aic79xx.c 						&tstate);
tstate           8214 dev/ic/aic79xx.c 					       tstate, targ_info,
tstate           8217 dev/ic/aic79xx.c 		if (tstate->auto_negotiate & devinfo.target_mask) {
tstate           9450 dev/ic/aic79xx.c 		    struct ahd_tmode_tstate **tstate,
tstate           9464 dev/ic/aic79xx.c 		*tstate = NULL;
tstate           9476 dev/ic/aic79xx.c 		*tstate = ahd->enabled_targets[ccb->ccb_h.target_id];
tstate           9478 dev/ic/aic79xx.c 		if (*tstate != NULL)
tstate           9480 dev/ic/aic79xx.c 			    (*tstate)->enabled_luns[ccb->ccb_h.target_lun];
tstate           9493 dev/ic/aic79xx.c 	struct	   ahd_tmode_tstate *tstate;
tstate           9503 dev/ic/aic79xx.c 	status = ahd_find_tmode_devs(ahd, sim, ccb, &tstate, &lstate,
tstate           9602 dev/ic/aic79xx.c 		if (target != CAM_TARGET_WILDCARD && tstate == NULL) {
tstate           9603 dev/ic/aic79xx.c 			tstate = ahd_alloc_tstate(ahd, target, channel);
tstate           9604 dev/ic/aic79xx.c 			if (tstate == NULL) {
tstate           9635 dev/ic/aic79xx.c 			tstate->enabled_luns[lun] = lstate;
tstate           9743 dev/ic/aic79xx.c 			tstate->enabled_luns[lun] = NULL;
tstate           9746 dev/ic/aic79xx.c 				if (tstate->enabled_luns[i] != NULL) {
tstate           9884 dev/ic/aic79xx.c 	struct	  ahd_tmode_tstate *tstate;
tstate           9897 dev/ic/aic79xx.c 	tstate = ahd->enabled_targets[target];
tstate           9899 dev/ic/aic79xx.c 	if (tstate != NULL)
tstate           9900 dev/ic/aic79xx.c 		lstate = tstate->enabled_luns[lun];
tstate           10403 dev/ic/aic79xx.c 		    u_int remote_id, struct ahd_tmode_tstate **tstate)
tstate           10413 dev/ic/aic79xx.c 	*tstate = ahd->enabled_targets[our_id];
tstate           10414 dev/ic/aic79xx.c 	return (&(*tstate)->transinfo[remote_id]);
tstate           1545 dev/ic/aic79xx.h 				    struct ahd_tmode_tstate **tstate,
tstate            314 dev/ic/aic79xx_openbsd.c 	struct	ahd_tmode_tstate *tstate;
tstate            338 dev/ic/aic79xx_openbsd.c 	tinfo = ahd_fetch_transinfo(ahd, 'A', our_id, target_id, &tstate);
tstate            387 dev/ic/aic79xx_openbsd.c 	struct	ahd_tmode_tstate *tstate;
tstate            441 dev/ic/aic79xx_openbsd.c 				    &tstate);
tstate            445 dev/ic/aic79xx_openbsd.c 	if ((tstate->discenable & mask) != 0)
tstate            448 dev/ic/aic79xx_openbsd.c 	if ((tstate->tagenable & mask) != 0)
tstate            457 dev/ic/aic79xx_openbsd.c 	if ((tstate->auto_negotiate & mask) != 0) {
tstate            493 dev/ic/aic79xx_openbsd.c 			ahd_update_neg_request(ahd, &devinfo, tstate, tinfo,
tstate            596 dev/ic/aic79xx_openbsd.c 	struct ahd_tmode_tstate *tstate;
tstate            599 dev/ic/aic79xx_openbsd.c 	    devinfo->target, &tstate);
tstate            602 dev/ic/aic79xx_openbsd.c 		tstate->tagenable |= devinfo->target_mask;
tstate            604 dev/ic/aic79xx_openbsd.c 		tstate->tagenable &= ~devinfo->target_mask;
tstate            657 dev/ic/aic79xx_openbsd.c 	struct ahd_tmode_tstate *tstate;
tstate            670 dev/ic/aic79xx_openbsd.c 	tinfo = ahd_fetch_transinfo(ahd, 'A', our_id, target_id, &tstate);
tstate            674 dev/ic/aic79xx_openbsd.c 	tstate->discenable |= (ahd->user_discenable & devinfo.target_mask);
tstate            677 dev/ic/aic79xx_openbsd.c 		tstate->tagenable &= ~devinfo.target_mask;
tstate            679 dev/ic/aic79xx_openbsd.c 		tstate->tagenable |= devinfo.target_mask;
tstate            705 dev/ic/aic79xx_openbsd.c 	if ((tstate->discenable & devinfo.target_mask) == 0 ||
tstate            706 dev/ic/aic79xx_openbsd.c 	    (tstate->tagenable & devinfo.target_mask) == 0)
tstate            539 dev/ic/aic7xxx.c 			struct ahc_tmode_tstate *tstate;
tstate            556 dev/ic/aic7xxx.c 							&tstate);
tstate            608 dev/ic/aic7xxx.c 						       tstate, targ_info,
tstate            611 dev/ic/aic7xxx.c 			if (tstate->auto_negotiate & devinfo.target_mask) {
tstate           1369 dev/ic/aic7xxx.c 				struct ahc_tmode_tstate *tstate;
tstate           1379 dev/ic/aic7xxx.c 							    &tstate);
tstate           1471 dev/ic/aic7xxx.c 	struct	ahc_tmode_tstate *tstate;
tstate           1477 dev/ic/aic7xxx.c 					&tstate);
tstate           1478 dev/ic/aic7xxx.c 	ahc_update_neg_request(ahc, devinfo, tstate,
tstate           1635 dev/ic/aic7xxx.c 	struct ahc_tmode_tstate *tstate;
tstate           1647 dev/ic/aic7xxx.c 	tstate = (struct ahc_tmode_tstate*)malloc(sizeof(*tstate),
tstate           1649 dev/ic/aic7xxx.c 	if (tstate == NULL)
tstate           1659 dev/ic/aic7xxx.c 		memcpy(tstate, master_tstate, sizeof(*tstate));
tstate           1660 dev/ic/aic7xxx.c 		memset(tstate->enabled_luns, 0, sizeof(tstate->enabled_luns));
tstate           1661 dev/ic/aic7xxx.c 		tstate->ultraenb = 0;
tstate           1663 dev/ic/aic7xxx.c 			memset(&tstate->transinfo[i].curr, 0,
tstate           1664 dev/ic/aic7xxx.c 			      sizeof(tstate->transinfo[i].curr));
tstate           1665 dev/ic/aic7xxx.c 			memset(&tstate->transinfo[i].goal, 0,
tstate           1666 dev/ic/aic7xxx.c 			      sizeof(tstate->transinfo[i].goal));
tstate           1669 dev/ic/aic7xxx.c 		memset(tstate, 0, sizeof(*tstate));
tstate           1670 dev/ic/aic7xxx.c 	ahc->enabled_targets[scsi_id] = tstate;
tstate           1671 dev/ic/aic7xxx.c 	return (tstate);
tstate           1682 dev/ic/aic7xxx.c 	struct ahc_tmode_tstate *tstate;
tstate           1695 dev/ic/aic7xxx.c 	tstate = ahc->enabled_targets[scsi_id];
tstate           1696 dev/ic/aic7xxx.c 	if (tstate != NULL)
tstate           1697 dev/ic/aic7xxx.c 		free(tstate, M_DEVBUF);
tstate           1924 dev/ic/aic7xxx.c 		       struct ahc_tmode_tstate *tstate,
tstate           1929 dev/ic/aic7xxx.c 	auto_negotiate_orig = tstate->auto_negotiate;
tstate           1950 dev/ic/aic7xxx.c 		tstate->auto_negotiate |= devinfo->target_mask;
tstate           1952 dev/ic/aic7xxx.c 		tstate->auto_negotiate &= ~devinfo->target_mask;
tstate           1954 dev/ic/aic7xxx.c 	return (auto_negotiate_orig != tstate->auto_negotiate);
tstate           1971 dev/ic/aic7xxx.c 	struct	ahc_tmode_tstate *tstate;
tstate           1987 dev/ic/aic7xxx.c 				    devinfo->target, &tstate);
tstate           2030 dev/ic/aic7xxx.c 			tstate->ultraenb &= ~devinfo->target_mask;
tstate           2033 dev/ic/aic7xxx.c 					tstate->ultraenb |=
tstate           2044 dev/ic/aic7xxx.c 				if (tstate->ultraenb & devinfo->target_mask)
tstate           2077 dev/ic/aic7xxx.c 	update_needed += ahc_update_neg_request(ahc, devinfo, tstate,
tstate           2097 dev/ic/aic7xxx.c 	struct	ahc_tmode_tstate *tstate;
tstate           2105 dev/ic/aic7xxx.c 				    devinfo->target, &tstate);
tstate           2139 dev/ic/aic7xxx.c 	update_needed += ahc_update_neg_request(ahc, devinfo, tstate,
tstate           2180 dev/ic/aic7xxx.c 		struct ahc_tmode_tstate *tstate;
tstate           2185 dev/ic/aic7xxx.c 					    devinfo.target, &tstate);
tstate           2188 dev/ic/aic7xxx.c 		if ((tstate->ultraenb & devinfo.target_mask) != 0)
tstate           2192 dev/ic/aic7xxx.c 		if ((tstate->auto_negotiate & devinfo.target_mask) == 0
tstate           2441 dev/ic/aic7xxx.c 	struct	ahc_tmode_tstate *tstate;
tstate           2451 dev/ic/aic7xxx.c 				    devinfo->target, &tstate);
tstate           3068 dev/ic/aic7xxx.c 	struct	ahc_tmode_tstate *tstate;
tstate           3078 dev/ic/aic7xxx.c 				    devinfo->target, &tstate);
tstate           3272 dev/ic/aic7xxx.c 			ahc_update_neg_request(ahc, devinfo, tstate,
tstate           3441 dev/ic/aic7xxx.c 		tstate = ahc->enabled_targets[devinfo->our_scsiid];
tstate           3442 dev/ic/aic7xxx.c 		if (tstate != NULL) {
tstate           3445 dev/ic/aic7xxx.c 			lstate = tstate->enabled_luns[devinfo->lun];
tstate           3497 dev/ic/aic7xxx.c 	struct ahc_tmode_tstate *tstate;
tstate           3506 dev/ic/aic7xxx.c 				    devinfo->target, &tstate);
tstate           3807 dev/ic/aic7xxx.c 	struct ahc_tmode_tstate* tstate;
tstate           3821 dev/ic/aic7xxx.c 	tstate = ahc->enabled_targets[devinfo->our_scsiid];
tstate           3822 dev/ic/aic7xxx.c 	if (tstate != NULL) {
tstate           3826 dev/ic/aic7xxx.c 			lstate = tstate->enabled_luns[lun];
tstate           3995 dev/ic/aic7xxx.c 		struct ahc_tmode_tstate *tstate;
tstate           3997 dev/ic/aic7xxx.c 		tstate = ahc->enabled_targets[i];
tstate           3998 dev/ic/aic7xxx.c 		if (tstate != NULL) {
tstate           4005 dev/ic/aic7xxx.c 				lstate = tstate->enabled_luns[j];
tstate           4012 dev/ic/aic7xxx.c 			free(tstate, M_DEVBUF);
tstate           4881 dev/ic/aic7xxx.c 		struct ahc_tmode_tstate *tstate;
tstate           4895 dev/ic/aic7xxx.c 					    target_id, &tstate);
tstate           4977 dev/ic/aic7xxx.c 		tstate->ultraenb = 0;
tstate           4978 dev/ic/aic7xxx.c 		tstate->discenable = discenable;
tstate           5914 dev/ic/aic7xxx.c 		struct ahc_tmode_tstate* tstate;
tstate           5917 dev/ic/aic7xxx.c 		tstate = ahc->enabled_targets[target];
tstate           5918 dev/ic/aic7xxx.c 		if (tstate == NULL)
tstate           5923 dev/ic/aic7xxx.c 			lstate = tstate->enabled_luns[lun];
tstate           6674 dev/ic/aic7xxx.c 		    struct ahc_tmode_tstate **tstate,
tstate           6688 dev/ic/aic7xxx.c 		*tstate = NULL;
tstate           6700 dev/ic/aic7xxx.c 		*tstate = ahc->enabled_targets[ccb->ccb_h.target_id];
tstate           6702 dev/ic/aic7xxx.c 		if (*tstate != NULL)
tstate           6704 dev/ic/aic7xxx.c 			    (*tstate)->enabled_luns[ccb->ccb_h.target_lun];
tstate           6716 dev/ic/aic7xxx.c 	struct	   ahc_tmode_tstate *tstate;
tstate           6728 dev/ic/aic7xxx.c 	status = ahc_find_tmode_devs(ahc, sim, ccb, &tstate, &lstate,
tstate           6871 dev/ic/aic7xxx.c 		if (target != CAM_TARGET_WILDCARD && tstate == NULL) {
tstate           6872 dev/ic/aic7xxx.c 			tstate = ahc_alloc_tstate(ahc, target, channel);
tstate           6873 dev/ic/aic7xxx.c 			if (tstate == NULL) {
tstate           6904 dev/ic/aic7xxx.c 			tstate->enabled_luns[lun] = lstate;
tstate           7019 dev/ic/aic7xxx.c 			tstate->enabled_luns[lun] = NULL;
tstate           7022 dev/ic/aic7xxx.c 				if (tstate->enabled_luns[i] != NULL) {
tstate           7188 dev/ic/aic7xxx.c 	struct	  ahc_tmode_tstate *tstate;
tstate           7201 dev/ic/aic7xxx.c 	tstate = ahc->enabled_targets[target];
tstate           7203 dev/ic/aic7xxx.c 	if (tstate != NULL)
tstate           7204 dev/ic/aic7xxx.c 		lstate = tstate->enabled_luns[lun];
tstate            251 dev/ic/aic7xxx_inline.h 					    struct ahc_tmode_tstate **tstate);
tstate            297 dev/ic/aic7xxx_inline.h 		    u_int remote_id, struct ahc_tmode_tstate **tstate)
tstate            307 dev/ic/aic7xxx_inline.h 	*tstate = ahc->enabled_targets[our_id];
tstate            308 dev/ic/aic7xxx_inline.h 	return (&(*tstate)->transinfo[remote_id]);
tstate            366 dev/ic/aic7xxx_openbsd.c 	struct	ahc_tmode_tstate *tstate;
tstate            449 dev/ic/aic7xxx_openbsd.c 				    &tstate);
tstate            455 dev/ic/aic7xxx_openbsd.c 	if ((tstate->ultraenb & mask) != 0)
tstate            458 dev/ic/aic7xxx_openbsd.c 	if ((tstate->discenable & mask) != 0)
tstate            461 dev/ic/aic7xxx_openbsd.c 	if ((tstate->auto_negotiate & mask) != 0) {
tstate            466 dev/ic/aic7xxx_openbsd.c 	if ((tstate->tagenable & mask) != 0)
tstate            526 dev/ic/aic7xxx_openbsd.c 			ahc_update_neg_request(ahc, &devinfo, tstate, tinfo,
tstate            679 dev/ic/aic7xxx_openbsd.c 	struct ahc_tmode_tstate *tstate;
tstate            682 dev/ic/aic7xxx_openbsd.c 			    devinfo->target, &tstate);
tstate            689 dev/ic/aic7xxx_openbsd.c 		tstate->tagenable |= devinfo->target_mask;
tstate            692 dev/ic/aic7xxx_openbsd.c 		tstate->tagenable &= ~devinfo->target_mask;
tstate            735 dev/ic/aic7xxx_openbsd.c 	struct ahc_tmode_tstate *tstate;
tstate            747 dev/ic/aic7xxx_openbsd.c 	    devinfo.our_scsiid, devinfo.target, &tstate);
tstate            749 dev/ic/aic7xxx_openbsd.c 	tstate->discenable |= (ahc->user_discenable & devinfo.target_mask);
tstate            752 dev/ic/aic7xxx_openbsd.c 		tstate->tagenable &= ~devinfo.target_mask;
tstate            754 dev/ic/aic7xxx_openbsd.c 		tstate->tagenable |= devinfo.target_mask;
tstate            780 dev/ic/aic7xxx_openbsd.c 	if ((tstate->discenable & devinfo.target_mask) == 0 ||
tstate            781 dev/ic/aic7xxx_openbsd.c 	    (tstate->tagenable & devinfo.target_mask) == 0)
tstate             72 net/slcompress.c 	struct cstate *tstate = comp->tstate;
tstate             76 net/slcompress.c 		tstate[i].cs_id = i;
tstate             77 net/slcompress.c 		tstate[i].cs_next = &tstate[i - 1];
tstate             79 net/slcompress.c 	tstate[0].cs_next = &tstate[MAX_STATES - 1];
tstate             80 net/slcompress.c 	tstate[0].cs_id = 0;
tstate             81 net/slcompress.c 	comp->last_cs = &tstate[0];
tstate             98 net/slcompress.c 	struct cstate *tstate = comp->tstate;
tstate            105 net/slcompress.c 		bzero((char *)comp->tstate, sizeof(comp->tstate));
tstate            109 net/slcompress.c 		tstate[i].cs_id = i;
tstate            110 net/slcompress.c 		tstate[i].cs_next = &tstate[i - 1];
tstate            112 net/slcompress.c 	tstate[0].cs_next = &tstate[max_state];
tstate            113 net/slcompress.c 	tstate[0].cs_id = 0;
tstate            114 net/slcompress.c 	comp->last_cs = &tstate[0];
tstate            151 net/slcompress.h 	struct cstate tstate[MAX_STATES];	/* xmit connection states */