/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_impl.h | 992 } bge_t; typedef 1181 uint16_t bge_mii_get16(bge_t *bgep, bge_regno_t regno); 1182 void bge_mii_put16(bge_t *bgep, bge_regno_t regno, uint16_t value); 1183 uint16_t bge_phydsp_read(bge_t *bgep, bge_regno_t regno); 1184 void bge_phydsp_write(bge_t *bgep, bge_regno_t regno, uint16_t value); 1185 uint32_t bge_reg_get32(bge_t *bgep, bge_regno_t regno); 1186 void bge_reg_put32(bge_t *bgep, bge_regno_t regno, uint32_t value); 1187 void bge_reg_set32(bge_t *bgep, bge_regno_t regno, uint32_t bits); 1188 void bge_reg_clr32(bge_t *bgep, bge_regno_t regno, uint32_t bits); 1189 uint32_t bge_ape_get32(bge_t *bgep, bge_regno_t regno); [all …]
|
H A D | bge_chip2.c | 176 static void bge_cfg_clr16(bge_t *bgep, bge_regno_t regno, uint16_t bits); 180 bge_cfg_clr16(bge_t *bgep, bge_regno_t regno, uint16_t bits) in bge_cfg_clr16() 198 static void bge_cfg_clr32(bge_t *bgep, bge_regno_t regno, uint32_t bits); 202 bge_cfg_clr32(bge_t *bgep, bge_regno_t regno, uint32_t bits) in bge_cfg_clr32() 234 uint32_t bge_ind_get32(bge_t *bgep, bge_regno_t regno); 238 bge_ind_get32(bge_t *bgep, bge_regno_t regno) in bge_ind_get32() 262 void bge_ind_put32(bge_t *bgep, bge_regno_t regno, uint32_t val); 266 bge_ind_put32(bge_t *bgep, bge_regno_t regno, uint32_t val) in bge_ind_put32() 287 static void bge_pci_check(bge_t *bgep); 291 bge_pci_check(bge_t *bgep) in bge_pci_check() [all …]
|
H A D | bge_log.c | 68 bge_log(bge_t *bgep, const char *fmt, ...) in bge_log() 88 bge_problem(bge_t *bgep, const char *fmt, ...) in bge_problem() 108 bge_error(bge_t *bgep, const char *fmt, ...) in bge_error() 125 bge_fm_ereport(bge_t *bgep, char *detail) in bge_fm_ereport() 166 (*bge_db(bge_t *bgep))(const char *fmt, ...) in bge_db() 180 minidump(bge_t *bgep, const char *caption, void *dp, uint_t len) in minidump() 198 bge_pkt_dump(bge_t *bgep, bge_rbd_t *hrbdp, sw_rbd_t *srbdp, const char *msg) in bge_pkt_dump() 225 bge_dbg_enter(bge_t *bgep, const char *s) in bge_dbg_enter()
|
H A D | bge_mii.c | 117 bge_phydump(bge_t *bgep, uint16_t mii_status, uint16_t aux) in bge_phydump() 157 bge_phy_toggle_auxctl_smdsp(bge_t *bgep, in bge_phy_toggle_auxctl_smdsp() 179 bge_phy_probe(bge_t *bgep) in bge_phy_probe() 236 bge_phy_reset(bge_t *bgep) in bge_phy_reset() 277 bge_phy_powerdown(bge_t *bgep) in bge_phy_powerdown() 300 bge_phy_macro_wait(bge_t *bgep) in bge_phy_macro_wait() 354 bge_phy_locked_up(bge_t *bgep) in bge_phy_locked_up() 445 bge_phy_reset_and_check(bge_t *bgep) in bge_phy_reset_and_check() 538 bge_phy_tweak_gmii(bge_t *bgep) in bge_phy_tweak_gmii() 547 bge_phy_bit_err_fix(bge_t *bgep) in bge_phy_bit_err_fix() [all …]
|
H A D | bge_send.c | 92 static boolean_t bge_recycle_ring(bge_t *bgep, send_ring_t *srp); 96 bge_recycle_ring(bge_t *bgep, send_ring_t *srp) in bge_recycle_ring() 207 boolean_t bge_recycle(bge_t *bgep, bge_status_t *bsp); 211 bge_recycle(bge_t *bgep, bge_status_t *bsp) in bge_recycle() 302 bge_get_txbuf(bge_t *bgep, send_ring_t *srp) in bge_get_txbuf() 337 static void bge_send_copy(bge_t *bgep, sw_txbuf_t *txbuf, mblk_t *mp); 341 bge_send_copy(bge_t *bgep, sw_txbuf_t *txbuf, mblk_t *mp) in bge_send_copy() 364 bge_send_serial(bge_t *bgep, send_ring_t *srp) in bge_send_serial() 496 bge_t *bgep = srp->bgep; in bge_ring_tx() 581 bge_send(bge_t *bgep, mblk_t *mp) in bge_send() [all …]
|
H A D | bge_recv2.c | 38 static void bge_refill(bge_t *bgep, buff_ring_t *brp, sw_rbd_t *srbdp); 57 bge_refill(bge_t *bgep, buff_ring_t *brp, sw_rbd_t *srbdp) in bge_refill() 68 static mblk_t *bge_receive_packet(bge_t *bgep, bge_rbd_t *hw_rbd_p, 73 bge_receive_packet(bge_t *bgep, bge_rbd_t *hw_rbd_p, recv_ring_t *rrp) in bge_receive_packet() 278 static mblk_t *bge_receive_ring(bge_t *bgep, recv_ring_t *rrp); 284 bge_receive_ring(bge_t *bgep, recv_ring_t *rrp) in bge_receive_ring() 354 bge_t *bgep = rrp->bgep; in bge_poll_ring() 410 void bge_receive(bge_t *bgep, bge_status_t *bsp); 414 bge_receive(bge_t *bgep, bge_status_t *bsp) in bge_receive()
|
H A D | bge_main2.c | 67 static int bge_add_intrs(bge_t *, int); 68 static void bge_rem_intrs(bge_t *); 133 static int bge_set_priv_prop(bge_t *, const char *, uint_t, 135 static int bge_get_priv_prop(bge_t *, const char *, uint_t, 303 bge_reinit_rings(bge_t *bgep) in bge_reinit_rings() 347 bge_reset(bge_t *bgep, uint_t asf_mode) in bge_reset() 349 bge_reset(bge_t *bgep) in bge_reset() 401 bge_stop(bge_t *bgep) in bge_stop() 424 bge_start(bge_t *bgep, boolean_t reset_phys) in bge_start() 445 bge_restart(bge_t *bgep, boolean_t reset_phys) in bge_restart() [all …]
|
H A D | bge_ndd.c | 48 bge_param_sync(bge_t *bgep) in bge_param_sync() 84 bge_nd_param_init(bge_t *bgep) in bge_nd_param_init() 122 bge_nd_init(bge_t *bgep) in bge_nd_init()
|
H A D | bge_kstats.c | 197 bge_t *bgep; in bge_statistics_update() 310 bge_t *bgep; in bge_chipid_update() 404 bge_t *bgep; in bge_driverinfo_update() 481 bge_t *bgep; in bge_serdes_update() 526 bge_t *bgep; in bge_phydata_update() 587 bge_setup_named_kstat(bge_t *bgep, int instance, char *name, in bge_setup_named_kstat() 629 bge_init_kstats(bge_t *bgep, int instance) in bge_init_kstats() 675 bge_fini_kstats(bge_t *bgep) in bge_fini_kstats() 689 bge_t *bgep = arg; in bge_m_stat()
|
H A D | bge_mii_5906.c | 41 bge_adj_volt_5906(bge_t *bgep) in bge_adj_volt_5906()
|