Searched refs:sc_if (Results 1 - 4 of 4) sorted by relevance

/haiku/src/add-ons/kernel/drivers/network/ether/syskonnect/dev/sk/
H A Dif_sk.c474 struct sk_if_softc *sc_if; local
477 sc_if = device_get_softc(dev);
479 SK_IF_MII_LOCK(sc_if);
480 switch(sc_if->sk_softc->sk_type) {
482 v = sk_xmac_miibus_readreg(sc_if, phy, reg);
487 v = sk_marv_miibus_readreg(sc_if, phy, reg);
493 SK_IF_MII_UNLOCK(sc_if);
503 struct sk_if_softc *sc_if; local
506 sc_if = device_get_softc(dev);
508 SK_IF_MII_LOCK(sc_if);
531 struct sk_if_softc *sc_if; local
1077 struct sk_if_softc *sc_if = ifp->if_softc; local
1095 struct sk_if_softc *sc_if; local
1114 struct sk_if_softc *sc_if = ifp->if_softc; local
1326 struct sk_if_softc *sc_if; local
1836 struct sk_if_softc *sc_if; local
2490 struct sk_if_softc *sc_if; local
2506 struct sk_if_softc *sc_if; local
2556 struct sk_if_softc *sc_if; local
2942 struct sk_if_softc *sc_if; local
2987 struct sk_if_softc *sc_if; local
3514 struct sk_if_softc *sc_if = xsc; local
[all...]
H A Dif_skreg.h177 #define SK_IF_READ_4(sc_if, skip, reg) \
178 sk_win_read_4(sc_if->sk_softc, reg + \
179 ((sc_if->sk_port * (skip + 1)) * SK_WIN_LEN))
180 #define SK_IF_READ_2(sc_if, skip, reg) \
181 sk_win_read_2(sc_if->sk_softc, reg + \
182 ((sc_if->sk_port * (skip + 1)) * SK_WIN_LEN))
183 #define SK_IF_READ_1(sc_if, skip, reg) \
184 sk_win_read_1(sc_if->sk_softc, reg + \
185 ((sc_if->sk_port * (skip + 1)) * SK_WIN_LEN))
187 #define SK_IF_WRITE_4(sc_if, ski
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/marvell_yukon/dev/msk/
H A Dif_msk.c404 struct msk_if_softc *sc_if; local
406 sc_if = device_get_softc(dev);
408 return (msk_phy_readreg(sc_if, phy, reg));
412 msk_phy_readreg(struct msk_if_softc *sc_if, int phy, int reg) argument
417 sc = sc_if->msk_softc;
419 GMAC_WRITE_2(sc, sc_if->msk_port, GM_SMI_CTRL,
424 val = GMAC_READ_2(sc, sc_if->msk_port, GM_SMI_CTRL);
426 val = GMAC_READ_2(sc, sc_if->msk_port, GM_SMI_DATA);
432 if_printf(sc_if->msk_ifp, "phy failed to come ready\n");
442 struct msk_if_softc *sc_if; local
450 msk_phy_writereg(struct msk_if_softc *sc_if, int phy, int reg, int val) argument
476 struct msk_if_softc *sc_if; local
577 msk_rxfilter(struct msk_if_softc *sc_if) argument
630 msk_setvlan(struct msk_if_softc *sc_if, struct ifnet *ifp) argument
649 msk_rx_fill(struct msk_if_softc *sc_if, int jumbo) argument
697 msk_init_rx_ring(struct msk_if_softc *sc_if) argument
764 msk_init_jumbo_rx_ring(struct msk_if_softc *sc_if) argument
832 msk_init_tx_ring(struct msk_if_softc *sc_if) argument
859 msk_discard_rxbuf(struct msk_if_softc *sc_if, int idx) argument
878 msk_discard_jumbo_rxbuf(struct msk_if_softc *sc_if, int idx) argument
897 msk_newbuf(struct msk_if_softc *sc_if, int idx) argument
955 msk_jumbo_newbuf(struct msk_if_softc *sc_if, int idx) argument
1018 struct msk_if_softc *sc_if; local
1038 struct msk_if_softc *sc_if; local
1058 struct msk_if_softc *sc_if; local
1594 struct msk_if_softc *sc_if; local
2028 struct msk_if_softc *sc_if; local
2225 msk_txrx_dma_alloc(struct msk_if_softc *sc_if) argument
2410 msk_rx_dma_jalloc(struct msk_if_softc *sc_if) argument
2520 msk_txrx_dma_free(struct msk_if_softc *sc_if) argument
2592 msk_rx_dma_jfree(struct msk_if_softc *sc_if) argument
2633 msk_encap(struct msk_if_softc *sc_if, struct mbuf **m_head) argument
2914 struct msk_if_softc *sc_if; local
2925 struct msk_if_softc *sc_if; local
2975 msk_watchdog(struct msk_if_softc *sc_if) argument
3102 msk_rxcsum(struct msk_if_softc *sc_if, uint32_t control, struct mbuf *m) argument
3192 msk_rxeof(struct msk_if_softc *sc_if, uint32_t status, uint32_t control, int len) argument
3268 msk_jumbo_rxeof(struct msk_if_softc *sc_if, uint32_t status, uint32_t control, int len) argument
3333 msk_txeof(struct msk_if_softc *sc_if, int idx) argument
3387 struct msk_if_softc *sc_if; local
3405 msk_intr_phy(struct msk_if_softc *sc_if) argument
3418 msk_intr_gmac(struct msk_if_softc *sc_if) argument
3449 msk_handle_hwerr(struct msk_if_softc *sc_if, uint32_t status) argument
3572 msk_rxput(struct msk_if_softc *sc_if) argument
3594 struct msk_if_softc *sc_if; local
3768 msk_set_tx_stfwd(struct msk_if_softc *sc_if) argument
3799 struct msk_if_softc *sc_if = xsc; local
3807 msk_init_locked(struct msk_if_softc *sc_if) argument
4082 msk_set_rambuffer(struct msk_if_softc *sc_if) argument
4157 msk_stop(struct msk_if_softc *sc_if) argument
4323 msk_stats_clear(struct msk_if_softc *sc_if) argument
4345 msk_stats_update(struct msk_if_softc *sc_if) argument
4454 struct msk_if_softc *sc_if; local
4475 struct msk_if_softc *sc_if; local
4505 msk_sysctl_node(struct msk_if_softc *sc_if) argument
[all...]
H A Dif_mskreg.h2153 #define MSK_IF_READ_4(sc_if, reg) \
2154 CSR_READ_4((sc_if)->msk_softc, (reg))
2155 #define MSK_IF_READ_2(sc_if, reg) \
2156 CSR_READ_2((sc_if)->msk_softc, (reg))
2157 #define MSK_IF_READ_1(sc_if, reg) \
2158 CSR_READ_1((sc_if)->msk_softc, (reg))
2160 #define MSK_IF_WRITE_4(sc_if, reg, val) \
2161 CSR_WRITE_4((sc_if)->msk_softc, (reg), (val))
2162 #define MSK_IF_WRITE_2(sc_if, reg, val) \
2163 CSR_WRITE_2((sc_if)
[all...]

Completed in 194 milliseconds