Lines Matching defs:bp
43 static inline void bnx2x_bz_fp(struct bnx2x *bp, int index) in bnx2x_bz_fp()
86 static inline void bnx2x_move_fp(struct bnx2x *bp, int from, int to) in bnx2x_move_fp()
104 static u16 bnx2x_free_tx_pkt(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata, in bnx2x_free_tx_pkt()
174 int bnx2x_tx_int(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata) in bnx2x_tx_int()
255 struct bnx2x *bp = fp->bp; in bnx2x_update_sge_prod() local
310 static u32 bnx2x_get_rxhash(const struct bnx2x *bp, in bnx2x_get_rxhash()
324 struct bnx2x *bp = fp->bp; in bnx2x_tpa_start() local
399 static inline u16 bnx2x_set_lro_mss(struct bnx2x *bp, u16 parsing_flags, in bnx2x_set_lro_mss()
426 static int bnx2x_fill_frag_skb(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_fill_frag_skb()
492 static void bnx2x_tpa_stop(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_tpa_stop()
570 struct bnx2x *bp = fp->bp; in bnx2x_rx_int() local
793 struct bnx2x *bp = fp->bp; in bnx2x_msix_fp_int() local
819 void bnx2x_acquire_phy_lock(struct bnx2x *bp) in bnx2x_acquire_phy_lock()
827 void bnx2x_release_phy_lock(struct bnx2x *bp) in bnx2x_release_phy_lock()
836 u16 bnx2x_get_mf_speed(struct bnx2x *bp) in bnx2x_get_mf_speed()
867 static inline void bnx2x_fill_report_data(struct bnx2x *bp, in bnx2x_fill_report_data()
905 void bnx2x_link_report(struct bnx2x *bp) in bnx2x_link_report()
920 void __bnx2x_link_report(struct bnx2x *bp) in __bnx2x_link_report()
986 void bnx2x_init_rx_rings(struct bnx2x *bp) in bnx2x_init_rx_rings()
1080 static void bnx2x_free_tx_skbs(struct bnx2x *bp) in bnx2x_free_tx_skbs()
1107 struct bnx2x *bp = fp->bp; in bnx2x_free_rx_bds() local
1129 static void bnx2x_free_rx_skbs(struct bnx2x *bp) in bnx2x_free_rx_skbs()
1143 void bnx2x_free_skbs(struct bnx2x *bp) in bnx2x_free_skbs()
1149 void bnx2x_update_max_mf_config(struct bnx2x *bp, u32 value) in bnx2x_update_max_mf_config()
1172 static void bnx2x_free_msix_irqs(struct bnx2x *bp, int nvecs) in bnx2x_free_msix_irqs()
1198 void bnx2x_free_irq(struct bnx2x *bp) in bnx2x_free_irq()
1209 int bnx2x_enable_msix(struct bnx2x *bp) in bnx2x_enable_msix()
1274 static int bnx2x_req_msix_irqs(struct bnx2x *bp) in bnx2x_req_msix_irqs()
1317 int bnx2x_enable_msi(struct bnx2x *bp) in bnx2x_enable_msi()
1331 static int bnx2x_req_irq(struct bnx2x *bp) in bnx2x_req_irq()
1346 static inline int bnx2x_setup_irqs(struct bnx2x *bp) in bnx2x_setup_irqs()
1370 static inline void bnx2x_napi_enable(struct bnx2x *bp) in bnx2x_napi_enable()
1378 static inline void bnx2x_napi_disable(struct bnx2x *bp) in bnx2x_napi_disable()
1386 void bnx2x_netif_start(struct bnx2x *bp) in bnx2x_netif_start()
1396 void bnx2x_netif_stop(struct bnx2x *bp, int disable_hw) in bnx2x_netif_stop()
1404 struct bnx2x *bp = netdev_priv(dev); in bnx2x_select_queue() local
1428 void bnx2x_set_num_queues(struct bnx2x *bp) in bnx2x_set_num_queues()
1474 static inline int bnx2x_set_real_num_queues(struct bnx2x *bp) in bnx2x_set_real_num_queues()
1506 static inline void bnx2x_set_rx_buf_size(struct bnx2x *bp) in bnx2x_set_rx_buf_size()
1534 static inline int bnx2x_init_rss_pf(struct bnx2x *bp) in bnx2x_init_rss_pf()
1563 int bnx2x_config_rss_pf(struct bnx2x *bp, u8 *ind_table, bool config_hash) in bnx2x_config_rss_pf()
1626 static inline int bnx2x_init_hw(struct bnx2x *bp, u32 load_code) in bnx2x_init_hw()
1645 static void bnx2x_squeeze_objects(struct bnx2x *bp) in bnx2x_squeeze_objects()
1698 #define LOAD_ERROR_EXIT(bp, label) \ argument
1704 #define LOAD_ERROR_EXIT(bp, label) \ argument
1713 int bnx2x_nic_load(struct bnx2x *bp, int load_mode) in bnx2x_nic_load()
1999 int bnx2x_nic_unload(struct bnx2x *bp, int unload_mode) in bnx2x_nic_unload()
2117 int bnx2x_set_power_state(struct bnx2x *bp, pci_power_t state) in bnx2x_set_power_state()
2178 struct bnx2x *bp = fp->bp; in bnx2x_poll() local
2252 static noinline u16 bnx2x_tx_split(struct bnx2x *bp, in bnx2x_tx_split()
2309 static inline u32 bnx2x_xmit_type(struct bnx2x *bp, struct sk_buff *skb) in bnx2x_xmit_type()
2341 static int bnx2x_pkt_req_lin(struct bnx2x *bp, struct sk_buff *skb, in bnx2x_pkt_req_lin()
2470 static inline u8 bnx2x_set_pbd_csum_e2(struct bnx2x *bp, struct sk_buff *skb, in bnx2x_set_pbd_csum_e2()
2492 static inline void bnx2x_set_sbd_csum(struct bnx2x *bp, struct sk_buff *skb, in bnx2x_set_sbd_csum()
2516 static inline u8 bnx2x_set_pbd_csum(struct bnx2x *bp, struct sk_buff *skb, in bnx2x_set_pbd_csum()
2569 struct bnx2x *bp = netdev_priv(dev); in bnx2x_start_xmit() local
2933 struct bnx2x *bp = netdev_priv(dev); in bnx2x_setup_tc() local
2993 struct bnx2x *bp = netdev_priv(dev); in bnx2x_change_mac_addr() local
3018 static void bnx2x_free_fp_mem_at(struct bnx2x *bp, int fp_index) in bnx2x_free_fp_mem_at()
3087 void bnx2x_free_fp_mem(struct bnx2x *bp) in bnx2x_free_fp_mem()
3094 static inline void set_sb_shortcuts(struct bnx2x *bp, int index) in set_sb_shortcuts()
3110 static int bnx2x_alloc_fp_mem_at(struct bnx2x *bp, int index) in bnx2x_alloc_fp_mem_at()
3229 int bnx2x_alloc_fp_mem(struct bnx2x *bp) in bnx2x_alloc_fp_mem()
3282 void bnx2x_free_mem_bp(struct bnx2x *bp) in bnx2x_free_mem_bp()
3289 int __devinit bnx2x_alloc_mem_bp(struct bnx2x *bp) in bnx2x_alloc_mem_bp()
3330 struct bnx2x *bp = netdev_priv(dev); in bnx2x_reload_if_running() local
3339 int bnx2x_get_cur_phy_idx(struct bnx2x *bp) in bnx2x_get_cur_phy_idx()
3369 int bnx2x_get_link_cfg_idx(struct bnx2x *bp) in bnx2x_get_link_cfg_idx()
3391 struct bnx2x *bp = netdev_priv(dev); in bnx2x_fcoe_get_wwn() local
3414 struct bnx2x *bp = netdev_priv(dev); in bnx2x_change_mtu() local
3437 struct bnx2x *bp = netdev_priv(dev); in bnx2x_fix_features() local
3448 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_features() local
3485 struct bnx2x *bp = netdev_priv(dev); in bnx2x_tx_timeout() local
3503 struct bnx2x *bp; in bnx2x_suspend() local
3534 struct bnx2x *bp; in bnx2x_resume() local
3570 void bnx2x_set_ctx_validation(struct bnx2x *bp, struct eth_context *cxt, in bnx2x_set_ctx_validation()
3583 static inline void storm_memset_hc_timeout(struct bnx2x *bp, u8 port, in storm_memset_hc_timeout()
3595 static inline void storm_memset_hc_disable(struct bnx2x *bp, u8 port, in storm_memset_hc_disable()
3611 void bnx2x_update_coalesce_sb_index(struct bnx2x *bp, u8 fw_sb_id, in bnx2x_update_coalesce_sb_index()