bge_softc
bge_read_nvram(struct bge_softc *sc, caddr_t dest, int off, int cnt)
bge_eeprom_getbyte(struct bge_softc *sc, int addr, uint8_t *dest)
bge_read_eeprom(struct bge_softc *sc, caddr_t dest, int off, int cnt)
struct bge_softc *sc;
struct bge_softc *sc;
struct bge_softc *sc;
bge_newbuf_std(struct bge_softc *sc, int i)
bge_newbuf_jumbo(struct bge_softc *sc, int i)
bge_init_rx_ring_std(struct bge_softc *sc)
bge_free_rx_ring_std(struct bge_softc *sc)
bge_init_rx_ring_jumbo(struct bge_softc *sc)
bge_free_rx_ring_jumbo(struct bge_softc *sc)
bge_free_tx_ring(struct bge_softc *sc)
bge_init_tx_ring(struct bge_softc *sc)
bge_setpromisc(struct bge_softc *sc)
bge_setmulti(struct bge_softc *sc)
bge_setvlan(struct bge_softc *sc)
bge_sig_pre_reset(struct bge_softc *sc, int type)
bge_sig_post_reset(struct bge_softc *sc, int type)
bge_sig_legacy(struct bge_softc *sc, int type)
bge_stop_fw(struct bge_softc *sc)
bge_dma_swap_options(struct bge_softc *sc)
bge_chipinit(struct bge_softc *sc)
bge_blockinit(struct bge_softc *sc)
struct bge_softc *sc;
bge_dma_free(struct bge_softc *sc)
bge_dma_ring_alloc(struct bge_softc *sc, bus_size_t alignment,
bge_dma_alloc(struct bge_softc *sc)
bge_has_multiple_ports(struct bge_softc *sc)
bge_can_use_msi(struct bge_softc *sc)
bge_mbox_reorder(struct bge_softc *sc)
bge_devinfo(struct bge_softc *sc)
struct bge_softc *sc;
typedef int (*bge_eaddr_fcn_t)(struct bge_softc *, uint8_t[]);
static void bge_release_resources(struct bge_softc *);
static int bge_dma_alloc(struct bge_softc *);
static void bge_dma_free(struct bge_softc *);
static int bge_dma_ring_alloc(struct bge_softc *, bus_size_t, bus_size_t,
static void bge_devinfo(struct bge_softc *);
static int bge_mbox_reorder(struct bge_softc *);
static int bge_get_eaddr_fw(struct bge_softc *sc, uint8_t ether_addr[]);
static int bge_get_eaddr_mem(struct bge_softc *, uint8_t[]);
static int bge_get_eaddr_nvram(struct bge_softc *, uint8_t[]);
struct bge_softc *sc;
static int bge_get_eaddr_eeprom(struct bge_softc *, uint8_t[]);
static int bge_get_eaddr(struct bge_softc *, uint8_t[]);
bge_release_resources(struct bge_softc *sc)
static void bge_txeof(struct bge_softc *, uint16_t);
static void bge_rxcsum(struct bge_softc *, struct bge_rx_bd *, struct mbuf *);
static int bge_rxeof(struct bge_softc *, uint16_t, int);
bge_reset(struct bge_softc *sc)
void (*write_op)(struct bge_softc *, int, int);
static void bge_asf_driver_up (struct bge_softc *);
static void bge_stats_clear_regs(struct bge_softc *);
static void bge_stats_update(struct bge_softc *);
static void bge_stats_update_regs(struct bge_softc *);
static struct mbuf *bge_setup_tso(struct bge_softc *, struct mbuf *,
static int bge_encap(struct bge_softc *, struct mbuf **, uint32_t *);
static void bge_start_tx(struct bge_softc *, uint32_t);
static void bge_init_locked(struct bge_softc *);
static void bge_stop_block(struct bge_softc *, bus_size_t, uint32_t);
static void bge_stop(struct bge_softc *);
static void bge_watchdog(struct bge_softc *);
bge_rxreuse_std(struct bge_softc *sc, int i)
bge_rxreuse_jumbo(struct bge_softc *sc, int i)
static uint8_t bge_nvram_getbyte(struct bge_softc *, int, uint8_t *);
bge_rxeof(struct bge_softc *sc, uint16_t rx_prod, int holdlck)
static int bge_read_nvram(struct bge_softc *, caddr_t, int, int);
static uint8_t bge_eeprom_getbyte(struct bge_softc *, int, uint8_t *);
static int bge_read_eeprom(struct bge_softc *, caddr_t, int, int);
static void bge_setpromisc(struct bge_softc *);
static void bge_setmulti(struct bge_softc *);
static void bge_setvlan(struct bge_softc *);
static __inline void bge_rxreuse_std(struct bge_softc *, int);
static __inline void bge_rxreuse_jumbo(struct bge_softc *, int);
static int bge_newbuf_std(struct bge_softc *, int);
static int bge_newbuf_jumbo(struct bge_softc *, int);
static int bge_init_rx_ring_std(struct bge_softc *);
bge_rxcsum(struct bge_softc *sc, struct bge_rx_bd *cur_rx, struct mbuf *m)
static void bge_free_rx_ring_std(struct bge_softc *);
static int bge_init_rx_ring_jumbo(struct bge_softc *);
static void bge_free_rx_ring_jumbo(struct bge_softc *);
static void bge_free_tx_ring(struct bge_softc *);
bge_txeof(struct bge_softc *sc, uint16_t tx_cons)
static int bge_init_tx_ring(struct bge_softc *);
static int bge_chipinit(struct bge_softc *);
static int bge_blockinit(struct bge_softc *);
static uint32_t bge_dma_swap_options(struct bge_softc *);
struct bge_softc *sc = if_getsoftc(ifp);
static int bge_has_eaddr(struct bge_softc *);
static uint32_t bge_readmem_ind(struct bge_softc *, int);
static void bge_writemem_ind(struct bge_softc *, int, int);
struct bge_softc *sc;
sc = (struct bge_softc *)arg;
static void bge_writembx(struct bge_softc *, int, int);
struct bge_softc *sc;
sc = (struct bge_softc *)arg;
static uint32_t bge_readreg_ind(struct bge_softc *, int);
static void bge_writemem_direct(struct bge_softc *, int, int);
static void bge_writereg_ind(struct bge_softc *, int, int);
struct bge_softc *sc;
bge_asf_driver_up(struct bge_softc *sc)
struct bge_softc *sc = xsc;
static void bge_sig_post_reset(struct bge_softc *, int);
static void bge_sig_legacy(struct bge_softc *, int);
static void bge_sig_pre_reset(struct bge_softc *, int);
static void bge_stop_fw(struct bge_softc *);
static int bge_reset(struct bge_softc *);
bge_stats_update_regs(struct bge_softc *sc)
static void bge_link_upd(struct bge_softc *);
static void bge_ape_lock_init(struct bge_softc *);
static void bge_ape_read_fw_ver(struct bge_softc *);
static int bge_ape_lock(struct bge_softc *, int);
static void bge_ape_unlock(struct bge_softc *, int);
static void bge_ape_send_event(struct bge_softc *, uint32_t);
static void bge_ape_driver_state_change(struct bge_softc *, int);
bge_stats_clear_regs(struct bge_softc *sc)
bge_stats_update(struct bge_softc *sc)
static void bge_add_sysctls(struct bge_softc *);
static void bge_add_sysctl_stats_regs(struct bge_softc *,
static void bge_add_sysctl_stats(struct bge_softc *, struct sysctl_ctx_list *,
bge_setup_tso(struct bge_softc *sc, struct mbuf *m, uint16_t *mss,
bge_encap(struct bge_softc *sc, struct mbuf **m_head, uint32_t *txidx)
sizeof(struct bge_softc)
struct bge_softc *sc;
bge_start_tx(struct bge_softc *sc, uint32_t prodidx)
struct bge_softc *sc;
bge_init_locked(struct bge_softc *sc)
bge_has_eaddr(struct bge_softc *sc)
bge_readmem_ind(struct bge_softc *sc, int off)
struct bge_softc *sc = xsc;
struct bge_softc *sc = if_getsoftc(ifp);
struct bge_softc *sc = if_getsoftc(ifp);
struct bge_softc *sc = if_getsoftc(ifp);
bge_writemem_ind(struct bge_softc *sc, int off, int val)
struct bge_softc *sc = if_getsoftc(ifp);
bge_readreg_ind(struct bge_softc *sc, int off)
bge_watchdog(struct bge_softc *sc)
bge_stop_block(struct bge_softc *sc, bus_size_t reg, uint32_t bit)
bge_stop(struct bge_softc *sc)
bge_writereg_ind(struct bge_softc *sc, int off, int val)
struct bge_softc *sc;
struct bge_softc *sc;
struct bge_softc *sc;
bge_writemem_direct(struct bge_softc *sc, int off, int val)
bge_link_upd(struct bge_softc *sc)
bge_writembx(struct bge_softc *sc, int off, int val)
bge_add_sysctls(struct bge_softc *sc)
bge_add_sysctl_stats(struct bge_softc *sc, struct sysctl_ctx_list *ctx,
bge_ape_lock_init(struct bge_softc *sc)
bge_add_sysctl_stats_regs(struct bge_softc *sc, struct sysctl_ctx_list *ctx,
struct bge_softc *sc;
sc = (struct bge_softc *)arg1;
struct bge_softc *sc;
sc = (struct bge_softc *)arg1;
struct bge_softc *sc;
sc = (struct bge_softc *)arg1;
struct bge_softc *sc;
sc = (struct bge_softc *)arg1;
struct bge_softc *sc;
sc = (struct bge_softc *)arg1;
bge_get_eaddr_fw(struct bge_softc *sc, uint8_t ether_addr[])
bge_get_eaddr_mem(struct bge_softc *sc, uint8_t ether_addr[])
bge_get_eaddr_nvram(struct bge_softc *sc, uint8_t ether_addr[])
bge_get_eaddr_eeprom(struct bge_softc *sc, uint8_t ether_addr[])
bge_get_eaddr(struct bge_softc *sc, uint8_t eaddr[])
struct bge_softc *sc;
struct bge_softc *sc;
struct bge_softc *sc;
struct bge_softc *sc;
bge_ape_read_fw_ver(struct bge_softc *sc)
bge_ape_lock(struct bge_softc *sc, int locknum)
bge_ape_unlock(struct bge_softc *sc, int locknum)
bge_ape_send_event(struct bge_softc *sc, uint32_t event)
bge_ape_driver_state_change(struct bge_softc *sc, int kind)
bge_nvram_getbyte(struct bge_softc *sc, int addr, uint8_t *dest)
void bge_writembx(struct bge_softc *, int, int);
struct bge_softc *bge_sc = NULL;
struct bge_softc *bge_sc = NULL;
struct bge_softc *sc = device_get_softc(dev);
struct bge_softc *sc = device_get_softc(dev);