Searched refs:hwinfo (Results 1 – 10 of 10) sorted by relevance
| /netbsd-src/usr.bin/audiocfg/ |
| H A D | main.c | 93 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 D | audiodev.c | 96 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 D | audiodev.h | 57 audio_info_t hwinfo; member
|
| /netbsd-src/usr.sbin/bootp/common/ |
| H A D | hwaddr.h | 14 struct hwinfo { struct 19 extern struct hwinfo hwinfolist[]; argument
|
| H A D | hwaddr.c | 51 struct hwinfo hwinfolist[] =
|
| /netbsd-src/sbin/umbctl/ |
| H A D | umbctl.c | 264 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 D | t_ossaudio.c | 46 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 D | if_umbreg.h | 310 uint16_t hwinfo[UMB_HWINFO_MAXLEN]; member
|
| H A D | if_umb.c | 1441 sc->sc_info.hwinfo, sizeof(sc->sc_info.hwinfo)); in umb_decode_devices_caps()
|
| /netbsd-src/tests/dev/audio/ |
| H A D | audiotest.c | 5193 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()
|