Lines Matching refs:u16

330 static void bce_reg_wr16			(struct bce_softc *, u32, u16);
334 static void bce_dump_tx_mbuf_chain (struct bce_softc *, u16, int);
335 static void bce_dump_rx_mbuf_chain (struct bce_softc *, u16, int);
336 static void bce_dump_pg_mbuf_chain (struct bce_softc *, u16, int);
345 static void bce_dump_ctx (struct bce_softc *, u16);
347 static void bce_dump_tx_chain (struct bce_softc *, u16, int);
348 static void bce_dump_rx_bd_chain (struct bce_softc *, u16, int);
349 static void bce_dump_pg_chain (struct bce_softc *, u16, int);
446 static int bce_get_rx_buf (struct bce_softc *, u16, u16, u32 *);
451 static int bce_get_pg_buf (struct bce_softc *, u16, u16);
457 struct mbuf **, u16 *);
476 static inline u16 bce_get_hw_rx_cons (struct bce_softc *);
682 u16 vid = 0, did = 0, svid = 0, sdid = 0;
846 u16 link_status = pci_read_config(dev, reg + 0x12, 2);
1659 bce_reg_wr16(struct bce_softc *sc, u32 offset, u16 val)
5371 bce_get_rx_buf(struct bce_softc *sc, u16 prod, u16 chain_prod, u32 *prod_bseq)
5378 u16 debug_chain_prod = chain_prod;
5387 chain_prod, (u16)MAX_RX_BD_ALLOC));
5486 bce_get_pg_buf(struct bce_softc *sc, u16 prod, u16 prod_idx)
5493 u16 debug_prod_idx = prod_idx;
5502 prod_idx, (u16)MAX_PG_BD_ALLOC));
5883 u16 prod, prod_idx;
6054 u16 prod, prod_idx;
6515 static inline u16
6518 u16 hw_cons;
6541 u16 sw_rx_cons, sw_rx_cons_idx, hw_rx_cons;
6544 u16 sw_pg_cons, sw_pg_cons_idx;
6893 static inline u16
6896 u16 hw_cons;
6917 u16 hw_tx_cons, sw_tx_cons, sw_tx_chain_cons;
7248 bce_tso_setup(struct bce_softc *sc, struct mbuf **m_head, u16 *flags)
7254 u16 etype;
7374 u16 prod, chain_prod, mss = 0, vlan_tag = 0, flags = 0;
7378 u16 debug_prod;
7570 u16 tx_prod, tx_chain_prod;
7929 u16 hw_rx_cons, hw_tx_cons;
8979 u16 val;
9725 u16 etype;
9887 bce_dump_tx_mbuf_chain(struct bce_softc *sc, u16 chain_prod, int count)
9917 bce_dump_rx_mbuf_chain(struct bce_softc *sc, u16 chain_prod, int count)
9948 bce_dump_pg_mbuf_chain(struct bce_softc *sc, u16 chain_prod, int count)
10163 bce_dump_ctx(struct bce_softc *sc, u16 cid)
10531 bce_dump_tx_chain(struct bce_softc *sc, u16 tx_prod, int count)
10573 bce_dump_rx_bd_chain(struct bce_softc *sc, u16 rx_prod, int count)
10617 bce_dump_pg_chain(struct bce_softc *sc, u16 pg_prod, int count)
10657 sblk->status_rx_quick_consumer_index##arg, (u16) \
10665 sblk->status_tx_quick_consumer_index##arg, (u16) \
10906 "index\n", sc->tx_prod, (u16) TX_CHAIN_IDX(sc->tx_prod));
10909 "index\n", sc->tx_cons, (u16) TX_CHAIN_IDX(sc->tx_cons));
10924 "index\n", sc->rx_prod, (u16) RX_CHAIN_IDX(sc->rx_prod));
10927 "index\n", sc->rx_cons, (u16) RX_CHAIN_IDX(sc->rx_cons));
10943 "index\n", sc->pg_prod, (u16) PG_CHAIN_IDX(sc->pg_prod));
10946 "index\n", sc->pg_cons, (u16) PG_CHAIN_IDX(sc->pg_cons));