/src/sys/dev/ic/ |
am79900var.h | 46 struct lance_softc lsc; member in struct:am79900_softc
|
am7990var.h | 46 struct lance_softc lsc; member in struct:am7990_softc
|
/src/sys/arch/mvme68k/dev/ |
if_le.c | 128 struct le_softc *lsc; local in function:le_pcc_wrcsr 130 lsc = (struct le_softc *)sc; 131 bus_space_write_2(lsc->sc_bust, lsc->sc_bush, LEPCC_RAP, port); 132 bus_space_write_2(lsc->sc_bust, lsc->sc_bush, LEPCC_RDP, val); 138 struct le_softc *lsc; local in function:le_pcc_rdcsr 140 lsc = (struct le_softc *)sc; 141 bus_space_write_2(lsc->sc_bust, lsc->sc_bush, LEPCC_RAP, port) 162 struct le_softc *lsc; local in function:le_pcc_attach [all...] |
/src/sys/arch/amiga/dev/ |
lpt_supio.c | 97 struct lpt_softc *lsc = &sc->sc_lpt; local in function:lpt_supio_attach 105 lsc->sc_dev = self; 107 iot = lsc->sc_iot = supa->supio_iot; 111 if (bus_space_map(iot, iobase, LPT_NPORTS, 0, &lsc->sc_ioh)) { 116 lpt_attach_subr(lsc);
|
/src/sys/net/agr/ |
ieee8023ad_lacp_select.c | 67 lacp_aggregator_addref(struct lacp_softc *lsc, struct lacp_aggregator *la) 85 lacp_aggregator_delref(struct lacp_softc *lsc, struct lacp_aggregator *la) 104 KASSERT(lsc->lsc_active_aggregator != la); 106 TAILQ_REMOVE(&lsc->lsc_aggregators, la, la_q); 116 lacp_aggregator_get(struct lacp_softc *lsc, struct lacp_port *lp) 126 TAILQ_INSERT_TAIL(&lsc->lsc_aggregators, la, la_q); 209 struct lacp_softc *lsc = LACP_SOFTC(AGR_SC_FROM_PORT(lp->lp_agrport)); local in function:lacp_select 225 TAILQ_FOREACH(la, &lsc->lsc_aggregators, la_q) { 232 la = lacp_aggregator_get(lsc, lp); 246 lacp_aggregator_addref(lsc, la) 264 struct lacp_softc *lsc = LACP_SOFTC(AGR_SC_FROM_PORT(lp->lp_agrport)); local in function:lacp_unselect [all...] |
ieee8023ad_lacp.c | 364 struct lacp_softc *lsc = LACP_SOFTC(AGR_SC_FROM_PORT(port)); local in function:lacp_disable_distributing 386 lacp_suppress_distributing(lsc, la); 391 if (lsc->lsc_active_aggregator == la) { 392 lacp_select_active_aggregator(lsc); 401 struct lacp_softc *lsc = LACP_SOFTC(AGR_SC_FROM_PORT(port)); local in function:lacp_enable_distributing 421 lacp_suppress_distributing(lsc, la); 426 if (lsc->lsc_active_aggregator != la) { 427 lacp_select_active_aggregator(lsc); 435 struct lacp_softc *lsc = LACP_SOFTC(sc); local in function:lacp_transit_expire 439 lsc->lsc_suppress_distributing = false 471 struct lacp_softc *lsc = &isc->isc_lacpsc; local in function:ieee8023ad_ctor 483 struct lacp_softc *lsc = &isc->isc_lacpsc; local in function:ieee8023ad_dtor 497 const struct lacp_softc *lsc = LACP_SOFTC(sc); local in function:ieee8023ad_select_tx_port [all...] |
/src/sys/dev/isa/ |
atppc_isa.c | 135 struct atppc_softc *lsc = &sc->sc_atppc; local in function:atppc_isa_attach 140 lsc->sc_iot = ia->ia_iot; 141 lsc->sc_dmat = ia->ia_dmat; 142 lsc->sc_has = 0; 146 if (bus_space_map(lsc->sc_iot, sc->sc_iobase, IO_LPTSIZE, 0, 147 &lsc->sc_ioh) != 0) { 150 lsc->sc_dev_ok = ATPPC_NOATTACH; 154 lsc->sc_dev = self; 155 lsc->sc_dev_ok = ATPPC_ATTACHED; 167 lsc->sc_ieh = isa_intr_establish(sc->sc_ic, sc->sc_irq [all...] |
lpt_isa.c | 220 struct lpt_softc *lsc = &sc->sc_lpt; local in function:lpt_isa_attach 225 lsc->sc_dev = self; 239 iot = lsc->sc_iot = ia->ia_iot; 244 lsc->sc_ioh = ioh; 246 lpt_attach_subr(lsc); 250 lsc->sc_ih = isa_intr_establish_xname(sc->sc_ic, sc->sc_irq, 251 IST_EDGE, IPL_TTY, lptintr, lsc, device_xname(lsc->sc_dev)); 259 struct lpt_softc *lsc = &sc->sc_lpt; local in function:lpt_isa_detach 265 isa_intr_disestablish(sc->sc_ic, lsc->sc_ih) [all...] |
/src/sys/arch/evbppc/virtex/dev/ |
tft_ll.c | 98 struct ll_tft_softc *lsc = device_private(self); local in function:ll_tft_attach 99 struct tft_softc *sc = &lsc->lsc_sc; 104 lsc->lsc_dma_iot = tx->dmac_iot; 105 lsc->lsc_dmat = vaa->vaa_dmat; 116 if ((error = bus_space_map(lsc->lsc_dma_iot, tx->dmac_ctrl_addr, 117 CDMAC_CTRL_SIZE, 0, &lsc->lsc_dma_ioh)) != 0) { 126 if ((error = bus_dmamem_alloc(lsc->lsc_dmat, 128 &lsc->lsc_seg, 1, &nseg, 0)) != 0) { 132 if ((error = bus_dmamem_map(lsc->lsc_dmat, &lsc->lsc_seg, nseg 201 struct ll_tft_softc *lsc = arg; local in function:ll_tft_mmap 218 struct ll_tft_softc *lsc = arg; local in function:ll_tft_shutdown [all...] |
/src/sys/dev/mca/ |
if_le_mca.c | 132 struct lance_softc *sc = &lesc->sc_am7990.lsc; 320 struct le_mca_softc *lsc = (struct le_mca_softc *)sc; local in function:le_mca_wrcsr 322 le_mca_set_RAP(lsc, port); 323 le_mca_wrreg(lsc, val, RDATA | REGWRITE); 329 struct le_mca_softc *lsc = (struct le_mca_softc *)sc; local in function:le_mca_rdcsr 331 le_mca_set_RAP(lsc, port); 332 le_mca_wrreg(lsc, 0, RDATA | REGREAD); 334 return (bus_space_read_2(lsc->sc_memt, lsc->sc_memh, LE_LANCEREG)); 340 struct le_mca_softc *lsc = (struct le_mca_softc *)sc local in function:le_mca_hwreset 350 struct le_mca_softc *lsc = (struct le_mca_softc *)sc; local in function:le_mca_copytobuf 358 struct le_mca_softc *lsc = (struct le_mca_softc *)sc; local in function:le_mca_copyfrombuf 366 struct le_mca_softc *lsc = (struct le_mca_softc *)sc; local in function:le_mca_zerobuf [all...] |
/src/sys/dev/sbus/ |
esp_sbus.c | 155 struct lsi64854_softc *lsc; local in function:espattach_sbus 195 lsc = malloc(sizeof(struct lsi64854_softc), M_DEVBUF, M_WAITOK); 196 lsc->sc_dev = malloc(sizeof(struct device), M_DEVBUF, 198 esc->sc_dma = lsc; 200 lsc->sc_bustag = sa->sa_bustag; 201 lsc->sc_dmatag = sa->sa_dmatag; 203 strlcpy(lsc->sc_dev->dv_xname, device_xname(sc->sc_dev), 204 sizeof(lsc->sc_dev->dv_xname)); 209 sa->sa_promvaddrs[0], &lsc->sc_regs); 215 0, &lsc->sc_regs) != 0) [all...] |
/src/sys/sys/ |
dvdio.h | 187 struct dvd_lu_send_challenge lsc; member in union:__anon32e35375020a
|
/src/sys/dev/dkwedge/ |
dk.c | 433 struct dkwedge_softc *sc, *lsc; local in function:dkwedge_add 459 LIST_FOREACH(lsc, &pdk->dk_wedges, sc_plink) { 460 if (lsc->sc_offset != dkw->dkw_offset) 462 if (strcmp(lsc->sc_wname, dkw->dkw_wname) != 0) 464 if (strcmp(lsc->sc_ptype, dkw->dkw_ptype) != 0) 466 if (dkwedge_size(lsc) > dkw->dkw_size) 468 if (lsc->sc_dev == NULL) 471 sc = lsc; 512 LIST_FOREACH(lsc, &pdk->dk_wedges, sc_plink) { 515 uint64_t lsize = dkwedge_size(lsc); [all...] |
/src/sys/dev/pci/ixgbe/ |
ixgbe_x550.c | 2128 * @lsc: pointer to boolean flag which indicates whether external Base T 2129 * PHY interrupt is lsc 2137 static s32 ixgbe_get_lasi_ext_t_x550em(struct ixgbe_hw *hw, bool *lsc) 2142 *lsc = FALSE; 2208 /* Indicate LSC */ 2210 *lsc = TRUE; 2228 bool lsc; local in function:ixgbe_enable_lasi_ext_t_x550em 2231 status = ixgbe_get_lasi_ext_t_x550em(hw, &lsc); 4617 bool lsc; local in function:ixgbe_handle_lasi_ext_t_x550em 4620 status = ixgbe_get_lasi_ext_t_x550em(hw, &lsc); [all...] |
/src/sys/net/lagg/ |
if_lagg_lacp.c | 308 lacp_dprintf(const struct lacp_softc *lsc, const struct lacp_port *lacpp, 314 if (lsc != NULL && lsc->lsc_softc != NULL) { 315 sc = lsc->lsc_softc; 332 lacp_evcnt_attach(struct lacp_softc *lsc, 337 lsc->lsc_evgroup, name); 355 lacp_isactive(struct lacp_softc *lsc, struct lacp_port *lacpp) 364 if (lacpp->lp_aggregator != lsc->lsc_aggregator) 465 struct lacp_softc *lsc; local in function:lacp_attach 471 lsc = kmem_zalloc(sizeof(*lsc), KM_NOSLEEP) 536 struct lacp_softc *lsc = (struct lacp_softc *)xlsc; local in function:lacp_detach 567 struct lacp_softc *lsc; local in function:lacp_up 620 struct lacp_softc *lsc; local in function:lacp_down 634 struct lacp_softc *lsc; local in function:lacp_transmit 666 struct lacp_softc *lsc; local in function:lacp_allocport 730 struct lacp_softc *lsc; local in function:lacp_stopport 751 struct lacp_softc *lsc; local in function:lacp_freeport 778 struct lacp_softc *lsc; local in function:lacp_protostat 818 struct lacp_softc *lsc; local in function:lacp_portstat 857 struct lacp_softc *lsc; local in function:lacp_linkstate_ifnet_locked 935 struct lacp_softc *lsc; local in function:lacp_ioctl 1242 struct lacp_softc *lsc; local in function:lacp_input 1288 struct lacp_softc *lsc = (struct lacp_softc *)xlsc; local in function:lacp_rcvdu_work 1433 struct lacp_softc *lsc; local in function:lacp_sm_tx_work 1487 struct lacp_softc *lsc; local in function:lacp_tick 1545 struct lacp_softc *lsc; local in function:lacp_tick_work 2649 struct lacp_softc *lsc; local in function:lacp_marker_work 2764 struct lacp_softc *lsc = (struct lacp_softc *)xlsc; local in function:lacp_linkspeed_work [all...] |