Lines Matching defs:bp
27 static int bnxt_hwrm_fwd_async_event_cmpl(struct bnxt *bp, in bnxt_hwrm_fwd_async_event_cmpl()
56 static int bnxt_vf_ndo_prep(struct bnxt *bp, int vf_id) in bnxt_vf_ndo_prep()
71 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_spoofchk() local
113 static int bnxt_hwrm_func_qcfg_flags(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_hwrm_func_qcfg_flags()
132 bool bnxt_is_trusted_vf(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_is_trusted_vf()
141 static int bnxt_hwrm_set_trusted_vf(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_hwrm_set_trusted_vf()
163 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_trust() local
182 struct bnxt *bp = netdev_priv(dev); in bnxt_get_vf_config() local
218 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_mac() local
250 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_vlan() local
292 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_bw() local
335 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_link_state() local
367 static int bnxt_set_vf_attr(struct bnxt *bp, int num_vfs) in bnxt_set_vf_attr()
379 static int bnxt_hwrm_func_vf_resource_free(struct bnxt *bp, int num_vfs) in bnxt_hwrm_func_vf_resource_free()
400 static void bnxt_free_vf_resources(struct bnxt *bp) in bnxt_free_vf_resources()
422 static int bnxt_alloc_vf_resources(struct bnxt *bp, int num_vfs) in bnxt_alloc_vf_resources()
468 static int bnxt_hwrm_func_buf_rgtr(struct bnxt *bp) in bnxt_hwrm_func_buf_rgtr()
488 static int __bnxt_set_vf_params(struct bnxt *bp, int vf_id) in __bnxt_set_vf_params()
524 static int bnxt_hwrm_func_vf_resc_cfg(struct bnxt *bp, int num_vfs, bool reset) in bnxt_hwrm_func_vf_resc_cfg()
637 static int bnxt_hwrm_func_cfg(struct bnxt *bp, int num_vfs) in bnxt_hwrm_func_cfg()
722 static int bnxt_func_cfg(struct bnxt *bp, int num_vfs, bool reset) in bnxt_func_cfg()
730 int bnxt_cfg_hw_sriov(struct bnxt *bp, int *num_vfs, bool reset) in bnxt_cfg_hw_sriov()
756 static int bnxt_sriov_enable(struct bnxt *bp, int *num_vfs) in bnxt_sriov_enable()
846 void bnxt_sriov_disable(struct bnxt *bp) in bnxt_sriov_disable()
882 struct bnxt *bp = netdev_priv(dev); in bnxt_sriov_configure() local
927 static int bnxt_hwrm_fwd_resp(struct bnxt *bp, struct bnxt_vf_info *vf, in bnxt_hwrm_fwd_resp()
954 static int bnxt_hwrm_fwd_err_resp(struct bnxt *bp, struct bnxt_vf_info *vf, in bnxt_hwrm_fwd_err_resp()
977 static int bnxt_hwrm_exec_fwd_resp(struct bnxt *bp, struct bnxt_vf_info *vf, in bnxt_hwrm_exec_fwd_resp()
1000 static int bnxt_vf_configure_mac(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_vf_configure_mac()
1023 static int bnxt_vf_validate_set_mac(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_vf_validate_set_mac()
1060 static int bnxt_vf_set_link(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_vf_set_link()
1114 static int bnxt_vf_req_validate_snd(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_vf_req_validate_snd()
1143 void bnxt_hwrm_exec_fwd_req(struct bnxt *bp) in bnxt_hwrm_exec_fwd_req()
1159 int bnxt_approve_mac(struct bnxt *bp, const u8 *mac, bool strict) in bnxt_approve_mac()
1192 void bnxt_update_vf_mac(struct bnxt *bp) in bnxt_update_vf_mac()
1234 int bnxt_cfg_hw_sriov(struct bnxt *bp, int *num_vfs, bool reset) in bnxt_cfg_hw_sriov()
1241 void bnxt_sriov_disable(struct bnxt *bp) in bnxt_sriov_disable()
1245 void bnxt_hwrm_exec_fwd_req(struct bnxt *bp) in bnxt_hwrm_exec_fwd_req()
1250 void bnxt_update_vf_mac(struct bnxt *bp) in bnxt_update_vf_mac()
1254 int bnxt_approve_mac(struct bnxt *bp, const u8 *mac, bool strict) in bnxt_approve_mac()