Home
last modified time | relevance | path

Searched refs:devnum (Results 1 – 11 of 11) sorted by relevance

/openbsd/lib/libsndio/
H A Daucat.c417 unsigned int unit, devnum, type; in _aucat_open() local
448 devnum = AMSG_NODEV; in _aucat_open()
453 p = _sndio_parsenum(p, &devnum, 15); in _aucat_open()
464 p = _sndio_parsenum(p, &devnum, 15); in _aucat_open()
473 devnum += type * 16; /* XXX */ in _aucat_open()
475 host, unit, devnum, opt); in _aucat_open()
503 hdl->wmsg.u.hello.devnum = devnum; in _aucat_open()
H A Dmio_rmidi.c63 unsigned int devnum; in mio_rmidi_getfd() local
82 p = _sndio_parsenum(p, &devnum, 255); in mio_rmidi_getfd()
91 snprintf(path, sizeof(path), DEVPATH_PREFIX "%u", devnum); in mio_rmidi_getfd()
H A Dsioctl_sun.c331 unsigned int devnum; in sioctl_sun_getfd() local
351 devnum = 0; in sioctl_sun_getfd()
353 p = _sndio_parsenum(p, &devnum, 255); in sioctl_sun_getfd()
359 snprintf(path, sizeof(path), DEVPATH_PREFIX "%u", devnum); in sioctl_sun_getfd()
H A Damsg.h121 uint8_t devnum; /* device number */ member
H A Dsio_sun.c273 unsigned int devnum; in sio_sun_getfd() local
292 p = _sndio_parsenum(p, &devnum, 255); in sio_sun_getfd()
297 snprintf(path, sizeof(path), DEVPATH_PREFIX "%u", devnum); in sio_sun_getfd()
/openbsd/usr.bin/sndiod/
H A Dsock.c108 legacy_opt(int devnum, char *optname) in legacy_opt() argument
113 d = dev_bynum(devnum); in legacy_opt()
734 if (p->devnum == AMSG_NODEV) { in sock_hello()
741 } else if (p->devnum < 16) { in sock_hello()
742 opt = legacy_opt(p->devnum, p->opt); in sock_hello()
748 } else if (p->devnum < 32) { in sock_hello()
749 midi_tag(f->midi, p->devnum); in sock_hello()
750 } else if (p->devnum < 48) { in sock_hello()
751 c = port_alt_ref(p->devnum - 32); in sock_hello()
761 if (p->devnum == AMSG_NODEV) { in sock_hello()
[all …]
/openbsd/sys/dev/pci/drm/
H A Ddrm_pci.c91 p->devnum != PCI_SLOT(pdev->devfn) || p->funcnum != PCI_FUNC(pdev->devfn)) in drm_legacy_pci_irq_by_busid()
96 DRM_DEBUG("%d:%d:%d => IRQ %d\n", p->busnum, p->devnum, p->funcnum, in drm_legacy_pci_irq_by_busid()
/openbsd/usr.bin/rdist/
H A Dclient.h115 dev_t devnum; member
H A Dclient.c324 if (lp->inum == statp->st_ino && lp->devnum == statp->st_dev) { in linkinfo()
333 lp->devnum = statp->st_dev; in linkinfo()
/openbsd/sys/dev/pci/drm/include/uapi/drm/
H A Ddrm.h476 int devnum; /**< device number */ member
/openbsd/gnu/usr.bin/cvs/src/
H A Drcs.c4012 dev_t devnum = 0; local
4279 devnum = devnum_long;
4358 if (mknod (dest, special_file, devnum) < 0)