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

/freebsd-11.0-release/sys/amd64/vmm/io/
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);
H A Dvatpic.c418 int oldcnt, newcnt; local
433 newcnt = atpic->acnt[pin & 0x7];
435 if (newcnt < 0) {
436 VATPIC_CTR2(vatpic, "atpic pin%d: bad acnt %d", pin, newcnt);
441 if ((oldcnt == 0 && newcnt == 1) || (newcnt > 0 && level == true)) {
445 } else if (oldcnt == 1 && newcnt == 0) {
452 pin, newstate ? "asserted" : "deasserted", newcnt);
/freebsd-11.0-release/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.h321 int pcm_setvchans(struct snddev_info *d, int direction, int newcnt, int num);
/freebsd-11.0-release/sys/netinet/
H A Dsctp_input.c315 unsigned int newcnt; local
321 newcnt = ntohs(init->num_inbound_streams);
323 if (chk->rec.data.stream_number >= newcnt) {
347 for (i = newcnt; i < asoc->pre_open_streams; i++) {
371 asoc->pre_open_streams = newcnt;

Completed in 122 milliseconds