/src/sys/dev/ic/ |
uda1341.c | 348 mi->un.e.member[0].ord = 0; 352 mi->un.e.member[1].ord = 1; 356 mi->un.e.member[2].ord = 3; 370 mi->un.e.member[0].ord = 0; 374 mi->un.e.member[1].ord = 1; 387 mi->un.e.member[0].ord = 0; 391 mi->un.e.member[1].ord = 1; 404 mi->un.e.member[0].ord = 0; 408 mi->un.e.member[1].ord = 1; 412 mi->un.e.member[2].ord = 2 [all...] |
am7930.c | 532 if (cp->un.ord != AUDIOAMD_MIC_VOL) 536 sc->sc_mic_mute = cp->un.ord; 539 if (cp->un.ord != AUDIOAMD_SPEAKER_VOL && 540 cp->un.ord != AUDIOAMD_HEADPHONES_VOL) 542 sc->sc_out_port = cp->un.ord; 580 cp->un.ord = AUDIOAMD_MIC_VOL; 583 cp->un.ord = sc->sc_mic_mute; 586 cp->un.ord = sc->sc_out_port; 646 dip->un.e.member[0].ord = AUDIOAMD_MIC_VOL; 655 dip->un.e.member[0].ord = AUDIOAMD_SPEAKER_VOL [all...] |
cs4231.c | 505 dip->un.e.member[0].ord = 0; 507 dip->un.e.member[1].ord = 1; 547 dip->un.e.member[0].ord = 0; 549 dip->un.e.member[1].ord = 1; 570 dip->un.e.member[0].ord = DAC_IN_PORT; 572 dip->un.e.member[1].ord = MIC_IN_PORT; 574 dip->un.e.member[2].ord = AUX1_IN_PORT; 576 dip->un.e.member[3].ord = LINE_IN_PORT;
|
/src/sys/arch/arm/sunxi/ |
sun50i_a64_acodec.c | 305 if (mc->un.ord < 0 || mc->un.ord > 1) 307 if (mc->un.ord) { 315 if (mc->un.ord < 0 || mc->un.ord > 1) 317 if (mc->un.ord) { 325 if (mc->un.ord < 0 || mc->un.ord > 1) 327 if (mc->un.ord) { 393 mc->un.ord = !!(a64_acodec_pr_read(sc, A64_MIC1_CTRL) & A64_MIC1AMPEN) [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/scripts/ |
merge_data_flow.py | 21 res.append(ord('1' if a[i] == '1' or b[i] == '1' else '0'))
|
/src/sbin/devpubd/hooks/ |
02-wedgenames | 51 #ord() 58 ord() function 76 c=%%$(ord "$c")
|
/src/usr.bin/aiomixer/ |
draw.c | 106 draw_enum(control, value.un.ord, selected, aio->use_colour); 162 draw_enum(struct aiomixer_control *control, int ord, 171 if (ord == e->member[i].ord && selected) { 178 if (ord == e->member[i].ord) { 188 if (ord == control->info.un.e.member[i].ord) { 195 if (ord == e->member[i].ord && selected) [all...] |
main.c | 176 if (info->un.e.member[i].ord == value.un.ord) { 182 value.un.ord = cur_index < (info->un.e.num_mem - 1) ? 183 info->un.e.member[cur_index + 1].ord : 184 info->un.e.member[0].ord; 186 value.un.ord = cur_index > 0 ? 187 info->un.e.member[cur_index - 1].ord : 188 info->un.e.member[control->info.un.e.num_mem - 1].ord;
|
/src/sys/dev/isa/ |
aria.c | 1118 if (cp->un.ord>=0 && cp->un.ord<=6) { 1119 sc->aria_mix_source = cp->un.ord; 1125 if (cp->un.ord == 0 || cp->un.ord == 1) { 1126 sc->aria_mix[ARIAMIX_MIC_LVL].mute =cp->un.ord; 1132 if (cp->un.ord == 0 || cp->un.ord == 1) { 1134 cp->un.ord; 1140 if (cp->un.ord == 0 || cp->un.ord == 1) [all...] |
ym.c | 571 DVNAME(sc), cp->dev, cp->type, cp->un.ord, 593 sc->master_mute = (cp->un.ord != 0); 607 sc->sc_eqmode = cp->un.ord & SA3_SYS_CTL_YMODE; 626 if ((unsigned) cp->un.ord > YM_POWER_NOSAVE) 629 sc->sc_pow_mode = cp->un.ord; 648 if (cp->un.ord) { 673 cp->un.ord == 0); 687 sc->mic_mute = (cp->un.ord != 0); 742 cp->un.ord = sc->master_mute; 752 cp->un.ord = sc->sc_eqmode [all...] |
wss.c | 334 dip->un.e.member[0].ord = 0; 336 dip->un.e.member[1].ord = 1; 347 dip->un.e.member[0].ord = WSS_MIC_IN_LVL; 349 dip->un.e.member[1].ord = WSS_LINE_IN_LVL; 351 dip->un.e.member[2].ord = WSS_DAC_LVL;
|
sbdsp.c | 1827 cp->un.ord ? SB_TREBLE : 0); 1832 cp->un.ord ? SB_BASS : 0); 1928 sc->in_port = cp->un.ord; 1929 error = sbdsp_set_in_ports(sc, 1 << cp->un.ord); 1938 sbdsp_mix_write(sc, SB16P_AGC, cp->un.ord & 1); 1955 sc->gain[cp->dev][SB_LR] = cp->un.ord != 0; 1956 if (cp->un.ord) 1989 sc->gain[cp->dev][SB_LR] = cp->un.ord != 0; 2045 cp->un.ord = sbdsp_get_ifilter(addr) == SB_TREBLE; 2049 cp->un.ord = sbdsp_get_ifilter(addr) == SB_BASS [all...] |
ess.c | 1638 return ess_set_in_port(sc, cp->un.ord); 1653 if (cp->un.ord) 1682 sc->sc_spatializer = (cp->un.ord != 0); 1730 if (cp->un.ord) 1787 cp->un.ord = sc->in_port; 1793 cp->un.ord = (ess_read_x_reg(sc, ESS_XCMD_AUDIO_CTRL) & 1810 cp->un.ord = sc->sc_spatializer; 1842 cp->un.ord = (ess_read_x_reg(sc, ESS_XCMD_PREAMP_CTRL) & 1985 dip->un.e.member[0].ord = ESS_SOURCE_MIC; 1987 dip->un.e.member[1].ord = ESS_SOURCE_LINE [all...] |
/src/usr.bin/mixerctl/ |
mixerctl.c | 97 if (p->infp->un.e.member[i].ord == m->un.ord) 164 m->un.ord = p->infp->un.e.member[i].ord; 226 m->un.ord += inc; 227 if (m->un.ord < 0) 228 m->un.ord = p->infp->un.e.num_mem - 1; 229 if (m->un.ord >= p->infp->un.e.num_mem) 230 m->un.ord = 0;
|
/src/sys/arch/sgimips/mace/ |
mavb.c | 346 value |= ((mc->un.ord << AD1843_LSS_SHIFT) & AD1843_LSS_MASK); 347 value |= ((mc->un.ord << AD1843_RSS_SHIFT) & AD1843_RSS_MASK); 373 if (mc->un.ord == 0) 412 if (mc->un.ord == 0) 421 if (mc->un.ord == 0) 430 if (mc->un.ord == 0) 439 if (mc->un.ord == 0) 468 mc->un.ord = (value & AD1843_LSS_MASK) >> AD1843_LSS_SHIFT; 491 mc->un.ord = (value & AD1843_LDA1GM) ? 1 : 0; 525 mc->un.ord = (value & AD1843_LD2MM) ? 1 : 0 [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/modules/vmid/ |
vmid.c | 61 uint16_t ord = dc_get_vmid_use_vector(core_vmid->dc); local in function:evict_vmids 65 if (ord & (1u << i))
|
/src/sys/arch/hppa/gsc/ |
harmony.c | 666 sc->sc_outputgain = cp->un.ord ? 1 : 0; 682 if (cp->un.ord != HARMONY_IN_LINE && 683 cp->un.ord != HARMONY_IN_MIC) 685 sc->sc_in_port = cp->un.ord; 692 if (cp->un.ord != HARMONY_OUT_LINE && 693 cp->un.ord != HARMONY_OUT_SPEAKER && 694 cp->un.ord != HARMONY_OUT_HEADPHONE) 696 sc->sc_out_port = cp->un.ord; 732 cp->un.ord = sc->sc_ov ? 1 : 0; 753 cp->un.ord = sc->sc_outputgain ? 1 : 0 [all...] |
/src/sys/dev/pci/ |
sv.c | 941 dip->un.e.member[0].ord = 0; 943 dip->un.e.member[1].ord = 1; 961 dip->un.e.member[i].ord = record_sources[i].idx; 991 dip->un.e.member[0].ord = 0; 993 dip->un.e.member[1].ord = 1; 1022 if (cp->un.ord) 1030 if (cp->un.ord) 1093 if (record_sources[idx].idx == cp->un.ord) 1103 reg |= (((cp->un.ord) << SV_REC_SOURCE_SHIFT) & SV_REC_SOURCE_MASK); 1108 reg |= (((cp->un.ord) << SV_REC_SOURCE_SHIFT) & SV_REC_SOURCE_MASK) [all...] |
eso.c | 985 sc->sc_spatializer = (cp->un.ord != 0); 1002 sc->sc_mvmute = (cp->un.ord != 0); 1027 error = eso_set_monooutsrc(sc, cp->un.ord); 1036 error = (eso_set_monoinbypass(sc, cp->un.ord)); 1045 sc->sc_recmon = (cp->un.ord != 0); 1061 error = eso_set_recsrc(sc, cp->un.ord); 1070 error = eso_set_preamp(sc, cp->un.ord); 1143 cp->un.ord = sc->sc_recmon; 1147 cp->un.ord = sc->sc_recsrc; 1151 cp->un.ord = sc->sc_monooutsrc [all...] |
cmpci.c | 759 dip->un.e.member[0].ord = 0; 761 dip->un.e.member[1].ord = 1; 808 dip->un.e.member[0].ord = CMPCI_PLAYBACK_MODE_WAVE; 810 dip->un.e.member[1].ord = CMPCI_PLAYBACK_MODE_SPDIF; 819 dip->un.e.member[i++].ord = CMPCI_SPDIF_IN_SPDIN1; 822 dip->un.e.member[i++].ord = CMPCI_SPDIF_IN_SPDIN2; 825 dip->un.e.member[i++].ord = CMPCI_SPDIF_IN_SPDOUT; 835 dip->un.e.member[0].ord = CMPCI_SPDIF_IN_PHASE_POSITIVE; 837 dip->un.e.member[1].ord = CMPCI_SPDIF_IN_PHASE_NEGATIVE; 846 dip->un.e.member[0].ord = CMPCI_SPDIF_LOOP_OFF [all...] |
/src/sys/arch/prep/isa/ |
paud_isa.c | 330 dip->un.e.member[0].ord = 0; 332 dip->un.e.member[1].ord = 1; 343 dip->un.e.member[0].ord = PAUD_MIC_IN_LVL; 345 dip->un.e.member[1].ord = PAUD_LINE_IN_LVL; 347 dip->un.e.member[2].ord = PAUD_DAC_LVL;
|
/src/sys/arch/zaurus/dev/ |
wm8750_zaudio.c | 723 UNMUTE(sc, WM8750_OP_SPKR, mc->un.ord ? 1 : 0); 751 UNMUTE(sc, WM8750_OP_HP, mc->un.ord ? 1 : 0); 771 UNMUTE(sc, WM8750_OP_MIC, mc->un.ord ? 1 : 0); 779 if (mc->un.ord != 0) 813 mc->un.ord = sc->sc_unmute[WM8750_OP_SPKR] ? 1 : 0; 837 mc->un.ord = sc->sc_unmute[WM8750_OP_HP] ? 1 : 0; 855 mc->un.ord = sc->sc_unmute[WM8750_OP_MIC] ? 1 : 0; 862 mc->un.ord = 0; /* MIC only */ 916 di->un.e.member[0].ord = 0; 919 di->un.e.member[1].ord = 1 [all...] |
wm8731_zaudio.c | 672 UNMUTE(sc, WM8731_OP_SPKR, mc->un.ord ? 1 : 0); 692 UNMUTE(sc, WM8731_OP_MIC, mc->un.ord ? 1 : 0); 700 if (mc->un.ord != 0) 740 mc->un.ord = sc->sc_unmute[WM8731_OP_SPKR] ? 1 : 0; 758 mc->un.ord = sc->sc_unmute[WM8731_OP_MIC] ? 1 : 0; 765 mc->un.ord = 0; /* MIC only */ 801 di->un.e.member[0].ord = 0; 804 di->un.e.member[1].ord = 1; 835 di->un.e.member[0].ord = 0;
|
/src/sys/arch/amiga/dev/ |
toccata.c | 730 dip->un.e.member[0].ord = 0; 732 dip->un.e.member[1].ord = 1; 753 dip->un.e.member[1].ord = MIC_IN_PORT; 755 dip->un.e.member[3].ord = LINE_IN_PORT; 757 dip->un.e.member[2].ord = AUX1_IN_PORT; 759 dip->un.e.member[0].ord = DAC_IN_PORT;
|
/src/sys/dev/i2c/ |
es8316ac.c | 373 if (mc->un.ord < 0 || mc->un.ord > 1) 377 if (mc->un.ord) 425 mc->un.ord = (val & mix->mask[0]) != 0; 472 di->un.e.member[0].ord = 0; 474 di->un.e.member[1].ord = 1;
|