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

/freebsd-10.1-release/sys/amd64/vmm/io/
H A Dvioapic.c132 int oldcnt, newcnt; local
146 newcnt = vioapic->rtbl[pin].acnt;
148 if (newcnt < 0) {
150 pin, newcnt);
154 if (oldcnt == 0 && newcnt == 1) {
157 } else if (oldcnt == 1 && newcnt == 0) {
161 pin, pinstate_str(newstate), newcnt);
H A Dvatpic.c361 int oldcnt, newcnt; local
376 newcnt = atpic->acnt[pin & 0x7];
378 if (newcnt < 0) {
379 VATPIC_CTR2(vatpic, "atpic pin%d: bad acnt %d", pin, newcnt);
384 if ((oldcnt == 0 && newcnt == 1) || (newcnt > 0 && level == true)) {
388 } else if (oldcnt == 1 && newcnt == 0) {
393 pin, newstate ? "asserted" : "deasserted", newcnt);
/freebsd-10.1-release/sys/dev/sound/pcm/
H A Dsound.c154 pcm_setvchans(struct snddev_info *d, int direction, int newcnt, int num) argument
169 if (newcnt < 0 || newcnt > SND_MAXVCHANS)
179 if (newcnt > vcnt) {
181 (num >= 0 && num < SND_MAXVCHANS && (newcnt - 1) == vcnt),
182 ("bogus vchan_create() request num=%d newcnt=%d vcnt=%d",
183 num, newcnt, vcnt));
224 while (err == 0 && newcnt > vcnt) {
228 else if (err == E2BIG && newcnt > vcnt)
240 } else if (newcnt < vcn
[all...]
H A Dsound.h326 int pcm_setvchans(struct snddev_info *d, int direction, int newcnt, int num);
/freebsd-10.1-release/sys/netinet/
H A Dsctp_input.c309 unsigned int newcnt; local
315 newcnt = ntohs(init->num_inbound_streams);
317 if (chk->rec.data.stream_number >= newcnt) {
341 for (i = newcnt; i < asoc->pre_open_streams; i++) {
363 asoc->pre_open_streams = newcnt;

Completed in 129 milliseconds