Home
last modified time | relevance | path

Searched refs:hwinfo (Results 1 – 10 of 10) sorted by relevance

/netbsd-src/usr.bin/audiocfg/
H A Dmain.c93 if ((adev->hwinfo.mode & AUMODE_PLAY)) { in print_audiodev()
95 adev->hwinfo.play.precision, in print_audiodev()
96 adev->hwinfo.play.channels, in print_audiodev()
97 adev->hwinfo.play.sample_rate); in print_audiodev()
102 if ((adev->hwinfo.mode & AUMODE_RECORD)) { in print_audiodev()
104 adev->hwinfo.record.precision, in print_audiodev()
105 adev->hwinfo.record.channels, in print_audiodev()
106 adev->hwinfo.record.sample_rate); in print_audiodev()
H A Daudiodev.c96 if (ioctl(adev->ctlfd, AUDIO_GETFORMAT, &adev->hwinfo) == -1) { in audiodev_getinfo()
260 ai = adev->hwinfo; in audiodev_set_param()
312 info.play.sample_rate = adev->hwinfo.play.sample_rate; in audiodev_test()
313 info.play.channels = adev->hwinfo.play.channels; in audiodev_test()
326 for (i = 0; i < adev->hwinfo.play.channels; i++) { in audiodev_test()
351 dtmf_new(&buf, &buflen, adev->hwinfo.play.sample_rate, 2, in audiodev_test_chmask()
352 adev->hwinfo.play.channels, chanmask, 350.0, 440.0); in audiodev_test_chmask()
H A Daudiodev.h57 audio_info_t hwinfo; member
/netbsd-src/usr.sbin/bootp/common/
H A Dhwaddr.h14 struct hwinfo { struct
19 extern struct hwinfo hwinfolist[]; argument
H A Dhwaddr.c51 struct hwinfo hwinfolist[] =
/netbsd-src/sbin/umbctl/
H A Dumbctl.c264 char hwinfo[UMB_HWINFO_MAXLEN + 1]; in _umbctl_info() local
273 _utf16_to_char(umbi->hwinfo, UMB_HWINFO_MAXLEN, hwinfo, sizeof(hwinfo)); in _umbctl_info()
286 fwinfo, hwinfo); in _umbctl_info()
/netbsd-src/tests/lib/libossaudio/
H A Dt_ossaudio.c46 struct audio_info hwinfo; in ATF_TC_BODY() local
53 if (ioctl(fd, AUDIO_GETFORMAT, &hwinfo) < 0) { in ATF_TC_BODY()
88 ATF_REQUIRE_EQ(channels, (int)hwinfo.play.channels); in ATF_TC_BODY()
92 ATF_REQUIRE_EQ(info.play.channels, hwinfo.play.channels); in ATF_TC_BODY()
278 ATF_REQUIRE_EQ(hwinfo.play.sample_rate, info.play.sample_rate); in ATF_TC_BODY()
/netbsd-src/sys/dev/usb/
H A Dif_umbreg.h310 uint16_t hwinfo[UMB_HWINFO_MAXLEN]; member
H A Dif_umb.c1441 sc->sc_info.hwinfo, sizeof(sc->sc_info.hwinfo)); in umb_decode_devices_caps()
/netbsd-src/tests/dev/audio/
H A Daudiotest.c5193 struct audio_info hwinfo; in DEF() local
5257 r = IOCTL(fd, AUDIO_GETFORMAT, &hwinfo, ""); in DEF()
5260 if ((hwinfo.mode & AUMODE_PLAY)) { in DEF()
5262 hwinfo.play.channels); in DEF()
5263 for (ch = 3; ch <= hwinfo.play.channels; ch++) { in DEF()
5279 if ((hwinfo.mode & AUMODE_RECORD)) { in DEF()
5281 hwinfo.record.channels); in DEF()
5282 for (ch = 3; ch <= hwinfo.record.channels; ch++) { in DEF()