| /src/sys/miscfs/procfs/ |
| procfs_note.c | 96 char note[PROCFS_NOTELEN+1]; local 102 error = vfs_getuserstr(uio, note, &xlen);
|
| /src/sys/dev/isa/ |
| cms.c | 105 #define NOTE_TO_OCTAVE(note) (((note)-CMS_FIRST_NOTE)/12) 106 #define NOTE_TO_COUNT(note) cms_note_table[(((note)-CMS_FIRST_NOTE)%12)] 223 uint32_t note; local 240 note = MIDIPITCH_TO_KEY(mp); 242 if (note < CMS_FIRST_NOTE) 245 octave = NOTE_TO_OCTAVE(note); 246 count = NOTE_TO_COUNT(note);
|
| /src/sys/arch/x68k/dev/ |
| opmbell.c | 252 static u_int note[] = { variable 376 key = (oct << 12) + note[i];
|
| /src/sys/dev/ |
| spkr.c | 110 #define WHOLE_NOTE 4 /* quarter notes per whole note */ 111 #define MIN_VALUE 64 /* the most we can divide a note by */ 112 #define DFLT_VALUE 4 /* default value (quarter-note) */ 113 #define FILLTIME 8 /* for articulation, break note in parts */ 114 #define STACCATO 6 /* 6/8 = 3/4 of note is filled */ 115 #define NORMAL 7 /* 7/8ths of note interval is filled */ 116 #define LEGATO 8 /* all of note interval is filled */ 174 * note indicates "O0C" = 0, "O0C#" = 1, "O0D" = 2, ... , and 181 playtone(struct spkr_softc *sc, int note, int val, int sustain) 198 if (note == -1) 207 KASSERTMSG(note < __arraycount(pitchtab), "note=%d", note); local [all...] |
| sequencer.c | 568 case MIDI_NOTEON: /* midi(4) always canonicalizes hidden note-off */ 1269 /* (24 MIDI clocks are usually but not always a quarter note) */ 1318 * NOTE: on entry, *ev may contain valid data only in the first 4 bytes. 1325 int cmd, chan, note, parm; local 1333 note = *bfp++; 1335 DPRINTFN(3, ("seq_to_new: 0x%02x %d %d %d\n", cmd, chan, note, parm)); 1366 .device=0, .channel=chan, .key=note, .velocity=parm); 1394 .device=0, .channel=chan, .program=note); 1517 * If the writing process hands us a hidden note-off in a note-on event [all...] |
| /src/sys/lib/libsa/ |
| loadfile_elf32.c | 521 } note; local 618 if (shp[i].sh_size < sizeof(note)) { 624 ¬e, sizeof(note)); 629 if (note.nh.n_namesz == ELF_NOTE_NETBSD_NAMESZ && 630 note.nh.n_descsz == ELF_NOTE_NETBSD_DESCSZ && 631 note.nh.n_type == ELF_NOTE_TYPE_NETBSD_TAG && 632 memcmp(note.name, ELF_NOTE_NETBSD_NAME, 633 sizeof(note.name)) == 0) { 634 memcpy(&netbsd_version, ¬e.desc [all...] |
| /src/usr.bin/rdist/ |
| server.c | 75 static void note(const char *, ...) 655 dolog(lfp, "update: note: %s\n", s); 1091 note("%s:%s: unknown login name, clearing setuid", 1111 note("%s:%s: unknown group", host, group); 1130 note("%s: %s utimes: %s", host, file, strerror(errno)); 1132 note("%s: %s chown: %s", host, file, strerror(errno)); 1135 note("%s: %s chmod: %s", host, file, strerror(errno)); 1541 dolog(lfp, "Note: %s\n",s); 1576 note(const char *fmt, ...) function
|
| /src/sys/kern/ |
| kern_ksyms.c | 984 int32_t *note = ksyms_hdr.kh_note; local 985 note[0] = ELF_NOTE_NETBSD_NAMESZ; 986 note[1] = ELF_NOTE_NETBSD_DESCSZ; 987 note[2] = ELF_NOTE_TYPE_NETBSD_TAG; 988 memcpy(¬e[3], "NetBSD\0", 8); 989 note[5] = __NetBSD_Version__; 1016 /* First section header ".note.netbsd.ident" */ 1023 SHTCOPY(".note.netbsd.ident");
|