Lines Matching defs:bnx2x
0 /* bnx2x.h: QLogic Everest network driver.
74 #define DRV_MODULE_NAME "bnx2x"
145 void bnx2x_panic_dump(struct bnx2x *bp, bool disable_int);
551 struct bnx2x *bp; /* parent */
1345 struct bnx2x {
1661 * Maximum CID count that might be required by the bnx2x:
1986 int bnx2x_idle_chk(struct bnx2x *bp);
2006 int bnx2x_set_mac_one(struct bnx2x *bp, const u8 *mac,
2010 int bnx2x_set_vlan_one(struct bnx2x *bp, u16 vlan,
2028 int bnx2x_del_all_macs(struct bnx2x *bp,
2033 void bnx2x_func_init(struct bnx2x *bp, struct bnx2x_func_init_params *p);
2034 void bnx2x_init_sb(struct bnx2x *bp, dma_addr_t mapping, int vfid,
2036 int bnx2x_get_gpio(struct bnx2x *bp, int gpio_num, u8 port);
2037 int bnx2x_set_gpio(struct bnx2x *bp, int gpio_num, u32 mode, u8 port);
2038 int bnx2x_set_mult_gpio(struct bnx2x *bp, u8 pins, u32 mode);
2039 int bnx2x_set_gpio_int(struct bnx2x *bp, int gpio_num, u32 mode, u8 port);
2040 void bnx2x_read_mf_cfg(struct bnx2x *bp);
2042 int bnx2x_pretend_func(struct bnx2x *bp, u16 pretend_func_val);
2045 void bnx2x_read_dmae(struct bnx2x *bp, u32 src_addr, u32 len32);
2046 void bnx2x_write_dmae(struct bnx2x *bp, dma_addr_t dma_addr, u32 dst_addr,
2048 void bnx2x_post_dmae(struct bnx2x *bp, struct dmae_command *dmae, int idx);
2051 u32 bnx2x_dmae_opcode(struct bnx2x *bp, u8 src_type, u8 dst_type,
2054 void bnx2x_prep_dmae_with_comp(struct bnx2x *bp, struct dmae_command *dmae,
2056 int bnx2x_issue_dmae_with_comp(struct bnx2x *bp, struct dmae_command *dmae,
2060 u32 bnx2x_flr_clnup_poll_count(struct bnx2x *bp);
2061 void bnx2x_tx_hw_flushed(struct bnx2x *bp, u32 poll_count);
2062 int bnx2x_send_final_clnup(struct bnx2x *bp, u8 clnup_func, u32 poll_cnt);
2064 int bnx2x_flr_clnup_poll_hw_counter(struct bnx2x *bp, u32 reg,
2067 void bnx2x_calc_fc_adv(struct bnx2x *bp);
2068 int bnx2x_sp_post(struct bnx2x *bp, int command, int cid,
2070 void bnx2x_update_coalesce(struct bnx2x *bp);
2071 int bnx2x_get_cur_phy_idx(struct bnx2x *bp);
2073 bool bnx2x_port_after_undi(struct bnx2x *bp);
2075 static inline u32 reg_poll(struct bnx2x *bp, u32 reg, u32 expected, int ms,
2092 void bnx2x_igu_clear_sb_gen(struct bnx2x *bp, u8 func, u8 idu_sb_id,
2428 int bnx2x_compare_fw_ver(struct bnx2x *bp, u32 load_code, bool print_err);
2438 void bnx2x_set_ethtool_ops(struct bnx2x *bp, struct net_device *netdev);
2439 void bnx2x_notify_link_changed(struct bnx2x *bp);
2514 void bnx2x_set_local_cmng(struct bnx2x *bp);
2516 void bnx2x_update_mng_version(struct bnx2x *bp);
2518 void bnx2x_update_mfw_dump(struct bnx2x *bp);
2525 void bnx2x_init_ptp(struct bnx2x *bp);
2526 int bnx2x_configure_ptp_filters(struct bnx2x *bp);
2527 void bnx2x_set_rx_ts(struct bnx2x *bp, struct sk_buff *skb);
2528 void bnx2x_register_phc(struct bnx2x *bp);
2536 int bnx2x_vlan_reconfigure_vid(struct bnx2x *bp);
2537 #endif /* bnx2x.h */