Home
last modified time | relevance | path

Searched refs:fnum (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/drivers/sound/
Dopl3.c84 static void freq_to_fnum(int freq, int *block, int *fnum);
464 int block, fnum, freq, voice_mode, pan; in opl3_start_note() local
661 freq_to_fnum(freq, &block, &fnum); in opl3_start_note()
667 data = fnum & 0xff; /* in opl3_start_note()
672 data = 0x20 | ((block & 0x7) << 2) | ((fnum >> 8) & 0x3); in opl3_start_note()
681 static void freq_to_fnum (int freq, int *block, int *fnum) in freq_to_fnum() argument
718 *fnum = freq * (1 << (20 - octave)) / 49716; in freq_to_fnum()
936 int block, fnum, freq; in bend_pitch() local
955 freq_to_fnum(freq, &block, &fnum); in bend_pitch()
957 data = fnum & 0xff; /* in bend_pitch()
[all …]
Ddm.h45 u32 fnum; member
Desssolo1.c2043 outb(n.fnum & 0xff, io+1); in solo1_dmfm_ioctl()
2045 outb(((n.fnum >> 8) & 3) | ((n.octave & 7) << 2) | ((n.key_on & 1) << 5), io+1); in solo1_dmfm_ioctl()
Dsonicvibes.c2302 outb(n.fnum & 0xff, io+1); in sv_dmfm_ioctl()
2304 outb(((n.fnum >> 8) & 3) | ((n.octave & 7) << 2) | ((n.key_on & 1) << 5), io+1); in sv_dmfm_ioctl()
Dcmpci.c3040 outb(n.fnum & 0xff, io+1); in cm_dmfm_ioctl()
3042 outb(((n.fnum >> 8) & 3) | ((n.octave & 7) << 2) | ((n.key_on & 1) << 5), io+1); in cm_dmfm_ioctl()
/linux-2.4.37.9/drivers/usb/
Dov511.c4959 unsigned int fnum = *((unsigned int *) arg); in ov51x_v4l1_ioctl_internal() local
4963 if (fnum >= OV511_NUMFRAMES) { in ov51x_v4l1_ioctl_internal()
4964 err("VIDIOCSYNC: invalid frame (%d)", fnum); in ov51x_v4l1_ioctl_internal()
4968 frame = &ov->frame[fnum]; in ov51x_v4l1_ioctl_internal()
4970 PDEBUG(4, "syncing to frame %d, grabstate = %d", fnum, in ov51x_v4l1_ioctl_internal()
4993 if ((ret = ov51x_new_frame(ov, fnum)) < 0) in ov51x_v4l1_ioctl_internal()
5001 if ((ret = ov51x_new_frame(ov, fnum)) < 0) in ov51x_v4l1_ioctl_internal()
/linux-2.4.37.9/drivers/net/wan/
Dcomx-hw-munich.c201 u32 fnum:11, csm:1, no13:1, zero1:2, v110:1, no:13, hi:1, hold:1, fe:1; member
1719 hw->tx_desc[i].fnum = 2; in MUNICH_open()