Lines Matching refs:rge_softc
69 MCLGETL(struct rge_softc *sc __unused, int how,
104 int rge_encap(struct rge_softc *, struct mbuf *, int);
112 int rge_allocmem(struct rge_softc *);
113 int rge_newbuf(struct rge_softc *, int);
114 static int rge_rx_list_init(struct rge_softc *);
115 static void rge_rx_list_fini(struct rge_softc *);
116 static void rge_tx_list_init(struct rge_softc *);
117 static void rge_tx_list_fini(struct rge_softc *);
118 int rge_rxeof(struct rge_softc *);
119 int rge_txeof(struct rge_softc *);
120 void rge_reset(struct rge_softc *);
121 void rge_iff(struct rge_softc *);
122 void rge_set_phy_power(struct rge_softc *, int);
123 void rge_phy_config(struct rge_softc *);
124 void rge_phy_config_mac_cfg2_8126(struct rge_softc *);
125 void rge_phy_config_mac_cfg2(struct rge_softc *);
126 void rge_phy_config_mac_cfg3(struct rge_softc *);
127 void rge_phy_config_mac_cfg4(struct rge_softc *);
128 void rge_phy_config_mac_cfg5(struct rge_softc *);
129 void rge_phy_config_mcu(struct rge_softc *, uint16_t);
130 void rge_set_macaddr(struct rge_softc *, const uint8_t *);
131 void rge_get_macaddr(struct rge_softc *, uint8_t *);
132 void rge_hw_init(struct rge_softc *);
133 void rge_disable_phy_ocp_pwrsave(struct rge_softc *);
134 void rge_patch_phy_mcu(struct rge_softc *, int);
135 void rge_add_media_types(struct rge_softc *);
136 void rge_config_imtype(struct rge_softc *, int);
137 void rge_disable_hw_im(struct rge_softc *);
138 void rge_disable_sim_im(struct rge_softc *);
139 void rge_setup_sim_im(struct rge_softc *);
140 void rge_setup_intr(struct rge_softc *, int);
141 void rge_exit_oob(struct rge_softc *);
142 void rge_write_csi(struct rge_softc *, uint32_t, uint32_t);
143 uint32_t rge_read_csi(struct rge_softc *, uint32_t);
144 void rge_write_mac_ocp(struct rge_softc *, uint16_t, uint16_t);
145 uint16_t rge_read_mac_ocp(struct rge_softc *, uint16_t);
146 void rge_write_ephy(struct rge_softc *, uint16_t, uint16_t);
147 uint16_t rge_read_ephy(struct rge_softc *, uint16_t);
148 void rge_write_phy(struct rge_softc *, uint16_t, uint16_t, uint16_t);
149 uint16_t rge_read_phy(struct rge_softc *, uint16_t, uint16_t);
150 void rge_write_phy_ocp(struct rge_softc *, uint16_t, uint16_t);
151 uint16_t rge_read_phy_ocp(struct rge_softc *, uint16_t);
152 int rge_get_link_status(struct rge_softc *);
155 void rge_link_state(struct rge_softc *);
172 CFATTACH_DECL_NEW(rge, sizeof(struct rge_softc), rge_match, rge_attach,
194 struct rge_softc *sc = device_private(self);
385 struct rge_softc *sc = arg;
461 rge_encap(struct rge_softc *sc, struct mbuf *m, int idx)
556 struct rge_softc *sc = ifp->if_softc;
596 struct rge_softc *sc = ifp->if_softc;
657 struct rge_softc *sc = ifp->if_softc;
668 struct rge_softc *sc = ifp->if_softc;
879 struct rge_softc *sc = ifp->if_softc;
924 struct rge_softc *sc = ifp->if_softc;
997 struct rge_softc *sc = ifp->if_softc;
1033 rge_allocmem(struct rge_softc *sc)
1147 rge_load_rxbuf(struct rge_softc *sc, int idx)
1171 rge_newbuf(struct rge_softc *sc, int idx)
1207 rge_rx_list_init(struct rge_softc *sc)
1228 rge_rx_list_fini(struct rge_softc *sc)
1244 rge_tx_list_init(struct rge_softc *sc)
1261 rge_tx_list_fini(struct rge_softc *sc)
1277 rge_rxeof(struct rge_softc *sc)
1406 rge_txeof(struct rge_softc *sc)
1473 rge_reset(struct rge_softc *sc)
1511 rge_iff(struct rge_softc *sc)
1570 rge_set_phy_power(struct rge_softc *sc, int on)
1592 rge_phy_config(struct rge_softc *sc)
1646 rge_phy_config_mac_cfg2_8126(struct rge_softc *sc)
1926 rge_phy_config_mac_cfg2(struct rge_softc *sc)
2000 rge_phy_config_mac_cfg3(struct rge_softc *sc)
2105 rge_phy_config_mac_cfg4(struct rge_softc *sc)
2295 rge_phy_config_mac_cfg5(struct rge_softc *sc)
2340 rge_phy_config_mcu(struct rge_softc *sc, uint16_t mcode_version)
2410 rge_set_macaddr(struct rge_softc *sc, const uint8_t *addr)
2421 rge_get_macaddr(struct rge_softc *sc, uint8_t *addr)
2430 rge_hw_init(struct rge_softc *sc)
2477 rge_disable_phy_ocp_pwrsave(struct rge_softc *sc)
2488 rge_patch_phy_mcu(struct rge_softc *sc, int set)
2509 rge_add_media_types(struct rge_softc *sc)
2528 rge_config_imtype(struct rge_softc *sc, int imtype)
2548 rge_disable_hw_im(struct rge_softc *sc)
2554 rge_disable_sim_im(struct rge_softc *sc)
2561 rge_setup_sim_im(struct rge_softc *sc)
2569 rge_setup_intr(struct rge_softc *sc, int imtype)
2591 rge_exit_oob(struct rge_softc *sc)
2641 rge_write_csi(struct rge_softc *sc, uint32_t reg, uint32_t val)
2659 rge_read_csi(struct rge_softc *sc, uint32_t reg)
2678 rge_write_mac_ocp(struct rge_softc *sc, uint16_t reg, uint16_t val)
2689 rge_read_mac_ocp(struct rge_softc *sc, uint16_t reg)
2700 rge_write_ephy(struct rge_softc *sc, uint16_t reg, uint16_t val)
2719 rge_read_ephy(struct rge_softc *sc, uint16_t reg)
2740 rge_write_phy(struct rge_softc *sc, uint16_t addr, uint16_t reg, uint16_t val)
2755 rge_read_phy(struct rge_softc *sc, uint16_t addr, uint16_t reg)
2770 rge_write_phy_ocp(struct rge_softc *sc, uint16_t reg, uint16_t val)
2787 rge_read_phy_ocp(struct rge_softc *sc, uint16_t reg)
2806 rge_get_link_status(struct rge_softc *sc)
2814 struct rge_softc *sc = arg;
2822 struct rge_softc *sc = arg;
2833 rge_link_state(struct rge_softc *sc)