Searched refs:devunit (Results 1 - 8 of 8) sorted by relevance
/freebsd-12-stable/sys/dev/altera/avgen/ |
H A D | altera_avgen_nexus.c | 71 int devunit, error; local 85 devunit = -1; 102 ALTERA_AVALON_STR_DEVUNIT, &devunit); local 113 str_devname, devunit);
|
H A D | altera_avgen.h | 88 #define ALTERA_AVALON_STR_DEVUNIT "devunit" 95 const char *str_mmapio, const char *str_devname, int devunit);
|
H A D | altera_avgen_fdt.c | 84 int devunit, error; local 98 devunit = -1; 111 if (OF_getprop(node, "sri-cambridge,devunit", &cell, sizeof(cell)) > 0) 112 devunit = cell; 123 str_devname, devunit);
|
H A D | altera_avgen.c | 337 const char *str_devname, int devunit) 369 if (str_devname == NULL && devunit != -1) { 461 int devunit) 467 str_mmapio, str_devname, devunit); 490 devunit = sc->avg_unit; 500 if (devunit == -1) 501 devunit = 0; 503 sc->avg_disk->d_unit = devunit; 517 devunit = sc->avg_unit; 519 if (devunit ! 335 altera_avgen_process_options(struct altera_avgen_softc *sc, const char *str_fileio, const char *str_geomio, const char *str_mmapio, const char *str_devname, int devunit) argument 459 altera_avgen_attach(struct altera_avgen_softc *sc, const char *str_fileio, const char *str_geomio, const char *str_mmapio, const char *str_devname, int devunit) argument [all...] |
/freebsd-12-stable/sys/dev/sound/pcm/ |
H A D | sound.c | 273 pid_t pid, char *comm, int devunit) 278 KASSERT(d != NULL && ch != NULL && (devunit == -1 || 279 !(devunit & ~(SND_U_MASK | SND_D_MASK | SND_C_MASK))) && 281 ("%s(): invalid d=%p ch=%p direction=%d pid=%d devunit=%d", 282 __func__, d, ch, direction, pid, devunit)); 286 if (devunit != -1) { 287 switch (snd_unit2d(devunit)) { 316 if (devunit == -1 && c->direction == direction && 326 (devunit == -1 || devunit 272 pcm_chnalloc(struct snddev_info *d, struct pcm_channel **ch, int direction, pid_t pid, char *comm, int devunit) argument [all...] |
H A D | mixer.c | 694 int i, unit, devunit, val; local 730 devunit = snd_mkunit(unit, SND_DEV_CTL, 0); 731 pdev = make_dev(&mixer_cdevsw, PCMMINOR(devunit),
|
H A D | sound.h | 320 pid_t pid, char *comm, int devunit);
|
/freebsd-12-stable/sys/dev/usb/net/ |
H A D | uhso.c | 1560 unsigned int devunit; local 1587 devunit = alloc_unr(uhso_ifnet_unit); 1589 if_initname(ifp, device_get_name(sc->sc_dev), devunit);
|
Completed in 192 milliseconds