Home
last modified time | relevance | path

Searched refs:sc_ports (Results 1 – 3 of 3) sorted by relevance

/freebsd-14-stable/sys/dev/usb/serial/
HDumcs.c141 struct umcs7840_softc_oneport sc_ports[UMCS7840_MAX_PORTS]; /* Indexed by PHYSICAL member
362 &iface_index, sc->sc_ports[sc->sc_ucom[subunit].sc_portno].sc_xfer, umcs7840_config_tmp, in umcs7840_attach()
380 usbd_xfer_set_stall(sc->sc_ports[sc->sc_ucom[subunit].sc_portno].sc_xfer[UMCS7840_BULK_RD_EP]); in umcs7840_attach()
381 usbd_xfer_set_stall(sc->sc_ports[sc->sc_ucom[subunit].sc_portno].sc_xfer[UMCS7840_BULK_WR_EP]); in umcs7840_attach()
408 usbd_transfer_unsetup(sc->sc_ports[sc->sc_ucom[subunit].sc_portno].sc_xfer, UMCS7840_N_TRANSFERS); in umcs7840_detach()
489 sc->sc_ports[pn].sc_lcr = MCS7840_UART_LCR_DATALEN8 | MCS7840_UART_LCR_STOPB1; in umcs7840_cfg_open()
490 if (umcs7840_set_UART_reg_sync(sc, pn, MCS7840_UART_REG_LCR, sc->sc_ports[pn].sc_lcr)) in umcs7840_cfg_open()
497 sc->sc_ports[pn].sc_mcr = MCS7840_UART_MCR_IE; in umcs7840_cfg_open()
499 sc->sc_ports[pn].sc_mcr |= MCS7840_UART_MCR_DTR | MCS7840_UART_MCR_RTS; in umcs7840_cfg_open()
500 if (umcs7840_set_UART_reg_sync(sc, pn, MCS7840_UART_REG_MCR, sc->sc_ports[pn].sc_mcr)) in umcs7840_cfg_open()
[all …]
/freebsd-14-stable/sys/net/
HDif_lagg.c480 CK_SLIST_FOREACH(lp, &sc->sc_ports, lp_entries) in lagg_register_vlan()
499 CK_SLIST_FOREACH(lp, &sc->sc_ports, lp_entries) in lagg_unregister_vlan()
553 CK_SLIST_INIT(&sc->sc_ports); in lagg_clone_create()
630 while ((lp = CK_SLIST_FIRST(&sc->sc_ports)) != NULL) in lagg_clone_destroy()
673 CK_SLIST_FOREACH(lp, &sc->sc_ports, lp_entries) { in lagg_capabilities()
677 if (CK_SLIST_FIRST(&sc->sc_ports) == NULL) in lagg_capabilities()
687 CK_SLIST_FOREACH(lp, &sc->sc_ports, lp_entries) { in lagg_capabilities()
698 CK_SLIST_FOREACH(lp, &sc->sc_ports, lp_entries) { in lagg_capabilities()
704 if (CK_SLIST_FIRST(&sc->sc_ports) == NULL) in lagg_capabilities()
778 if (CK_SLIST_EMPTY(&sc->sc_ports)) { in lagg_port_create()
[all …]
HDif_lagg.h249 CK_SLIST_HEAD(__tplhd, lagg_port) sc_ports; /* list of interfaces */