Lines Matching refs:p_main_ptt

106 	val = ecore_rd(p_hwfn, p_hwfn->p_main_ptt, bar_reg);  in ecore_hw_bar_size()
934 rc = ecore_int_alloc(p_hwfn, p_hwfn->p_main_ptt); in ecore_resc_alloc()
1087 ecore_mcp_read_mb(p_hwfn, p_hwfn->p_main_ptt); in ecore_resc_setup()
1092 ecore_int_setup(p_hwfn, p_hwfn->p_main_ptt); in ecore_resc_setup()
1095 ecore_iov_setup(p_hwfn, p_hwfn->p_main_ptt); in ecore_resc_setup()
1398 rc = ecore_hw_init_chip(p_hwfn, p_hwfn->p_main_ptt); in ecore_hw_init_common()
2082 struct ecore_ptt *p_main_ptt) in ecore_reset_mb_shadow() argument
2085 ecore_mcp_read_mb(p_hwfn, p_main_ptt); in ecore_reset_mb_shadow()
2164 rc = ecore_change_pci_hwfn(p_hwfn, p_hwfn->p_main_ptt, true); in ecore_hw_init()
2174 rc = ecore_mcp_load_req(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_init()
2187 ecore_mcp_set_capabilities(p_hwfn, p_hwfn->p_main_ptt); in ecore_hw_init()
2199 ecore_reset_mb_shadow(p_hwfn, p_hwfn->p_main_ptt); in ecore_hw_init()
2217 rc = ecore_hw_init_common(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_init()
2223 rc = ecore_hw_init_port(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_init()
2229 rc = ecore_hw_init_pf(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_init()
2249 mfw_rc = ecore_mcp_cmd(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_init()
2272 mfw_rc = ecore_mcp_cmd(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_init()
2288 rc = ecore_mcp_cmd(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_init()
2295 rc = ecore_mcp_ov_update_mtu(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_init()
2302 p_hwfn->p_main_ptt, in ecore_hw_init()
2307 rc = ecore_mcp_ov_update_eswitch(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_init()
2356 struct ecore_ptt *p_ptt = p_hwfn->p_main_ptt; in ecore_hw_timers_stop_all()
2387 p_ptt = p_hwfn->p_main_ptt; in ecore_hw_stop()
2492 p_ptt = ECORE_LEADING_HWFN(p_dev)->p_main_ptt; in ecore_hw_stop()
2516 struct ecore_ptt *p_ptt = p_hwfn->p_main_ptt; in ecore_hw_stop_fastpath()
2547 struct ecore_ptt *p_ptt = p_hwfn->p_main_ptt; in ecore_hw_start_fastpath()
2563 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_start_fastpath()
2642 ECORE_WOL_WR(hwfn, hwfn->p_main_ptt, reg_len, pattern_size); in ecore_set_nwuf_reg()
2645 ECORE_WOL_WR(hwfn, hwfn->p_main_ptt, reg_crc, crc); in ecore_set_nwuf_reg()
2667 ECORE_WOL_WR(hwfn, hwfn->p_main_ptt, wake_buffer_clear_offset, 1); in ecore_wol_buffer_clear()
2668 ECORE_WOL_WR(hwfn, hwfn->p_main_ptt, wake_buffer_clear_offset, 0); in ecore_wol_buffer_clear()
2681 wake_info->wk_info = ecore_rd(hwfn, hwfn->p_main_ptt, in ecore_get_wake_info()
2684 wake_info->wk_details = ecore_rd(hwfn, hwfn->p_main_ptt, in ecore_get_wake_info()
2687 wake_info->wk_pkt_len = ecore_rd(hwfn, hwfn->p_main_ptt, in ecore_get_wake_info()
2710 buf[i] = ecore_rd(hwfn, hwfn->p_main_ptt, in ecore_get_wake_info()
2734 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_hwfn_prepare()
2736 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_hwfn_prepare()
2738 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_hwfn_prepare()
2740 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_hwfn_prepare()
2743 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_hwfn_prepare()
2745 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_hwfn_prepare()
2747 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_hwfn_prepare()
2749 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_hwfn_prepare()
2754 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_hwfn_prepare()
2759 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_hwfn_prepare()
2897 rc = ecore_mcp_set_resc_max_val(p_hwfn, p_hwfn->p_main_ptt, res_id, in __ecore_hw_set_soft_resc_size()
3077 rc = ecore_mcp_get_resc_info(p_hwfn, p_hwfn->p_main_ptt, res_id, in __ecore_hw_set_resc_info()
3187 rc = ecore_mcp_resc_lock(p_hwfn, p_hwfn->p_main_ptt, &resc_lock_params); in ecore_hw_get_resc()
3206 rc = ecore_mcp_resc_unlock(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_get_resc()
3219 rc = ecore_mcp_resc_unlock(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_get_resc()
3265 if (ecore_int_igu_reset_cam(p_hwfn, p_hwfn->p_main_ptt)) in ecore_hw_get_resc()
3282 ecore_mcp_resc_unlock(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_get_resc()
3836 p_dev->chip_num = (u16)ecore_rd(p_hwfn, p_hwfn->p_main_ptt, in ecore_get_dev_info()
3838 p_dev->chip_rev = (u16)ecore_rd(p_hwfn, p_hwfn->p_main_ptt, in ecore_get_dev_info()
3844 tmp = ecore_rd(p_hwfn, p_hwfn->p_main_ptt, in ecore_get_dev_info()
3864 p_dev->chip_bond_id = ecore_rd(p_hwfn, p_hwfn->p_main_ptt, in ecore_get_dev_info()
3867 p_dev->chip_metal = (u16)ecore_rd(p_hwfn, p_hwfn->p_main_ptt, in ecore_get_dev_info()
3885 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, in ecore_get_dev_info()
3889 tmp = ecore_rd(p_hwfn, p_hwfn->p_main_ptt, in ecore_get_dev_info()
3985 p_hwfn->p_main_ptt = ecore_get_reserved_ptt(p_hwfn, RESERVED_PTT_MAIN); in ecore_hw_prepare_single()
4001 rc = ecore_mcp_cmd_init(p_hwfn, p_hwfn->p_main_ptt); in ecore_hw_prepare_single()
4010 rc = ecore_get_hw_info(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_prepare_single()
4022 rc = ecore_mcp_initiate_pf_flr(p_hwfn, p_hwfn->p_main_ptt); in ecore_hw_prepare_single()
4029 rc = ecore_mcp_mdump_get_info(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_prepare_single()
4035 rc = ecore_mcp_mdump_get_retain(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_prepare_single()
4043 ecore_mcp_mdump_set_values(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_prepare_single()
4060 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, PCIE_REG_PRTY_MASK_K2_E5, in ecore_hw_prepare_single()
4065 ecore_wr(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_prepare_single()
4152 ecore_mcp_ov_update_driver_state(p_hwfn, p_hwfn->p_main_ptt, in ecore_hw_remove()