Home
last modified time | relevance | path

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

/freebsd-13.1/sys/geom/gate/
H A Dg_gate.c150 g_gate_units[sc->sc_unit] = NULL; in g_gate_destroy()
376 g_gate_hold(sc->sc_unit, NULL); in g_gate_guard()
433 sc = g_gate_hold(sc->sc_unit, NULL); in g_gate_dumpconf()
458 sbuf_printf(sb, "%s<unit>%d</unit>\n", indent, sc->sc_unit); in g_gate_dumpconf()
526 sc->sc_unit = g_gate_getunit(ggio->gctl_unit, &error); in g_gate_create()
527 if (sc->sc_unit < 0) in g_gate_create()
535 sc->sc_unit); in g_gate_create()
549 g_gate_units[sc->sc_unit] = sc; in g_gate_create()
605 ggio->gctl_unit = sc->sc_unit; in g_gate_create()
631 g_gate_units[sc->sc_unit] = NULL; in g_gate_create()
[all …]
H A Dg_gate.h83 int sc_unit; /* P: (read-only) */ member
/freebsd-13.1/sys/dev/usb/serial/
H A Dusb_serial.c282 ssc->sc_unit = ucom_unit_alloc(); in ucom_attach()
283 if (ssc->sc_unit == -1) in ucom_attach()
288 UCOM_TTY_PREFIX "%d", ssc->sc_unit); in ucom_attach()
293 ucom_unit_free(ssc->sc_unit); in ucom_attach()
326 sc->sc_tty, ssc->sc_unit, ssc->sc_subunits); in ucom_attach()
429 sizeof(buf), ssc->sc_unit, sc->sc_subunit); in ucom_attach_tty()
436 ssc->sc_unit, sc->sc_subunit); in ucom_attach_tty()
440 ssc->sc_unit); in ucom_attach_tty()
456 (ssc->sc_unit == ucom_cons_unit) && in ucom_attach_tty()
459 ssc->sc_unit, sc->sc_subunit); in ucom_attach_tty()
[all …]
H A Dusb_serial.h134 int sc_unit; member
H A Dumct.c119 uint32_t sc_unit; member
263 sc->sc_unit = device_get_unit(dev); in umct_attach()
H A Dufoma.c176 uint32_t sc_unit; member
380 sc->sc_unit = device_get_unit(dev); in ufoma_attach()
469 CTLFLAG_RD, &(sc->sc_super_ucom.sc_unit), 0, in ufoma_attach()
H A Duftdi.c157 uint32_t sc_unit; member
1099 sc->sc_unit = device_get_unit(dev); in uftdi_attach()
/freebsd-13.1/sys/geom/
H A Dgeom_ccd.c162 int sc_unit; /* logical unit number */ member
758 if (sc != NULL && sc->sc_unit == *unit) { in g_ccd_create()
797 sc->sc_unit = *unit; in g_ccd_create()
834 sbuf_printf(sb, "ccd%d: %d components ", sc->sc_unit, *nprovider); in g_ccd_create()
890 if (cs == NULL || (unit >= 0 && unit != cs->sc_unit)) in g_ccd_list()
893 cs->sc_unit, cs->sc_ileave, cs->sc_flags & CCDF_USERMASK); in g_ccd_list()
/freebsd-13.1/sys/dev/gpio/
H A Dgpioc.c67 int sc_unit; member
577 sc->sc_unit = device_get_unit(dev); in gpioc_attach()
601 err = make_dev_s(&devargs, &sc->sc_ctl_dev, "gpioc%d", sc->sc_unit); in gpioc_attach()
603 device_printf(dev, "Failed to create gpioc%d", sc->sc_unit); in gpioc_attach()
/freebsd-13.1/sys/dev/usb/storage/
H A Dumass.c410 uint32_t sc_unit; member
906 sc->sc_unit = device_get_unit(dev); in umass_attach()
2089 sc->sc_unit /* unit number */ , in umass_cam_attach_sim()
2101 status = xpt_bus_register(sc->sc_sim, sc->sc_dev, sc->sc_unit); in umass_cam_attach_sim()
2122 sc->sc_unit, cam_sim_path(sc->sc_sim)); in umass_cam_attach()
2142 sc->sc_unit, sc->sc_sim, in umass_cam_detach_sim()
2332 cpi->bus_id = sc->sc_unit; in umass_cam_action()
/freebsd-13.1/sys/dev/usb/net/
H A Duhso.c647 snprintf(ht->ht_name, 32, "cuaU%d", ucom->sc_super->sc_unit); in uhso_attach()
650 ucom->sc_super->sc_unit, ucom->sc_subunit); in uhso_attach()
1485 ucom->sc_super->sc_unit, ucom->sc_subunit); in uhso_ucom_start_read()