Lines Matching refs:rgep

64 	rge_t *rgep;
70 rgep = ksp->ks_private;
73 (knp++)->value.ui64 = rgep->dma_area_rxdesc.cookie.dmac_laddress;
74 (knp++)->value.ui64 = rgep->rx_next;
75 (knp++)->value.ui64 = rgep->rx_free;
76 (knp++)->value.ui64 = rgep->rx_bcopy;
77 (knp++)->value.ui64 = rgep->dma_area_txdesc.cookie.dmac_laddress;
78 (knp++)->value.ui64 = rgep->tx_next;
79 (knp++)->value.ui64 = rgep->tx_free;
80 (knp++)->value.ui64 = rgep->tx_flow;
81 (knp++)->value.ui64 = rgep->resched_needed;
82 (knp++)->value.ui64 = rgep->watchdog;
83 (knp++)->value.ui64 = rgep->chipid.rxconfig;
84 (knp++)->value.ui64 = rgep->chipid.txconfig;
85 (knp++)->value.ui64 = rgep->chipid.mac_ver;
86 (knp++)->value.ui64 = rgep->chipid.phy_ver;
87 (knp++)->value.ui64 = rgep->stats.chip_reset;
88 (knp++)->value.ui64 = rgep->stats.phy_reset;
89 (knp++)->value.ui64 = rgep->param_loop_mode;
95 rge_setup_named_kstat(rge_t *rgep, int instance, char *name,
109 ksp->ks_private = rgep;
137 rge_init_kstats(rge_t *rgep, int instance)
139 rgep->rge_kstats[RGE_KSTAT_DRIVER] = rge_setup_named_kstat(rgep,
145 rge_fini_kstats(rge_t *rgep)
150 if (rgep->rge_kstats[i] != NULL) {
151 kstat_delete(rgep->rge_kstats[i]);
158 rge_t *rgep = arg;
161 mutex_enter(rgep->genlock);
162 rge_hw_stats_dump(rgep);
163 mutex_exit(rgep->genlock);
164 bstp = rgep->hw_stats;
168 *val = rgep->param_link_speed * 1000000ull;
196 *val = rgep->stats.rbytes;
204 *val = rgep->stats.obytes;
224 *val = rgep->stats.defer;
228 *val = rgep->phy_mii_addr;
232 mutex_enter(rgep->genlock);
233 *val = rge_mii_get16(rgep, MII_PHYIDH);
235 *val |= rge_mii_get16(rgep, MII_PHYIDL);
236 mutex_exit(rgep->genlock);
280 *val = rgep->param_adv_1000fdx;
284 *val = rgep->param_adv_1000hdx;
288 *val = rgep->param_adv_100fdx;
292 *val = rgep->param_adv_100hdx;
296 *val = rgep->param_adv_10fdx;
300 *val = rgep->param_adv_10hdx;
304 *val = rgep->param_adv_asym_pause;
308 *val = rgep->param_adv_pause;
312 *val = rgep->param_adv_autoneg;
316 *val = rgep->param_link_duplex;