Symbol: mix
regress/sys/net/rtable/util.c
545
mix(a, b, c);
regress/sys/net/rtable/util.c
557
mix(a, b, c);
regress/sys/net/rtable/util.c
561
mix(a, b, c);
regress/sys/net/rtable/util.c
565
mix(a, b, c);
regress/sys/net/rtable/util.c
569
mix(a, b, c);
sbin/unwind/libunbound/util/storage/lookup3.c
248
mix(a,b,c);
sbin/unwind/libunbound/util/storage/lookup3.c
302
mix(a,b,c);
sbin/unwind/libunbound/util/storage/lookup3.c
377
mix(a,b,c);
sbin/unwind/libunbound/util/storage/lookup3.c
459
mix(a,b,c);
sbin/unwind/libunbound/util/storage/lookup3.c
524
mix(a,b,c);
sbin/unwind/libunbound/util/storage/lookup3.c
613
mix(a,b,c);
sbin/unwind/libunbound/util/storage/lookup3.c
695
mix(a,b,c);
sbin/unwind/libunbound/util/storage/lookup3.c
760
mix(a,b,c);
sbin/unwind/libunbound/util/storage/lookup3.c
842
mix(a,b,c);
sbin/unwind/libunbound/util/storage/lookup3.c
932
mix(a,b,c);
sys/dev/fdt/es8316ac.c
527
const struct escodec_mixer *mix;
sys/dev/fdt/es8316ac.c
531
if ((mix = escodec_get_mixer(mc->dev)) == NULL)
sys/dev/fdt/es8316ac.c
534
switch (mix->type) {
sys/dev/fdt/es8316ac.c
539
val = escodec_read(sc, mix->reg[ch]);
sys/dev/fdt/es8316ac.c
540
shift = 8 - fls(mix->mask[ch]);
sys/dev/fdt/es8316ac.c
542
if (mix->type == ESCODEC_MIXER_ATTENUATOR)
sys/dev/fdt/es8316ac.c
543
nvol = mix->mask[ch] - nvol;
sys/dev/fdt/es8316ac.c
544
if (mix->maxval != 0 && nvol > mix->maxval)
sys/dev/fdt/es8316ac.c
545
nvol = mix->maxval;
sys/dev/fdt/es8316ac.c
547
val &= ~(mix->mask[ch] << mix->shift[ch]);
sys/dev/fdt/es8316ac.c
548
val |= (nvol & mix->mask[ch]) << mix->shift[ch];
sys/dev/fdt/es8316ac.c
549
escodec_write(sc, mix->reg[ch], val);
sys/dev/fdt/es8316ac.c
558
val = escodec_read(sc, mix->reg[0]);
sys/dev/fdt/es8316ac.c
560
val |= mix->mask[0];
sys/dev/fdt/es8316ac.c
562
val &= ~mix->mask[0];
sys/dev/fdt/es8316ac.c
563
escodec_write(sc, mix->reg[0], val);
sys/dev/fdt/es8316ac.c
576
const struct escodec_mixer *mix;
sys/dev/fdt/es8316ac.c
580
if ((mix = escodec_get_mixer(mc->dev)) == NULL)
sys/dev/fdt/es8316ac.c
583
switch (mix->type) {
sys/dev/fdt/es8316ac.c
588
val = escodec_read(sc, mix->reg[ch]);
sys/dev/fdt/es8316ac.c
589
shift = 8 - fls(mix->mask[ch]);
sys/dev/fdt/es8316ac.c
590
nvol = (val >> mix->shift[ch]) & mix->mask[ch];
sys/dev/fdt/es8316ac.c
591
if (mix->type == ESCODEC_MIXER_ATTENUATOR)
sys/dev/fdt/es8316ac.c
592
nvol = mix->mask[ch] - nvol;
sys/dev/fdt/es8316ac.c
601
val = escodec_read(sc, mix->reg[0]);
sys/dev/fdt/es8316ac.c
602
mc->un.ord = (val & mix->mask[0]) != 0;
sys/dev/fdt/es8316ac.c
614
const struct escodec_mixer *mix;
sys/dev/fdt/es8316ac.c
616
if ((mix = escodec_get_mixer(di->index)) == NULL)
sys/dev/fdt/es8316ac.c
619
strlcpy(di->label.name, mix->name, sizeof(di->label.name));
sys/dev/fdt/es8316ac.c
620
di->mixer_class = mix->mixer_class;
sys/dev/fdt/es8316ac.c
621
di->next = mix->next;
sys/dev/fdt/es8316ac.c
622
di->prev = mix->prev;
sys/dev/fdt/es8316ac.c
624
switch (mix->type) {
sys/dev/fdt/es8316ac.c
633
256 / (mix->mask[0] + 1);
sys/dev/ic/ar5xxx.c
1320
u_int32_t mix, step;
sys/dev/ic/ar5xxx.c
1333
mix = hal->ah_gain.g_step->gos_param[0];
sys/dev/ic/ar5xxx.c
1335
switch (mix) {
sys/dev/ic/ar5xxx.c
1356
u_int32_t step, mix, level[4];
sys/dev/ic/ar5xxx.c
1377
mix = ar5k_rfregs_op(rf, hal->ah_offset[7],
sys/dev/ic/ar5xxx.c
1381
if (mix == 1) {
sys/dev/isa/ess.c
2103
int mix;
sys/dev/isa/ess.c
2112
mix = 1;
sys/dev/isa/ess.c
2164
mix = 0;
sys/dev/isa/ess.c
2171
if (ESS_USE_AUDIO1(sc->sc_model) && mix && src > 0x62)
sys/dev/isa/ess.c
2186
if (mix)
sys/net/route.c
432
mix(a, b, c);
sys/net/route.c
447
mix(a, b, c);
sys/net/route.c
451
mix(a, b, c);
sys/net/route.c
455
mix(a, b, c);
sys/net/route.c
459
mix(a, b, c);
usr.bin/aucat/dsp.c
945
cmap_do(struct cmap *p, adata_t *in, adata_t *out, int vol, int todo, int mix)
usr.bin/aucat/dsp.c
951
copy_func = mix ? cmap_add : cmap_copy;
usr.bin/sndiod/dev.c
1267
cmap_init(&s->mix.cmap,
usr.bin/sndiod/dev.c
1268
s->opt->pmin, s->opt->pmin + s->mix.nch - 1,
usr.bin/sndiod/dev.c
1269
s->opt->pmin, s->opt->pmin + s->mix.nch - 1,
usr.bin/sndiod/dev.c
1273
s->mix.decbuf = NULL;
usr.bin/sndiod/dev.c
1274
s->mix.resampbuf = NULL;
usr.bin/sndiod/dev.c
1276
dec_init(&s->mix.dec, &s->par, s->mix.nch);
usr.bin/sndiod/dev.c
1277
s->mix.decbuf =
usr.bin/sndiod/dev.c
1278
xmalloc(s->round * s->mix.nch * sizeof(adata_t));
usr.bin/sndiod/dev.c
1281
resamp_init(&s->mix.resamp, s->round, d->round,
usr.bin/sndiod/dev.c
1282
s->mix.nch);
usr.bin/sndiod/dev.c
1283
s->mix.resampbuf =
usr.bin/sndiod/dev.c
1284
xmalloc(d->round * s->mix.nch * sizeof(adata_t));
usr.bin/sndiod/dev.c
1345
s->mix.bpf = s->par.bps * s->mix.nch;
usr.bin/sndiod/dev.c
1346
abuf_init(&s->mix.buf, s->appbufsz * s->mix.bpf);
usr.bin/sndiod/dev.c
1371
abuf_done(&s->mix.buf);
usr.bin/sndiod/dev.c
1413
s->mix.nch = s->opt->pmax - s->opt->pmin + 1;
usr.bin/sndiod/dev.c
1519
s->mix.vol = MIDI_TO_ADATA(s->app->vol);
usr.bin/sndiod/dev.c
1564
s->opt->pmin, s->opt->pmin + s->mix.nch - 1,
usr.bin/sndiod/dev.c
1647
if (s->mix.decbuf) {
usr.bin/sndiod/dev.c
1648
xfree(s->mix.decbuf);
usr.bin/sndiod/dev.c
1649
s->mix.decbuf = NULL;
usr.bin/sndiod/dev.c
1651
if (s->mix.resampbuf) {
usr.bin/sndiod/dev.c
1652
xfree(s->mix.resampbuf);
usr.bin/sndiod/dev.c
1653
s->mix.resampbuf = NULL;
usr.bin/sndiod/dev.c
1726
if (s->pstate == SLOT_START && s->mix.buf.used == s->mix.buf.len) {
usr.bin/sndiod/dev.c
340
if (s->mix.buf.used < s->round * s->mix.bpf)
usr.bin/sndiod/dev.c
354
abuf_rdiscard(&s->mix.buf, s->round * s->mix.bpf);
usr.bin/sndiod/dev.c
371
idata = (adata_t *)abuf_rgetblk(&s->mix.buf, &icount);
usr.bin/sndiod/dev.c
373
if (icount < s->round * s->mix.bpf) {
usr.bin/sndiod/dev.c
383
abuf_rdiscard(&s->mix.buf, s->round * s->mix.bpf);
usr.bin/sndiod/dev.c
398
if (s->mix.decbuf) {
usr.bin/sndiod/dev.c
399
dec_do(&s->mix.dec, (void *)in, s->mix.decbuf, s->round);
usr.bin/sndiod/dev.c
400
in = s->mix.decbuf;
usr.bin/sndiod/dev.c
403
if (s->mix.resampbuf) {
usr.bin/sndiod/dev.c
404
resamp_do(&s->mix.resamp,
usr.bin/sndiod/dev.c
405
in, s->mix.resampbuf, s->round, d->round);
usr.bin/sndiod/dev.c
406
in = s->mix.resampbuf;
usr.bin/sndiod/dev.c
409
cmap_do(&s->mix.cmap, in, odata,
usr.bin/sndiod/dev.c
410
ADATA_MUL(s->mix.weight, s->mix.vol),
usr.bin/sndiod/dev.c
413
abuf_rdiscard(&s->mix.buf, s->round * s->mix.bpf);
usr.bin/sndiod/dev.c
429
icmax = i->opt->pmin + i->mix.nch - 1;
usr.bin/sndiod/dev.c
440
jcmax = j->opt->pmin + j->mix.nch - 1;
usr.bin/sndiod/dev.c
449
i->mix.weight = d->master_enabled ?
usr.bin/sndiod/dev.c
452
logx(3, "slot%zu: set weight: %d / %d", i - slot_array, i->mix.weight,
usr.bin/sndiod/dev.c
466
int ocount, moffs, mix;
usr.bin/sndiod/dev.c
498
mix = 0;
usr.bin/sndiod/dev.c
505
ADATA_UNIT, d->round, mix++);
usr.bin/sndiod/dev.c
509
ADATA_UNIT, d->round, mix++);
usr.bin/sndiod/dev.c
600
s->mix.buf.used < s->round * s->mix.bpf) {
usr.bin/sndiod/dev.c
621
s->mix.buf.used < s->round * s->mix.bpf) ||
usr.bin/sndiod/dev.h
75
} mix;
usr.bin/sndiod/dsp.c
781
cmap_do(struct cmap *p, adata_t *in, adata_t *out, int vol, int todo, int mix)
usr.bin/sndiod/dsp.c
787
copy_func = mix ? cmap_add : cmap_copy;
usr.bin/sndiod/opt.c
130
s->mix.vol = MIDI_TO_ADATA(vol);
usr.bin/sndiod/sock.c
1207
size *= f->slot->mix.bpf;
usr.bin/sndiod/sock.c
499
data = abuf_wgetblk(&f->slot->mix.buf, &count);
usr.bin/sndiod/sock.c
511
abuf_wcommit(&f->slot->mix.buf, n);
usr.bin/sndiod/sock.c
638
s->mix.nch = pchan;
usr.bin/sndiod/sock.c
853
if (s != NULL && size % s->mix.bpf != 0) {
usr.bin/sndiod/sock.c
873
f->ralign = s->round * s->mix.bpf;
usr.bin/sndiod/sock.c
911
f->ralign = s->round * s->mix.bpf;
usr.bin/sndiod/sock.c
940
if (f->ralign < s->round * s->mix.bpf) {
usr.bin/sndiod/sock.c
941
data = abuf_wgetblk(&s->mix.buf, &size);
usr.bin/sndiod/sock.c
950
enc_init(&conv, &s->par, s->mix.nch);
usr.bin/sndiod/sock.c
951
enc_sil_do(&conv, data, f->ralign / s->mix.bpf);
usr.bin/sndiod/sock.c
952
abuf_wcommit(&s->mix.buf, f->ralign);
usr.bin/sndiod/sock.c
953
f->ralign = s->round * s->mix.bpf;
usr.bin/sndiod/sock.c
997
m->u.par.pchan = htons(s->mix.nch);
usr.sbin/nsd/lookup3.c
230
mix(a,b,c);
usr.sbin/nsd/lookup3.c
280
mix(a,b,c);
usr.sbin/nsd/lookup3.c
349
mix(a,b,c);
usr.sbin/nsd/lookup3.c
415
mix(a,b,c);
usr.sbin/nsd/lookup3.c
470
mix(a,b,c);
usr.sbin/nsd/lookup3.c
548
mix(a,b,c);
usr.sbin/nsd/lookup3.c
614
mix(a,b,c);
usr.sbin/nsd/lookup3.c
669
mix(a,b,c);
usr.sbin/nsd/lookup3.c
729
mix(a,b,c);
usr.sbin/nsd/lookup3.c
803
mix(a,b,c);
usr.sbin/unbound/util/storage/lookup3.c
248
mix(a,b,c);
usr.sbin/unbound/util/storage/lookup3.c
302
mix(a,b,c);
usr.sbin/unbound/util/storage/lookup3.c
377
mix(a,b,c);
usr.sbin/unbound/util/storage/lookup3.c
459
mix(a,b,c);
usr.sbin/unbound/util/storage/lookup3.c
524
mix(a,b,c);
usr.sbin/unbound/util/storage/lookup3.c
613
mix(a,b,c);
usr.sbin/unbound/util/storage/lookup3.c
695
mix(a,b,c);
usr.sbin/unbound/util/storage/lookup3.c
760
mix(a,b,c);
usr.sbin/unbound/util/storage/lookup3.c
842
mix(a,b,c);
usr.sbin/unbound/util/storage/lookup3.c
932
mix(a,b,c);