| H A D | qed_dev.c | 63 static void qed_db_recovery_dp_entry(struct qed_hwfn *p_hwfn, in qed_db_recovery_dp_entry() argument 67 DP_VERBOSE(p_hwfn, in qed_db_recovery_dp_entry() 112 struct qed_hwfn *p_hwfn; in qed_db_rec_find_hwfn() local 116 p_hwfn = db_addr < cdev->hwfns[1].doorbells ? in qed_db_rec_find_hwfn() 119 p_hwfn = QED_LEADING_HWFN(cdev); in qed_db_rec_find_hwfn() 121 return p_hwfn; in qed_db_rec_find_hwfn() 132 struct qed_hwfn *p_hwfn; in qed_db_recovery_add() local 146 p_hwfn = qed_db_rec_find_hwfn(cdev, db_addr); in qed_db_recovery_add() 160 db_entry->hwfn_idx = p_hwfn->my_id; in qed_db_recovery_add() 163 qed_db_recovery_dp_entry(p_hwfn, db_entr in qed_db_recovery_add() 178 struct qed_hwfn *p_hwfn; qed_db_recovery_del() local 218 qed_db_recovery_setup(struct qed_hwfn * p_hwfn) qed_db_recovery_setup() argument 236 qed_db_recovery_teardown(struct qed_hwfn * p_hwfn) qed_db_recovery_teardown() argument 259 qed_db_recovery_ring(struct qed_hwfn * p_hwfn,struct qed_db_recovery_entry * db_entry) qed_db_recovery_ring() argument 301 qed_db_recovery_execute(struct qed_hwfn * p_hwfn) qed_db_recovery_execute() argument 622 qed_llh_set_engine_affin(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt) qed_llh_set_engine_affin() argument 676 qed_llh_hw_init_pf(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt) qed_llh_hw_init_pf() argument 724 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); qed_llh_set_ppfid_affinity() local 772 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); qed_llh_set_roce_affinity() local 827 qed_llh_access_filter(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt,u8 abs_ppfid,u8 filter_idx,struct qed_llh_filter_details * p_details) qed_llh_access_filter() argument 907 qed_llh_add_filter(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt,u8 abs_ppfid,u8 filter_idx,u8 filter_prot_type,u32 high,u32 low) qed_llh_add_filter() argument 926 qed_llh_remove_filter(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt,u8 abs_ppfid,u8 filter_idx) qed_llh_remove_filter() argument 938 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); qed_llh_add_mac_filter() local 1071 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); qed_llh_add_protocol_filter() local 1138 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); qed_llh_remove_mac_filter() local 1191 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); qed_llh_remove_protocol_filter() local 1249 qed_hw_bar_size(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt,enum BAR_ID bar_id) qed_hw_bar_size() argument 1282 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; qed_init_dp() local 1294 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; qed_init_struct() local 1310 qed_qm_info_free(struct qed_hwfn * p_hwfn) qed_qm_info_free() argument 1324 qed_dbg_user_data_free(struct qed_hwfn * p_hwfn) qed_dbg_user_data_free() argument 1333 struct qed_hwfn *p_hwfn; qed_resc_free() local 1399 qed_get_pq_flags(struct qed_hwfn * p_hwfn) qed_get_pq_flags() argument 1441 qed_init_qm_get_num_tcs(struct qed_hwfn * p_hwfn) qed_init_qm_get_num_tcs() argument 1446 qed_init_qm_get_num_vfs(struct qed_hwfn * p_hwfn) qed_init_qm_get_num_vfs() argument 1452 qed_init_qm_get_num_mtc_tcs(struct qed_hwfn * p_hwfn) qed_init_qm_get_num_mtc_tcs() argument 1464 qed_init_qm_get_num_pf_rls(struct qed_hwfn * p_hwfn) qed_init_qm_get_num_pf_rls() argument 1482 qed_init_qm_get_num_vports(struct qed_hwfn * p_hwfn) qed_init_qm_get_num_vports() argument 1494 qed_init_qm_get_num_pqs(struct qed_hwfn * p_hwfn) qed_init_qm_get_num_pqs() argument 1512 qed_init_qm_params(struct qed_hwfn * p_hwfn) qed_init_qm_params() argument 1541 qed_init_qm_vport_params(struct qed_hwfn * p_hwfn) qed_init_qm_vport_params() argument 1552 qed_init_qm_port_params(struct qed_hwfn * p_hwfn) qed_init_qm_port_params() argument 1582 qed_init_qm_reset_params(struct qed_hwfn * p_hwfn) qed_init_qm_reset_params() argument 1595 qed_init_qm_advance_vport(struct qed_hwfn * p_hwfn) qed_init_qm_advance_vport() argument 1628 qed_is_offload_tc_set(struct qed_hwfn * p_hwfn) qed_is_offload_tc_set() argument 1633 qed_get_offload_tc(struct qed_hwfn * p_hwfn) qed_get_offload_tc() argument 1641 qed_init_qm_pq(struct qed_hwfn * p_hwfn,struct qed_qm_info * qm_info,u8 tc,u32 pq_init_flags) qed_init_qm_pq() argument 1680 qed_init_qm_get_idx_from_flags(struct qed_hwfn * p_hwfn,unsigned long pq_flags) qed_init_qm_get_idx_from_flags() argument 1723 qed_init_qm_set_idx(struct qed_hwfn * p_hwfn,u32 pq_flags,u16 pq_val) qed_init_qm_set_idx() argument 1732 qed_get_cm_pq_idx(struct qed_hwfn * p_hwfn,u32 pq_flags) qed_get_cm_pq_idx() argument 1739 qed_get_cm_pq_idx_mcos(struct qed_hwfn * p_hwfn,u8 tc) qed_get_cm_pq_idx_mcos() argument 1755 qed_get_cm_pq_idx_vf(struct qed_hwfn * p_hwfn,u16 vf) qed_get_cm_pq_idx_vf() argument 1771 qed_get_cm_pq_idx_ofld_mtc(struct qed_hwfn * p_hwfn,u8 tc) qed_get_cm_pq_idx_ofld_mtc() argument 1782 qed_get_cm_pq_idx_llt_mtc(struct qed_hwfn * p_hwfn,u8 tc) qed_get_cm_pq_idx_llt_mtc() argument 1794 qed_init_qm_lb_pq(struct qed_hwfn * p_hwfn) qed_init_qm_lb_pq() argument 1805 qed_init_qm_ooo_pq(struct qed_hwfn * p_hwfn) qed_init_qm_ooo_pq() argument 1816 qed_init_qm_pure_ack_pq(struct qed_hwfn * p_hwfn) qed_init_qm_pure_ack_pq() argument 1828 qed_init_qm_mtc_pqs(struct qed_hwfn * p_hwfn) qed_init_qm_mtc_pqs() argument 1842 qed_init_qm_offload_pq(struct qed_hwfn * p_hwfn) qed_init_qm_offload_pq() argument 1853 qed_init_qm_low_latency_pq(struct qed_hwfn * p_hwfn) qed_init_qm_low_latency_pq() argument 1864 qed_init_qm_mcos_pqs(struct qed_hwfn * p_hwfn) qed_init_qm_mcos_pqs() argument 1877 qed_init_qm_vf_pqs(struct qed_hwfn * p_hwfn) qed_init_qm_vf_pqs() argument 1892 qed_init_qm_rl_pqs(struct qed_hwfn * p_hwfn) qed_init_qm_rl_pqs() argument 1906 qed_init_qm_pq_params(struct qed_hwfn * p_hwfn) qed_init_qm_pq_params() argument 1937 qed_init_qm_sanity(struct qed_hwfn * p_hwfn) qed_init_qm_sanity() argument 1959 qed_dp_init_qm_params(struct qed_hwfn * p_hwfn) qed_dp_init_qm_params() argument 2036 qed_init_qm_info(struct qed_hwfn * p_hwfn) qed_init_qm_info() argument 2065 qed_qm_reconf(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt) qed_qm_reconf() argument 2102 qed_alloc_qm_data(struct qed_hwfn * p_hwfn) qed_alloc_qm_data() argument 2159 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; qed_resc_alloc() local 2357 qed_fw_err_handler(struct qed_hwfn * p_hwfn,u8 opcode,u16 echo,union event_ring_data * data,u8 fw_return_code) qed_fw_err_handler() argument 2378 qed_common_eqe_event(struct qed_hwfn * p_hwfn,u8 opcode,__le16 echo,union event_ring_data * data,u8 fw_return_code) qed_common_eqe_event() argument 2411 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; qed_resc_setup() local 2451 qed_final_cleanup(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt,u16 id,bool is_vf) qed_final_cleanup() argument 2497 qed_calc_hw_mode(struct qed_hwfn * p_hwfn) qed_calc_hw_mode() argument 2553 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; qed_init_cau_rt_data() local 2575 qed_init_cache_line_size(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt) qed_init_cache_line_size() argument 2630 qed_hw_init_common(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt,int hw_mode) qed_hw_init_common() argument 2712 qed_hw_init_dpi_size(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt,u32 pwm_region_size,u32 n_cpus) qed_hw_init_dpi_size() argument 2746 qed_edpm_enabled(struct qed_hwfn * p_hwfn) qed_edpm_enabled() argument 2755 qed_hw_init_pf_doorbell_bar(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt) qed_hw_init_pf_doorbell_bar() argument 2849 qed_hw_init_port(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt,int hw_mode) qed_hw_init_port() argument 2867 qed_hw_init_pf(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt,struct qed_tunnel_info * p_tunn,int hw_mode,bool b_hw_start,enum qed_int_mode int_mode,bool allow_npar_tx_switch) qed_hw_init_pf() argument 2974 qed_pglueb_set_pfid_enable(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt,bool b_enable) qed_pglueb_set_pfid_enable() argument 3001 qed_reset_mb_shadow(struct qed_hwfn * p_hwfn,struct qed_ptt * p_main_ptt) qed_reset_mb_shadow() argument 3023 qed_vf_start(struct qed_hwfn * p_hwfn,struct qed_hw_init_params * p_params) qed_vf_start() argument 3036 qed_pglueb_clear_err(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt) qed_pglueb_clear_err() argument 3047 struct qed_hwfn *p_hwfn; qed_hw_init() local 3279 qed_hw_timers_stop(struct qed_dev * cdev,struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt) qed_hw_timers_stop() argument 3316 struct qed_hwfn *p_hwfn = &cdev->hwfns[j]; qed_hw_timers_stop_all() local 3325 struct qed_hwfn *p_hwfn; qed_hw_stop() local 3444 struct qed_hwfn *p_hwfn = &cdev->hwfns[j]; qed_hw_stop_fastpath() local 3477 qed_hw_start_fastpath(struct qed_hwfn * p_hwfn) qed_hw_start_fastpath() argument 3500 qed_hw_hwfn_free(struct qed_hwfn * p_hwfn) qed_hw_hwfn_free() argument 3508 qed_hw_hwfn_prepare(struct qed_hwfn * p_hwfn) qed_hw_hwfn_prepare() argument 3539 get_function_id(struct qed_hwfn * p_hwfn) get_function_id() argument 3558 qed_hw_set_feat(struct qed_hwfn * p_hwfn) qed_hw_set_feat() argument 3658 __qed_hw_set_soft_resc_size(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt,enum qed_resources res_id,u32 resc_max_val,u32 * p_mcp_resp) __qed_hw_set_soft_resc_size() argument 3711 qed_hw_set_soft_resc_size(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt) qed_hw_set_soft_resc_size() argument 3761 qed_hw_get_dflt_resc(struct qed_hwfn * p_hwfn,enum qed_resources res_id,u32 * p_resc_num,u32 * p_resc_start) qed_hw_get_dflt_resc() argument 3845 __qed_hw_set_resc_info(struct qed_hwfn * p_hwfn,enum qed_resources res_id) __qed_hw_set_resc_info() argument 3906 qed_hw_set_resc_info(struct qed_hwfn * p_hwfn) qed_hw_set_resc_info() argument 3920 qed_hw_get_ppfid_bitmap(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt) qed_hw_get_ppfid_bitmap() argument 3950 qed_hw_get_resc(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt) qed_hw_get_resc() argument 4043 qed_hw_get_nvm_info(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt) qed_hw_get_nvm_info() argument 4388 qed_get_num_funcs(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt) qed_get_num_funcs() argument 4449 qed_hw_info_port_num(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt) qed_hw_info_port_num() argument 4488 qed_get_eee_caps(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt) qed_get_eee_caps() argument 4510 qed_get_hw_info(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt,enum qed_pci_personality personality) qed_get_hw_info() argument 4573 qed_get_dev_info(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt) qed_get_dev_info() argument 4629 qed_hw_prepare_single(struct qed_hwfn * p_hwfn,void __iomem * p_regview,void __iomem * p_doorbells,u64 db_phys_addr,enum qed_pci_personality personality) qed_hw_prepare_single() argument 4727 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); qed_hw_prepare() local 4786 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); qed_hw_remove() local 4794 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; qed_hw_remove() local 4811 qed_fw_l2_queue(struct qed_hwfn * p_hwfn,u16 src_id,u16 * dst_id) qed_fw_l2_queue() argument 4830 qed_fw_vport(struct qed_hwfn * p_hwfn,u8 src_id,u8 * dst_id) qed_fw_vport() argument 4849 qed_fw_rss_eng(struct qed_hwfn * p_hwfn,u8 src_id,u8 * dst_id) qed_fw_rss_eng() argument 4868 qed_set_coalesce(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt,u32 hw_addr,void * p_eth_qzone,size_t eth_qzone_size,u8 timeset) qed_set_coalesce() argument 4891 struct qed_hwfn *p_hwfn; qed_set_queue_coalesce() local 4922 qed_set_rxq_coalesce(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt,u16 coalesce,struct qed_queue_cid * p_cid) qed_set_rxq_coalesce() argument 4961 qed_set_txq_coalesce(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt,u16 coalesce,struct qed_queue_cid * p_cid) qed_set_txq_coalesce() argument 5001 qed_configure_wfq_for_all_vports(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt,u32 min_pf_rate) qed_configure_wfq_for_all_vports() argument 5021 qed_init_wfq_default_param(struct qed_hwfn * p_hwfn,u32 min_pf_rate) qed_init_wfq_default_param() argument 5031 qed_disable_wfq_for_all_vports(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt,u32 min_pf_rate) qed_disable_wfq_for_all_vports() argument 5055 qed_init_wfq_param(struct qed_hwfn * p_hwfn,u16 vport_id,u32 req_rate,u32 min_pf_rate) qed_init_wfq_param() argument 5129 __qed_configure_vport_wfq(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt,u16 vp_id,u32 rate) __qed_configure_vport_wfq() argument 5155 __qed_configure_vp_wfq_on_link_change(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt,u32 min_pf_rate) __qed_configure_vp_wfq_on_link_change() argument 5205 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; qed_configure_vport_wfq() local 5239 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; qed_configure_vp_wfq_on_link_change() local 5246 __qed_configure_pf_max_bandwidth(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt,struct qed_mcp_link_state * p_link,u8 max_bw) __qed_configure_pf_max_bandwidth() argument 5289 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; qed_configure_pf_max_bandwidth() local 5312 __qed_configure_pf_min_bandwidth(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt,struct qed_mcp_link_state * p_link,u8 min_bw) __qed_configure_pf_min_bandwidth() argument 5347 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; qed_configure_pf_min_bandwidth() local 5379 qed_clean_wfq_db(struct qed_hwfn * p_hwfn,struct qed_ptt * p_ptt) qed_clean_wfq_db() argument 5428 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); qed_llh_clear_ppfid_filters() local [all...] |