Searched refs:swsc (Results 1 – 2 of 2) sorted by relevance
1008 sc->swsc = device_get_softc(sc->pdev); in cpswp_attach()1010 sc->phy = sc->swsc->port[sc->unit].phy; in cpswp_attach()1011 sc->vlan = sc->swsc->port[sc->unit].vlan; in cpswp_attach()1012 if (sc->swsc->dualemac && sc->vlan == -1) in cpswp_attach()1038 if_setsendqlen(ifp, sc->swsc->tx.queue_slots); in cpswp_attach()1082 cpsw_write_4(sc->swsc, sc->physel, in cpswp_attach()1097 CPSW_DEBUGF(sc->swsc, ("")); in cpswp_detach()1143 CPSW_DEBUGF(sc->swsc, ("")); in cpswp_init()1159 CPSW_DEBUGF(sc->swsc, ("")); in cpswp_init_locked()1167 if (!sc->swsc->rx.running && !sc->swsc->tx.running) { in cpswp_init_locked()[all …]
139 struct cpsw_softc *swsc; member