Lines Matching defs:sc
167 struct rge_softc *sc = (struct rge_softc *)self; in rge_attach() local
325 struct rge_softc *sc = (struct rge_softc *)self; in rge_activate() local
341 struct rge_softc *sc = arg; in rge_intr() local
410 rge_tx_list_sync(struct rge_softc *sc, struct rge_queues *q, in rge_tx_list_sync()
421 struct rge_softc *sc = q->q_sc; in rge_encap() local
535 struct rge_softc *sc = ifp->if_softc; in rge_ioctl() local
584 struct rge_softc *sc = ifp->if_softc; in rge_start() local
641 struct rge_softc *sc = ifp->if_softc; in rge_watchdog() local
652 struct rge_softc *sc = ifp->if_softc; in rge_init() local
859 struct rge_softc *sc = ifp->if_softc; in rge_stop() local
914 struct rge_softc *sc = ifp->if_softc; in rge_ifmedia_upd() local
986 struct rge_softc *sc = ifp->if_softc; in rge_ifmedia_sts() local
1019 rge_allocmem(struct rge_softc *sc) in rge_allocmem()
1134 struct rge_softc *sc = q->q_sc; in rge_newbuf() local
1221 struct rge_softc *sc = q->q_sc; in rge_tx_list_init() local
1243 struct rge_softc *sc = q->q_sc; in rge_rxeof() local
1378 struct rge_softc *sc = q->q_sc; in rge_txeof() local
1443 rge_reset(struct rge_softc *sc) in rge_reset()
1494 rge_iff(struct rge_softc *sc) in rge_iff()
1545 rge_chipinit(struct rge_softc *sc) in rge_chipinit()
1554 rge_set_phy_power(struct rge_softc *sc, int on) in rge_set_phy_power()
1576 rge_ephy_config(struct rge_softc *sc) in rge_ephy_config()
1591 rge_ephy_config_mac_cfg3(struct rge_softc *sc) in rge_ephy_config_mac_cfg3()
1617 rge_ephy_config_mac_cfg5(struct rge_softc *sc) in rge_ephy_config_mac_cfg5()
1627 rge_phy_config(struct rge_softc *sc) in rge_phy_config()
1701 rge_phy_config_mac_cfg2_8126(struct rge_softc *sc) in rge_phy_config_mac_cfg2_8126()
1981 rge_phy_config_mac_cfg3(struct rge_softc *sc) in rge_phy_config_mac_cfg3()
2065 rge_phy_config_mac_cfg5(struct rge_softc *sc) in rge_phy_config_mac_cfg5()
2102 rge_phy_config_mcu(struct rge_softc *sc, uint16_t mcode_version) in rge_phy_config_mcu()
2153 rge_set_macaddr(struct rge_softc *sc, const uint8_t *addr) in rge_set_macaddr()
2164 rge_get_macaddr(struct rge_softc *sc, uint8_t *addr) in rge_get_macaddr()
2178 rge_hw_init(struct rge_softc *sc) in rge_hw_init()
2248 rge_hw_reset(struct rge_softc *sc) in rge_hw_reset()
2264 rge_disable_phy_ocp_pwrsave(struct rge_softc *sc) in rge_disable_phy_ocp_pwrsave()
2275 rge_patch_phy_mcu(struct rge_softc *sc, int set) in rge_patch_phy_mcu()
2300 rge_add_media_types(struct rge_softc *sc) in rge_add_media_types()
2319 rge_config_imtype(struct rge_softc *sc, int imtype) in rge_config_imtype()
2334 rge_disable_aspm_clkreq(struct rge_softc *sc) in rge_disable_aspm_clkreq()
2346 rge_disable_hw_im(struct rge_softc *sc) in rge_disable_hw_im()
2352 rge_disable_sim_im(struct rge_softc *sc) in rge_disable_sim_im()
2359 rge_setup_sim_im(struct rge_softc *sc) in rge_setup_sim_im()
2367 rge_setup_intr(struct rge_softc *sc, int imtype) in rge_setup_intr()
2389 rge_switch_mcu_ram_page(struct rge_softc *sc, int page) in rge_switch_mcu_ram_page()
2399 rge_exit_oob(struct rge_softc *sc) in rge_exit_oob()
2447 rge_write_csi(struct rge_softc *sc, uint32_t reg, uint32_t val) in rge_write_csi()
2465 rge_read_csi(struct rge_softc *sc, uint32_t reg) in rge_read_csi()
2484 rge_write_mac_ocp(struct rge_softc *sc, uint16_t reg, uint16_t val) in rge_write_mac_ocp()
2495 rge_read_mac_ocp(struct rge_softc *sc, uint16_t reg) in rge_read_mac_ocp()
2506 rge_write_ephy(struct rge_softc *sc, uint16_t reg, uint16_t val) in rge_write_ephy()
2525 rge_read_ephy(struct rge_softc *sc, uint16_t reg) in rge_read_ephy()
2546 rge_write_phy(struct rge_softc *sc, uint16_t addr, uint16_t reg, uint16_t val) in rge_write_phy()
2561 rge_read_phy(struct rge_softc *sc, uint16_t addr, uint16_t reg) in rge_read_phy()
2576 rge_write_phy_ocp(struct rge_softc *sc, uint16_t reg, uint16_t val) in rge_write_phy_ocp()
2593 rge_read_phy_ocp(struct rge_softc *sc, uint16_t reg) in rge_read_phy_ocp()
2612 rge_get_link_status(struct rge_softc *sc) in rge_get_link_status()
2620 struct rge_softc *sc = arg; in rge_txstart() local
2628 struct rge_softc *sc = arg; in rge_tick() local
2639 rge_link_state(struct rge_softc *sc) in rge_link_state()
2657 struct rge_softc *sc = ifp->if_softc; in rge_wol() local
2687 rge_wol_power(struct rge_softc *sc) in rge_wol_power()
2762 struct rge_softc *sc = ks->ks_softc; in rge_kstat_read() local
2835 rge_kstat_attach(struct rge_softc *sc) in rge_kstat_attach()