bin/ksh/c_ksh.c
1025
struct tstate ts;
bin/ksh/edit.c
864
struct tstate ts;
bin/ksh/exec.c
941
struct tstate ts;
bin/ksh/table.c
159
ktwalk(struct tstate *ts, struct table *tp)
bin/ksh/table.c
166
ktnext(struct tstate *ts)
bin/ksh/table.c
217
struct tstate ts;
bin/ksh/table.h
191
void ktwalk(struct tstate *, struct table *);
bin/ksh/table.h
192
struct tbl * ktnext(struct tstate *);
sys/arch/sparc64/include/db_machdep.h
49
int64_t tstate;
sys/arch/sparc64/sparc64/db_trace.c
446
i+1, (long)ts[i].tt, (u_long)ts[i].tstate,
sys/arch/sparc64/sparc64/machdep.c
250
int64_t tstate;
sys/arch/sparc64/sparc64/machdep.c
299
tstate = ((u_int64_t)ASI_PRIMARY_NO_FAULT << TSTATE_ASI_SHIFT) |
sys/arch/sparc64/sparc64/machdep.c
312
tf->tf_tstate = tstate;
sys/arch/sparc64/sparc64/trap.c
284
void trap(struct trapframe *tf, unsigned type, vaddr_t pc, long tstate);
sys/arch/sparc64/sparc64/trap.c
318
trap(struct trapframe *tf, unsigned type, vaddr_t pc, long tstate)
sys/arch/sparc64/sparc64/trap.c
322
int pstate = (tstate>>TSTATE_PSTATE_SHIFT);
sys/dev/ic/aic79xx.c
10213
u_int remote_id, struct ahd_tmode_tstate **tstate)
sys/dev/ic/aic79xx.c
10223
*tstate = ahd->enabled_targets[our_id];
sys/dev/ic/aic79xx.c
10224
return (&(*tstate)->transinfo[remote_id]);
sys/dev/ic/aic79xx.c
1074
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
1106
&tstate);
sys/dev/ic/aic79xx.c
2268
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
2286
devinfo.target, &tstate);
sys/dev/ic/aic79xx.c
2547
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
2559
&tstate);
sys/dev/ic/aic79xx.c
2560
ahd_update_neg_request(ahd, devinfo, tstate,
sys/dev/ic/aic79xx.c
2796
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
2804
tstate = malloc(sizeof(*tstate), M_DEVBUF, M_NOWAIT | M_ZERO);
sys/dev/ic/aic79xx.c
2805
if (tstate == NULL)
sys/dev/ic/aic79xx.c
2815
memcpy(tstate, master_tstate, sizeof(*tstate));
sys/dev/ic/aic79xx.c
2816
memset(tstate->enabled_luns, 0, sizeof(tstate->enabled_luns));
sys/dev/ic/aic79xx.c
2818
memset(&tstate->transinfo[i].curr, 0,
sys/dev/ic/aic79xx.c
2819
sizeof(tstate->transinfo[i].curr));
sys/dev/ic/aic79xx.c
2820
memset(&tstate->transinfo[i].goal, 0,
sys/dev/ic/aic79xx.c
2821
sizeof(tstate->transinfo[i].goal));
sys/dev/ic/aic79xx.c
2824
ahd->enabled_targets[scsi_id] = tstate;
sys/dev/ic/aic79xx.c
2825
return (tstate);
sys/dev/ic/aic79xx.c
2836
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
2846
tstate = ahd->enabled_targets[scsi_id];
sys/dev/ic/aic79xx.c
2847
if (tstate != NULL)
sys/dev/ic/aic79xx.c
2848
free(tstate, M_DEVBUF, 0);
sys/dev/ic/aic79xx.c
3010
struct ahd_tmode_tstate *tstate,
sys/dev/ic/aic79xx.c
3015
auto_negotiate_orig = tstate->auto_negotiate;
sys/dev/ic/aic79xx.c
3036
tstate->auto_negotiate |= devinfo->target_mask;
sys/dev/ic/aic79xx.c
3038
tstate->auto_negotiate &= ~devinfo->target_mask;
sys/dev/ic/aic79xx.c
3040
return (auto_negotiate_orig != tstate->auto_negotiate);
sys/dev/ic/aic79xx.c
3057
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
3073
devinfo->target, &tstate);
sys/dev/ic/aic79xx.c
3183
update_needed += ahd_update_neg_request(ahd, devinfo, tstate,
sys/dev/ic/aic79xx.c
3203
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
3211
devinfo->target, &tstate);
sys/dev/ic/aic79xx.c
3244
update_needed += ahd_update_neg_request(ahd, devinfo, tstate,
sys/dev/ic/aic79xx.c
3399
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
3404
devinfo.target, &tstate);
sys/dev/ic/aic79xx.c
3405
if ((tstate->auto_negotiate & devinfo.target_mask) == 0
sys/dev/ic/aic79xx.c
3687
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
3696
devinfo->target, &tstate);
sys/dev/ic/aic79xx.c
4272
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
4281
devinfo->target, &tstate);
sys/dev/ic/aic79xx.c
4470
ahd_update_neg_request(ahd, devinfo, tstate,
sys/dev/ic/aic79xx.c
4633
tstate = ahd->enabled_targets[devinfo->our_scsiid];
sys/dev/ic/aic79xx.c
4634
if (tstate != NULL) {
sys/dev/ic/aic79xx.c
4637
lstate = tstate->enabled_luns[devinfo->lun];
sys/dev/ic/aic79xx.c
4697
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
4706
devinfo->target, &tstate);
sys/dev/ic/aic79xx.c
5095
struct ahd_tmode_tstate* tstate;
sys/dev/ic/aic79xx.c
5108
tstate = ahd->enabled_targets[devinfo->our_scsiid];
sys/dev/ic/aic79xx.c
5109
if (tstate != NULL) {
sys/dev/ic/aic79xx.c
5123
lstate = tstate->enabled_luns[cur_lun];
sys/dev/ic/aic79xx.c
5391
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
5393
tstate = ahd->enabled_targets[i];
sys/dev/ic/aic79xx.c
5394
if (tstate != NULL) {
sys/dev/ic/aic79xx.c
5401
lstate = tstate->enabled_luns[j];
sys/dev/ic/aic79xx.c
5408
free(tstate, M_DEVBUF, 0);
sys/dev/ic/aic79xx.c
6384
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
6387
target, &tstate);
sys/dev/ic/aic79xx.c
6554
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
6558
targ, &tstate);
sys/dev/ic/aic79xx.c
6567
tstate->discenable |= target_mask;
sys/dev/ic/aic79xx.c
6597
tstate->tagenable &= ~target_mask;
sys/dev/ic/aic79xx.c
6634
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
6638
targ, &tstate);
sys/dev/ic/aic79xx.c
6649
tstate->discenable &= ~target_mask;
sys/dev/ic/aic79xx.c
6652
tstate->discenable |= target_mask;
sys/dev/ic/aic79xx.c
6703
tstate->tagenable &= ~target_mask;
sys/dev/ic/aic79xx.c
7716
struct ahd_tmode_tstate* tstate;
sys/dev/ic/aic79xx.c
7719
tstate = ahd->enabled_targets[target];
sys/dev/ic/aic79xx.c
7720
if (tstate == NULL)
sys/dev/ic/aic79xx.c
7725
lstate = tstate->enabled_luns[lun];
sys/dev/ic/aic79xx.c
7968
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
7990
&tstate);
sys/dev/ic/aic79xx.c
8037
tstate, targ_info,
sys/dev/ic/aic79xx.c
8040
if (tstate->auto_negotiate & devinfo.target_mask) {
sys/dev/ic/aic79xx.c
9261
struct ahd_tmode_tstate **tstate,
sys/dev/ic/aic79xx.c
9275
*tstate = NULL;
sys/dev/ic/aic79xx.c
9287
*tstate = ahd->enabled_targets[ccb->ccb_h.target_id];
sys/dev/ic/aic79xx.c
9289
if (*tstate != NULL)
sys/dev/ic/aic79xx.c
9291
(*tstate)->enabled_luns[ccb->ccb_h.target_lun];
sys/dev/ic/aic79xx.c
9304
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
9314
status = ahd_find_tmode_devs(ahd, sim, ccb, &tstate, &lstate,
sys/dev/ic/aic79xx.c
9413
if (target != CAM_TARGET_WILDCARD && tstate == NULL) {
sys/dev/ic/aic79xx.c
9414
tstate = ahd_alloc_tstate(ahd, target, channel);
sys/dev/ic/aic79xx.c
9415
if (tstate == NULL) {
sys/dev/ic/aic79xx.c
9445
tstate->enabled_luns[lun] = lstate;
sys/dev/ic/aic79xx.c
9553
tstate->enabled_luns[lun] = NULL;
sys/dev/ic/aic79xx.c
9556
if (tstate->enabled_luns[i] != NULL) {
sys/dev/ic/aic79xx.c
9694
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
9707
tstate = ahd->enabled_targets[target];
sys/dev/ic/aic79xx.c
9709
if (tstate != NULL)
sys/dev/ic/aic79xx.c
9710
lstate = tstate->enabled_luns[lun];
sys/dev/ic/aic79xx.h
1481
struct ahd_tmode_tstate **tstate,
sys/dev/ic/aic79xx_openbsd.c
256
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx_openbsd.c
277
tinfo = ahd_fetch_transinfo(ahd, 'A', our_id, target_id, &tstate);
sys/dev/ic/aic79xx_openbsd.c
321
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx_openbsd.c
374
&tstate);
sys/dev/ic/aic79xx_openbsd.c
378
if ((tstate->discenable & mask) != 0)
sys/dev/ic/aic79xx_openbsd.c
381
if ((tstate->tagenable & mask) != 0)
sys/dev/ic/aic79xx_openbsd.c
390
if ((tstate->auto_negotiate & mask) != 0) {
sys/dev/ic/aic79xx_openbsd.c
426
ahd_update_neg_request(ahd, &devinfo, tstate, tinfo,
sys/dev/ic/aic79xx_openbsd.c
523
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx_openbsd.c
526
devinfo->target, &tstate);
sys/dev/ic/aic79xx_openbsd.c
529
tstate->tagenable |= devinfo->target_mask;
sys/dev/ic/aic79xx_openbsd.c
531
tstate->tagenable &= ~devinfo->target_mask;
sys/dev/ic/aic79xx_openbsd.c
560
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx_openbsd.c
573
tinfo = ahd_fetch_transinfo(ahd, 'A', our_id, target_id, &tstate);
sys/dev/ic/aic79xx_openbsd.c
577
tstate->discenable |= (ahd->user_discenable & devinfo.target_mask);
sys/dev/ic/aic79xx_openbsd.c
580
tstate->tagenable &= ~devinfo.target_mask;
sys/dev/ic/aic79xx_openbsd.c
582
tstate->tagenable |= devinfo.target_mask;
sys/dev/ic/aic79xx_openbsd.c
608
if ((tstate->discenable & devinfo.target_mask) == 0 ||
sys/dev/ic/aic79xx_openbsd.c
609
(tstate->tagenable & devinfo.target_mask) == 0)
sys/dev/ic/aic7xxx.c
1337
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
1347
&tstate);
sys/dev/ic/aic7xxx.c
1439
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
1445
&tstate);
sys/dev/ic/aic7xxx.c
1446
ahc_update_neg_request(ahc, devinfo, tstate,
sys/dev/ic/aic7xxx.c
1603
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
1615
tstate = malloc(sizeof(*tstate), M_DEVBUF, M_NOWAIT | M_ZERO);
sys/dev/ic/aic7xxx.c
1616
if (tstate == NULL)
sys/dev/ic/aic7xxx.c
1626
memcpy(tstate, master_tstate, sizeof(*tstate));
sys/dev/ic/aic7xxx.c
1627
memset(tstate->enabled_luns, 0, sizeof(tstate->enabled_luns));
sys/dev/ic/aic7xxx.c
1628
tstate->ultraenb = 0;
sys/dev/ic/aic7xxx.c
1630
memset(&tstate->transinfo[i].curr, 0,
sys/dev/ic/aic7xxx.c
1631
sizeof(tstate->transinfo[i].curr));
sys/dev/ic/aic7xxx.c
1632
memset(&tstate->transinfo[i].goal, 0,
sys/dev/ic/aic7xxx.c
1633
sizeof(tstate->transinfo[i].goal));
sys/dev/ic/aic7xxx.c
1636
ahc->enabled_targets[scsi_id] = tstate;
sys/dev/ic/aic7xxx.c
1637
return (tstate);
sys/dev/ic/aic7xxx.c
1648
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
1661
tstate = ahc->enabled_targets[scsi_id];
sys/dev/ic/aic7xxx.c
1662
if (tstate != NULL)
sys/dev/ic/aic7xxx.c
1663
free(tstate, M_DEVBUF, sizeof(*tstate));
sys/dev/ic/aic7xxx.c
1890
struct ahc_tmode_tstate *tstate,
sys/dev/ic/aic7xxx.c
1895
auto_negotiate_orig = tstate->auto_negotiate;
sys/dev/ic/aic7xxx.c
1916
tstate->auto_negotiate |= devinfo->target_mask;
sys/dev/ic/aic7xxx.c
1918
tstate->auto_negotiate &= ~devinfo->target_mask;
sys/dev/ic/aic7xxx.c
1920
return (auto_negotiate_orig != tstate->auto_negotiate);
sys/dev/ic/aic7xxx.c
1937
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
1953
devinfo->target, &tstate);
sys/dev/ic/aic7xxx.c
1996
tstate->ultraenb &= ~devinfo->target_mask;
sys/dev/ic/aic7xxx.c
1999
tstate->ultraenb |=
sys/dev/ic/aic7xxx.c
2010
if (tstate->ultraenb & devinfo->target_mask)
sys/dev/ic/aic7xxx.c
2043
update_needed += ahc_update_neg_request(ahc, devinfo, tstate,
sys/dev/ic/aic7xxx.c
2063
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
2071
devinfo->target, &tstate);
sys/dev/ic/aic7xxx.c
2105
update_needed += ahc_update_neg_request(ahc, devinfo, tstate,
sys/dev/ic/aic7xxx.c
2146
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
2151
devinfo.target, &tstate);
sys/dev/ic/aic7xxx.c
2154
if ((tstate->ultraenb & devinfo.target_mask) != 0)
sys/dev/ic/aic7xxx.c
2158
if ((tstate->auto_negotiate & devinfo.target_mask) == 0
sys/dev/ic/aic7xxx.c
2407
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
2417
devinfo->target, &tstate);
sys/dev/ic/aic7xxx.c
3034
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
3044
devinfo->target, &tstate);
sys/dev/ic/aic7xxx.c
3238
ahc_update_neg_request(ahc, devinfo, tstate,
sys/dev/ic/aic7xxx.c
3407
tstate = ahc->enabled_targets[devinfo->our_scsiid];
sys/dev/ic/aic7xxx.c
3408
if (tstate != NULL) {
sys/dev/ic/aic7xxx.c
3411
lstate = tstate->enabled_luns[devinfo->lun];
sys/dev/ic/aic7xxx.c
3463
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
3472
devinfo->target, &tstate);
sys/dev/ic/aic7xxx.c
3773
struct ahc_tmode_tstate* tstate;
sys/dev/ic/aic7xxx.c
3787
tstate = ahc->enabled_targets[devinfo->our_scsiid];
sys/dev/ic/aic7xxx.c
3788
if (tstate != NULL) {
sys/dev/ic/aic7xxx.c
3792
lstate = tstate->enabled_luns[lun];
sys/dev/ic/aic7xxx.c
3957
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
3959
tstate = ahc->enabled_targets[i];
sys/dev/ic/aic7xxx.c
3960
if (tstate != NULL) {
sys/dev/ic/aic7xxx.c
3967
lstate = tstate->enabled_luns[j];
sys/dev/ic/aic7xxx.c
3974
free(tstate, M_DEVBUF, sizeof(*tstate));
sys/dev/ic/aic7xxx.c
4817
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
4831
target_id, &tstate);
sys/dev/ic/aic7xxx.c
4913
tstate->ultraenb = 0;
sys/dev/ic/aic7xxx.c
4914
tstate->discenable = discenable;
sys/dev/ic/aic7xxx.c
510
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
527
&tstate);
sys/dev/ic/aic7xxx.c
579
tstate, targ_info,
sys/dev/ic/aic7xxx.c
582
if (tstate->auto_negotiate & devinfo.target_mask) {
sys/dev/ic/aic7xxx.c
5847
struct ahc_tmode_tstate* tstate;
sys/dev/ic/aic7xxx.c
5850
tstate = ahc->enabled_targets[target];
sys/dev/ic/aic7xxx.c
5851
if (tstate == NULL)
sys/dev/ic/aic7xxx.c
5856
lstate = tstate->enabled_luns[lun];
sys/dev/ic/aic7xxx.c
6608
struct ahc_tmode_tstate **tstate,
sys/dev/ic/aic7xxx.c
6622
*tstate = NULL;
sys/dev/ic/aic7xxx.c
6634
*tstate = ahc->enabled_targets[ccb->ccb_h.target_id];
sys/dev/ic/aic7xxx.c
6636
if (*tstate != NULL)
sys/dev/ic/aic7xxx.c
6638
(*tstate)->enabled_luns[ccb->ccb_h.target_lun];
sys/dev/ic/aic7xxx.c
6650
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
6662
status = ahc_find_tmode_devs(ahc, sim, ccb, &tstate, &lstate,
sys/dev/ic/aic7xxx.c
6805
if (target != CAM_TARGET_WILDCARD && tstate == NULL) {
sys/dev/ic/aic7xxx.c
6806
tstate = ahc_alloc_tstate(ahc, target, channel);
sys/dev/ic/aic7xxx.c
6807
if (tstate == NULL) {
sys/dev/ic/aic7xxx.c
6837
tstate->enabled_luns[lun] = lstate;
sys/dev/ic/aic7xxx.c
6952
tstate->enabled_luns[lun] = NULL;
sys/dev/ic/aic7xxx.c
6955
if (tstate->enabled_luns[i] != NULL) {
sys/dev/ic/aic7xxx.c
7117
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
7130
tstate = ahc->enabled_targets[target];
sys/dev/ic/aic7xxx.c
7132
if (tstate != NULL)
sys/dev/ic/aic7xxx.c
7133
lstate = tstate->enabled_luns[lun];
sys/dev/ic/aic7xxx_inline.h
251
struct ahc_tmode_tstate **tstate);
sys/dev/ic/aic7xxx_inline.h
294
u_int remote_id, struct ahc_tmode_tstate **tstate)
sys/dev/ic/aic7xxx_inline.h
304
*tstate = ahc->enabled_targets[our_id];
sys/dev/ic/aic7xxx_inline.h
305
return (&(*tstate)->transinfo[remote_id]);
sys/dev/ic/aic7xxx_openbsd.c
304
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx_openbsd.c
374
&tstate);
sys/dev/ic/aic7xxx_openbsd.c
380
if ((tstate->ultraenb & mask) != 0)
sys/dev/ic/aic7xxx_openbsd.c
383
if ((tstate->discenable & mask) != 0)
sys/dev/ic/aic7xxx_openbsd.c
386
if ((tstate->auto_negotiate & mask) != 0) {
sys/dev/ic/aic7xxx_openbsd.c
391
if ((tstate->tagenable & mask) != 0)
sys/dev/ic/aic7xxx_openbsd.c
451
ahc_update_neg_request(ahc, &devinfo, tstate, tinfo,
sys/dev/ic/aic7xxx_openbsd.c
597
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx_openbsd.c
600
devinfo->target, &tstate);
sys/dev/ic/aic7xxx_openbsd.c
607
tstate->tagenable |= devinfo->target_mask;
sys/dev/ic/aic7xxx_openbsd.c
610
tstate->tagenable &= ~devinfo->target_mask;
sys/dev/ic/aic7xxx_openbsd.c
632
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx_openbsd.c
644
devinfo.our_scsiid, devinfo.target, &tstate);
sys/dev/ic/aic7xxx_openbsd.c
646
tstate->discenable |= (ahc->user_discenable & devinfo.target_mask);
sys/dev/ic/aic7xxx_openbsd.c
649
tstate->tagenable &= ~devinfo.target_mask;
sys/dev/ic/aic7xxx_openbsd.c
651
tstate->tagenable |= devinfo.target_mask;
sys/dev/ic/aic7xxx_openbsd.c
677
if ((tstate->discenable & devinfo.target_mask) == 0 ||
sys/dev/ic/aic7xxx_openbsd.c
678
(tstate->tagenable & devinfo.target_mask) == 0)
sys/net/slcompress.c
101
tstate[i].cs_id = i;
sys/net/slcompress.c
102
tstate[i].cs_next = &tstate[i - 1];
sys/net/slcompress.c
104
tstate[0].cs_next = &tstate[max_state];
sys/net/slcompress.c
105
tstate[0].cs_id = 0;
sys/net/slcompress.c
106
comp->last_cs = &tstate[0];
sys/net/slcompress.c
66
struct cstate *tstate = comp->tstate;
sys/net/slcompress.c
70
tstate[i].cs_id = i;
sys/net/slcompress.c
71
tstate[i].cs_next = &tstate[i - 1];
sys/net/slcompress.c
73
tstate[0].cs_next = &tstate[MAX_STATES - 1];
sys/net/slcompress.c
74
tstate[0].cs_id = 0;
sys/net/slcompress.c
75
comp->last_cs = &tstate[0];
sys/net/slcompress.c
90
struct cstate *tstate = comp->tstate;
sys/net/slcompress.c
97
bzero((char *)comp->tstate, sizeof(comp->tstate));
sys/net/slcompress.h
152
struct cstate tstate[MAX_STATES]; /* xmit connection states */
usr.bin/sndiod/dev.c
1019
if (mtc_array[0].dev == d && mtc_array[0].tstate != MTC_STOP)
usr.bin/sndiod/dev.c
1142
if (mtc->tstate != MTC_START) {
usr.bin/sndiod/dev.c
1166
mtc->tstate = MTC_RUN;
usr.bin/sndiod/dev.c
1177
if (mtc->tstate == MTC_STOP) {
usr.bin/sndiod/dev.c
1178
mtc->tstate = MTC_START;
usr.bin/sndiod/dev.c
1193
switch (mtc->tstate) {
usr.bin/sndiod/dev.c
1195
mtc->tstate = MTC_STOP;
usr.bin/sndiod/dev.c
1198
mtc->tstate = MTC_STOP;
usr.bin/sndiod/dev.c
1217
if (mtc->tstate == MTC_RUN)
usr.bin/sndiod/dev.c
1220
if (mtc->tstate == MTC_RUN)
usr.bin/sndiod/dev.c
1238
if (mtc->tstate == MTC_RUN) {
usr.bin/sndiod/dev.c
1245
if (mtc->tstate == MTC_RUN) {
usr.bin/sndiod/dev.c
537
(mtc_array[0].dev != d || mtc_array[0].tstate != MTC_RUN)) {
usr.bin/sndiod/dev.c
715
if (mtc_array[0].dev == d && mtc_array[0].tstate == MTC_RUN)
usr.bin/sndiod/dev.c
87
{.dev = NULL, .tstate = MTC_STOP}
usr.bin/sndiod/dev.h
188
unsigned int tstate; /* one of MTC_* constants */