/freebsd/sys/dev/hwpmc/ |
H A D | pmu_dmc620.c | 60 int sc_unit; member 125 sc->sc_unit = u; in pmu_dmc620_acpi_attach() 191 dmc620_intr(tf, PMC_CLASS_DMC620_PMU_CD2, sc->sc_unit, i); in pmu_dmc620_clkdiv2_overflow() 201 dmc620_intr(tf, PMC_CLASS_DMC620_PMU_C, sc->sc_unit, i); in pmu_dmc620_clk_overflow()
|
/freebsd/sys/geom/gate/ |
H A D | g_gate.c | 147 g_gate_units[sc->sc_unit] = NULL; in g_gate_destroy() 372 g_gate_hold(sc->sc_unit, NULL); in g_gate_guard() 429 sc = g_gate_hold(sc->sc_unit, NULL); in g_gate_dumpconf() 454 sbuf_printf(sb, "%s<unit>%d</unit>\n", indent, sc->sc_unit); in g_gate_dumpconf() 520 sc->sc_unit = g_gate_getunit(ggio->gctl_unit, &error); in g_gate_create() 521 if (sc->sc_unit < 0) in g_gate_create() 529 sc->sc_unit); in g_gate_create() 543 g_gate_units[sc->sc_unit] = sc; in g_gate_create() 599 ggio->gctl_unit = sc->sc_unit; in g_gate_create() 625 g_gate_units[sc->sc_unit] = NULL; in g_gate_create() [all …]
|
H A D | g_gate.h | 81 int sc_unit; /* P: (read-only) */ member
|
/freebsd/sys/dev/usb/serial/ |
H A D | usb_serial.c | 279 ssc->sc_unit = ucom_unit_alloc(); in ucom_attach() 280 if (ssc->sc_unit == -1) in ucom_attach() 285 UCOM_TTY_PREFIX "%d", ssc->sc_unit); in ucom_attach() 290 ucom_unit_free(ssc->sc_unit); in ucom_attach() 323 sc->sc_tty, ssc->sc_unit, ssc->sc_subunits); in ucom_attach() 426 sizeof(buf), ssc->sc_unit, sc->sc_subunit); in ucom_attach_tty() 433 ssc->sc_unit, sc->sc_subunit); in ucom_attach_tty() 437 ssc->sc_unit); in ucom_attach_tty() 453 (ssc->sc_unit == ucom_cons_unit) && in ucom_attach_tty() 456 ssc->sc_unit, sc->sc_subunit); in ucom_attach_tty() [all …]
|
H A D | usb_serial.h | 133 int sc_unit; member
|
H A D | umct.c | 116 uint32_t sc_unit; member 258 sc->sc_unit = device_get_unit(dev); in umct_attach()
|
H A D | ufoma.c | 174 uint32_t sc_unit; member 376 sc->sc_unit = device_get_unit(dev); in ufoma_attach() 465 CTLFLAG_RD, &(sc->sc_super_ucom.sc_unit), 0, in ufoma_attach()
|
H A D | uftdi.c | 154 uint32_t sc_unit; member 1114 sc->sc_unit = device_get_unit(dev); in uftdi_attach()
|
/freebsd/sys/geom/ |
H A D | geom_ccd.c | 157 int sc_unit; /* logical unit number */ member 752 if (sc != NULL && sc->sc_unit == *unit) { in g_ccd_create() 791 sc->sc_unit = *unit; in g_ccd_create() 828 sbuf_printf(sb, "ccd%d: %d components ", sc->sc_unit, *nprovider); in g_ccd_create() 884 if (cs == NULL || (unit >= 0 && unit != cs->sc_unit)) in g_ccd_list() 887 cs->sc_unit, cs->sc_ileave, cs->sc_flags & CCDF_USERMASK); in g_ccd_list()
|
/freebsd/sys/arm64/arm64/ |
H A D | cmn600.c | 95 int sc_unit; member 673 sc->sc_unit = u; in cmn600_acpi_attach() 714 cmn600_pmc_register(sc->sc_unit, (void *)sc, domain); in cmn600_acpi_attach() 754 cmn600_pmc_unregister(sc->sc_unit); in cmn600_acpi_detach() 794 sc->sc_pmu_ih(tf, sc->sc_unit, i); in cmn600_intr()
|
/freebsd/sys/dev/gpio/ |
H A D | gpioc.c | 64 int sc_unit; member 576 sc->sc_unit = device_get_unit(dev); in gpioc_attach() 600 err = make_dev_s(&devargs, &sc->sc_ctl_dev, "gpioc%d", sc->sc_unit); in gpioc_attach() 602 device_printf(dev, "Failed to create gpioc%d", sc->sc_unit); in gpioc_attach()
|
/freebsd/sys/dev/usb/storage/ |
H A D | umass.c | 425 uint32_t sc_unit; member 919 sc->sc_unit = device_get_unit(dev); in umass_attach() 2102 sc->sc_unit /* unit number */ , in umass_cam_attach_sim() 2114 status = xpt_bus_register(sc->sc_sim, sc->sc_dev, sc->sc_unit); in umass_cam_attach_sim() 2135 sc->sc_unit, cam_sim_path(sc->sc_sim)); in umass_cam_attach() 2155 sc->sc_unit, sc->sc_sim, in umass_cam_detach_sim() 2345 cpi->bus_id = sc->sc_unit; in umass_cam_action()
|
/freebsd/sys/dev/usb/net/ |
H A D | uhso.c | 644 snprintf(ht->ht_name, 32, "cuaU%d", ucom->sc_super->sc_unit); in uhso_attach() 647 ucom->sc_super->sc_unit, ucom->sc_subunit); in uhso_attach() 1482 ucom->sc_super->sc_unit, ucom->sc_subunit); in uhso_ucom_start_read()
|