/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/isa/ |
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...] |
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/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...] |
/src/sys/dev/pci/ |
esavar.h | 121 struct esa_voice voice[ESA_NUM_VOICES]; member in struct:esa_softc
|
/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/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/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 */
|