Lines Matching refs:bnx2x
46 static inline void bnx2x_move_fp(struct bnx2x *bp, int from, int to) in bnx2x_move_fp()
64 static u16 bnx2x_free_tx_pkt(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata, in bnx2x_free_tx_pkt()
138 int bnx2x_tx_int(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata) in bnx2x_tx_int()
220 struct bnx2x *bp = fp->bp; in bnx2x_update_sge_prod()
272 static u32 bnx2x_get_rxhash(const struct bnx2x *bp, in bnx2x_get_rxhash()
286 struct bnx2x *bp = fp->bp; in bnx2x_tpa_start()
377 static inline u16 bnx2x_set_lro_mss(struct bnx2x *bp, u16 parsing_flags, in bnx2x_set_lro_mss()
404 static int bnx2x_fill_frag_skb(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_fill_frag_skb()
502 static inline void bnx2x_tpa_stop(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_tpa_stop()
601 struct bnx2x *bp = fp->bp; in bnx2x_rx_int()
833 struct bnx2x *bp = fp->bp; in bnx2x_msix_fp_int()
859 void bnx2x_acquire_phy_lock(struct bnx2x *bp) in bnx2x_acquire_phy_lock()
867 void bnx2x_release_phy_lock(struct bnx2x *bp) in bnx2x_release_phy_lock()
876 u16 bnx2x_get_mf_speed(struct bnx2x *bp) in bnx2x_get_mf_speed()
907 static inline void bnx2x_fill_report_data(struct bnx2x *bp, in bnx2x_fill_report_data()
945 void bnx2x_link_report(struct bnx2x *bp) in bnx2x_link_report()
960 void __bnx2x_link_report(struct bnx2x *bp) in __bnx2x_link_report()
1026 void bnx2x_init_rx_rings(struct bnx2x *bp) in bnx2x_init_rx_rings()
1118 static void bnx2x_free_tx_skbs(struct bnx2x *bp) in bnx2x_free_tx_skbs()
1145 struct bnx2x *bp = fp->bp; in bnx2x_free_rx_bds()
1167 static void bnx2x_free_rx_skbs(struct bnx2x *bp) in bnx2x_free_rx_skbs()
1181 void bnx2x_free_skbs(struct bnx2x *bp) in bnx2x_free_skbs()
1187 void bnx2x_update_max_mf_config(struct bnx2x *bp, u32 value) in bnx2x_update_max_mf_config()
1210 static void bnx2x_free_msix_irqs(struct bnx2x *bp, int nvecs) in bnx2x_free_msix_irqs()
1236 void bnx2x_free_irq(struct bnx2x *bp) in bnx2x_free_irq()
1247 int bnx2x_enable_msix(struct bnx2x *bp) in bnx2x_enable_msix()
1310 static int bnx2x_req_msix_irqs(struct bnx2x *bp) in bnx2x_req_msix_irqs()
1352 int bnx2x_enable_msi(struct bnx2x *bp) in bnx2x_enable_msi()
1366 static int bnx2x_req_irq(struct bnx2x *bp) in bnx2x_req_irq()
1381 static inline int bnx2x_setup_irqs(struct bnx2x *bp) in bnx2x_setup_irqs()
1405 static inline void bnx2x_napi_enable(struct bnx2x *bp) in bnx2x_napi_enable()
1413 static inline void bnx2x_napi_disable(struct bnx2x *bp) in bnx2x_napi_disable()
1421 void bnx2x_netif_start(struct bnx2x *bp) in bnx2x_netif_start()
1431 void bnx2x_netif_stop(struct bnx2x *bp, int disable_hw) in bnx2x_netif_stop()
1439 struct bnx2x *bp = netdev_priv(dev); in bnx2x_select_queue()
1463 void bnx2x_set_num_queues(struct bnx2x *bp) in bnx2x_set_num_queues()
1509 static inline int bnx2x_set_real_num_queues(struct bnx2x *bp) in bnx2x_set_real_num_queues()
1541 static inline void bnx2x_set_rx_buf_size(struct bnx2x *bp) in bnx2x_set_rx_buf_size()
1569 static inline int bnx2x_init_rss_pf(struct bnx2x *bp) in bnx2x_init_rss_pf()
1598 int bnx2x_config_rss_pf(struct bnx2x *bp, u8 *ind_table, bool config_hash) in bnx2x_config_rss_pf()
1661 static inline int bnx2x_init_hw(struct bnx2x *bp, u32 load_code) in bnx2x_init_hw()
1680 static void bnx2x_squeeze_objects(struct bnx2x *bp) in bnx2x_squeeze_objects()
1747 bool bnx2x_test_firmware_version(struct bnx2x *bp, bool is_err) in bnx2x_test_firmware_version()
1771 int bnx2x_nic_load(struct bnx2x *bp, int load_mode) in bnx2x_nic_load()
2100 int bnx2x_nic_unload(struct bnx2x *bp, int unload_mode) in bnx2x_nic_unload()
2227 int bnx2x_set_power_state(struct bnx2x *bp, pci_power_t state) in bnx2x_set_power_state()
2289 struct bnx2x *bp = fp->bp; in bnx2x_poll()
2361 static noinline u16 bnx2x_tx_split(struct bnx2x *bp, in bnx2x_tx_split()
2417 static inline u32 bnx2x_xmit_type(struct bnx2x *bp, struct sk_buff *skb) in bnx2x_xmit_type()
2449 static int bnx2x_pkt_req_lin(struct bnx2x *bp, struct sk_buff *skb, in bnx2x_pkt_req_lin()
2577 static inline u8 bnx2x_set_pbd_csum_e2(struct bnx2x *bp, struct sk_buff *skb, in bnx2x_set_pbd_csum_e2()
2599 static inline void bnx2x_set_sbd_csum(struct bnx2x *bp, struct sk_buff *skb, in bnx2x_set_sbd_csum()
2623 static inline u8 bnx2x_set_pbd_csum(struct bnx2x *bp, struct sk_buff *skb, in bnx2x_set_pbd_csum()
2676 struct bnx2x *bp = netdev_priv(dev); in bnx2x_start_xmit()
3039 struct bnx2x *bp = netdev_priv(dev); in bnx2x_setup_tc()
3099 struct bnx2x *bp = netdev_priv(dev); in bnx2x_change_mac_addr()
3129 static void bnx2x_free_fp_mem_at(struct bnx2x *bp, int fp_index) in bnx2x_free_fp_mem_at()
3198 void bnx2x_free_fp_mem(struct bnx2x *bp) in bnx2x_free_fp_mem()
3205 static inline void set_sb_shortcuts(struct bnx2x *bp, int index) in set_sb_shortcuts()
3221 static int bnx2x_alloc_fp_mem_at(struct bnx2x *bp, int index) in bnx2x_alloc_fp_mem_at()
3347 int bnx2x_alloc_fp_mem(struct bnx2x *bp) in bnx2x_alloc_fp_mem()
3400 void bnx2x_free_mem_bp(struct bnx2x *bp) in bnx2x_free_mem_bp()
3407 int __devinit bnx2x_alloc_mem_bp(struct bnx2x *bp) in bnx2x_alloc_mem_bp()
3448 struct bnx2x *bp = netdev_priv(dev); in bnx2x_reload_if_running()
3457 int bnx2x_get_cur_phy_idx(struct bnx2x *bp) in bnx2x_get_cur_phy_idx()
3487 int bnx2x_get_link_cfg_idx(struct bnx2x *bp) in bnx2x_get_link_cfg_idx()
3509 struct bnx2x *bp = netdev_priv(dev); in bnx2x_fcoe_get_wwn()
3533 struct bnx2x *bp = netdev_priv(dev); in bnx2x_change_mtu()
3560 struct bnx2x *bp = netdev_priv(dev); in bnx2x_fix_features()
3573 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_features()
3615 struct bnx2x *bp = netdev_priv(dev); in bnx2x_tx_timeout()
3633 struct bnx2x *bp; in bnx2x_suspend()
3664 struct bnx2x *bp; in bnx2x_resume()
3698 void bnx2x_set_ctx_validation(struct bnx2x *bp, struct eth_context *cxt, in bnx2x_set_ctx_validation()
3711 static inline void storm_memset_hc_timeout(struct bnx2x *bp, u8 port, in storm_memset_hc_timeout()
3724 static inline void storm_memset_hc_disable(struct bnx2x *bp, u8 port, in storm_memset_hc_disable()
3741 void bnx2x_update_coalesce_sb_index(struct bnx2x *bp, u8 fw_sb_id, in bnx2x_update_coalesce_sb_index()