Home
last modified time | relevance | path

Searched refs:toggle (Results 1 – 21 of 21) sorted by relevance

/plan9/sys/src/cmd/ip/httpd/
H A Dnetlib_history.c68 int toggle = 0, started = 0, limit; in netlibhistory() local
107 f = pair[toggle]; in netlibhistory()
110 gunzip(f, tmpf[toggle]); in netlibhistory()
111 strcpy(f, tmpf[toggle]); in netlibhistory()
119 pair[1-toggle], pair[toggle], nil); in netlibhistory()
135 hprint(HO," <FONT SIZE=-1>(%s)</FONT>\n", pair[toggle]); in netlibhistory()
136 toggle = 1-toggle; in netlibhistory()
/plan9/sys/src/cmd/
H A Dhistory.c107 int toggle, started, missing; in ysearch() local
166 toggle = 0; in ysearch()
196 strcpy(pair[toggle], buf); in ysearch()
200 dargv[ndargv] = pair[toggle]; in ysearch()
201 dargv[ndargv+1] = pair[toggle ^ 1]; in ysearch()
215 toggle ^= 1; in ysearch()
H A Dmug.c606 static int toggle; in move() local
635 toggle = 1-toggle; in move()
636 if(toggle){ in move()
664 toggle = 1-toggle; in move()
665 if(toggle){ in move()
695 toggle = 1-toggle; in move()
696 if(toggle){ in move()
724 toggle = 1-toggle; in move()
725 if(toggle){ in move()
/plan9/sys/src/9/bcm/
H A Dusbdwc.c464 m = chanio(ep, hc, rw == Read? Epin : Epout, ep->toggle[rw], in multitrans()
466 ep->toggle[rw] = hc->hctsiz & Pid; in multitrans()
480 ep->toggle[Write] = DATA0; in eptrans()
482 ep->toggle[Read] = DATA0; in eptrans()
486 ep->toggle[rw] = hc->hctsiz & Pid; in eptrans()
496 n = chanio(ep, hc, rw == Read? Epin : Epout, ep->toggle[rw], in eptrans()
498 ep->toggle[rw] = hc->hctsiz & Pid; in eptrans()
547 ep->toggle[Read] = DATA1; in ctltrans()
715 if(ep->toggle[Read] == 0) in epopen()
716 ep->toggle[Read] = DATA0; in epopen()
[all …]
H A Ddevusb.c457 ep->toggle[0] = ep->toggle[1] = 0; in newdev()
491 nep->toggle[0] = nep->toggle[1] = 0; in newdevep()
/plan9/sys/src/9/pc/
H A Dusbuhci.c166 int toggle; /* Tddata0/Tddata1 */ member
1175 tok = io->tok | io->toggle; in epgettd()
1176 io->toggle = nexttoggle(io->toggle); in epgettd()
1348 io->toggle = td->token & Tddata1; in epio()
1388 io[OWRITE].toggle = Tddata0; in clrhalt()
1394 io[OREAD].toggle = Tddata0; in clrhalt()
1509 cio->toggle = Tddata0; in epctlio()
1515 cio->toggle = Tddata1; in epctlio()
1546 cio->toggle = Tddata1; in epctlio()
1755 if(ep->toggle[OWRITE] != 0) in epopen()
[all …]
H A Dusbohci.c197 int toggle; /* Tddata0/Tddata1 */ member
922 io->toggle, io->iotime, io->err, io->usbid); in seprintio()
1347 td->ctrl = io->tok|Tdusetog|io->toggle|flags; in epgettd()
1348 if(io->toggle == Tddata0) in epgettd()
1349 io->toggle = Tddata1; in epgettd()
1351 io->toggle = Tddata0; in epgettd()
1541 io->toggle = Tddata0; in epio()
1543 io->toggle = Tddata1; in epio()
1574 io[OWRITE].toggle = Tddata0; in clrhalt()
1580 io[OREAD].toggle = Tddata0; in clrhalt()
[all …]
H A Ddevusb.c456 ep->toggle[0] = ep->toggle[1] = 0; in newdev()
490 nep->toggle[0] = nep->toggle[1] = 0; in newdevep()
/plan9/sys/src/libcontrol/
H A Dtextbutton3.c35 int toggle; member
177 if(t->pressed || t->toggle) in textbutton3show()
345 t->toggle = 1; in textbutton3ctl()
347 t->toggle = 0; in textbutton3ctl()
390 t->toggle = 0; in createtextbutton3()
/plan9/sys/src/9/port/
H A Dusbehci.c189 int toggle; /* Tddata0/Tddata1 */ member
1739 s = seprint(s,e," tog %#x tok %#x err %s", io->toggle, io->tok, io->err); in seprintio()
1795 io[OWRITE].toggle = Tddata0; in clrhalt()
1801 io[OREAD].toggle = Tddata0; in clrhalt()
2063 nexttoggle(int toggle, int count, int maxpkt) in nexttoggle() argument
2071 return toggle; in nexttoggle()
2072 if(toggle == Tddata1) in nexttoggle()
2088 td->csw = flags | io->toggle | io->tok | count << Tdlenshift | in epgettd()
2113 io->toggle = nexttoggle(io->toggle, count, maxpkt); in epgettd()
2384 io->toggle = td->csw & Tddata1; in epio()
[all …]
H A Dusb.h167 int toggle[2]; /* saved toggles (while ep is not in use) */ member
H A Ddevaoe.c1512 toggle(char *s, int f, int bit) in toggle() function
1567 d->flag = toggle(cb->f[1], d->flag, Djumbo); in unitctlwrite()
1589 d->flag = toggle(cb->f[1], d->flag, Dnofail); in unitctlwrite()
2549 autodiscover = toggle(f, autodiscover, 1); in topctlwrite()
2555 debug = toggle(f, debug, 1); in topctlwrite()
2561 rediscover = toggle(f, rediscover, 1); in topctlwrite()
/plan9/sys/src/9/omap/
H A Ddevusb.c457 ep->toggle[0] = ep->toggle[1] = 0; in newdev()
491 nep->toggle[0] = nep->toggle[1] = 0; in newdevep()
/plan9/sys/src/9/kw/
H A Ddevusb.c457 ep->toggle[0] = ep->toggle[1] = 0; in newdev()
491 nep->toggle[0] = nep->toggle[1] = 0; in newdevep()
/plan9/sys/src/9/teg2/
H A Darchtegra.c106 ulong toggle; member
/plan9/sys/man/
H A Dsearchindex29 …rage string support supported supports swappable swapping sys technology toggle transition typical…
39 … supplies synonym sys sysname systems tack target tcp tcp53 there's time toggle track transfer tra…
53 …uccessful supplies supports sys tag tagno tb template templates time tls toggle tokens toosmall to…
60 …p style support syntax sys systems takes tcp time tis tis_authentication toggle token tradition tr…
95 …successfully suggestions sys table taking tcp textual tickets time times toggle trees typical typi…
198 …ics stats stop strongly summary suppress sync sys tags tcp terminal time toggle toggles touched tr…
228 …ories successive suitable symposium sys target target's targets th timer toggle toggled toggles tr…
229 …able suspend swap swapped symbol sys table target test text textual time toggle tokenize tprof tra…
232 …al th tha thread thread.h threadexitsall threadmain threads tightly time toggle toggled toggles to…
267 … tables tbl technologies theory.html thicker tile tiles tileset time tmp toggle tries troff try tr…
[all …]
/plan9/sys/doc/
H A D9.ms786 used to toggle a feature at compile time can be written
/plan9/sys/games/lib/
H A Danawords17054 toggle
/plan9/sys/lib/man/lookman/
H A Dindex63991 toggle /sys/man/1/con
63992 toggle /sys/man/1/games
63993 toggle /sys/man/1/proof
63994 toggle /sys/man/1/ssh1
63995 toggle /sys/man/1/ssh2
63996 toggle /sys/man/2/control
63997 toggle /sys/man/3/aoe
63998 toggle /sys/man/3/proc
63999 toggle /sys/man/3/sdahci
64000 toggle /sys/man/4/factotum
[all …]
/plan9/lib/
H A Dwords27143 toggle
/plan9/sys/src/cmd/spell/
H A Dlist26796 toggle n,v