Lines Matching refs:p_ptt
73 struct qed_ptt *p_ptt, enum BAR_ID bar_id) in qed_hw_bar_size() argument
82 val = qed_rd(p_hwfn, p_ptt, bar_reg); in qed_hw_bar_size()
838 int qed_qm_reconf(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_qm_reconf() argument
849 b_rc = qed_send_qm_stop_cmd(p_hwfn, p_ptt, false, true, in qed_qm_reconf()
859 qed_qm_init_pf(p_hwfn, p_ptt, false); in qed_qm_reconf()
862 rc = qed_init_run(p_hwfn, p_ptt, PHASE_QM_PF, p_hwfn->rel_pf_id, in qed_qm_reconf()
869 b_rc = qed_send_qm_stop_cmd(p_hwfn, p_ptt, true, true, in qed_qm_reconf()
1146 struct qed_ptt *p_ptt, u16 id, bool is_vf) in qed_final_cleanup() argument
1174 qed_wr(p_hwfn, p_ptt, XSDM_REG_OPERATION_GEN, command); in qed_final_cleanup()
1271 struct qed_ptt *p_ptt) in qed_init_cache_line_size() argument
1275 val = qed_rd(p_hwfn, p_ptt, PSWRQ2_REG_WR_MBS0); in qed_init_cache_line_size()
1326 struct qed_ptt *p_ptt, int hw_mode) in qed_hw_init_common() argument
1361 qed_init_cache_line_size(p_hwfn, p_ptt); in qed_hw_init_common()
1363 rc = qed_init_run(p_hwfn, p_ptt, PHASE_ENGINE, ANY_PHASE_ID, hw_mode); in qed_hw_init_common()
1367 qed_wr(p_hwfn, p_ptt, PSWRQ2_REG_L2P_VALIDATE_VFID, 0); in qed_hw_init_common()
1368 qed_wr(p_hwfn, p_ptt, PGLUE_B_REG_USE_CLIENTID_IN_TAG, 1); in qed_hw_init_common()
1373 qed_fid_pretend(p_hwfn, p_ptt, pf_id); in qed_hw_init_common()
1374 qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_ROCE, 0x0); in qed_hw_init_common()
1375 qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_TCP, 0x0); in qed_hw_init_common()
1378 qed_fid_pretend(p_hwfn, p_ptt, p_hwfn->rel_pf_id); in qed_hw_init_common()
1384 qed_fid_pretend(p_hwfn, p_ptt, (u16) concrete_fid); in qed_hw_init_common()
1385 qed_wr(p_hwfn, p_ptt, CCFC_REG_STRONG_ENABLE_VF, 0x1); in qed_hw_init_common()
1386 qed_wr(p_hwfn, p_ptt, CCFC_REG_WEAK_ENABLE_VF, 0x0); in qed_hw_init_common()
1387 qed_wr(p_hwfn, p_ptt, TCFC_REG_STRONG_ENABLE_VF, 0x1); in qed_hw_init_common()
1388 qed_wr(p_hwfn, p_ptt, TCFC_REG_WEAK_ENABLE_VF, 0x0); in qed_hw_init_common()
1391 qed_fid_pretend(p_hwfn, p_ptt, p_hwfn->rel_pf_id); in qed_hw_init_common()
1398 struct qed_ptt *p_ptt, u32 pwm_region_size, u32 n_cpus) in qed_hw_init_dpi_size() argument
1417 qed_wr(p_hwfn, p_ptt, DORQ_REG_PF_DPI_BIT_SHIFT, dpi_bit_shift); in qed_hw_init_dpi_size()
1432 qed_hw_init_pf_doorbell_bar(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_hw_init_pf_doorbell_bar() argument
1442 db_bar_size = qed_hw_bar_size(p_hwfn, p_ptt, BAR_ID_1); in qed_hw_init_pf_doorbell_bar()
1480 rc = qed_hw_init_dpi_size(p_hwfn, p_ptt, pwm_regsize, n_cpus); in qed_hw_init_pf_doorbell_bar()
1491 rc = qed_hw_init_dpi_size(p_hwfn, p_ptt, pwm_regsize, n_cpus); in qed_hw_init_pf_doorbell_bar()
1494 qed_rdma_dpm_bar(p_hwfn, p_ptt); in qed_hw_init_pf_doorbell_bar()
1520 qed_wr(p_hwfn, p_ptt, DORQ_REG_PF_ICID_BIT_SHIFT_NORM, pf_dems_shift); in qed_hw_init_pf_doorbell_bar()
1521 qed_wr(p_hwfn, p_ptt, DORQ_REG_PF_MIN_ADDR_REG1, min_addr_reg1); in qed_hw_init_pf_doorbell_bar()
1527 struct qed_ptt *p_ptt, int hw_mode) in qed_hw_init_port() argument
1531 rc = qed_init_run(p_hwfn, p_ptt, PHASE_PORT, p_hwfn->port_id, hw_mode); in qed_hw_init_port()
1535 qed_wr(p_hwfn, p_ptt, PGLUE_B_REG_MASTER_WRITE_PAD_ENABLE, 0); in qed_hw_init_port()
1541 struct qed_ptt *p_ptt, in qed_hw_init_pf() argument
1562 qed_cxt_hw_init_pf(p_hwfn, p_ptt); in qed_hw_init_pf()
1595 rc = qed_final_cleanup(p_hwfn, p_ptt, rel_pf_id, false); in qed_hw_init_pf()
1600 rc = qed_dmae_sanity(p_hwfn, p_ptt, "pf_phase"); in qed_hw_init_pf()
1605 rc = qed_init_run(p_hwfn, p_ptt, PHASE_PF, rel_pf_id, hw_mode); in qed_hw_init_pf()
1610 rc = qed_init_run(p_hwfn, p_ptt, PHASE_QM_PF, rel_pf_id, hw_mode); in qed_hw_init_pf()
1615 qed_int_igu_init_pure_rt(p_hwfn, p_ptt, true, true); in qed_hw_init_pf()
1617 rc = qed_hw_init_pf_doorbell_bar(p_hwfn, p_ptt); in qed_hw_init_pf()
1623 qed_int_igu_enable(p_hwfn, p_ptt, int_mode); in qed_hw_init_pf()
1626 rc = qed_sp_pf_start(p_hwfn, p_ptt, p_tunn, in qed_hw_init_pf()
1633 qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_TAG1, BIT(2)); in qed_hw_init_pf()
1634 qed_wr(p_hwfn, p_ptt, in qed_hw_init_pf()
1643 struct qed_ptt *p_ptt, in qed_change_pci_hwfn() argument
1649 qed_wr(p_hwfn, p_ptt, in qed_change_pci_hwfn()
1654 val = qed_rd(p_hwfn, p_ptt, in qed_change_pci_hwfn()
1900 struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_hw_timers_stop() argument
1905 qed_wr(p_hwfn, p_ptt, TM_REG_PF_ENABLE_CONN, 0x0); in qed_hw_timers_stop()
1906 qed_wr(p_hwfn, p_ptt, TM_REG_PF_ENABLE_TASK, 0x0); in qed_hw_timers_stop()
1909 if ((!qed_rd(p_hwfn, p_ptt, in qed_hw_timers_stop()
1911 (!qed_rd(p_hwfn, p_ptt, TM_REG_PF_SCAN_ACTIVE_TASK))) in qed_hw_timers_stop()
1925 (u8)qed_rd(p_hwfn, p_ptt, TM_REG_PF_SCAN_ACTIVE_CONN), in qed_hw_timers_stop()
1926 (u8)qed_rd(p_hwfn, p_ptt, TM_REG_PF_SCAN_ACTIVE_TASK)); in qed_hw_timers_stop()
1935 struct qed_ptt *p_ptt = p_hwfn->p_main_ptt; in qed_hw_timers_stop_all() local
1937 qed_hw_timers_stop(cdev, p_hwfn, p_ptt); in qed_hw_timers_stop_all()
1944 struct qed_ptt *p_ptt; in qed_hw_stop() local
1950 p_ptt = p_hwfn->p_main_ptt; in qed_hw_stop()
1970 rc = qed_mcp_unload_req(p_hwfn, p_ptt); in qed_hw_stop()
1991 qed_wr(p_hwfn, p_ptt, in qed_hw_stop()
1994 qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_TCP, 0x0); in qed_hw_stop()
1995 qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_UDP, 0x0); in qed_hw_stop()
1996 qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_FCOE, 0x0); in qed_hw_stop()
1997 qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_ROCE, 0x0); in qed_hw_stop()
1998 qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_OPENFLOW, 0x0); in qed_hw_stop()
2000 qed_hw_timers_stop(cdev, p_hwfn, p_ptt); in qed_hw_stop()
2003 qed_int_igu_disable_int(p_hwfn, p_ptt); in qed_hw_stop()
2005 qed_wr(p_hwfn, p_ptt, IGU_REG_LEADING_EDGE_LATCH, 0); in qed_hw_stop()
2006 qed_wr(p_hwfn, p_ptt, IGU_REG_TRAILING_EDGE_LATCH, 0); in qed_hw_stop()
2008 qed_int_igu_init_pure_rt(p_hwfn, p_ptt, false, true); in qed_hw_stop()
2014 qed_wr(p_hwfn, p_ptt, DORQ_REG_PF_DB_ENABLE, 0); in qed_hw_stop()
2015 qed_wr(p_hwfn, p_ptt, QM_REG_PF_EN, 0); in qed_hw_stop()
2017 qed_mcp_unload_done(p_hwfn, p_ptt); in qed_hw_stop()
2028 p_ptt = QED_LEADING_HWFN(cdev)->p_main_ptt; in qed_hw_stop()
2034 rc = qed_change_pci_hwfn(p_hwfn, p_ptt, false); in qed_hw_stop()
2051 struct qed_ptt *p_ptt; in qed_hw_stop_fastpath() local
2057 p_ptt = qed_ptt_acquire(p_hwfn); in qed_hw_stop_fastpath()
2058 if (!p_ptt) in qed_hw_stop_fastpath()
2064 qed_wr(p_hwfn, p_ptt, in qed_hw_stop_fastpath()
2067 qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_TCP, 0x0); in qed_hw_stop_fastpath()
2068 qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_UDP, 0x0); in qed_hw_stop_fastpath()
2069 qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_FCOE, 0x0); in qed_hw_stop_fastpath()
2070 qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_ROCE, 0x0); in qed_hw_stop_fastpath()
2071 qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_OPENFLOW, 0x0); in qed_hw_stop_fastpath()
2073 qed_int_igu_init_pure_rt(p_hwfn, p_ptt, false, false); in qed_hw_stop_fastpath()
2077 qed_ptt_release(p_hwfn, p_ptt); in qed_hw_stop_fastpath()
2085 struct qed_ptt *p_ptt; in qed_hw_start_fastpath() local
2090 p_ptt = qed_ptt_acquire(p_hwfn); in qed_hw_start_fastpath()
2091 if (!p_ptt) in qed_hw_start_fastpath()
2099 qed_wr(p_hwfn, p_ptt, p_hwfn->rdma_prs_search_reg, 0x1); in qed_hw_start_fastpath()
2102 qed_wr(p_hwfn, p_ptt, NIG_REG_RX_LLH_BRB_GATE_DNTFWD_PERPF, 0x0); in qed_hw_start_fastpath()
2103 qed_ptt_release(p_hwfn, p_ptt); in qed_hw_start_fastpath()
2260 struct qed_ptt *p_ptt, in __qed_hw_set_soft_resc_size() argument
2266 rc = qed_mcp_set_resc_max_val(p_hwfn, p_ptt, res_id, in __qed_hw_set_soft_resc_size()
2284 qed_hw_set_soft_resc_size(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_hw_set_soft_resc_size() argument
2313 rc = __qed_hw_set_soft_resc_size(p_hwfn, p_ptt, res_id, in qed_hw_set_soft_resc_size()
2492 static int qed_hw_get_resc(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_hw_get_resc() argument
2511 rc = qed_mcp_resc_lock(p_hwfn, p_ptt, &resc_lock_params); in qed_hw_get_resc()
2522 rc = qed_hw_set_soft_resc_size(p_hwfn, p_ptt); in qed_hw_get_resc()
2530 rc = qed_mcp_resc_unlock(p_hwfn, p_ptt, in qed_hw_get_resc()
2543 rc = qed_mcp_resc_unlock(p_hwfn, p_ptt, &resc_unlock_params); in qed_hw_get_resc()
2559 if (qed_int_igu_reset_cam(p_hwfn, p_ptt)) in qed_hw_get_resc()
2574 qed_mcp_resc_unlock(p_hwfn, p_ptt, &resc_unlock_params); in qed_hw_get_resc()
2578 static int qed_hw_get_nvm_info(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_hw_get_nvm_info() argument
2586 nvm_cfg_addr = qed_rd(p_hwfn, p_ptt, MISC_REG_GEN_PURP_CR0); in qed_hw_get_nvm_info()
2595 nvm_cfg1_offset = qed_rd(p_hwfn, p_ptt, nvm_cfg_addr + 4); in qed_hw_get_nvm_info()
2601 core_cfg = qed_rd(p_hwfn, p_ptt, addr); in qed_hw_get_nvm_info()
2648 link_temp = qed_rd(p_hwfn, p_ptt, in qed_hw_get_nvm_info()
2657 link_temp = qed_rd(p_hwfn, p_ptt, in qed_hw_get_nvm_info()
2701 link_temp = qed_rd(p_hwfn, p_ptt, port_cfg_addr + in qed_hw_get_nvm_info()
2748 generic_cont0 = qed_rd(p_hwfn, p_ptt, addr); in qed_hw_get_nvm_info()
2795 device_capabilities = qed_rd(p_hwfn, p_ptt, addr); in qed_hw_get_nvm_info()
2809 return qed_mcp_fill_shmem_func_info(p_hwfn, p_ptt); in qed_hw_get_nvm_info()
2812 static void qed_get_num_funcs(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_get_num_funcs() argument
2828 reg_function_hide = qed_rd(p_hwfn, p_ptt, MISCS_REG_FUNCTION_HIDE); in qed_get_num_funcs()
2874 struct qed_ptt *p_ptt) in qed_hw_info_port_num_bb() argument
2878 port_mode = qed_rd(p_hwfn, p_ptt, CNIG_REG_NW_PORT_MODE_BB); in qed_hw_info_port_num_bb()
2894 struct qed_ptt *p_ptt) in qed_hw_info_port_num_ah() argument
2902 port = qed_rd(p_hwfn, p_ptt, in qed_hw_info_port_num_ah()
2916 static void qed_hw_info_port_num(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_hw_info_port_num() argument
2919 qed_hw_info_port_num_bb(p_hwfn, p_ptt); in qed_hw_info_port_num()
2921 qed_hw_info_port_num_ah(p_hwfn, p_ptt); in qed_hw_info_port_num()
2924 static void qed_get_eee_caps(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_get_eee_caps() argument
2934 eee_status = qed_rd(p_hwfn, p_ptt, p_hwfn->mcp_info->port_addr + in qed_get_eee_caps()
2947 struct qed_ptt *p_ptt, in qed_get_hw_info() argument
2959 qed_hw_info_port_num(p_hwfn, p_ptt); in qed_get_hw_info()
2961 qed_mcp_get_capabilities(p_hwfn, p_ptt); in qed_get_hw_info()
2963 qed_hw_get_nvm_info(p_hwfn, p_ptt); in qed_get_hw_info()
2965 rc = qed_int_igu_read_cam(p_hwfn, p_ptt); in qed_get_hw_info()
2980 qed_mcp_cmd_port_init(p_hwfn, p_ptt); in qed_get_hw_info()
2982 qed_get_eee_caps(p_hwfn, p_ptt); in qed_get_hw_info()
2984 qed_mcp_read_ufp_config(p_hwfn, p_ptt); in qed_get_hw_info()
3000 qed_get_num_funcs(p_hwfn, p_ptt); in qed_get_hw_info()
3005 return qed_hw_get_resc(p_hwfn, p_ptt); in qed_get_hw_info()
3008 static int qed_get_dev_info(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_get_dev_info() argument
3032 cdev->chip_num = (u16)qed_rd(p_hwfn, p_ptt, MISCS_REG_CHIP_NUM); in qed_get_dev_info()
3033 cdev->chip_rev = (u16)qed_rd(p_hwfn, p_ptt, MISCS_REG_CHIP_REV); in qed_get_dev_info()
3038 tmp = qed_rd(p_hwfn, p_ptt, MISCS_REG_CMT_ENABLED_FOR_PAIR); in qed_get_dev_info()
3047 cdev->chip_bond_id = qed_rd(p_hwfn, p_ptt, in qed_get_dev_info()
3050 cdev->chip_metal = (u16)qed_rd(p_hwfn, p_ptt, MISCS_REG_CHIP_METAL); in qed_get_dev_info()
3589 struct qed_ptt *p_ptt, u8 *p_filter) in qed_llh_add_mac_filter() argument
3601 en = qed_rd(p_hwfn, p_ptt, in qed_llh_add_mac_filter()
3605 qed_wr(p_hwfn, p_ptt, in qed_llh_add_mac_filter()
3608 qed_wr(p_hwfn, p_ptt, in qed_llh_add_mac_filter()
3611 qed_wr(p_hwfn, p_ptt, in qed_llh_add_mac_filter()
3613 qed_wr(p_hwfn, p_ptt, in qed_llh_add_mac_filter()
3616 qed_wr(p_hwfn, p_ptt, in qed_llh_add_mac_filter()
3634 struct qed_ptt *p_ptt, u8 *p_filter) in qed_llh_remove_mac_filter() argument
3646 if (qed_rd(p_hwfn, p_ptt, in qed_llh_remove_mac_filter()
3650 if (qed_rd(p_hwfn, p_ptt, in qed_llh_remove_mac_filter()
3655 qed_wr(p_hwfn, p_ptt, in qed_llh_remove_mac_filter()
3657 qed_wr(p_hwfn, p_ptt, in qed_llh_remove_mac_filter()
3659 qed_wr(p_hwfn, p_ptt, in qed_llh_remove_mac_filter()
3674 struct qed_ptt *p_ptt, in qed_llh_add_protocol_filter() argument
3707 en = qed_rd(p_hwfn, p_ptt, in qed_llh_add_protocol_filter()
3711 qed_wr(p_hwfn, p_ptt, in qed_llh_add_protocol_filter()
3714 qed_wr(p_hwfn, p_ptt, in qed_llh_add_protocol_filter()
3717 qed_wr(p_hwfn, p_ptt, in qed_llh_add_protocol_filter()
3719 qed_wr(p_hwfn, p_ptt, in qed_llh_add_protocol_filter()
3722 qed_wr(p_hwfn, p_ptt, in qed_llh_add_protocol_filter()
3771 struct qed_ptt *p_ptt, in qed_llh_remove_protocol_filter() argument
3805 if (!qed_rd(p_hwfn, p_ptt, in qed_llh_remove_protocol_filter()
3808 if (!qed_rd(p_hwfn, p_ptt, in qed_llh_remove_protocol_filter()
3811 if (!(qed_rd(p_hwfn, p_ptt, in qed_llh_remove_protocol_filter()
3815 if (qed_rd(p_hwfn, p_ptt, in qed_llh_remove_protocol_filter()
3819 if (qed_rd(p_hwfn, p_ptt, in qed_llh_remove_protocol_filter()
3824 qed_wr(p_hwfn, p_ptt, in qed_llh_remove_protocol_filter()
3826 qed_wr(p_hwfn, p_ptt, in qed_llh_remove_protocol_filter()
3828 qed_wr(p_hwfn, p_ptt, in qed_llh_remove_protocol_filter()
3831 qed_wr(p_hwfn, p_ptt, in qed_llh_remove_protocol_filter()
3833 qed_wr(p_hwfn, p_ptt, in qed_llh_remove_protocol_filter()
3843 static int qed_set_coalesce(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, in qed_set_coalesce() argument
3858 qed_memcpy_to(p_hwfn, p_ptt, hw_addr, p_eth_qzone, eth_qzone_size); in qed_set_coalesce()
3867 struct qed_ptt *p_ptt; in qed_set_queue_coalesce() local
3875 p_ptt = qed_ptt_acquire(p_hwfn); in qed_set_queue_coalesce()
3876 if (!p_ptt) in qed_set_queue_coalesce()
3880 rc = qed_set_rxq_coalesce(p_hwfn, p_ptt, rx_coal, p_cid); in qed_set_queue_coalesce()
3887 rc = qed_set_txq_coalesce(p_hwfn, p_ptt, tx_coal, p_cid); in qed_set_queue_coalesce()
3893 qed_ptt_release(p_hwfn, p_ptt); in qed_set_queue_coalesce()
3898 struct qed_ptt *p_ptt, in qed_set_rxq_coalesce() argument
3919 rc = qed_int_set_timer_res(p_hwfn, p_ptt, timer_res, in qed_set_rxq_coalesce()
3927 rc = qed_set_coalesce(p_hwfn, p_ptt, address, ð_qzone, in qed_set_rxq_coalesce()
3937 struct qed_ptt *p_ptt, in qed_set_txq_coalesce() argument
3958 rc = qed_int_set_timer_res(p_hwfn, p_ptt, timer_res, in qed_set_txq_coalesce()
3966 rc = qed_set_coalesce(p_hwfn, p_ptt, address, ð_qzone, in qed_set_txq_coalesce()
3977 struct qed_ptt *p_ptt, in qed_configure_wfq_for_all_vports() argument
3990 qed_init_vport_wfq(p_hwfn, p_ptt, in qed_configure_wfq_for_all_vports()
4007 struct qed_ptt *p_ptt, in qed_disable_wfq_for_all_vports() argument
4017 qed_init_vport_wfq(p_hwfn, p_ptt, in qed_disable_wfq_for_all_vports()
4100 struct qed_ptt *p_ptt, u16 vp_id, u32 rate) in __qed_configure_vport_wfq() argument
4116 qed_configure_wfq_for_all_vports(p_hwfn, p_ptt, in __qed_configure_vport_wfq()
4126 struct qed_ptt *p_ptt, in __qed_configure_vp_wfq_on_link_change() argument
4152 qed_configure_wfq_for_all_vports(p_hwfn, p_ptt, min_pf_rate); in __qed_configure_vp_wfq_on_link_change()
4154 qed_disable_wfq_for_all_vports(p_hwfn, p_ptt, min_pf_rate); in __qed_configure_vp_wfq_on_link_change()
4176 struct qed_ptt *p_ptt; in qed_configure_vport_wfq() local
4178 p_ptt = qed_ptt_acquire(p_hwfn); in qed_configure_vport_wfq()
4179 if (!p_ptt) in qed_configure_vport_wfq()
4182 rc = __qed_configure_vport_wfq(p_hwfn, p_ptt, vp_id, rate); in qed_configure_vport_wfq()
4185 qed_ptt_release(p_hwfn, p_ptt); in qed_configure_vport_wfq()
4189 qed_ptt_release(p_hwfn, p_ptt); in qed_configure_vport_wfq()
4197 struct qed_ptt *p_ptt, u32 min_pf_rate) in qed_configure_vp_wfq_on_link_change() argument
4211 __qed_configure_vp_wfq_on_link_change(p_hwfn, p_ptt, in qed_configure_vp_wfq_on_link_change()
4217 struct qed_ptt *p_ptt, in __qed_configure_pf_max_bandwidth() argument
4238 rc = qed_init_pf_rl(p_hwfn, p_ptt, p_hwfn->rel_pf_id, in __qed_configure_pf_max_bandwidth()
4262 struct qed_ptt *p_ptt; in qed_configure_pf_max_bandwidth() local
4266 p_ptt = qed_ptt_acquire(p_hwfn); in qed_configure_pf_max_bandwidth()
4267 if (!p_ptt) in qed_configure_pf_max_bandwidth()
4270 rc = __qed_configure_pf_max_bandwidth(p_hwfn, p_ptt, in qed_configure_pf_max_bandwidth()
4273 qed_ptt_release(p_hwfn, p_ptt); in qed_configure_pf_max_bandwidth()
4283 struct qed_ptt *p_ptt, in __qed_configure_pf_min_bandwidth() argument
4297 rc = qed_init_pf_wfq(p_hwfn, p_ptt, p_hwfn->rel_pf_id, min_bw); in __qed_configure_pf_min_bandwidth()
4320 struct qed_ptt *p_ptt; in qed_configure_pf_min_bandwidth() local
4324 p_ptt = qed_ptt_acquire(p_hwfn); in qed_configure_pf_min_bandwidth()
4325 if (!p_ptt) in qed_configure_pf_min_bandwidth()
4328 rc = __qed_configure_pf_min_bandwidth(p_hwfn, p_ptt, in qed_configure_pf_min_bandwidth()
4331 qed_ptt_release(p_hwfn, p_ptt); in qed_configure_pf_min_bandwidth()
4339 p_ptt, in qed_configure_pf_min_bandwidth()
4343 qed_ptt_release(p_hwfn, p_ptt); in qed_configure_pf_min_bandwidth()
4349 void qed_clean_wfq_db(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_clean_wfq_db() argument
4356 qed_disable_wfq_for_all_vports(p_hwfn, p_ptt, in qed_clean_wfq_db()