Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/hwpmc/
H A Dpmu_dmc620.c60 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-14.2/sys/geom/gate/
H A Dg_gate.c148 g_gate_units[sc->sc_unit] = NULL; in g_gate_destroy()
373 g_gate_hold(sc->sc_unit, NULL); in g_gate_guard()
430 sc = g_gate_hold(sc->sc_unit, NULL); in g_gate_dumpconf()
455 sbuf_printf(sb, "%s<unit>%d</unit>\n", indent, sc->sc_unit); in g_gate_dumpconf()
521 sc->sc_unit = g_gate_getunit(ggio->gctl_unit, &error); in g_gate_create()
522 if (sc->sc_unit < 0) in g_gate_create()
530 sc->sc_unit); in g_gate_create()
544 g_gate_units[sc->sc_unit] = sc; in g_gate_create()
600 ggio->gctl_unit = sc->sc_unit; in g_gate_create()
626 g_gate_units[sc->sc_unit] = NULL; in g_gate_create()
[all …]
H A Dg_gate.h81 int sc_unit; /* P: (read-only) */ member
/freebsd-14.2/sys/dev/usb/serial/
H A Dusb_serial.c280 ssc->sc_unit = ucom_unit_alloc(); in ucom_attach()
281 if (ssc->sc_unit == -1) in ucom_attach()
286 UCOM_TTY_PREFIX "%d", ssc->sc_unit); in ucom_attach()
291 ucom_unit_free(ssc->sc_unit); in ucom_attach()
324 sc->sc_tty, ssc->sc_unit, ssc->sc_subunits); in ucom_attach()
427 sizeof(buf), ssc->sc_unit, sc->sc_subunit); in ucom_attach_tty()
434 ssc->sc_unit, sc->sc_subunit); in ucom_attach_tty()
438 ssc->sc_unit); in ucom_attach_tty()
454 (ssc->sc_unit == ucom_cons_unit) && in ucom_attach_tty()
457 ssc->sc_unit, sc->sc_subunit); in ucom_attach_tty()
[all …]
H A Dusb_serial.h133 int sc_unit; member
H A Dumct.c117 uint32_t sc_unit; member
259 sc->sc_unit = device_get_unit(dev); in umct_attach()
H A Dufoma.c175 uint32_t sc_unit; member
377 sc->sc_unit = device_get_unit(dev); in ufoma_attach()
466 CTLFLAG_RD, &(sc->sc_super_ucom.sc_unit), 0, in ufoma_attach()
H A Duftdi.c155 uint32_t sc_unit; member
1097 sc->sc_unit = device_get_unit(dev); in uftdi_attach()
/freebsd-14.2/sys/geom/
H A Dgeom_ccd.c160 int sc_unit; /* logical unit number */ member
755 if (sc != NULL && sc->sc_unit == *unit) { in g_ccd_create()
794 sc->sc_unit = *unit; in g_ccd_create()
831 sbuf_printf(sb, "ccd%d: %d components ", sc->sc_unit, *nprovider); in g_ccd_create()
887 if (cs == NULL || (unit >= 0 && unit != cs->sc_unit)) in g_ccd_list()
890 cs->sc_unit, cs->sc_ileave, cs->sc_flags & CCDF_USERMASK); in g_ccd_list()
/freebsd-14.2/sys/arm64/arm64/
H A Dcmn600.c95 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-14.2/sys/dev/gpio/
H A Dgpioc.c65 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-14.2/sys/dev/usb/storage/
H A Dumass.c406 uint32_t sc_unit; member
900 sc->sc_unit = device_get_unit(dev); in umass_attach()
2083 sc->sc_unit /* unit number */ , in umass_cam_attach_sim()
2095 status = xpt_bus_register(sc->sc_sim, sc->sc_dev, sc->sc_unit); in umass_cam_attach_sim()
2116 sc->sc_unit, cam_sim_path(sc->sc_sim)); in umass_cam_attach()
2136 sc->sc_unit, sc->sc_sim, in umass_cam_detach_sim()
2326 cpi->bus_id = sc->sc_unit; in umass_cam_action()
/freebsd-14.2/sys/dev/usb/net/
H A Duhso.c644 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()