/src/common/lib/libc/stdlib/ |
mi_vector_hash.c | 63 #define mix(a, b, c) do { \ macro 104 mix(a, b, c); 162 mix(a, b, c); 178 mix(a, b, c);
|
/src/common/dist/zlib/examples/ |
gznorm.c | 296 // mix is 1 if we are at the end of a deflate block, and if 297 // some of the bits in the last byte follow this block. mix 301 int mix = (strm.data_type & 0x80) && bits; local in function:gzip_normalize 309 unsigned char *end = strm.next_in - mix; 327 if (mix) {
|
/src/sys/arch/arm/sunxi/ |
sun4i_a10_codec.c | 152 const struct a10_codec_mixer *mix; local in function:a10_codec_set_port 159 mix = &a10_codec_mixers[mc->dev]; 160 val = RD4(sc, mix->reg); 161 shift = 8 - fls32(__SHIFTOUT_MASK(mix->mask)); 163 val &= ~mix->mask; 164 val |= __SHIFTIN(nvol, mix->mask); 165 WR4(sc, mix->reg, val); 175 const struct a10_codec_mixer *mix; local in function:a10_codec_get_port 182 mix = &a10_codec_mixers[mc->dev]; 183 val = RD4(sc, mix->reg) 197 const struct a10_codec_mixer *mix; local in function:a10_codec_query_devinfo [all...] |
sun8i_v3s_codec.c | 269 const struct v3s_codec_mixer *mix; local in function:v3s_codec_set_port 277 mix = &v3s_codec_mixers[mc->dev]; 278 val = v3s_codec_pr_read(csc, mix->reg); 279 shift = 8 - fls32(__SHIFTOUT_MASK(mix->mask)); 281 val &= ~mix->mask; 282 val |= __SHIFTIN(nvol, mix->mask); 283 v3s_codec_pr_write(csc, mix->reg, val); 299 const struct v3s_codec_mixer *mix; local in function:v3s_codec_get_port 307 mix = &v3s_codec_mixers[mc->dev]; 308 val = v3s_codec_pr_read(csc, mix->reg) 328 const struct v3s_codec_mixer *mix; local in function:v3s_codec_query_devinfo [all...] |
sun6i_a31_codec.c | 213 const struct a31_codec_mixer *mix; local in function:a31_codec_set_port 220 mix = &a31_codec_mixers[mc->dev]; 221 val = RD4(sc, mix->reg); 222 shift = 8 - fls32(__SHIFTOUT_MASK(mix->mask)); 224 val &= ~mix->mask; 225 val |= __SHIFTIN(nvol, mix->mask); 226 WR4(sc, mix->reg, val); 236 const struct a31_codec_mixer *mix; local in function:a31_codec_get_port 243 mix = &a31_codec_mixers[mc->dev]; 244 val = RD4(sc, mix->reg) 258 const struct a31_codec_mixer *mix; local in function:a31_codec_query_devinfo [all...] |
sun8i_h3_codec.c | 284 const struct h3_codec_mixer *mix; local in function:h3_codec_set_port 295 mix = &h3_codec_mixers[mc->dev]; 296 val = h3_codec_pr_read(csc, mix->reg); 297 shift = 8 - fls32(__SHIFTOUT_MASK(mix->mask)); 299 val &= ~mix->mask; 300 val |= __SHIFTIN(nvol, mix->mask); 301 h3_codec_pr_write(csc, mix->reg, val); 317 const struct h3_codec_mixer *mix; local in function:h3_codec_get_port 328 mix = &h3_codec_mixers[mc->dev]; 329 val = h3_codec_pr_read(csc, mix->reg) 349 const struct h3_codec_mixer *mix; local in function:h3_codec_query_devinfo [all...] |
sun50i_a64_acodec.c | 280 const struct a64_acodec_mixer *mix; local in function:a64_acodec_set_port 295 mix = &a64_acodec_mixers[dev]; 296 val = a64_acodec_pr_read(sc, mix->reg); 297 shift = 8 - fls32(__SHIFTOUT_MASK(mix->mask)); 299 val &= ~mix->mask; 300 val |= __SHIFTIN(nvol, mix->mask); 301 a64_acodec_pr_write(sc, mix->reg, val); 369 const struct a64_acodec_mixer *mix; local in function:a64_acodec_get_port 384 mix = &a64_acodec_mixers[dev]; 385 val = a64_acodec_pr_read(sc, mix->reg) 430 const struct a64_acodec_mixer *mix; local in function:a64_acodec_query_devinfo [all...] |
/src/sys/net/npf/ |
npf_inet.c | 131 uint32_t mix = 0; local in function:npf_addr_mix 136 mix ^= a1->word32[i]; 137 mix ^= a2->word32[i]; 139 return mix;
|
/src/sys/dev/isa/ |
ess.c | 302 printf("ESS_DAC_PLAY_VOL: mix reg 0x%02x=0x%02x\n", 304 printf("ESS_MIC_PLAY_VOL: mix reg 0x%02x=0x%02x\n", 306 printf("ESS_LINE_PLAY_VOL: mix reg 0x%02x=0x%02x\n", 308 printf("ESS_SYNTH_PLAY_VOL: mix reg 0x%02x=0x%02x\n", 310 printf("ESS_CD_PLAY_VOL: mix reg 0x%02x=0x%02x\n", 312 printf("ESS_AUXB_PLAY_VOL: mix reg 0x%02x=0x%02x\n", 314 printf("ESS_MASTER_VOL: mix reg 0x%02x=0x%02x\n", 316 printf("ESS_PCSPEAKER_VOL: mix reg 0x%02x=0x%02x\n", 318 printf("ESS_DAC_REC_VOL: mix reg 0x%02x=0x%02x\n", 320 printf("ESS_MIC_REC_VOL: mix reg 0x%02x=0x%02x\n" 2240 int mix; local in function:ess_set_gain [all...] |
/src/sys/dev/i2c/ |
es8316ac.c | 341 const struct escodec_mixer *mix; local in function:escodec_set_port 345 if ((mix = escodec_get_mixer(mc->dev)) == NULL) 348 switch (mix->type) { 357 val = escodec_read(sc, mix->reg[ch]); 358 shift = 8 - fls32(__SHIFTOUT_MASK(mix->mask[ch])); 360 if (mix->type == ESCODEC_MIXER_ATTENUATOR) 361 nvol = __SHIFTOUT_MASK(mix->mask[ch]) - nvol; 362 if (mix->maxval != 0 && nvol > mix->maxval) 363 nvol = mix->maxval 394 const struct escodec_mixer *mix; local in function:escodec_get_port 437 const struct escodec_mixer *mix; local in function:escodec_query_devinfo [all...] |
/src/sys/netinet/ |
ip_carp.c | 1313 #define mix(a,b,c) \ macro 1342 mix(a, b, c);
|
/src/sys/net/ |
if_bridge.c | 2589 #define mix(a, b, c) \ macro 2614 mix(a, b, c); 2619 #undef mix
|
/src/sys/dist/pf/net/ |
pf.c | 2191 #define mix(a,b,c) \ macro 2218 mix(a, b, c); 2226 mix(a, b, c); 2231 mix(a, b, c); 2236 mix(a, b, c); 2241 mix(a, b, c);
|
/src/sys/dev/usb/ |
uaudio.c | 1083 struct mixerctl mix; local in function:uaudio_add_mixer 1090 mix.wIndex = MAKE(d->bUnitId, sc->sc_ac_iface); 1091 uaudio_determine_class(&iot[id], &mix); 1092 mix.type = MIX_SIGNED_16; 1093 mix.ctlunit = AudioNvolume; 1144 mix.wValue[k++] = 1148 mix.nchan = nchs; 1150 snprintf(mix.ctlname, sizeof(mix.ctlname), 1151 "mix%d-%s", d->bUnitId 1166 struct mixerctl mix; local in function:uaudio_add_selector 1533 struct mixerctl mix; local in function:uaudio_add_feature 1657 struct mixerctl mix; local in function:uaudio_add_processing_updown 1695 struct mixerctl mix; local in function:uaudio_add_processing 1749 struct mixerctl mix; local in function:uaudio_add_extension 1777 struct mixerctl mix; local in function:uaudio_add_clksrc 1798 struct mixerctl mix; local in function:uaudio_add_clksel [all...] |