Searched refs:newcnt (Results 1 - 5 of 5) sorted by path

/freebsd-11-stable/sys/amd64/vmm/io/
H A Dvatpic.c420 int oldcnt, newcnt; local
435 newcnt = atpic->acnt[pin & 0x7];
437 if (newcnt < 0) {
438 VATPIC_CTR2(vatpic, "atpic pin%d: bad acnt %d", pin, newcnt);
443 if ((oldcnt == 0 && newcnt == 1) || (newcnt > 0 && level == true)) {
447 } else if (oldcnt == 1 && newcnt == 0) {
454 pin, newstate ? "asserted" : "deasserted", newcnt);
H A Dvioapic.c131 int oldcnt, newcnt; local
145 newcnt = vioapic->rtbl[pin].acnt;
147 if (newcnt < 0) {
149 pin, newcnt);
153 if (oldcnt == 0 && newcnt == 1) {
156 } else if (oldcnt == 1 && newcnt == 0) {
160 pin, pinstate_str(newstate), newcnt);
/freebsd-11-stable/sys/dev/sound/pcm/
H A Dsound.c146 pcm_setvchans(struct snddev_info *d, int direction, int newcnt, int num) argument
161 if (newcnt < 0 || newcnt > SND_MAXVCHANS)
171 if (newcnt > vcnt) {
173 (num >= 0 && num < SND_MAXVCHANS && (newcnt - 1) == vcnt),
174 ("bogus vchan_create() request num=%d newcnt=%d vcnt=%d",
175 num, newcnt, vcnt));
216 while (err == 0 && newcnt > vcnt) {
220 else if (err == E2BIG && newcnt > vcnt)
232 } else if (newcnt < vcn
[all...]
H A Dsound.h316 int pcm_setvchans(struct snddev_info *d, int direction, int newcnt, int num);
/freebsd-11-stable/sys/netinet/
H A Dsctp_input.c313 unsigned int newcnt; local
319 newcnt = ntohs(init->num_inbound_streams);
321 if (chk->rec.data.sid >= newcnt) {
345 for (i = newcnt; i < asoc->pre_open_streams; i++) {
369 asoc->pre_open_streams = newcnt;

Completed in 147 milliseconds