/src/sys/dev/isa/ |
cmsreg.h | 48 * then the first voice is modified. If ports CMS_DATA2/CMS_ADDR2 are 49 * used then the second voice is modified. 53 * Each voice can have a volume between 0 and 15 on both left and 75 * register for the voice must be set. Each octave register stores 77 * first voice and the low-order nibble is for the second voice. 84 #define CMS_IREG_FREQ_CTL 0x14 /* voice frequencies */ 85 #define CMS_IREG_FREQ_ENBL0 0x01 /* setting the bit enables the voice */ 86 #define CMS_IREG_FREQ_ENBL1 0x02 /* clearing the bit disables the voice */ 143 #define OCTAVE_OFFSET(voice) ((voice)>>1 [all...] |
cms.c | 222 int voice = CHAN_TO_VOICE(vidx); local in function:cms_on 248 DPRINTF(("chip=%d voice=%d octave=%d count=%d offset=%d shift=%d\n", 249 chip, voice, octave, count, OCTAVE_OFFSET(voice), 250 OCTAVE_SHIFT(voice))); 253 CMS_WRITE(sc, chip, CMS_IREG_FREQ0 + voice, count); 256 reg = CMS_READ(sc, chip, CMS_IREG_OCTAVE_1_0 + OCTAVE_OFFSET(voice)); 257 reg &= ~(0x0f<<OCTAVE_SHIFT(voice)); 258 reg |= ((octave&0x7)<<OCTAVE_SHIFT(voice)); 259 CMS_WRITE(sc, chip, CMS_IREG_OCTAVE_1_0 + OCTAVE_OFFSET(voice), reg) 277 int voice = CHAN_TO_VOICE(vidx); local in function:cms_off [all...] |
midi_pcppi.c | 124 uint_fast16_t voice, midipitch_t mp, int16_t level) 135 midi_pcppi_off(midisyn *ms, uint_fast16_t voice, uint_fast8_t vel) 157 midi_pcppi_repitchv(midisyn *ms, uint_fast16_t voice, midipitch_t newpitch) 161 midi_pcppi_on(ms, voice, newpitch, 64);
|
gus.c | 132 * Software state of a single "voice" on the GUS 141 unsigned char voccntl; /* State of voice control register */ 144 int rate; /* Sample rate of voice being played back */ 147 * Address of the voice data into the GUS's DRAM. 20 bits each 150 u_long start_addr; /* Starting address of voice data loop area */ 151 u_long end_addr; /* Ending address of voice data loop */ 152 u_long current_addr; /* Beginning address of voice data 196 #define GUS_PLAYING 0x08 /* GUS is playing a voice */ 250 * Voice information array. All voice-specific information is store 1685 int ignore, voice, rval; local in function:gus_voice_intr [all...] |
/src/sys/arch/x68k/usr.bin/bellctrl/ |
bellctrl.c | 29 static struct opm_voice voice; variable in typeref:struct:opm_voice 125 * set voice parameter 136 * set voice parameter 199 memcpy(&voice, &bell_voice, sizeof(bell_voice)); 202 if (read(fd, &voice, sizeof(voice)) != sizeof(voice)) 203 err(1, "cannot read voice parameter"); 206 err(1, "cannot open voice parameter"); 212 if (ioctl(fd, BELLIOCSVOICE, &voice)) [all...] |
/src/sys/dev/ic/ |
opl.c | 169 /* Set up voice table */ 294 * a lot of registers each time a voice-attack happens. some kind of 300 opl_set_op_reg(struct opl_softc *sc, int base, int voice, int op, u_char value) 302 struct opl_voice *v = &sc->voices[voice]; 310 opl_set_ch_reg(struct opl_softc *sc, int base, int voice, u_char value) 312 struct opl_voice *v = &sc->voices[voice]; 490 uint_fast16_t voice, midipitch_t mp, int16_t level_cB) 492 oplsyn_setv(ms, voice, mp, level_cB, 497 oplsyn_repitchv(midisyn *ms, uint_fast16_t voice, midipitch_t mp) 499 oplsyn_setv(ms, voice, mp, 0, OPLACT_PITCH) [all...] |
/src/sys/arch/x68k/dev/ |
opm.c | 178 opm_set_voice(int channel, struct opm_voice *voice) 180 memcpy(&opm0->sc_vdata[channel], voice, sizeof(struct opm_voice)); 182 opm_set_voice_sub(0x40 + channel, &voice->m1); 183 opm_set_voice_sub(0x48 + channel, &voice->m2); 184 opm_set_voice_sub(0x50 + channel, &voice->c1); 185 opm_set_voice_sub(0x58 + channel, &voice->c2); 186 writeopm(0x20 + channel, 0xc0 | (voice->fb & 0x7) << 3 | 187 (voice->con & 0x7));
|
/src/sys/dev/ |
midisynvar.h | 60 * might want to choose a voice already last used on chan, to save 63 * extra argument indicating whether a melodic or percussive voice is 69 * uint_fast16_t voice, midipitch_t mp, int16_t level_cB); 70 * Attack the voice 'voice' at pitch 'midipitch' with level 'level_cB'. 77 * The program used for the voice should be the current program of the 78 * voice's associated MIDI channel, and can be queried with MS_GETPGM. 82 * attackv_vel(midisyn *ms, uint_fast16_t voice, 84 * If the driver can do something useful with the voice's attack 94 * releasev(midisyn *ms, uint_fast16_t voice, uint_fast8_t vel) 147 struct voice { struct [all...] |
midisyn.c | 261 ms->voices = kmem_zalloc(ms->nvoice * sizeof(struct voice), 280 midisyn_freevoice(midisyn *ms, int voice) 287 ms->voices[voice].inuse = 0; 298 /* Find a free voice, or if no free voice is found the oldest. */ 327 midisyn_attackv_vel(midisyn *ms, uint_fast16_t voice, midipitch_t mp, 333 ms->voices[voice].velcB = midisyn_vol2cB((uint_fast16_t)vel << 7); 334 ms->mets->attackv(ms, voice, mp, level_cB + ms->voices[voice].velcB); 348 int voice = 0; /* initialize to keep gcc quiet * local in function:midisyn_channelmsg [all...] |
sequencer.c | 1090 dev = b->voice.device; 1092 b->voice.channel > 15 || 1093 b->voice.key >= SEQ_NOTE_MAX) 1096 switch(b->voice.op) { 1098 error = midiseq_noteon(md, b->voice.channel, b->voice.key, b); 1101 error = midiseq_noteoff(md, b->voice.channel, b->voice.key, b); 1105 b->voice.channel, b->voice.key, b) [all...] |
/src/sys/dev/pci/ |
esavar.h | 121 struct esa_voice voice[ESA_NUM_VOICES]; member in struct:esa_softc
|
esa.c | 813 vc = &sc->voice[i]; 1073 sc->voice[i].parent = sc->sc_dev; 1074 sc->voice[i].index = i; 1076 audio_attach_mi(&esa_hw_if, &sc->voice[i], sc->sc_dev); 1340 vc = &sc->voice[i];
|
/src/usr.sbin/btconfig/ |
btconfig.c | 149 /* Voice Settings */ 151 static uint32_t voice; variable in typeref:typename:uint32_t 200 { "voice", P_HEX, &opt_voice, &voice }, 574 val = htole16(voice & 0x03ff); 678 voice = (buf[1] << 8) | buf[0]; 1049 printf("\tvoice: [0x%4.4x]\n", voice); 1055 switch ((voice & 0x0300) >> 8) { 1057 (voice & 0x0020 ? 16 : 8), 1058 (voice & 0x001c) >> 2); break [all...] |
/src/usr.sbin/altq/altqd/altq.conf.samples/ |
cbq.widecamp | 87 class cbq sr0 voice soi borrow priority 3 pbandwidth 16 maxburst 8 red 88 filter sr0 voice 0 40034 0 0 17 # soi i-phone
|
/src/usr.bin/midirecord/ |
midirecord.c | 475 LOG("unknown common op: %x", e.voice.op); 502 if (filter_devchan(e.voice.device, e.voice.channel)) 505 switch (e.voice.op) { 538 LOG("unknown voice op: %x", e.voice.op);
|
/src/sys/sys/ |
midiio.h | 526 struct { _VOICE_HDR; } voice; member in union:__anonf4e6eb5a020a 632 switch ( e.voice.op ) {
|
/src/sys/dev/usb/ |
mbim.h | 532 uint32_t voice; member in struct:mbim_cid_connect_info
|
/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
omap3-gta04.dtsi | 87 simple-audio-card,name = "GTA04 voice"; 843 &mcbsp4 { /* GSM voice PCM */
|
/src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/amlogic/ |
meson-axg-s400.dts | 51 button-voice { 52 label = "Voice";
|
/src/sys/netbt/ |
hci.h | 205 #define HCI_LINK_SCO 0x00 /* Voice */ 726 uint16_t voice; /* voice setting */ member in struct:__anonf724d2112508 739 uint16_t content; /* voice setting */ 1258 uint16_t settings; /* voice settings */ 1264 uint16_t settings; /* voice settings */
|