p_ptt 912 drivers/net/ethernet/qlogic/qed/qed.h struct qed_ptt *p_ptt, p_ptt 915 drivers/net/ethernet/qlogic/qed/qed.h void qed_clean_wfq_db(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); p_ptt 1498 drivers/net/ethernet/qlogic/qed/qed_cxt.c struct qed_ptt *p_ptt, bool is_pf_loading) p_ptt 1529 drivers/net/ethernet/qlogic/qed/qed_cxt.c qed_qm_pf_rt_init(p_hwfn, p_ptt, ¶ms); p_ptt 1887 drivers/net/ethernet/qlogic/qed/qed_cxt.c void qed_cxt_hw_init_pf(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 1889 drivers/net/ethernet/qlogic/qed/qed_cxt.c qed_qm_init_pf(p_hwfn, p_ptt, true); p_ptt 2258 drivers/net/ethernet/qlogic/qed/qed_cxt.c struct qed_ptt *p_ptt; p_ptt 2302 drivers/net/ethernet/qlogic/qed/qed_cxt.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 2303 drivers/net/ethernet/qlogic/qed/qed_cxt.c if (!p_ptt) { p_ptt 2353 drivers/net/ethernet/qlogic/qed/qed_cxt.c qed_dmae_host2grc(p_hwfn, p_ptt, (u64) (uintptr_t)&ilt_hw_entry, p_ptt 2362 drivers/net/ethernet/qlogic/qed/qed_cxt.c qed_wr(p_hwfn, p_ptt, PRS_REG_ROCE_DEST_QP_MAX_PF, p_ptt 2367 drivers/net/ethernet/qlogic/qed/qed_cxt.c qed_wr(p_hwfn, p_ptt, p_hwfn->rdma_prs_search_reg, 1); p_ptt 2373 drivers/net/ethernet/qlogic/qed/qed_cxt.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 2393 drivers/net/ethernet/qlogic/qed/qed_cxt.c struct qed_ptt *p_ptt; p_ptt 2429 drivers/net/ethernet/qlogic/qed/qed_cxt.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 2430 drivers/net/ethernet/qlogic/qed/qed_cxt.c if (!p_ptt) { p_ptt 2457 drivers/net/ethernet/qlogic/qed/qed_cxt.c qed_dmae_host2grc(p_hwfn, p_ptt, p_ptt 2464 drivers/net/ethernet/qlogic/qed/qed_cxt.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 165 drivers/net/ethernet/qlogic/qed/qed_cxt.h void qed_cxt_hw_init_pf(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); p_ptt 175 drivers/net/ethernet/qlogic/qed/qed_cxt.h struct qed_ptt *p_ptt, bool is_pf_loading); p_ptt 185 drivers/net/ethernet/qlogic/qed/qed_cxt.h int qed_qm_reconf(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); p_ptt 193 drivers/net/ethernet/qlogic/qed/qed_dcbx.c struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, p_ptt 217 drivers/net/ethernet/qlogic/qed/qed_dcbx.c qed_wr(p_hwfn, p_ptt, DORQ_REG_TAG1_OVRD_MODE, 1); p_ptt 218 drivers/net/ethernet/qlogic/qed/qed_dcbx.c qed_wr(p_hwfn, p_ptt, DORQ_REG_PF_PCP_BB_K2, prio << 1); p_ptt 225 drivers/net/ethernet/qlogic/qed/qed_dcbx.c struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, p_ptt 241 drivers/net/ethernet/qlogic/qed/qed_dcbx.c qed_dcbx_set_params(p_data, p_hwfn, p_ptt, app_tlv, enable, p_ptt 276 drivers/net/ethernet/qlogic/qed/qed_dcbx.c qed_dcbx_process_tlv(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, p_ptt 320 drivers/net/ethernet/qlogic/qed/qed_dcbx.c qed_dcbx_update_app_info(p_data, p_hwfn, p_ptt, true, p_ptt 342 drivers/net/ethernet/qlogic/qed/qed_dcbx.c qed_dcbx_update_app_info(p_data, p_hwfn, p_ptt, false, enable, p_ptt 353 drivers/net/ethernet/qlogic/qed/qed_dcbx.c qed_dcbx_process_mib_info(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 377 drivers/net/ethernet/qlogic/qed/qed_dcbx.c rc = qed_dcbx_process_tlv(p_hwfn, p_ptt, &data, p_tbl, pri_tc_tbl, p_ptt 398 drivers/net/ethernet/qlogic/qed/qed_dcbx.c struct qed_ptt *p_ptt, p_ptt 411 drivers/net/ethernet/qlogic/qed/qed_dcbx.c qed_memcpy_from(p_hwfn, p_ptt, p_data->lldp_remote, p_ptt 416 drivers/net/ethernet/qlogic/qed/qed_dcbx.c qed_memcpy_from(p_hwfn, p_ptt, p_data->mib, p_ptt 767 drivers/net/ethernet/qlogic/qed/qed_dcbx.c qed_dcbx_read_local_lldp_mib(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 777 drivers/net/ethernet/qlogic/qed/qed_dcbx.c qed_memcpy_from(p_hwfn, p_ptt, data.lldp_local, data.addr, data.size); p_ptt 784 drivers/net/ethernet/qlogic/qed/qed_dcbx.c struct qed_ptt *p_ptt, p_ptt 795 drivers/net/ethernet/qlogic/qed/qed_dcbx.c rc = qed_dcbx_copy_mib(p_hwfn, p_ptt, &data, type); p_ptt 802 drivers/net/ethernet/qlogic/qed/qed_dcbx.c struct qed_ptt *p_ptt, p_ptt 813 drivers/net/ethernet/qlogic/qed/qed_dcbx.c rc = qed_dcbx_copy_mib(p_hwfn, p_ptt, &data, type); p_ptt 820 drivers/net/ethernet/qlogic/qed/qed_dcbx.c struct qed_ptt *p_ptt, enum qed_mib_read_type type) p_ptt 830 drivers/net/ethernet/qlogic/qed/qed_dcbx.c rc = qed_dcbx_copy_mib(p_hwfn, p_ptt, &data, type); p_ptt 836 drivers/net/ethernet/qlogic/qed/qed_dcbx.c qed_dcbx_read_local_mib(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 846 drivers/net/ethernet/qlogic/qed/qed_dcbx.c qed_memcpy_from(p_hwfn, p_ptt, data.local_admin, data.addr, data.size); p_ptt 852 drivers/net/ethernet/qlogic/qed/qed_dcbx.c struct qed_ptt *p_ptt, enum qed_mib_read_type type) p_ptt 858 drivers/net/ethernet/qlogic/qed/qed_dcbx.c rc = qed_dcbx_read_operational_mib(p_hwfn, p_ptt, type); p_ptt 861 drivers/net/ethernet/qlogic/qed/qed_dcbx.c rc = qed_dcbx_read_remote_mib(p_hwfn, p_ptt, type); p_ptt 864 drivers/net/ethernet/qlogic/qed/qed_dcbx.c rc = qed_dcbx_read_local_mib(p_hwfn, p_ptt); p_ptt 867 drivers/net/ethernet/qlogic/qed/qed_dcbx.c rc = qed_dcbx_read_remote_lldp_mib(p_hwfn, p_ptt, type); p_ptt 870 drivers/net/ethernet/qlogic/qed/qed_dcbx.c rc = qed_dcbx_read_local_lldp_mib(p_hwfn, p_ptt); p_ptt 894 drivers/net/ethernet/qlogic/qed/qed_dcbx.c struct qed_ptt *p_ptt, enum qed_mib_read_type type) p_ptt 898 drivers/net/ethernet/qlogic/qed/qed_dcbx.c rc = qed_dcbx_read_mib(p_hwfn, p_ptt, type); p_ptt 903 drivers/net/ethernet/qlogic/qed/qed_dcbx.c rc = qed_dcbx_process_mib_info(p_hwfn, p_ptt); p_ptt 908 drivers/net/ethernet/qlogic/qed/qed_dcbx.c qed_qm_reconf(p_hwfn, p_ptt); p_ptt 918 drivers/net/ethernet/qlogic/qed/qed_dcbx.c qed_roce_dpm_dcbx(p_hwfn, p_ptt); p_ptt 936 drivers/net/ethernet/qlogic/qed/qed_dcbx.c qed_wr(p_hwfn, p_ptt, NIG_REG_TX_EDPM_CTRL, val); p_ptt 1025 drivers/net/ethernet/qlogic/qed/qed_dcbx.c struct qed_ptt *p_ptt; p_ptt 1031 drivers/net/ethernet/qlogic/qed/qed_dcbx.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 1032 drivers/net/ethernet/qlogic/qed/qed_dcbx.c if (!p_ptt) p_ptt 1035 drivers/net/ethernet/qlogic/qed/qed_dcbx.c rc = qed_dcbx_read_mib(p_hwfn, p_ptt, type); p_ptt 1042 drivers/net/ethernet/qlogic/qed/qed_dcbx.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 1230 drivers/net/ethernet/qlogic/qed/qed_dcbx.c int qed_dcbx_config_params(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, p_ptt 1254 drivers/net/ethernet/qlogic/qed/qed_dcbx.c qed_memcpy_to(p_hwfn, p_ptt, data.addr, data.local_admin, data.size); p_ptt 1256 drivers/net/ethernet/qlogic/qed/qed_dcbx.c rc = qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_SET_DCBX, p_ptt 1790 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt) p_ptt 1820 drivers/net/ethernet/qlogic/qed/qed_debug.c switch (qed_rd(p_hwfn, p_ptt, MISC_REG_PORT_MODE)) { p_ptt 1834 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_rd(p_hwfn, p_ptt, CNIG_REG_NW_PORT_MODE_BB) == 2) p_ptt 1874 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 1894 drivers/net/ethernet/qlogic/qed/qed_debug.c dest[i] = qed_rd(p_hwfn, p_ptt, addr); p_ptt 1903 drivers/net/ethernet/qlogic/qed/qed_debug.c dest[i] = qed_rd(p_hwfn, p_ptt, addr); p_ptt 1994 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 2004 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_read_fw_info(p_hwfn, p_ptt, &fw_info); p_ptt 2039 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 2053 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 2062 drivers/net/ethernet/qlogic/qed/qed_debug.c global_section_offsize = qed_rd(p_hwfn, p_ptt, p_ptt 2069 drivers/net/ethernet/qlogic/qed/qed_debug.c mfw_ver = qed_rd(p_hwfn, p_ptt, p_ptt 2097 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 2112 drivers/net/ethernet/qlogic/qed/qed_debug.c offset += qed_dump_fw_ver_param(p_hwfn, p_ptt, dump_buf + offset, dump); p_ptt 2114 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, dump_buf + offset, dump); p_ptt 2156 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt) p_ptt 2166 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, s_reset_regs_defs[i].addr); p_ptt 2179 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, bool enable) p_ptt 2181 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_wr(p_hwfn, p_ptt, DBG_REG_DBG_BLOCK_ON, enable ? 1 : 0); p_ptt 2186 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt) p_ptt 2192 drivers/net/ethernet/qlogic/qed/qed_debug.c old_reset_reg_val = qed_rd(p_hwfn, p_ptt, dbg_reset_reg_addr); p_ptt 2196 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_wr(p_hwfn, p_ptt, dbg_reset_reg_addr, new_reset_reg_val); p_ptt 2197 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_wr(p_hwfn, p_ptt, dbg_reset_reg_addr, old_reset_reg_val); p_ptt 2201 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 2204 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_wr(p_hwfn, p_ptt, DBG_REG_FRAMING_MODE, (u8)mode); p_ptt 2211 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, u32 client_mask) p_ptt 2213 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_wr(p_hwfn, p_ptt, DBG_REG_CLIENT_ENABLE, client_mask); p_ptt 2328 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, bool stall) p_ptt 2340 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_wr(p_hwfn, p_ptt, reg_addr, stall ? 1 : 0); p_ptt 2348 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt) p_ptt 2374 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 2408 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt) p_ptt 2439 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_rd(p_hwfn, p_ptt, p_ptt 2486 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, u32 *buf, u32 addr, u32 len) p_ptt 2491 drivers/net/ethernet/qlogic/qed/qed_debug.c buf[i] = qed_rd(p_hwfn, p_ptt, DWORDS_TO_BYTES(addr + i)); p_ptt 2499 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 2545 drivers/net/ethernet/qlogic/qed/qed_debug.c if (!qed_dmae_grc2host(p_hwfn, p_ptt, DWORDS_TO_BYTES(addr), p_ptt 2561 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_port_pretend(p_hwfn, p_ptt, port_id); p_ptt 2565 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_fid_pretend(p_hwfn, p_ptt, fid); p_ptt 2569 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_port_fid_pretend(p_hwfn, p_ptt, port_id, fid); p_ptt 2574 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_fid_pretend(p_hwfn, p_ptt, fid); p_ptt 2585 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_read_regs(p_hwfn, p_ptt, dump_buf, addr, len); p_ptt 2606 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 2615 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 2631 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 2649 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 2670 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 2718 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 2734 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 2764 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 2788 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 2839 drivers/net/ethernet/qlogic/qed/qed_debug.c offset += qed_grc_dump_split_data(p_hwfn, p_ptt, p_ptt 2854 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_fid_pretend(p_hwfn, p_ptt, fid); p_ptt 2864 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 2881 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 2903 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 2945 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 2954 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 2976 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 2997 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 3011 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3021 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3124 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 3148 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3158 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 3259 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3281 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 3307 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3326 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 3360 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, storm->cm_ctx_wr_addr, (i << 9) | lid); p_ptt 3362 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, rd_reg_addr); p_ptt 3371 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, u32 *dump_buf, bool dump) p_ptt 3388 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3402 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3416 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3430 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3446 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, u32 *dump_buf, bool dump) p_ptt 3466 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3486 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 3515 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3521 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3527 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3537 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 3570 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3577 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3583 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3593 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, u32 *dump_buf, bool dump) p_ptt 3609 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3616 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3628 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, u32 *dump_buf, bool dump) p_ptt 3667 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_wr(p_hwfn, p_ptt, RSS_REG_RSS_RAM_ADDR, rss_addr); p_ptt 3669 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3686 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 3698 drivers/net/ethernet/qlogic/qed/qed_debug.c reg_val = qed_rd(p_hwfn, p_ptt, big_ram->is_256b_reg_addr); p_ptt 3725 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_wr(p_hwfn, p_ptt, big_ram->addr_reg_addr, i); p_ptt 3729 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3741 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, u32 *dump_buf, bool dump) p_ptt 3749 drivers/net/ethernet/qlogic/qed/qed_debug.c halted = !qed_mcp_halt(p_hwfn, p_ptt); p_ptt 3756 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3766 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3777 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3787 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3795 drivers/net/ethernet/qlogic/qed/qed_debug.c if (halted && qed_mcp_resume(p_hwfn, p_ptt)) p_ptt 3803 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, u32 *dump_buf, bool dump) p_ptt 3846 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_wr(p_hwfn, p_ptt, addr_hi_addr, tbus_hi_offset); p_ptt 3850 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, addr_lo_addr, tbus_lo_offset); p_ptt 3852 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3855 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3867 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 3876 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_wr(p_hwfn, p_ptt, block->dbg_select_addr, line_id); p_ptt 3877 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_wr(p_hwfn, p_ptt, block->dbg_enable_addr, enable_mask); p_ptt 3878 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_wr(p_hwfn, p_ptt, block->dbg_shift_addr, right_shift); p_ptt 3879 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_wr(p_hwfn, p_ptt, block->dbg_force_valid_addr, force_valid_mask); p_ptt 3880 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_wr(p_hwfn, p_ptt, block->dbg_force_frame_addr, force_frame_mask); p_ptt 3885 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 3892 drivers/net/ethernet/qlogic/qed/qed_debug.c if (dump && qed_rd(p_hwfn, p_ptt, DBG_REG_DBG_BLOCK_ON)) p_ptt 3902 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_wr(p_hwfn, p_ptt, block->dbg_enable_addr, p_ptt 3906 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_bus_reset_dbg_block(p_hwfn, p_ptt); p_ptt 3908 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, DBG_BUS_FRAME_MODE_8HW_0ST); p_ptt 3910 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, DBG_REG_DEBUG_TARGET, DBG_BUS_TARGET_ID_INT_BUF); p_ptt 3911 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_wr(p_hwfn, p_ptt, DBG_REG_FULL_MODE, 1); p_ptt 3912 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_bus_enable_dbg_block(p_hwfn, p_ptt, true); p_ptt 3956 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3965 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3971 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 3981 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_bus_enable_clients(p_hwfn, p_ptt, 0); p_ptt 3982 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_wr(p_hwfn, p_ptt, block->dbg_enable_addr, 0); p_ptt 3986 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_bus_enable_dbg_block(p_hwfn, p_ptt, false); p_ptt 3987 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_bus_enable_clients(p_hwfn, p_ptt, 0); p_ptt 3997 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 4011 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_update_blocks_reset_state(p_hwfn, p_ptt); p_ptt 4015 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4035 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4040 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_grc_unreset_blocks(p_hwfn, p_ptt); p_ptt 4041 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_update_blocks_reset_state(p_hwfn, p_ptt); p_ptt 4047 drivers/net/ethernet/qlogic/qed/qed_debug.c parities_masked = !qed_mcp_mask_parities(p_hwfn, p_ptt, 1); p_ptt 4060 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4068 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_grc_stall_storms(p_hwfn, p_ptt, true); p_ptt 4079 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4087 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4092 drivers/net/ethernet/qlogic/qed/qed_debug.c offset += qed_grc_dump_memories(p_hwfn, p_ptt, dump_buf + offset, dump); p_ptt 4097 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, dump_buf + offset, dump); p_ptt 4102 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, dump_buf + offset, dump); p_ptt 4107 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, dump_buf + offset, dump); p_ptt 4113 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4120 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, dump_buf + offset, dump); p_ptt 4125 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, dump_buf + offset, dump); p_ptt 4132 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, dump_buf + offset, dump); p_ptt 4139 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4148 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_grc_stall_storms(p_hwfn, p_ptt, false); p_ptt 4151 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_grc_clear_all_prty(p_hwfn, p_ptt); p_ptt 4155 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_mcp_mask_parities(p_hwfn, p_ptt, 0); p_ptt 4167 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 4287 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4301 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_idle_chk_dump_rule_entries(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, p_ptt 4356 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4410 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_grc_dump_addr_range(p_hwfn, p_ptt, p_ptt 4425 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4444 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, u32 *dump_buf, bool dump) p_ptt 4451 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4485 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4512 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 4523 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4553 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 4572 drivers/net/ethernet/qlogic/qed/qed_debug.c if (qed_mcp_nvm_rd_cmd(p_hwfn, p_ptt, p_ptt 4600 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 4607 drivers/net/ethernet/qlogic/qed/qed_debug.c spad_trace_offsize = qed_rd(p_hwfn, p_ptt, MCP_SPAD_TRACE_OFFSIZE_ADDR); p_ptt 4614 drivers/net/ethernet/qlogic/qed/qed_debug.c signature = qed_rd(p_hwfn, p_ptt, p_ptt 4623 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4637 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 4646 drivers/net/ethernet/qlogic/qed/qed_debug.c spad_trace_offsize = qed_rd(p_hwfn, p_ptt, MCP_SPAD_TRACE_OFFSIZE_ADDR); p_ptt 4652 drivers/net/ethernet/qlogic/qed/qed_debug.c *running_bundle_id = qed_rd(p_hwfn, p_ptt, running_mfw_addr); p_ptt 4661 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4668 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 4678 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4709 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 4726 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4734 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4744 drivers/net/ethernet/qlogic/qed/qed_debug.c halted = !qed_mcp_halt(p_hwfn, p_ptt); p_ptt 4762 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4770 drivers/net/ethernet/qlogic/qed/qed_debug.c if (halted && qed_mcp_resume(p_hwfn, p_ptt)) p_ptt 4785 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4802 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4822 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 4833 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4854 drivers/net/ethernet/qlogic/qed/qed_debug.c fifo_has_data = qed_rd(p_hwfn, p_ptt, p_ptt 4868 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4875 drivers/net/ethernet/qlogic/qed/qed_debug.c fifo_has_data = qed_rd(p_hwfn, p_ptt, p_ptt 4892 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 4903 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4924 drivers/net/ethernet/qlogic/qed/qed_debug.c fifo_has_data = qed_rd(p_hwfn, p_ptt, p_ptt 4938 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4945 drivers/net/ethernet/qlogic/qed/qed_debug.c fifo_has_data = qed_rd(p_hwfn, p_ptt, p_ptt 4962 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 4973 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 4993 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_rd(p_hwfn, p_ptt, GRC_REG_NUMBER_VALID_OVERRIDE_WINDOW) * p_ptt 4997 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 5018 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, u32 *dump_buf, bool dump) p_ptt 5029 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 5044 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_read_storm_fw_info(p_hwfn, p_ptt, storm_id, &fw_info); p_ptt 5070 drivers/net/ethernet/qlogic/qed/qed_debug.c next_list_idx = qed_rd(p_hwfn, p_ptt, next_list_idx_addr); p_ptt 5078 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_grc_dump_addr_range(p_hwfn, p_ptt, p_ptt 5110 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, struct fw_info *fw_info) p_ptt 5123 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_read_storm_fw_info(p_hwfn, p_ptt, storm_id, fw_info); p_ptt 5132 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 5141 drivers/net/ethernet/qlogic/qed/qed_debug.c status = qed_dbg_dev_init(p_hwfn, p_ptt); p_ptt 5207 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 5210 drivers/net/ethernet/qlogic/qed/qed_debug.c enum dbg_status status = qed_dbg_dev_init(p_hwfn, p_ptt); p_ptt 5224 drivers/net/ethernet/qlogic/qed/qed_debug.c return qed_grc_dump(p_hwfn, p_ptt, NULL, false, buf_size); p_ptt 5228 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 5239 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 5248 drivers/net/ethernet/qlogic/qed/qed_debug.c status = qed_grc_dump(p_hwfn, p_ptt, dump_buf, true, num_dumped_dwords); p_ptt 5257 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 5267 drivers/net/ethernet/qlogic/qed/qed_debug.c status = qed_dbg_dev_init(p_hwfn, p_ptt); p_ptt 5279 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, NULL, false); p_ptt 5289 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 5300 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 5309 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_update_blocks_reset_state(p_hwfn, p_ptt); p_ptt 5312 drivers/net/ethernet/qlogic/qed/qed_debug.c *num_dumped_dwords = qed_idle_chk_dump(p_hwfn, p_ptt, dump_buf, true); p_ptt 5321 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 5324 drivers/net/ethernet/qlogic/qed/qed_debug.c enum dbg_status status = qed_dbg_dev_init(p_hwfn, p_ptt); p_ptt 5331 drivers/net/ethernet/qlogic/qed/qed_debug.c return qed_mcp_trace_dump(p_hwfn, p_ptt, NULL, false, buf_size); p_ptt 5335 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 5345 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 5355 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_update_blocks_reset_state(p_hwfn, p_ptt); p_ptt 5359 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, dump_buf, true, num_dumped_dwords); p_ptt 5368 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 5371 drivers/net/ethernet/qlogic/qed/qed_debug.c enum dbg_status status = qed_dbg_dev_init(p_hwfn, p_ptt); p_ptt 5378 drivers/net/ethernet/qlogic/qed/qed_debug.c return qed_reg_fifo_dump(p_hwfn, p_ptt, NULL, false, buf_size); p_ptt 5382 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 5393 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 5402 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_update_blocks_reset_state(p_hwfn, p_ptt); p_ptt 5405 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, dump_buf, true, num_dumped_dwords); p_ptt 5414 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 5417 drivers/net/ethernet/qlogic/qed/qed_debug.c enum dbg_status status = qed_dbg_dev_init(p_hwfn, p_ptt); p_ptt 5424 drivers/net/ethernet/qlogic/qed/qed_debug.c return qed_igu_fifo_dump(p_hwfn, p_ptt, NULL, false, buf_size); p_ptt 5428 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 5439 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 5448 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_update_blocks_reset_state(p_hwfn, p_ptt); p_ptt 5451 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, dump_buf, true, num_dumped_dwords); p_ptt 5460 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 5463 drivers/net/ethernet/qlogic/qed/qed_debug.c enum dbg_status status = qed_dbg_dev_init(p_hwfn, p_ptt); p_ptt 5471 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, NULL, false, buf_size); p_ptt 5475 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 5487 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 5496 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_update_blocks_reset_state(p_hwfn, p_ptt); p_ptt 5499 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 5510 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 5513 drivers/net/ethernet/qlogic/qed/qed_debug.c enum dbg_status status = qed_dbg_dev_init(p_hwfn, p_ptt); p_ptt 5521 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_update_blocks_reset_state(p_hwfn, p_ptt); p_ptt 5523 drivers/net/ethernet/qlogic/qed/qed_debug.c *buf_size = qed_fw_asserts_dump(p_hwfn, p_ptt, NULL, false); p_ptt 5529 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 5541 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 5549 drivers/net/ethernet/qlogic/qed/qed_debug.c *num_dumped_dwords = qed_fw_asserts_dump(p_hwfn, p_ptt, dump_buf, true); p_ptt 5558 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 5564 drivers/net/ethernet/qlogic/qed/qed_debug.c enum dbg_status status = qed_dbg_dev_init(p_hwfn, p_ptt); p_ptt 5599 drivers/net/ethernet/qlogic/qed/qed_debug.c sts_val = qed_rd(p_hwfn, p_ptt, sts_addr); p_ptt 5613 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt, p_ptt 7725 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, u32 *size); p_ptt 7727 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, u32 *dump_buf, p_ptt 7851 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt, p_ptt 7874 drivers/net/ethernet/qlogic/qed/qed_debug.c rc = qed_features_lookup[feature_idx].get_size(p_hwfn, p_ptt, p_ptt 7884 drivers/net/ethernet/qlogic/qed/qed_debug.c perform_dump(p_hwfn, p_ptt, (u32 *)feature->dump_buf, p_ptt 8297 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt; p_ptt 8301 drivers/net/ethernet/qlogic/qed/qed_debug.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 8302 drivers/net/ethernet/qlogic/qed/qed_debug.c if (!p_ptt) p_ptt 8306 drivers/net/ethernet/qlogic/qed/qed_debug.c dbg_rc = qed_dbg_dump(p_hwfn, p_ptt, feature); p_ptt 8322 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 8330 drivers/net/ethernet/qlogic/qed/qed_debug.c struct qed_ptt *p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 8336 drivers/net/ethernet/qlogic/qed/qed_debug.c if (!p_ptt) p_ptt 8339 drivers/net/ethernet/qlogic/qed/qed_debug.c rc = qed_features_lookup[feature].get_size(p_hwfn, p_ptt, p_ptt 8344 drivers/net/ethernet/qlogic/qed/qed_debug.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 665 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_llh_set_engine_affin(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 672 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_mcp_get_engine_config(p_hwfn, p_ptt); p_ptt 719 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt) p_ptt 733 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, addr, p_hwfn->rel_pf_id); p_ptt 746 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_llh_set_engine_affin(p_hwfn, p_ptt); p_ptt 767 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 772 drivers/net/ethernet/qlogic/qed/qed_dev.c if (!p_ptt) p_ptt 799 drivers/net/ethernet/qlogic/qed/qed_dev.c val = qed_rd(p_hwfn, p_ptt, addr); p_ptt 801 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, addr, val); p_ptt 807 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 815 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 820 drivers/net/ethernet/qlogic/qed/qed_dev.c if (!p_ptt) p_ptt 835 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, NIG_REG_LLH_ENG_CLS_ROCE_QP_SEL, p_ptt 850 drivers/net/ethernet/qlogic/qed/qed_dev.c val = qed_rd(p_hwfn, p_ptt, addr); p_ptt 852 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, addr, val); p_ptt 855 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 870 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt, p_ptt 896 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_fid_pretend(p_hwfn, p_ptt, p_ptt 900 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, addr, p_details->enable); p_ptt 902 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_fid_pretend(p_hwfn, p_ptt, p_ptt 913 drivers/net/ethernet/qlogic/qed/qed_dev.c p_ptt, p_ptt 920 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_fid_pretend(p_hwfn, p_ptt, p_ptt 925 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, addr, p_details->mode); p_ptt 929 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, addr, p_details->protocol_type); p_ptt 933 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, addr, p_details->hdr_sel); p_ptt 938 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, addr, p_details->enable); p_ptt 941 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_fid_pretend(p_hwfn, p_ptt, p_ptt 950 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt, p_ptt 963 drivers/net/ethernet/qlogic/qed/qed_dev.c return qed_llh_access_filter(p_hwfn, p_ptt, abs_ppfid, filter_idx, p_ptt 969 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt, u8 abs_ppfid, u8 filter_idx) p_ptt 973 drivers/net/ethernet/qlogic/qed/qed_dev.c return qed_llh_access_filter(p_hwfn, p_ptt, abs_ppfid, filter_idx, p_ptt 981 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 987 drivers/net/ethernet/qlogic/qed/qed_dev.c if (!p_ptt) p_ptt 1009 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_llh_add_filter(p_hwfn, p_ptt, abs_ppfid, filter_idx, p_ptt 1026 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 1114 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 1120 drivers/net/ethernet/qlogic/qed/qed_dev.c if (!p_ptt) p_ptt 1155 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_llh_add_filter(p_hwfn, p_ptt, abs_ppfid, p_ptt 1172 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 1181 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 1187 drivers/net/ethernet/qlogic/qed/qed_dev.c if (!p_ptt) p_ptt 1205 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_llh_remove_filter(p_hwfn, p_ptt, abs_ppfid, p_ptt 1222 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 1231 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 1237 drivers/net/ethernet/qlogic/qed/qed_dev.c if (!p_ptt) p_ptt 1263 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_llh_remove_filter(p_hwfn, p_ptt, abs_ppfid, p_ptt 1280 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 1289 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt, enum BAR_ID bar_id) p_ptt 1298 drivers/net/ethernet/qlogic/qed/qed_dev.c val = qed_rd(p_hwfn, p_ptt, bar_reg); p_ptt 2089 drivers/net/ethernet/qlogic/qed/qed_dev.c int qed_qm_reconf(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 2100 drivers/net/ethernet/qlogic/qed/qed_dev.c b_rc = qed_send_qm_stop_cmd(p_hwfn, p_ptt, false, true, p_ptt 2110 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_qm_init_pf(p_hwfn, p_ptt, false); p_ptt 2113 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_init_run(p_hwfn, p_ptt, PHASE_QM_PF, p_hwfn->rel_pf_id, p_ptt 2120 drivers/net/ethernet/qlogic/qed/qed_dev.c b_rc = qed_send_qm_stop_cmd(p_hwfn, p_ptt, true, true, p_ptt 2419 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt, u16 id, bool is_vf) p_ptt 2447 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, XSDM_REG_OPERATION_GEN, command); p_ptt 2544 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt) p_ptt 2548 drivers/net/ethernet/qlogic/qed/qed_dev.c val = qed_rd(p_hwfn, p_ptt, PSWRQ2_REG_WR_MBS0); p_ptt 2599 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt, int hw_mode) p_ptt 2634 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_init_cache_line_size(p_hwfn, p_ptt); p_ptt 2636 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_init_run(p_hwfn, p_ptt, PHASE_ENGINE, ANY_PHASE_ID, hw_mode); p_ptt 2640 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, PSWRQ2_REG_L2P_VALIDATE_VFID, 0); p_ptt 2641 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, PGLUE_B_REG_USE_CLIENTID_IN_TAG, 1); p_ptt 2646 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_fid_pretend(p_hwfn, p_ptt, pf_id); p_ptt 2647 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_ROCE, 0x0); p_ptt 2648 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_TCP, 0x0); p_ptt 2651 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_fid_pretend(p_hwfn, p_ptt, p_hwfn->rel_pf_id); p_ptt 2657 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_fid_pretend(p_hwfn, p_ptt, (u16) concrete_fid); p_ptt 2658 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, CCFC_REG_STRONG_ENABLE_VF, 0x1); p_ptt 2659 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, CCFC_REG_WEAK_ENABLE_VF, 0x0); p_ptt 2660 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, TCFC_REG_STRONG_ENABLE_VF, 0x1); p_ptt 2661 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, TCFC_REG_WEAK_ENABLE_VF, 0x0); p_ptt 2664 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_fid_pretend(p_hwfn, p_ptt, p_hwfn->rel_pf_id); p_ptt 2671 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt, u32 pwm_region_size, u32 n_cpus) p_ptt 2690 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, DORQ_REG_PF_DPI_BIT_SHIFT, dpi_bit_shift); p_ptt 2713 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_hw_init_pf_doorbell_bar(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 2723 drivers/net/ethernet/qlogic/qed/qed_dev.c db_bar_size = qed_hw_bar_size(p_hwfn, p_ptt, BAR_ID_1); p_ptt 2761 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_hw_init_dpi_size(p_hwfn, p_ptt, pwm_regsize, n_cpus); p_ptt 2772 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_hw_init_dpi_size(p_hwfn, p_ptt, pwm_regsize, n_cpus); p_ptt 2775 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_rdma_dpm_bar(p_hwfn, p_ptt); p_ptt 2801 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, DORQ_REG_PF_ICID_BIT_SHIFT_NORM, pf_dems_shift); p_ptt 2802 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, DORQ_REG_PF_MIN_ADDR_REG1, min_addr_reg1); p_ptt 2808 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt, int hw_mode) p_ptt 2816 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_init_run(p_hwfn, p_ptt, PHASE_PORT, p_hwfn->port_id, hw_mode); p_ptt 2820 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, PGLUE_B_REG_MASTER_WRITE_PAD_ENABLE, 0); p_ptt 2826 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt, p_ptt 2847 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_cxt_hw_init_pf(p_hwfn, p_ptt); p_ptt 2880 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_dmae_sanity(p_hwfn, p_ptt, "pf_phase"); p_ptt 2885 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_init_run(p_hwfn, p_ptt, PHASE_PF, rel_pf_id, hw_mode); p_ptt 2890 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_init_run(p_hwfn, p_ptt, PHASE_QM_PF, rel_pf_id, hw_mode); p_ptt 2895 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_int_igu_init_pure_rt(p_hwfn, p_ptt, true, true); p_ptt 2897 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_hw_init_pf_doorbell_bar(p_hwfn, p_ptt); p_ptt 2903 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_llh_hw_init_pf(p_hwfn, p_ptt); p_ptt 2910 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_int_igu_enable(p_hwfn, p_ptt, int_mode); p_ptt 2913 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_sp_pf_start(p_hwfn, p_ptt, p_tunn, p_ptt 2920 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_TAG1, BIT(2)); p_ptt 2921 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, p_ptt 2930 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt, bool b_enable) p_ptt 2935 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, PGLUE_B_REG_INTERNAL_PFID_ENABLE_MASTER, set_val); p_ptt 2939 drivers/net/ethernet/qlogic/qed/qed_dev.c val = qed_rd(p_hwfn, p_ptt, p_ptt 2991 drivers/net/ethernet/qlogic/qed/qed_dev.c static void qed_pglueb_clear_err(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 2993 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, PGLUE_B_REG_WAS_ERROR_PF_31_0_CLR, p_ptt 3215 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 3220 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, TM_REG_PF_ENABLE_CONN, 0x0); p_ptt 3221 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, TM_REG_PF_ENABLE_TASK, 0x0); p_ptt 3227 drivers/net/ethernet/qlogic/qed/qed_dev.c if ((!qed_rd(p_hwfn, p_ptt, p_ptt 3229 drivers/net/ethernet/qlogic/qed/qed_dev.c (!qed_rd(p_hwfn, p_ptt, TM_REG_PF_SCAN_ACTIVE_TASK))) p_ptt 3243 drivers/net/ethernet/qlogic/qed/qed_dev.c (u8)qed_rd(p_hwfn, p_ptt, TM_REG_PF_SCAN_ACTIVE_CONN), p_ptt 3244 drivers/net/ethernet/qlogic/qed/qed_dev.c (u8)qed_rd(p_hwfn, p_ptt, TM_REG_PF_SCAN_ACTIVE_TASK)); p_ptt 3253 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt = p_hwfn->p_main_ptt; p_ptt 3255 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_hw_timers_stop(cdev, p_hwfn, p_ptt); p_ptt 3262 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt; p_ptt 3268 drivers/net/ethernet/qlogic/qed/qed_dev.c p_ptt = p_hwfn->p_main_ptt; p_ptt 3289 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_mcp_unload_req(p_hwfn, p_ptt); p_ptt 3311 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, p_ptt 3314 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_TCP, 0x0); p_ptt 3315 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_UDP, 0x0); p_ptt 3316 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_FCOE, 0x0); p_ptt 3317 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_ROCE, 0x0); p_ptt 3318 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_OPENFLOW, 0x0); p_ptt 3320 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_hw_timers_stop(cdev, p_hwfn, p_ptt); p_ptt 3323 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_int_igu_disable_int(p_hwfn, p_ptt); p_ptt 3325 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, IGU_REG_LEADING_EDGE_LATCH, 0); p_ptt 3326 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, IGU_REG_TRAILING_EDGE_LATCH, 0); p_ptt 3328 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_int_igu_init_pure_rt(p_hwfn, p_ptt, false, true); p_ptt 3334 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, DORQ_REG_PF_DB_ENABLE, 0); p_ptt 3335 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, QM_REG_PF_EN, 0); p_ptt 3344 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_mcp_unload_done(p_hwfn, p_ptt); p_ptt 3356 drivers/net/ethernet/qlogic/qed/qed_dev.c p_ptt = QED_LEADING_HWFN(cdev)->p_main_ptt; p_ptt 3363 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_pglueb_set_pfid_enable(p_hwfn, p_ptt, false); p_ptt 3381 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt; p_ptt 3387 drivers/net/ethernet/qlogic/qed/qed_dev.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 3388 drivers/net/ethernet/qlogic/qed/qed_dev.c if (!p_ptt) p_ptt 3394 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, p_ptt 3397 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_TCP, 0x0); p_ptt 3398 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_UDP, 0x0); p_ptt 3399 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_FCOE, 0x0); p_ptt 3400 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_ROCE, 0x0); p_ptt 3401 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_OPENFLOW, 0x0); p_ptt 3403 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_int_igu_init_pure_rt(p_hwfn, p_ptt, false, false); p_ptt 3407 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 3415 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt; p_ptt 3420 drivers/net/ethernet/qlogic/qed/qed_dev.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 3421 drivers/net/ethernet/qlogic/qed/qed_dev.c if (!p_ptt) p_ptt 3426 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, p_hwfn->rdma_prs_search_reg, 0x1); p_ptt 3429 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_wr(p_hwfn, p_ptt, NIG_REG_RX_LLH_BRB_GATE_DNTFWD_PERPF, 0x0); p_ptt 3430 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 3586 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt, p_ptt 3592 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_mcp_set_resc_max_val(p_hwfn, p_ptt, res_id, p_ptt 3610 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_hw_set_soft_resc_size(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 3639 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = __qed_hw_set_soft_resc_size(p_hwfn, p_ptt, res_id, p_ptt 3819 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt) p_ptt 3832 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_mcp_get_ppfid_bitmap(p_hwfn, p_ptt); p_ptt 3848 drivers/net/ethernet/qlogic/qed/qed_dev.c static int qed_hw_get_resc(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 3867 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_mcp_resc_lock(p_hwfn, p_ptt, &resc_lock_params); p_ptt 3878 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_hw_set_soft_resc_size(p_hwfn, p_ptt); p_ptt 3886 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_mcp_resc_unlock(p_hwfn, p_ptt, p_ptt 3899 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_mcp_resc_unlock(p_hwfn, p_ptt, &resc_unlock_params); p_ptt 3907 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_hw_get_ppfid_bitmap(p_hwfn, p_ptt); p_ptt 3922 drivers/net/ethernet/qlogic/qed/qed_dev.c if (qed_int_igu_reset_cam(p_hwfn, p_ptt)) p_ptt 3937 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_mcp_resc_unlock(p_hwfn, p_ptt, &resc_unlock_params); p_ptt 3941 drivers/net/ethernet/qlogic/qed/qed_dev.c static int qed_hw_get_nvm_info(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 3949 drivers/net/ethernet/qlogic/qed/qed_dev.c nvm_cfg_addr = qed_rd(p_hwfn, p_ptt, MISC_REG_GEN_PURP_CR0); p_ptt 3958 drivers/net/ethernet/qlogic/qed/qed_dev.c nvm_cfg1_offset = qed_rd(p_hwfn, p_ptt, nvm_cfg_addr + 4); p_ptt 3964 drivers/net/ethernet/qlogic/qed/qed_dev.c core_cfg = qed_rd(p_hwfn, p_ptt, addr); p_ptt 4011 drivers/net/ethernet/qlogic/qed/qed_dev.c link_temp = qed_rd(p_hwfn, p_ptt, p_ptt 4020 drivers/net/ethernet/qlogic/qed/qed_dev.c link_temp = qed_rd(p_hwfn, p_ptt, p_ptt 4067 drivers/net/ethernet/qlogic/qed/qed_dev.c link_temp = qed_rd(p_hwfn, p_ptt, port_cfg_addr + p_ptt 4114 drivers/net/ethernet/qlogic/qed/qed_dev.c generic_cont0 = qed_rd(p_hwfn, p_ptt, addr); p_ptt 4163 drivers/net/ethernet/qlogic/qed/qed_dev.c device_capabilities = qed_rd(p_hwfn, p_ptt, addr); p_ptt 4177 drivers/net/ethernet/qlogic/qed/qed_dev.c return qed_mcp_fill_shmem_func_info(p_hwfn, p_ptt); p_ptt 4180 drivers/net/ethernet/qlogic/qed/qed_dev.c static void qed_get_num_funcs(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 4196 drivers/net/ethernet/qlogic/qed/qed_dev.c reg_function_hide = qed_rd(p_hwfn, p_ptt, MISCS_REG_FUNCTION_HIDE); p_ptt 4241 drivers/net/ethernet/qlogic/qed/qed_dev.c static void qed_hw_info_port_num(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 4254 drivers/net/ethernet/qlogic/qed/qed_dev.c port_mode = qed_rd(p_hwfn, p_ptt, MISC_REG_PORT_MODE); p_ptt 4274 drivers/net/ethernet/qlogic/qed/qed_dev.c global_offsize = qed_rd(p_hwfn, p_ptt, addr); p_ptt 4277 drivers/net/ethernet/qlogic/qed/qed_dev.c cdev->num_ports = (u8)qed_rd(p_hwfn, p_ptt, addr); p_ptt 4280 drivers/net/ethernet/qlogic/qed/qed_dev.c static void qed_get_eee_caps(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 4290 drivers/net/ethernet/qlogic/qed/qed_dev.c eee_status = qed_rd(p_hwfn, p_ptt, p_hwfn->mcp_info->port_addr + p_ptt 4303 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt, p_ptt 4316 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_hw_info_port_num(p_hwfn, p_ptt); p_ptt 4318 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_mcp_get_capabilities(p_hwfn, p_ptt); p_ptt 4320 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_hw_get_nvm_info(p_hwfn, p_ptt); p_ptt 4322 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_int_igu_read_cam(p_hwfn, p_ptt); p_ptt 4337 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_mcp_cmd_port_init(p_hwfn, p_ptt); p_ptt 4339 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_get_eee_caps(p_hwfn, p_ptt); p_ptt 4341 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_mcp_read_ufp_config(p_hwfn, p_ptt); p_ptt 4357 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_get_num_funcs(p_hwfn, p_ptt); p_ptt 4362 drivers/net/ethernet/qlogic/qed/qed_dev.c return qed_hw_get_resc(p_hwfn, p_ptt); p_ptt 4365 drivers/net/ethernet/qlogic/qed/qed_dev.c static int qed_get_dev_info(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 4389 drivers/net/ethernet/qlogic/qed/qed_dev.c cdev->chip_num = (u16)qed_rd(p_hwfn, p_ptt, MISCS_REG_CHIP_NUM); p_ptt 4390 drivers/net/ethernet/qlogic/qed/qed_dev.c cdev->chip_rev = (u16)qed_rd(p_hwfn, p_ptt, MISCS_REG_CHIP_REV); p_ptt 4395 drivers/net/ethernet/qlogic/qed/qed_dev.c tmp = qed_rd(p_hwfn, p_ptt, MISCS_REG_CMT_ENABLED_FOR_PAIR); p_ptt 4404 drivers/net/ethernet/qlogic/qed/qed_dev.c cdev->chip_bond_id = qed_rd(p_hwfn, p_ptt, p_ptt 4407 drivers/net/ethernet/qlogic/qed/qed_dev.c cdev->chip_metal = (u16)qed_rd(p_hwfn, p_ptt, MISCS_REG_CHIP_METAL); p_ptt 4939 drivers/net/ethernet/qlogic/qed/qed_dev.c static int qed_set_coalesce(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, p_ptt 4954 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_memcpy_to(p_hwfn, p_ptt, hw_addr, p_eth_qzone, eth_qzone_size); p_ptt 4963 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt; p_ptt 4971 drivers/net/ethernet/qlogic/qed/qed_dev.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 4972 drivers/net/ethernet/qlogic/qed/qed_dev.c if (!p_ptt) p_ptt 4976 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_set_rxq_coalesce(p_hwfn, p_ptt, rx_coal, p_cid); p_ptt 4983 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_set_txq_coalesce(p_hwfn, p_ptt, tx_coal, p_cid); p_ptt 4989 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 4994 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt, p_ptt 5015 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_int_set_timer_res(p_hwfn, p_ptt, timer_res, p_ptt 5023 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_set_coalesce(p_hwfn, p_ptt, address, ð_qzone, p_ptt 5033 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt, p_ptt 5054 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_int_set_timer_res(p_hwfn, p_ptt, timer_res, p_ptt 5062 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_set_coalesce(p_hwfn, p_ptt, address, ð_qzone, p_ptt 5073 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt, p_ptt 5086 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_init_vport_wfq(p_hwfn, p_ptt, p_ptt 5103 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt, p_ptt 5113 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_init_vport_wfq(p_hwfn, p_ptt, p_ptt 5196 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt, u16 vp_id, u32 rate) p_ptt 5212 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_configure_wfq_for_all_vports(p_hwfn, p_ptt, p_ptt 5222 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt, p_ptt 5248 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_configure_wfq_for_all_vports(p_hwfn, p_ptt, min_pf_rate); p_ptt 5250 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_disable_wfq_for_all_vports(p_hwfn, p_ptt, min_pf_rate); p_ptt 5272 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt; p_ptt 5274 drivers/net/ethernet/qlogic/qed/qed_dev.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 5275 drivers/net/ethernet/qlogic/qed/qed_dev.c if (!p_ptt) p_ptt 5278 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = __qed_configure_vport_wfq(p_hwfn, p_ptt, vp_id, rate); p_ptt 5281 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 5285 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 5293 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt, u32 min_pf_rate) p_ptt 5307 drivers/net/ethernet/qlogic/qed/qed_dev.c __qed_configure_vp_wfq_on_link_change(p_hwfn, p_ptt, p_ptt 5313 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt, p_ptt 5334 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_init_pf_rl(p_hwfn, p_ptt, p_hwfn->rel_pf_id, p_ptt 5358 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt; p_ptt 5362 drivers/net/ethernet/qlogic/qed/qed_dev.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 5363 drivers/net/ethernet/qlogic/qed/qed_dev.c if (!p_ptt) p_ptt 5366 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = __qed_configure_pf_max_bandwidth(p_hwfn, p_ptt, p_ptt 5369 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 5379 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt, p_ptt 5393 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_init_pf_wfq(p_hwfn, p_ptt, p_hwfn->rel_pf_id, min_bw); p_ptt 5416 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_ptt *p_ptt; p_ptt 5420 drivers/net/ethernet/qlogic/qed/qed_dev.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 5421 drivers/net/ethernet/qlogic/qed/qed_dev.c if (!p_ptt) p_ptt 5424 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = __qed_configure_pf_min_bandwidth(p_hwfn, p_ptt, p_ptt 5427 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 5435 drivers/net/ethernet/qlogic/qed/qed_dev.c p_ptt, p_ptt 5439 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 5445 drivers/net/ethernet/qlogic/qed/qed_dev.c void qed_clean_wfq_db(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 5452 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_disable_wfq_for_all_vports(p_hwfn, p_ptt, p_ptt 224 drivers/net/ethernet/qlogic/qed/qed_dev_api.h struct qed_ptt *p_ptt); p_ptt 270 drivers/net/ethernet/qlogic/qed/qed_dev_api.h struct qed_ptt *p_ptt, p_ptt 286 drivers/net/ethernet/qlogic/qed/qed_dev_api.h int qed_dmae_grc2host(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, p_ptt 302 drivers/net/ethernet/qlogic/qed/qed_dev_api.h struct qed_ptt *p_ptt, p_ptt 490 drivers/net/ethernet/qlogic/qed/qed_dev_api.h struct qed_ptt *p_ptt, u16 id, bool is_vf); p_ptt 532 drivers/net/ethernet/qlogic/qed/qed_dev_api.h struct qed_ptt *p_ptt, bool b_enable); p_ptt 362 drivers/net/ethernet/qlogic/qed/qed_fcoe.c struct qed_ptt *p_ptt, p_ptt 384 drivers/net/ethernet/qlogic/qed/qed_fcoe.c active_segs = qed_rd(p_hwfn, p_ptt, TM_REG_PF_ENABLE_TASK); p_ptt 386 drivers/net/ethernet/qlogic/qed/qed_fcoe.c qed_wr(p_hwfn, p_ptt, TM_REG_PF_ENABLE_TASK, active_segs); p_ptt 666 drivers/net/ethernet/qlogic/qed/qed_fcoe.c struct qed_ptt *p_ptt, p_ptt 675 drivers/net/ethernet/qlogic/qed/qed_fcoe.c qed_memcpy_from(p_hwfn, p_ptt, &tstats, tstats_addr, sizeof(tstats)); p_ptt 698 drivers/net/ethernet/qlogic/qed/qed_fcoe.c struct qed_ptt *p_ptt, p_ptt 707 drivers/net/ethernet/qlogic/qed/qed_fcoe.c qed_memcpy_from(p_hwfn, p_ptt, &pstats, pstats_addr, sizeof(pstats)); p_ptt 721 drivers/net/ethernet/qlogic/qed/qed_fcoe.c struct qed_ptt *p_ptt; p_ptt 725 drivers/net/ethernet/qlogic/qed/qed_fcoe.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 727 drivers/net/ethernet/qlogic/qed/qed_fcoe.c if (!p_ptt) { p_ptt 732 drivers/net/ethernet/qlogic/qed/qed_fcoe.c _qed_fcoe_get_tstats(p_hwfn, p_ptt, p_stats); p_ptt 733 drivers/net/ethernet/qlogic/qed/qed_fcoe.c _qed_fcoe_get_pstats(p_hwfn, p_ptt, p_stats); p_ptt 735 drivers/net/ethernet/qlogic/qed/qed_fcoe.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 795 drivers/net/ethernet/qlogic/qed/qed_fcoe.c struct qed_ptt *p_ptt; p_ptt 809 drivers/net/ethernet/qlogic/qed/qed_fcoe.c p_ptt = qed_ptt_acquire(QED_AFFIN_HWFN(cdev)); p_ptt 810 drivers/net/ethernet/qlogic/qed/qed_fcoe.c if (!p_ptt) p_ptt 814 drivers/net/ethernet/qlogic/qed/qed_fcoe.c rc = qed_sp_fcoe_func_stop(QED_AFFIN_HWFN(cdev), p_ptt, p_ptt 817 drivers/net/ethernet/qlogic/qed/qed_fcoe.c qed_ptt_release(QED_AFFIN_HWFN(cdev), p_ptt); p_ptt 3008 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, u32 *buf, u32 addr, u32 len); p_ptt 3026 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, struct fw_info *fw_info); p_ptt 3040 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 3064 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 3082 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 3101 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 3120 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 3141 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 3164 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 3182 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 3202 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 3221 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 3241 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 3261 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 3280 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 3297 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 3315 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 3336 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 4014 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 4028 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, u8 pf_id, u16 pf_wfq); p_ptt 4041 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, u8 pf_id, u32 pf_rl); p_ptt 4056 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 4071 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 4088 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 4100 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, u16 dest_port); p_ptt 4110 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, bool vxlan_enable); p_ptt 4121 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 4132 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, u16 dest_port); p_ptt 4142 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 4146 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, bool enable); p_ptt 4155 drivers/net/ethernet/qlogic/qed/qed_hsi.h void qed_gft_disable(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, u16 pf_id); p_ptt 4170 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 4184 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt); p_ptt 4243 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct qed_ptt *p_ptt, p_ptt 97 drivers/net/ethernet/qlogic/qed/qed_hw.c struct qed_ptt *p_ptt; p_ptt 101 drivers/net/ethernet/qlogic/qed/qed_hw.c p_ptt = &p_hwfn->p_ptt_pool->ptts[i]; p_ptt 102 drivers/net/ethernet/qlogic/qed/qed_hw.c p_ptt->pxp.offset = QED_BAR_INVALID_OFFSET; p_ptt 114 drivers/net/ethernet/qlogic/qed/qed_hw.c struct qed_ptt *p_ptt; p_ptt 122 drivers/net/ethernet/qlogic/qed/qed_hw.c p_ptt = list_first_entry(&p_hwfn->p_ptt_pool->free_list, p_ptt 124 drivers/net/ethernet/qlogic/qed/qed_hw.c list_del(&p_ptt->list_entry); p_ptt 129 drivers/net/ethernet/qlogic/qed/qed_hw.c "allocated ptt %d\n", p_ptt->idx); p_ptt 130 drivers/net/ethernet/qlogic/qed/qed_hw.c return p_ptt; p_ptt 141 drivers/net/ethernet/qlogic/qed/qed_hw.c void qed_ptt_release(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 144 drivers/net/ethernet/qlogic/qed/qed_hw.c list_add(&p_ptt->list_entry, &p_hwfn->p_ptt_pool->free_list); p_ptt 148 drivers/net/ethernet/qlogic/qed/qed_hw.c u32 qed_ptt_get_hw_addr(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 151 drivers/net/ethernet/qlogic/qed/qed_hw.c return le32_to_cpu(p_ptt->pxp.offset) << 2; p_ptt 154 drivers/net/ethernet/qlogic/qed/qed_hw.c static u32 qed_ptt_config_addr(struct qed_ptt *p_ptt) p_ptt 157 drivers/net/ethernet/qlogic/qed/qed_hw.c p_ptt->idx * sizeof(struct pxp_ptt_entry); p_ptt 160 drivers/net/ethernet/qlogic/qed/qed_hw.c u32 qed_ptt_get_bar_addr(struct qed_ptt *p_ptt) p_ptt 163 drivers/net/ethernet/qlogic/qed/qed_hw.c p_ptt->idx * PXP_EXTERNAL_BAR_PF_WINDOW_SINGLE_SIZE; p_ptt 167 drivers/net/ethernet/qlogic/qed/qed_hw.c struct qed_ptt *p_ptt, u32 new_hw_addr) p_ptt 171 drivers/net/ethernet/qlogic/qed/qed_hw.c prev_hw_addr = qed_ptt_get_hw_addr(p_hwfn, p_ptt); p_ptt 179 drivers/net/ethernet/qlogic/qed/qed_hw.c p_ptt->idx, new_hw_addr); p_ptt 182 drivers/net/ethernet/qlogic/qed/qed_hw.c p_ptt->pxp.offset = cpu_to_le32(new_hw_addr >> 2); p_ptt 185 drivers/net/ethernet/qlogic/qed/qed_hw.c qed_ptt_config_addr(p_ptt) + p_ptt 187 drivers/net/ethernet/qlogic/qed/qed_hw.c le32_to_cpu(p_ptt->pxp.offset)); p_ptt 191 drivers/net/ethernet/qlogic/qed/qed_hw.c struct qed_ptt *p_ptt, u32 hw_addr) p_ptt 193 drivers/net/ethernet/qlogic/qed/qed_hw.c u32 win_hw_addr = qed_ptt_get_hw_addr(p_hwfn, p_ptt); p_ptt 198 drivers/net/ethernet/qlogic/qed/qed_hw.c if (p_ptt->hwfn_id != p_hwfn->my_id) p_ptt 201 drivers/net/ethernet/qlogic/qed/qed_hw.c p_ptt->idx, p_ptt->hwfn_id, p_hwfn->my_id); p_ptt 206 drivers/net/ethernet/qlogic/qed/qed_hw.c qed_ptt_set_win(p_hwfn, p_ptt, hw_addr); p_ptt 210 drivers/net/ethernet/qlogic/qed/qed_hw.c return qed_ptt_get_bar_addr(p_ptt) + offset; p_ptt 226 drivers/net/ethernet/qlogic/qed/qed_hw.c struct qed_ptt *p_ptt, p_ptt 229 drivers/net/ethernet/qlogic/qed/qed_hw.c u32 bar_addr = qed_set_ptt(p_hwfn, p_ptt, hw_addr); p_ptt 238 drivers/net/ethernet/qlogic/qed/qed_hw.c struct qed_ptt *p_ptt, p_ptt 241 drivers/net/ethernet/qlogic/qed/qed_hw.c u32 bar_addr = qed_set_ptt(p_hwfn, p_ptt, hw_addr); p_ptt 252 drivers/net/ethernet/qlogic/qed/qed_hw.c struct qed_ptt *p_ptt, p_ptt 264 drivers/net/ethernet/qlogic/qed/qed_hw.c qed_ptt_set_win(p_hwfn, p_ptt, hw_addr + done); p_ptt 265 drivers/net/ethernet/qlogic/qed/qed_hw.c hw_offset = qed_ptt_get_bar_addr(p_ptt); p_ptt 285 drivers/net/ethernet/qlogic/qed/qed_hw.c struct qed_ptt *p_ptt, void *dest, u32 hw_addr, size_t n) p_ptt 291 drivers/net/ethernet/qlogic/qed/qed_hw.c qed_memcpy_hw(p_hwfn, p_ptt, dest, hw_addr, n, false); p_ptt 295 drivers/net/ethernet/qlogic/qed/qed_hw.c struct qed_ptt *p_ptt, u32 hw_addr, void *src, size_t n) p_ptt 301 drivers/net/ethernet/qlogic/qed/qed_hw.c qed_memcpy_hw(p_hwfn, p_ptt, src, hw_addr, n, true); p_ptt 304 drivers/net/ethernet/qlogic/qed/qed_hw.c void qed_fid_pretend(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, u16 fid) p_ptt 321 drivers/net/ethernet/qlogic/qed/qed_hw.c p_ptt->pxp.pretend.control = cpu_to_le16(control); p_ptt 322 drivers/net/ethernet/qlogic/qed/qed_hw.c p_ptt->pxp.pretend.fid.concrete_fid.fid = cpu_to_le16(fid); p_ptt 325 drivers/net/ethernet/qlogic/qed/qed_hw.c qed_ptt_config_addr(p_ptt) + p_ptt 327 drivers/net/ethernet/qlogic/qed/qed_hw.c *(u32 *)&p_ptt->pxp.pretend); p_ptt 331 drivers/net/ethernet/qlogic/qed/qed_hw.c struct qed_ptt *p_ptt, u8 port_id) p_ptt 339 drivers/net/ethernet/qlogic/qed/qed_hw.c p_ptt->pxp.pretend.control = cpu_to_le16(control); p_ptt 342 drivers/net/ethernet/qlogic/qed/qed_hw.c qed_ptt_config_addr(p_ptt) + p_ptt 344 drivers/net/ethernet/qlogic/qed/qed_hw.c *(u32 *)&p_ptt->pxp.pretend); p_ptt 347 drivers/net/ethernet/qlogic/qed/qed_hw.c void qed_port_unpretend(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 355 drivers/net/ethernet/qlogic/qed/qed_hw.c p_ptt->pxp.pretend.control = cpu_to_le16(control); p_ptt 358 drivers/net/ethernet/qlogic/qed/qed_hw.c qed_ptt_config_addr(p_ptt) + p_ptt 360 drivers/net/ethernet/qlogic/qed/qed_hw.c *(u32 *)&p_ptt->pxp.pretend); p_ptt 364 drivers/net/ethernet/qlogic/qed/qed_hw.c struct qed_ptt *p_ptt, u8 port_id, u16 fid) p_ptt 375 drivers/net/ethernet/qlogic/qed/qed_hw.c p_ptt->pxp.pretend.control = cpu_to_le16(control); p_ptt 376 drivers/net/ethernet/qlogic/qed/qed_hw.c p_ptt->pxp.pretend.fid.concrete_fid.fid = cpu_to_le16(fid); p_ptt 378 drivers/net/ethernet/qlogic/qed/qed_hw.c qed_ptt_config_addr(p_ptt) + p_ptt 380 drivers/net/ethernet/qlogic/qed/qed_hw.c *(u32 *)&p_ptt->pxp.pretend); p_ptt 480 drivers/net/ethernet/qlogic/qed/qed_hw.c struct qed_ptt *p_ptt) p_ptt 526 drivers/net/ethernet/qlogic/qed/qed_hw.c qed_wr(p_hwfn, p_ptt, p_ptt 532 drivers/net/ethernet/qlogic/qed/qed_hw.c qed_wr(p_hwfn, p_ptt, qed_dmae_idx_to_go_cmd(idx_cmd), DMAE_GO_VALUE); p_ptt 636 drivers/net/ethernet/qlogic/qed/qed_hw.c struct qed_ptt *p_ptt, p_ptt 682 drivers/net/ethernet/qlogic/qed/qed_hw.c qed_dmae_post_command(p_hwfn, p_ptt); p_ptt 702 drivers/net/ethernet/qlogic/qed/qed_hw.c struct qed_ptt *p_ptt, p_ptt 765 drivers/net/ethernet/qlogic/qed/qed_hw.c p_ptt, p_ptt 783 drivers/net/ethernet/qlogic/qed/qed_hw.c struct qed_ptt *p_ptt, p_ptt 793 drivers/net/ethernet/qlogic/qed/qed_hw.c rc = qed_dmae_execute_command(p_hwfn, p_ptt, source_addr, p_ptt 805 drivers/net/ethernet/qlogic/qed/qed_hw.c struct qed_ptt *p_ptt, p_ptt 816 drivers/net/ethernet/qlogic/qed/qed_hw.c rc = qed_dmae_execute_command(p_hwfn, p_ptt, grc_addr_in_dw, p_ptt 827 drivers/net/ethernet/qlogic/qed/qed_hw.c struct qed_ptt *p_ptt, p_ptt 836 drivers/net/ethernet/qlogic/qed/qed_hw.c rc = qed_dmae_execute_command(p_hwfn, p_ptt, source_addr, p_ptt 848 drivers/net/ethernet/qlogic/qed/qed_hw.c struct qed_ptt *p_ptt, const char *phase) p_ptt 883 drivers/net/ethernet/qlogic/qed/qed_hw.c rc = qed_dmae_host2host(p_hwfn, p_ptt, p_phys, p_phys + size, p_ptt 120 drivers/net/ethernet/qlogic/qed/qed_hw.h struct qed_ptt *p_ptt); p_ptt 130 drivers/net/ethernet/qlogic/qed/qed_hw.h u32 qed_ptt_get_bar_addr(struct qed_ptt *p_ptt); p_ptt 140 drivers/net/ethernet/qlogic/qed/qed_hw.h struct qed_ptt *p_ptt, p_ptt 163 drivers/net/ethernet/qlogic/qed/qed_hw.h struct qed_ptt *p_ptt, p_ptt 176 drivers/net/ethernet/qlogic/qed/qed_hw.h struct qed_ptt *p_ptt, p_ptt 190 drivers/net/ethernet/qlogic/qed/qed_hw.h struct qed_ptt *p_ptt, p_ptt 206 drivers/net/ethernet/qlogic/qed/qed_hw.h struct qed_ptt *p_ptt, p_ptt 222 drivers/net/ethernet/qlogic/qed/qed_hw.h struct qed_ptt *p_ptt, p_ptt 234 drivers/net/ethernet/qlogic/qed/qed_hw.h struct qed_ptt *p_ptt, p_ptt 245 drivers/net/ethernet/qlogic/qed/qed_hw.h struct qed_ptt *p_ptt); p_ptt 257 drivers/net/ethernet/qlogic/qed/qed_hw.h struct qed_ptt *p_ptt, u8 port_id, u16 fid); p_ptt 316 drivers/net/ethernet/qlogic/qed/qed_hw.h struct qed_ptt *p_ptt, const char *phase); p_ptt 429 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c struct qed_ptt *p_ptt, p_ptt 535 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, PQ_INFO_RAM_GRC_ADDRESS(pq_id), p_ptt 752 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c struct qed_ptt *p_ptt) p_ptt 759 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c reg_val = qed_rd(p_hwfn, p_ptt, QM_REG_SDMCMDREADY); p_ptt 773 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c struct qed_ptt *p_ptt, p_ptt 776 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c if (!qed_poll_on_qm_cmd_ready(p_hwfn, p_ptt)) p_ptt 779 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, QM_REG_SDMCMDADDR, cmd_addr); p_ptt 780 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, QM_REG_SDMCMDDATALSB, cmd_data_lsb); p_ptt 781 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, QM_REG_SDMCMDDATAMSB, cmd_data_msb); p_ptt 782 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, QM_REG_SDMCMDGO, 1); p_ptt 783 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, QM_REG_SDMCMDGO, 0); p_ptt 785 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c return qed_poll_on_qm_cmd_ready(p_hwfn, p_ptt); p_ptt 849 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c struct qed_ptt *p_ptt, p_ptt 870 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_tx_pq_map_rt_init(p_hwfn, p_ptt, p_params, other_mem_size_4kb); p_ptt 895 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c struct qed_ptt *p_ptt, u8 pf_id, u16 pf_wfq) p_ptt 904 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, QM_REG_WFQPFWEIGHT + pf_id * 4, inc_val); p_ptt 910 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c struct qed_ptt *p_ptt, u8 pf_id, u32 pf_rl) p_ptt 920 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c p_ptt, QM_REG_RLPFCRD + pf_id * 4, (u32)QM_RL_CRD_REG_SIGN_BIT); p_ptt 921 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, QM_REG_RLPFINCVAL + pf_id * 4, inc_val); p_ptt 927 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c struct qed_ptt *p_ptt, p_ptt 944 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c p_ptt, p_ptt 952 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c struct qed_ptt *p_ptt, p_ptt 970 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c p_ptt, p_ptt 972 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, QM_REG_RLGLBLINCVAL + vport_id * 4, inc_val); p_ptt 978 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c struct qed_ptt *p_ptt, p_ptt 1006 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c if (!qed_send_qm_cmd(p_hwfn, p_ptt, QM_STOP_CMD_ADDR, p_ptt 1028 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c struct qed_ptt *p_ptt, u16 dest_port) p_ptt 1031 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, PRS_REG_VXLAN_PORT, dest_port); p_ptt 1034 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, NIG_REG_VXLAN_CTRL, dest_port); p_ptt 1037 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, PBF_REG_VXLAN_PORT, dest_port); p_ptt 1041 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c struct qed_ptt *p_ptt, bool vxlan_enable) p_ptt 1047 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c reg_val = qed_rd(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN); p_ptt 1050 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN, reg_val); p_ptt 1053 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_rd(p_hwfn, p_ptt, PRS_REG_OUTPUT_FORMAT_4_0_BB_K2); p_ptt 1057 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, PRS_REG_OUTPUT_FORMAT_4_0_BB_K2, p_ptt 1062 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c reg_val = qed_rd(p_hwfn, p_ptt, NIG_REG_ENC_TYPE_ENABLE); p_ptt 1065 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, NIG_REG_ENC_TYPE_ENABLE, reg_val); p_ptt 1069 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c p_ptt, DORQ_REG_L2_EDPM_TUNNEL_VXLAN_EN, vxlan_enable ? 1 : 0); p_ptt 1073 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c struct qed_ptt *p_ptt, p_ptt 1080 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c reg_val = qed_rd(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN); p_ptt 1085 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN, reg_val); p_ptt 1088 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_rd(p_hwfn, p_ptt, PRS_REG_OUTPUT_FORMAT_4_0_BB_K2); p_ptt 1092 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, PRS_REG_OUTPUT_FORMAT_4_0_BB_K2, p_ptt 1097 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c reg_val = qed_rd(p_hwfn, p_ptt, NIG_REG_ENC_TYPE_ENABLE); p_ptt 1102 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, NIG_REG_ENC_TYPE_ENABLE, reg_val); p_ptt 1106 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c p_ptt, p_ptt 1109 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c p_ptt, DORQ_REG_L2_EDPM_TUNNEL_GRE_IP_EN, ip_gre_enable ? 1 : 0); p_ptt 1113 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c struct qed_ptt *p_ptt, u16 dest_port) p_ptt 1116 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, PRS_REG_NGE_PORT, dest_port); p_ptt 1119 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, NIG_REG_NGE_PORT, dest_port); p_ptt 1122 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, PBF_REG_NGE_PORT, dest_port); p_ptt 1126 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c struct qed_ptt *p_ptt, p_ptt 1133 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c reg_val = qed_rd(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN); p_ptt 1138 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN, reg_val); p_ptt 1141 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_rd(p_hwfn, p_ptt, PRS_REG_OUTPUT_FORMAT_4_0_BB_K2); p_ptt 1145 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, PRS_REG_OUTPUT_FORMAT_4_0_BB_K2, p_ptt 1150 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, NIG_REG_NGE_ETH_ENABLE, p_ptt 1152 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, NIG_REG_NGE_IP_ENABLE, ip_geneve_enable ? 1 : 0); p_ptt 1160 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c p_ptt, p_ptt 1164 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c p_ptt, p_ptt 1173 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c struct qed_ptt *p_ptt, bool enable) p_ptt 1178 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c reg_val = qed_rd(p_hwfn, p_ptt, PRS_REG_MSG_INFO); p_ptt 1189 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c p_ptt, p_ptt 1198 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, PRS_REG_MSG_INFO, reg_val); p_ptt 1209 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c void qed_gft_disable(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, u16 pf_id) p_ptt 1212 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_GFT, 0); p_ptt 1217 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, PRS_REG_GFT_CAM + CAM_LINE_SIZE * pf_id, 0); p_ptt 1221 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c p_ptt, PRS_REG_GFT_PROFILE_MASK_RAM + RAM_LINE_SIZE * pf_id, 0); p_ptt 1223 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c p_ptt, p_ptt 1229 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c struct qed_ptt *p_ptt, p_ptt 1250 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, PRS_REG_CM_HDR_GFT, reg_val); p_ptt 1253 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, PRS_REG_LOAD_L2_FILTER, 0); p_ptt 1256 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_TENANT_ID, 0); p_ptt 1295 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, PRS_REG_GFT_CAM + CAM_LINE_SIZE * pf_id, p_ptt 1298 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_rd(p_hwfn, p_ptt, PRS_REG_GFT_CAM + CAM_LINE_SIZE * pf_id); p_ptt 1336 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c p_ptt, PRS_REG_SEARCH_NON_IP_AS_GFT, search_non_ip_as_gft); p_ptt 1338 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c p_ptt, p_ptt 1342 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c p_ptt, p_ptt 1348 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c p_ptt, p_ptt 1352 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c p_ptt, p_ptt 1357 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, PRS_REG_SEARCH_GFT, 1); p_ptt 1491 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c struct qed_ptt *p_ptt) p_ptt 1497 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, CDU_REG_CCFC_CTX_VALID0, ctx_validation); p_ptt 1501 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, CDU_REG_CCFC_CTX_VALID1, ctx_validation); p_ptt 1505 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, CDU_REG_TCFC_CTX_VALID0, ctx_validation); p_ptt 1536 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c struct qed_ptt *p_ptt, p_ptt 1544 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_wr(p_hwfn, p_ptt, ram_addr, assert_level[storm_id]); p_ptt 104 drivers/net/ethernet/qlogic/qed/qed_init_ops.c struct qed_ptt *p_ptt, p_ptt 123 drivers/net/ethernet/qlogic/qed/qed_init_ops.c qed_wr(p_hwfn, p_ptt, addr + (i << 2), p_init_val[i]); p_ptt 132 drivers/net/ethernet/qlogic/qed/qed_init_ops.c rc = qed_dmae_host2grc(p_hwfn, p_ptt, p_ptt 177 drivers/net/ethernet/qlogic/qed/qed_init_ops.c struct qed_ptt *p_ptt, p_ptt 193 drivers/net/ethernet/qlogic/qed/qed_init_ops.c qed_wr(p_hwfn, p_ptt, addr + (i << 2), data[i]); p_ptt 195 drivers/net/ethernet/qlogic/qed/qed_init_ops.c rc = qed_dmae_host2grc(p_hwfn, p_ptt, p_ptt 204 drivers/net/ethernet/qlogic/qed/qed_init_ops.c struct qed_ptt *p_ptt, p_ptt 219 drivers/net/ethernet/qlogic/qed/qed_init_ops.c return qed_dmae_host2grc(p_hwfn, p_ptt, p_ptt 225 drivers/net/ethernet/qlogic/qed/qed_init_ops.c struct qed_ptt *p_ptt, p_ptt 231 drivers/net/ethernet/qlogic/qed/qed_init_ops.c qed_wr(p_hwfn, p_ptt, addr, fill); p_ptt 235 drivers/net/ethernet/qlogic/qed/qed_init_ops.c struct qed_ptt *p_ptt, p_ptt 266 drivers/net/ethernet/qlogic/qed/qed_init_ops.c rc = qed_init_array_dmae(p_hwfn, p_ptt, addr, 0, p_ptt 284 drivers/net/ethernet/qlogic/qed/qed_init_ops.c rc = qed_init_array_dmae(p_hwfn, p_ptt, addr, p_ptt 295 drivers/net/ethernet/qlogic/qed/qed_init_ops.c rc = qed_init_array_dmae(p_hwfn, p_ptt, addr, p_ptt 307 drivers/net/ethernet/qlogic/qed/qed_init_ops.c struct qed_ptt *p_ptt, p_ptt 327 drivers/net/ethernet/qlogic/qed/qed_init_ops.c qed_wr(p_hwfn, p_ptt, addr, data); p_ptt 332 drivers/net/ethernet/qlogic/qed/qed_init_ops.c rc = qed_init_fill_dmae(p_hwfn, p_ptt, addr, 0, data); p_ptt 334 drivers/net/ethernet/qlogic/qed/qed_init_ops.c qed_init_fill(p_hwfn, p_ptt, addr, 0, data); p_ptt 337 drivers/net/ethernet/qlogic/qed/qed_init_ops.c rc = qed_init_cmd_array(p_hwfn, p_ptt, p_cmd, p_ptt 341 drivers/net/ethernet/qlogic/qed/qed_init_ops.c qed_init_rt(p_hwfn, p_ptt, addr, p_ptt 368 drivers/net/ethernet/qlogic/qed/qed_init_ops.c struct qed_ptt *p_ptt, struct init_read_op *cmd) p_ptt 380 drivers/net/ethernet/qlogic/qed/qed_init_ops.c val = qed_rd(p_hwfn, p_ptt, addr); p_ptt 406 drivers/net/ethernet/qlogic/qed/qed_init_ops.c val = qed_rd(p_hwfn, p_ptt, addr); p_ptt 419 drivers/net/ethernet/qlogic/qed/qed_init_ops.c struct qed_ptt *p_ptt, p_ptt 426 drivers/net/ethernet/qlogic/qed/qed_init_ops.c rc = qed_dmae_sanity(p_hwfn, p_ptt, "engine_phase"); p_ptt 491 drivers/net/ethernet/qlogic/qed/qed_init_ops.c struct qed_ptt *p_ptt, int phase, int phase_id, int modes) p_ptt 512 drivers/net/ethernet/qlogic/qed/qed_init_ops.c rc = qed_init_cmd_wr(p_hwfn, p_ptt, &cmd->write, p_ptt 516 drivers/net/ethernet/qlogic/qed/qed_init_ops.c qed_init_cmd_rd(p_hwfn, p_ptt, &cmd->read); p_ptt 535 drivers/net/ethernet/qlogic/qed/qed_init_ops.c rc = qed_init_cmd_cb(p_hwfn, p_ptt, &cmd->callback); p_ptt 60 drivers/net/ethernet/qlogic/qed/qed_init_ops.h struct qed_ptt *p_ptt, p_ptt 260 drivers/net/ethernet/qlogic/qed/qed_int.c struct qed_ptt *p_ptt) p_ptt 264 drivers/net/ethernet/qlogic/qed/qed_int.c tmp = qed_rd(p_hwfn, p_ptt, PGLUE_B_REG_TX_ERR_WR_DETAILS2); p_ptt 268 drivers/net/ethernet/qlogic/qed/qed_int.c addr_lo = qed_rd(p_hwfn, p_ptt, p_ptt 270 drivers/net/ethernet/qlogic/qed/qed_int.c addr_hi = qed_rd(p_hwfn, p_ptt, p_ptt 272 drivers/net/ethernet/qlogic/qed/qed_int.c details = qed_rd(p_hwfn, p_ptt, p_ptt 293 drivers/net/ethernet/qlogic/qed/qed_int.c tmp = qed_rd(p_hwfn, p_ptt, PGLUE_B_REG_TX_ERR_RD_DETAILS2); p_ptt 297 drivers/net/ethernet/qlogic/qed/qed_int.c addr_lo = qed_rd(p_hwfn, p_ptt, p_ptt 299 drivers/net/ethernet/qlogic/qed/qed_int.c addr_hi = qed_rd(p_hwfn, p_ptt, p_ptt 301 drivers/net/ethernet/qlogic/qed/qed_int.c details = qed_rd(p_hwfn, p_ptt, p_ptt 322 drivers/net/ethernet/qlogic/qed/qed_int.c tmp = qed_rd(p_hwfn, p_ptt, PGLUE_B_REG_TX_ERR_WR_DETAILS_ICPL); p_ptt 326 drivers/net/ethernet/qlogic/qed/qed_int.c tmp = qed_rd(p_hwfn, p_ptt, PGLUE_B_REG_MASTER_ZLR_ERR_DETAILS); p_ptt 330 drivers/net/ethernet/qlogic/qed/qed_int.c addr_lo = qed_rd(p_hwfn, p_ptt, p_ptt 332 drivers/net/ethernet/qlogic/qed/qed_int.c addr_hi = qed_rd(p_hwfn, p_ptt, p_ptt 339 drivers/net/ethernet/qlogic/qed/qed_int.c tmp = qed_rd(p_hwfn, p_ptt, PGLUE_B_REG_VF_ILT_ERR_DETAILS2); p_ptt 343 drivers/net/ethernet/qlogic/qed/qed_int.c addr_lo = qed_rd(p_hwfn, p_ptt, p_ptt 345 drivers/net/ethernet/qlogic/qed/qed_int.c addr_hi = qed_rd(p_hwfn, p_ptt, p_ptt 347 drivers/net/ethernet/qlogic/qed/qed_int.c details = qed_rd(p_hwfn, p_ptt, p_ptt 356 drivers/net/ethernet/qlogic/qed/qed_int.c qed_wr(p_hwfn, p_ptt, PGLUE_B_REG_LATCHED_ERRORS_CLR, BIT(2)); p_ptt 376 drivers/net/ethernet/qlogic/qed/qed_int.c struct qed_ptt *p_ptt) p_ptt 382 drivers/net/ethernet/qlogic/qed/qed_int.c qed_wr(p_hwfn, p_ptt, DORQ_REG_DPM_FORCE_ABORT, 0x1); p_ptt 395 drivers/net/ethernet/qlogic/qed/qed_int.c usage = qed_rd(p_hwfn, p_ptt, DORQ_REG_PF_USAGE_CNT); p_ptt 410 drivers/net/ethernet/qlogic/qed/qed_int.c int qed_db_rec_handler(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 417 drivers/net/ethernet/qlogic/qed/qed_int.c cur_ovfl = qed_rd(p_hwfn, p_ptt, DORQ_REG_PF_OVFL_STICKY); p_ptt 425 drivers/net/ethernet/qlogic/qed/qed_int.c rc = qed_db_rec_flush_queue(p_hwfn, p_ptt); p_ptt 431 drivers/net/ethernet/qlogic/qed/qed_int.c qed_wr(p_hwfn, p_ptt, DORQ_REG_PF_OVFL_STICKY, 0x0); p_ptt 441 drivers/net/ethernet/qlogic/qed/qed_int.c struct qed_ptt *p_ptt = p_hwfn->p_dpc_ptt; p_ptt 445 drivers/net/ethernet/qlogic/qed/qed_int.c overflow = qed_rd(p_hwfn, p_ptt, DORQ_REG_PF_OVFL_STICKY); p_ptt 453 drivers/net/ethernet/qlogic/qed/qed_int.c rc = qed_db_rec_flush_queue(p_hwfn, p_ptt); p_ptt 458 drivers/net/ethernet/qlogic/qed/qed_int.c qed_wr(p_hwfn, p_ptt, DORQ_REG_PF_OVFL_STICKY, 0x0); p_ptt 467 drivers/net/ethernet/qlogic/qed/qed_int.c struct qed_ptt *p_ptt = p_hwfn->p_dpc_ptt; p_ptt 474 drivers/net/ethernet/qlogic/qed/qed_int.c int_sts = qed_rd(p_hwfn, p_ptt, DORQ_REG_INT_STS); p_ptt 484 drivers/net/ethernet/qlogic/qed/qed_int.c first_drop_reason = qed_rd(p_hwfn, p_ptt, p_ptt 487 drivers/net/ethernet/qlogic/qed/qed_int.c details = qed_rd(p_hwfn, p_ptt, DORQ_REG_DB_DROP_DETAILS); p_ptt 488 drivers/net/ethernet/qlogic/qed/qed_int.c address = qed_rd(p_hwfn, p_ptt, p_ptt 490 drivers/net/ethernet/qlogic/qed/qed_int.c all_drops_reason = qed_rd(p_hwfn, p_ptt, p_ptt 507 drivers/net/ethernet/qlogic/qed/qed_int.c qed_wr(p_hwfn, p_ptt, DORQ_REG_DB_DROP_DETAILS_REL, 0); p_ptt 513 drivers/net/ethernet/qlogic/qed/qed_int.c p_ptt, p_ptt 1326 drivers/net/ethernet/qlogic/qed/qed_int.c struct qed_ptt *p_ptt) p_ptt 1336 drivers/net/ethernet/qlogic/qed/qed_int.c qed_wr(p_hwfn, p_ptt, IGU_REG_ATTN_MSG_ADDR_L, p_ptt 1338 drivers/net/ethernet/qlogic/qed/qed_int.c qed_wr(p_hwfn, p_ptt, IGU_REG_ATTN_MSG_ADDR_H, p_ptt 1343 drivers/net/ethernet/qlogic/qed/qed_int.c struct qed_ptt *p_ptt, p_ptt 1377 drivers/net/ethernet/qlogic/qed/qed_int.c qed_int_sb_attn_setup(p_hwfn, p_ptt); p_ptt 1381 drivers/net/ethernet/qlogic/qed/qed_int.c struct qed_ptt *p_ptt) p_ptt 1405 drivers/net/ethernet/qlogic/qed/qed_int.c qed_int_sb_attn_init(p_hwfn, p_ptt, p_virt, p_phys); p_ptt 1462 drivers/net/ethernet/qlogic/qed/qed_int.c struct qed_ptt *p_ptt, p_ptt 1485 drivers/net/ethernet/qlogic/qed/qed_int.c qed_wr(p_hwfn, p_ptt, p_ptt 1496 drivers/net/ethernet/qlogic/qed/qed_int.c struct qed_ptt *p_ptt, p_ptt 1509 drivers/net/ethernet/qlogic/qed/qed_int.c qed_dmae_host2grc(p_hwfn, p_ptt, (u64)(uintptr_t)&phys_addr, p_ptt 1512 drivers/net/ethernet/qlogic/qed/qed_int.c qed_dmae_host2grc(p_hwfn, p_ptt, (u64)(uintptr_t)&sb_entry, p_ptt 1542 drivers/net/ethernet/qlogic/qed/qed_int.c qed_int_cau_conf_pi(p_hwfn, p_ptt, igu_sb_id, RX_PI, p_ptt 1553 drivers/net/ethernet/qlogic/qed/qed_int.c qed_int_cau_conf_pi(p_hwfn, p_ptt, p_ptt 1562 drivers/net/ethernet/qlogic/qed/qed_int.c struct qed_ptt *p_ptt, struct qed_sb_info *sb_info) p_ptt 1569 drivers/net/ethernet/qlogic/qed/qed_int.c qed_int_cau_conf_sb(p_hwfn, p_ptt, sb_info->sb_phys, p_ptt 1636 drivers/net/ethernet/qlogic/qed/qed_int.c struct qed_ptt *p_ptt, p_ptt 1679 drivers/net/ethernet/qlogic/qed/qed_int.c qed_int_sb_setup(p_hwfn, p_ptt, sb_info); p_ptt 1735 drivers/net/ethernet/qlogic/qed/qed_int.c static int qed_int_sp_sb_alloc(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 1757 drivers/net/ethernet/qlogic/qed/qed_int.c qed_int_sb_init(p_hwfn, p_ptt, &p_sb->sb_info, p_virt, p_ptt 1808 drivers/net/ethernet/qlogic/qed/qed_int.c struct qed_ptt *p_ptt, enum qed_int_mode int_mode) p_ptt 1831 drivers/net/ethernet/qlogic/qed/qed_int.c qed_wr(p_hwfn, p_ptt, IGU_REG_PF_CONFIGURATION, igu_pf_conf); p_ptt 1835 drivers/net/ethernet/qlogic/qed/qed_int.c struct qed_ptt *p_ptt) p_ptt 1839 drivers/net/ethernet/qlogic/qed/qed_int.c qed_wr(p_hwfn, p_ptt, IGU_REG_ATTENTION_ENABLE, 0); p_ptt 1840 drivers/net/ethernet/qlogic/qed/qed_int.c qed_wr(p_hwfn, p_ptt, IGU_REG_LEADING_EDGE_LATCH, 0xfff); p_ptt 1841 drivers/net/ethernet/qlogic/qed/qed_int.c qed_wr(p_hwfn, p_ptt, IGU_REG_TRAILING_EDGE_LATCH, 0xfff); p_ptt 1842 drivers/net/ethernet/qlogic/qed/qed_int.c qed_wr(p_hwfn, p_ptt, IGU_REG_ATTENTION_ENABLE, 0xfff); p_ptt 1845 drivers/net/ethernet/qlogic/qed/qed_int.c qed_wr(p_hwfn, p_ptt, MISC_REG_AEU_MASK_ATTN_IGU, 0xff); p_ptt 1850 drivers/net/ethernet/qlogic/qed/qed_int.c struct qed_ptt *p_ptt, enum qed_int_mode int_mode) p_ptt 1854 drivers/net/ethernet/qlogic/qed/qed_int.c qed_int_igu_enable_attn(p_hwfn, p_ptt); p_ptt 1865 drivers/net/ethernet/qlogic/qed/qed_int.c qed_int_igu_enable_int(p_hwfn, p_ptt, int_mode); p_ptt 1871 drivers/net/ethernet/qlogic/qed/qed_int.c void qed_int_igu_disable_int(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 1878 drivers/net/ethernet/qlogic/qed/qed_int.c qed_wr(p_hwfn, p_ptt, IGU_REG_PF_CONFIGURATION, 0); p_ptt 1883 drivers/net/ethernet/qlogic/qed/qed_int.c struct qed_ptt *p_ptt, p_ptt 1901 drivers/net/ethernet/qlogic/qed/qed_int.c qed_wr(p_hwfn, p_ptt, IGU_REG_COMMAND_REG_32LSB_DATA, data); p_ptt 1905 drivers/net/ethernet/qlogic/qed/qed_int.c qed_wr(p_hwfn, p_ptt, IGU_REG_COMMAND_REG_CTRL, cmd_ctrl); p_ptt 1915 drivers/net/ethernet/qlogic/qed/qed_int.c val = qed_rd(p_hwfn, p_ptt, sb_bit_addr); p_ptt 1930 drivers/net/ethernet/qlogic/qed/qed_int.c struct qed_ptt *p_ptt, p_ptt 1945 drivers/net/ethernet/qlogic/qed/qed_int.c qed_int_igu_cleanup_sb(p_hwfn, p_ptt, igu_sb_id, 1, opaque); p_ptt 1948 drivers/net/ethernet/qlogic/qed/qed_int.c qed_int_igu_cleanup_sb(p_hwfn, p_ptt, igu_sb_id, 0, opaque); p_ptt 1954 drivers/net/ethernet/qlogic/qed/qed_int.c val = qed_rd(p_hwfn, p_ptt, p_ptt 1969 drivers/net/ethernet/qlogic/qed/qed_int.c qed_wr(p_hwfn, p_ptt, p_ptt 1974 drivers/net/ethernet/qlogic/qed/qed_int.c struct qed_ptt *p_ptt, p_ptt 1982 drivers/net/ethernet/qlogic/qed/qed_int.c val = qed_rd(p_hwfn, p_ptt, IGU_REG_BLOCK_CONFIGURATION); p_ptt 1985 drivers/net/ethernet/qlogic/qed/qed_int.c qed_wr(p_hwfn, p_ptt, IGU_REG_BLOCK_CONFIGURATION, val); p_ptt 1996 drivers/net/ethernet/qlogic/qed/qed_int.c qed_int_igu_init_pure_rt_single(p_hwfn, p_ptt, igu_sb_id, p_ptt 2002 drivers/net/ethernet/qlogic/qed/qed_int.c qed_int_igu_init_pure_rt_single(p_hwfn, p_ptt, p_ptt 2008 drivers/net/ethernet/qlogic/qed/qed_int.c int qed_int_igu_reset_cam(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 2121 drivers/net/ethernet/qlogic/qed/qed_int.c rval = qed_rd(p_hwfn, p_ptt, p_ptt 2125 drivers/net/ethernet/qlogic/qed/qed_int.c qed_wr(p_hwfn, p_ptt, p_ptt 2143 drivers/net/ethernet/qlogic/qed/qed_int.c struct qed_ptt *p_ptt, u16 igu_sb_id) p_ptt 2145 drivers/net/ethernet/qlogic/qed/qed_int.c u32 val = qed_rd(p_hwfn, p_ptt, p_ptt 2158 drivers/net/ethernet/qlogic/qed/qed_int.c int qed_int_igu_read_cam(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 2185 drivers/net/ethernet/qlogic/qed/qed_int.c qed_int_igu_read_cam_block(p_hwfn, p_ptt, igu_sb_id); p_ptt 2302 drivers/net/ethernet/qlogic/qed/qed_int.c int qed_int_alloc(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 2310 drivers/net/ethernet/qlogic/qed/qed_int.c rc = qed_int_sp_sb_alloc(p_hwfn, p_ptt); p_ptt 2314 drivers/net/ethernet/qlogic/qed/qed_int.c rc = qed_int_sb_attn_alloc(p_hwfn, p_ptt); p_ptt 2326 drivers/net/ethernet/qlogic/qed/qed_int.c void qed_int_setup(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 2328 drivers/net/ethernet/qlogic/qed/qed_int.c qed_int_sb_setup(p_hwfn, p_ptt, &p_hwfn->p_sp_sb->sb_info); p_ptt 2329 drivers/net/ethernet/qlogic/qed/qed_int.c qed_int_sb_attn_setup(p_hwfn, p_ptt); p_ptt 2352 drivers/net/ethernet/qlogic/qed/qed_int.c int qed_int_set_timer_res(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, p_ptt 2363 drivers/net/ethernet/qlogic/qed/qed_int.c rc = qed_dmae_grc2host(p_hwfn, p_ptt, CAU_REG_SB_VAR_MEMORY + p_ptt 2376 drivers/net/ethernet/qlogic/qed/qed_int.c rc = qed_dmae_host2grc(p_hwfn, p_ptt, p_ptt 89 drivers/net/ethernet/qlogic/qed/qed_int.h struct qed_ptt *p_ptt, p_ptt 99 drivers/net/ethernet/qlogic/qed/qed_int.h struct qed_ptt *p_ptt); p_ptt 129 drivers/net/ethernet/qlogic/qed/qed_int.h struct qed_ptt *p_ptt, p_ptt 142 drivers/net/ethernet/qlogic/qed/qed_int.h struct qed_ptt *p_ptt, p_ptt 201 drivers/net/ethernet/qlogic/qed/qed_int.h int qed_db_rec_handler(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); p_ptt 246 drivers/net/ethernet/qlogic/qed/qed_int.h int qed_int_igu_reset_cam(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); p_ptt 270 drivers/net/ethernet/qlogic/qed/qed_int.h struct qed_ptt *p_ptt, p_ptt 288 drivers/net/ethernet/qlogic/qed/qed_int.h struct qed_ptt *p_ptt); p_ptt 352 drivers/net/ethernet/qlogic/qed/qed_int.h struct qed_ptt *p_ptt, p_ptt 369 drivers/net/ethernet/qlogic/qed/qed_int.h struct qed_ptt *p_ptt, p_ptt 384 drivers/net/ethernet/qlogic/qed/qed_int.h struct qed_ptt *p_ptt); p_ptt 400 drivers/net/ethernet/qlogic/qed/qed_int.h struct qed_ptt *p_ptt); p_ptt 411 drivers/net/ethernet/qlogic/qed/qed_int.h int qed_int_igu_enable(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, p_ptt 429 drivers/net/ethernet/qlogic/qed/qed_int.h int qed_int_set_timer_res(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, p_ptt 435 drivers/net/ethernet/qlogic/qed/qed_int.h struct qed_ptt *p_ptt); p_ptt 934 drivers/net/ethernet/qlogic/qed/qed_iscsi.c struct qed_ptt *p_ptt, p_ptt 943 drivers/net/ethernet/qlogic/qed/qed_iscsi.c qed_memcpy_from(p_hwfn, p_ptt, &tstats, tstats_addr, sizeof(tstats)); p_ptt 960 drivers/net/ethernet/qlogic/qed/qed_iscsi.c struct qed_ptt *p_ptt, p_ptt 969 drivers/net/ethernet/qlogic/qed/qed_iscsi.c qed_memcpy_from(p_hwfn, p_ptt, &mstats, mstats_addr, sizeof(mstats)); p_ptt 976 drivers/net/ethernet/qlogic/qed/qed_iscsi.c struct qed_ptt *p_ptt, p_ptt 985 drivers/net/ethernet/qlogic/qed/qed_iscsi.c qed_memcpy_from(p_hwfn, p_ptt, &ustats, ustats_addr, sizeof(ustats)); p_ptt 996 drivers/net/ethernet/qlogic/qed/qed_iscsi.c struct qed_ptt *p_ptt, p_ptt 1005 drivers/net/ethernet/qlogic/qed/qed_iscsi.c qed_memcpy_from(p_hwfn, p_ptt, &xstats, xstats_addr, sizeof(xstats)); p_ptt 1014 drivers/net/ethernet/qlogic/qed/qed_iscsi.c struct qed_ptt *p_ptt, p_ptt 1023 drivers/net/ethernet/qlogic/qed/qed_iscsi.c qed_memcpy_from(p_hwfn, p_ptt, &ystats, ystats_addr, sizeof(ystats)); p_ptt 1034 drivers/net/ethernet/qlogic/qed/qed_iscsi.c struct qed_ptt *p_ptt, p_ptt 1043 drivers/net/ethernet/qlogic/qed/qed_iscsi.c qed_memcpy_from(p_hwfn, p_ptt, &pstats, pstats_addr, sizeof(pstats)); p_ptt 1054 drivers/net/ethernet/qlogic/qed/qed_iscsi.c struct qed_ptt *p_ptt; p_ptt 1058 drivers/net/ethernet/qlogic/qed/qed_iscsi.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 1059 drivers/net/ethernet/qlogic/qed/qed_iscsi.c if (!p_ptt) { p_ptt 1064 drivers/net/ethernet/qlogic/qed/qed_iscsi.c _qed_iscsi_get_tstats(p_hwfn, p_ptt, stats); p_ptt 1065 drivers/net/ethernet/qlogic/qed/qed_iscsi.c _qed_iscsi_get_mstats(p_hwfn, p_ptt, stats); p_ptt 1066 drivers/net/ethernet/qlogic/qed/qed_iscsi.c _qed_iscsi_get_ustats(p_hwfn, p_ptt, stats); p_ptt 1068 drivers/net/ethernet/qlogic/qed/qed_iscsi.c _qed_iscsi_get_xstats(p_hwfn, p_ptt, stats); p_ptt 1069 drivers/net/ethernet/qlogic/qed/qed_iscsi.c _qed_iscsi_get_ystats(p_hwfn, p_ptt, stats); p_ptt 1070 drivers/net/ethernet/qlogic/qed/qed_iscsi.c _qed_iscsi_get_pstats(p_hwfn, p_ptt, stats); p_ptt 1072 drivers/net/ethernet/qlogic/qed/qed_iscsi.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 109 drivers/net/ethernet/qlogic/qed/qed_iwarp.c void qed_iwarp_init_hw(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 112 drivers/net/ethernet/qlogic/qed/qed_iwarp.c qed_wr(p_hwfn, p_ptt, p_hwfn->rdma_prs_search_reg, 1); p_ptt 198 drivers/net/ethernet/qlogic/qed/qed_iwarp.h void qed_iwarp_init_hw(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); p_ptt 1635 drivers/net/ethernet/qlogic/qed/qed_l2.c __qed_get_vport_pstats(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, p_ptt 1645 drivers/net/ethernet/qlogic/qed/qed_l2.c qed_memcpy_from(p_hwfn, p_ptt, &pstats, pstats_addr, pstats_len); p_ptt 1664 drivers/net/ethernet/qlogic/qed/qed_l2.c __qed_get_vport_tstats(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, p_ptt 1683 drivers/net/ethernet/qlogic/qed/qed_l2.c qed_memcpy_from(p_hwfn, p_ptt, &tstats, tstats_addr, tstats_len); p_ptt 1711 drivers/net/ethernet/qlogic/qed/qed_l2.c void __qed_get_vport_ustats(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, p_ptt 1721 drivers/net/ethernet/qlogic/qed/qed_l2.c qed_memcpy_from(p_hwfn, p_ptt, &ustats, ustats_addr, ustats_len); p_ptt 1752 drivers/net/ethernet/qlogic/qed/qed_l2.c __qed_get_vport_mstats(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, p_ptt 1762 drivers/net/ethernet/qlogic/qed/qed_l2.c qed_memcpy_from(p_hwfn, p_ptt, &mstats, mstats_addr, mstats_len); p_ptt 1780 drivers/net/ethernet/qlogic/qed/qed_l2.c __qed_get_vport_port_stats(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, p_ptt 1789 drivers/net/ethernet/qlogic/qed/qed_l2.c qed_memcpy_from(p_hwfn, p_ptt, &port_stats, p_ptt 1865 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->link_change_count = qed_rd(p_hwfn, p_ptt, p_ptt 1872 drivers/net/ethernet/qlogic/qed/qed_l2.c struct qed_ptt *p_ptt, p_ptt 1876 drivers/net/ethernet/qlogic/qed/qed_l2.c __qed_get_vport_mstats(p_hwfn, p_ptt, stats, statistics_bin); p_ptt 1877 drivers/net/ethernet/qlogic/qed/qed_l2.c __qed_get_vport_ustats(p_hwfn, p_ptt, stats, statistics_bin); p_ptt 1878 drivers/net/ethernet/qlogic/qed/qed_l2.c __qed_get_vport_tstats(p_hwfn, p_ptt, stats, statistics_bin); p_ptt 1879 drivers/net/ethernet/qlogic/qed/qed_l2.c __qed_get_vport_pstats(p_hwfn, p_ptt, stats, statistics_bin); p_ptt 1882 drivers/net/ethernet/qlogic/qed/qed_l2.c __qed_get_vport_port_stats(p_hwfn, p_ptt, stats); p_ptt 1895 drivers/net/ethernet/qlogic/qed/qed_l2.c struct qed_ptt *p_ptt = IS_PF(cdev) ? qed_ptt_acquire(p_hwfn) p_ptt 1907 drivers/net/ethernet/qlogic/qed/qed_l2.c if (IS_PF(cdev) && !p_ptt) { p_ptt 1913 drivers/net/ethernet/qlogic/qed/qed_l2.c __qed_get_vport_stats(p_hwfn, p_ptt, stats, fw_vport, p_ptt 1917 drivers/net/ethernet/qlogic/qed/qed_l2.c if (IS_PF(cdev) && p_ptt) p_ptt 1918 drivers/net/ethernet/qlogic/qed/qed_l2.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 1951 drivers/net/ethernet/qlogic/qed/qed_l2.c struct qed_ptt *p_ptt = IS_PF(cdev) ? qed_ptt_acquire(p_hwfn) p_ptt 1955 drivers/net/ethernet/qlogic/qed/qed_l2.c if (IS_PF(cdev) && !p_ptt) { p_ptt 1962 drivers/net/ethernet/qlogic/qed/qed_l2.c qed_memcpy_to(p_hwfn, p_ptt, addr, &mstats, len); p_ptt 1966 drivers/net/ethernet/qlogic/qed/qed_l2.c qed_memcpy_to(p_hwfn, p_ptt, addr, &ustats, len); p_ptt 1970 drivers/net/ethernet/qlogic/qed/qed_l2.c qed_memcpy_to(p_hwfn, p_ptt, addr, &pstats, len); p_ptt 1973 drivers/net/ethernet/qlogic/qed/qed_l2.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 2001 drivers/net/ethernet/qlogic/qed/qed_l2.c struct qed_ptt *p_ptt, p_ptt 2005 drivers/net/ethernet/qlogic/qed/qed_l2.c qed_gft_config(p_hwfn, p_ptt, p_hwfn->rel_pf_id, p_ptt 2021 drivers/net/ethernet/qlogic/qed/qed_l2.c qed_gft_disable(p_hwfn, p_ptt, p_hwfn->rel_pf_id); p_ptt 2100 drivers/net/ethernet/qlogic/qed/qed_l2.c struct qed_ptt *p_ptt, p_ptt 2108 drivers/net/ethernet/qlogic/qed/qed_l2.c rc = qed_dmae_grc2host(p_hwfn, p_ptt, CAU_REG_SB_VAR_MEMORY + p_ptt 2120 drivers/net/ethernet/qlogic/qed/qed_l2.c coalesce = qed_rd(p_hwfn, p_ptt, address); p_ptt 2133 drivers/net/ethernet/qlogic/qed/qed_l2.c struct qed_ptt *p_ptt, p_ptt 2141 drivers/net/ethernet/qlogic/qed/qed_l2.c rc = qed_dmae_grc2host(p_hwfn, p_ptt, CAU_REG_SB_VAR_MEMORY + p_ptt 2153 drivers/net/ethernet/qlogic/qed/qed_l2.c coalesce = qed_rd(p_hwfn, p_ptt, address); p_ptt 2168 drivers/net/ethernet/qlogic/qed/qed_l2.c struct qed_ptt *p_ptt; p_ptt 2179 drivers/net/ethernet/qlogic/qed/qed_l2.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 2180 drivers/net/ethernet/qlogic/qed/qed_l2.c if (!p_ptt) p_ptt 2184 drivers/net/ethernet/qlogic/qed/qed_l2.c rc = qed_get_rxq_coalesce(p_hwfn, p_ptt, p_cid, p_coal); p_ptt 2188 drivers/net/ethernet/qlogic/qed/qed_l2.c rc = qed_get_txq_coalesce(p_hwfn, p_ptt, p_cid, p_coal); p_ptt 2194 drivers/net/ethernet/qlogic/qed/qed_l2.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 2638 drivers/net/ethernet/qlogic/qed/qed_l2.c struct qed_ptt *p_ptt; p_ptt 2643 drivers/net/ethernet/qlogic/qed/qed_l2.c p_ptt = qed_ptt_acquire(hwfn); p_ptt 2644 drivers/net/ethernet/qlogic/qed/qed_l2.c if (!p_ptt) p_ptt 2647 drivers/net/ethernet/qlogic/qed/qed_l2.c p_ptt = NULL; p_ptt 2650 drivers/net/ethernet/qlogic/qed/qed_l2.c rc = qed_sp_pf_update_tunn_cfg(hwfn, p_ptt, &tunn_info, p_ptt 2654 drivers/net/ethernet/qlogic/qed/qed_l2.c qed_ptt_release(hwfn, p_ptt); p_ptt 2674 drivers/net/ethernet/qlogic/qed/qed_l2.c qed_ptt_release(hwfn, p_ptt); p_ptt 296 drivers/net/ethernet/qlogic/qed/qed_l2.h struct qed_ptt *p_ptt, p_ptt 439 drivers/net/ethernet/qlogic/qed/qed_l2.h struct qed_ptt *p_ptt, p_ptt 443 drivers/net/ethernet/qlogic/qed/qed_l2.h struct qed_ptt *p_ptt, p_ptt 447 drivers/net/ethernet/qlogic/qed/qed_l2.h struct qed_ptt *p_ptt, p_ptt 451 drivers/net/ethernet/qlogic/qed/qed_l2.h struct qed_ptt *p_ptt, p_ptt 1485 drivers/net/ethernet/qlogic/qed/qed_ll2.c struct qed_ptt *p_ptt; p_ptt 1491 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 1492 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (!p_ptt) p_ptt 1569 drivers/net/ethernet/qlogic/qed/qed_ll2.c qed_wr(p_hwfn, p_ptt, PRS_REG_USE_LIGHT_L2, 1); p_ptt 1584 drivers/net/ethernet/qlogic/qed/qed_ll2.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 1941 drivers/net/ethernet/qlogic/qed/qed_ll2.c struct qed_ptt *p_ptt; p_ptt 1943 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 1944 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (!p_ptt) p_ptt 1990 drivers/net/ethernet/qlogic/qed/qed_ll2.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 2076 drivers/net/ethernet/qlogic/qed/qed_ll2.c struct qed_ptt *p_ptt, p_ptt 2082 drivers/net/ethernet/qlogic/qed/qed_ll2.c qed_memcpy_from(p_hwfn, p_ptt, &port_stats, p_ptt 2097 drivers/net/ethernet/qlogic/qed/qed_ll2.c struct qed_ptt *p_ptt, p_ptt 2108 drivers/net/ethernet/qlogic/qed/qed_ll2.c qed_memcpy_from(p_hwfn, p_ptt, &tstats, tstats_addr, sizeof(tstats)); p_ptt 2116 drivers/net/ethernet/qlogic/qed/qed_ll2.c struct qed_ptt *p_ptt, p_ptt 2127 drivers/net/ethernet/qlogic/qed/qed_ll2.c qed_memcpy_from(p_hwfn, p_ptt, &ustats, ustats_addr, sizeof(ustats)); p_ptt 2138 drivers/net/ethernet/qlogic/qed/qed_ll2.c struct qed_ptt *p_ptt, p_ptt 2149 drivers/net/ethernet/qlogic/qed/qed_ll2.c qed_memcpy_from(p_hwfn, p_ptt, &pstats, pstats_addr, sizeof(pstats)); p_ptt 2164 drivers/net/ethernet/qlogic/qed/qed_ll2.c struct qed_ptt *p_ptt; p_ptt 2172 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 2173 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (!p_ptt) { p_ptt 2179 drivers/net/ethernet/qlogic/qed/qed_ll2.c _qed_ll2_get_port_stats(p_hwfn, p_ptt, p_stats); p_ptt 2181 drivers/net/ethernet/qlogic/qed/qed_ll2.c _qed_ll2_get_tstats(p_hwfn, p_ptt, p_ll2_conn, p_stats); p_ptt 2183 drivers/net/ethernet/qlogic/qed/qed_ll2.c _qed_ll2_get_ustats(p_hwfn, p_ptt, p_ll2_conn, p_stats); p_ptt 2186 drivers/net/ethernet/qlogic/qed/qed_ll2.c _qed_ll2_get_pstats(p_hwfn, p_ptt, p_ll2_conn, p_stats); p_ptt 2188 drivers/net/ethernet/qlogic/qed/qed_ll2.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 1208 drivers/net/ethernet/qlogic/qed/qed_main.c struct qed_ptt *p_ptt; p_ptt 1228 drivers/net/ethernet/qlogic/qed/qed_main.c p_ptt = qed_ptt_acquire(QED_LEADING_HWFN(cdev)); p_ptt 1229 drivers/net/ethernet/qlogic/qed/qed_main.c if (p_ptt) { p_ptt 1230 drivers/net/ethernet/qlogic/qed/qed_main.c QED_LEADING_HWFN(cdev)->p_arfs_ptt = p_ptt; p_ptt 1409 drivers/net/ethernet/qlogic/qed/qed_main.c struct qed_ptt *p_ptt; p_ptt 1427 drivers/net/ethernet/qlogic/qed/qed_main.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 1428 drivers/net/ethernet/qlogic/qed/qed_main.c if (!p_ptt) p_ptt 1431 drivers/net/ethernet/qlogic/qed/qed_main.c rc = qed_int_sb_init(p_hwfn, p_ptt, sb_info, sb_virt_addr, p_ptt 1433 drivers/net/ethernet/qlogic/qed/qed_main.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 2488 drivers/net/ethernet/qlogic/qed/qed_main.c struct qed_ptt *p_ptt; p_ptt 2491 drivers/net/ethernet/qlogic/qed/qed_main.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 2492 drivers/net/ethernet/qlogic/qed/qed_main.c if (!p_ptt) p_ptt 2495 drivers/net/ethernet/qlogic/qed/qed_main.c rc = qed_start_recovery_process(p_hwfn, p_ptt); p_ptt 2497 drivers/net/ethernet/qlogic/qed/qed_main.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 83 drivers/net/ethernet/qlogic/qed/qed_mcp.c void qed_mcp_cmd_port_init(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 87 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 mfw_mb_offsize = qed_rd(p_hwfn, p_ptt, addr); p_ptt 96 drivers/net/ethernet/qlogic/qed/qed_mcp.c void qed_mcp_read_mb(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 105 drivers/net/ethernet/qlogic/qed/qed_mcp.c tmp = qed_rd(p_hwfn, p_ptt, p_ptt 190 drivers/net/ethernet/qlogic/qed/qed_mcp.c static int qed_load_mcp_offsets(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 198 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_info->public_base = qed_rd(p_hwfn, p_ptt, MISC_REG_SHARED_MEM_ADDR); p_ptt 208 drivers/net/ethernet/qlogic/qed/qed_mcp.c mfw_mb_offsize = qed_rd(p_hwfn, p_ptt, p_ptt 212 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_info->mfw_mb_length = (u16)qed_rd(p_hwfn, p_ptt, p_ptt 225 drivers/net/ethernet/qlogic/qed/qed_mcp.c (u16)qed_rd(p_hwfn, p_ptt, p_ptt 238 drivers/net/ethernet/qlogic/qed/qed_mcp.c drv_mb_offsize = qed_rd(p_hwfn, p_ptt, p_ptt 249 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_info->drv_mb_seq = DRV_MB_RD(p_hwfn, p_ptt, drv_mb_header) & p_ptt 253 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_info->drv_pulse_seq = DRV_MB_RD(p_hwfn, p_ptt, drv_pulse_mb) & p_ptt 256 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_info->mcp_hist = qed_rd(p_hwfn, p_ptt, MISCS_REG_GENERIC_POR_0); p_ptt 261 drivers/net/ethernet/qlogic/qed/qed_mcp.c int qed_mcp_cmd_init(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 278 drivers/net/ethernet/qlogic/qed/qed_mcp.c if (qed_load_mcp_offsets(p_hwfn, p_ptt) != 0) { p_ptt 300 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt) p_ptt 302 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 generic_por_0 = qed_rd(p_hwfn, p_ptt, MISCS_REG_GENERIC_POR_0); p_ptt 313 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_load_mcp_offsets(p_hwfn, p_ptt); p_ptt 314 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_cmd_port_init(p_hwfn, p_ptt); p_ptt 318 drivers/net/ethernet/qlogic/qed/qed_mcp.c int qed_mcp_reset(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 332 drivers/net/ethernet/qlogic/qed/qed_mcp.c org_mcp_reset_seq = qed_rd(p_hwfn, p_ptt, MISCS_REG_GENERIC_POR_0); p_ptt 335 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_reread_offsets(p_hwfn, p_ptt); p_ptt 337 drivers/net/ethernet/qlogic/qed/qed_mcp.c DRV_MB_WR(p_hwfn, p_ptt, drv_mb_header, (DRV_MSG_CODE_MCP_RESET | seq)); p_ptt 343 drivers/net/ethernet/qlogic/qed/qed_mcp.c } while ((org_mcp_reset_seq == qed_rd(p_hwfn, p_ptt, p_ptt 348 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_rd(p_hwfn, p_ptt, MISCS_REG_GENERIC_POR_0)) { p_ptt 380 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_update_pending_cmd(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 387 drivers/net/ethernet/qlogic/qed/qed_mcp.c mcp_resp = DRV_MB_RD(p_hwfn, p_ptt, fw_mb_header); p_ptt 408 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_mb_params->mcp_param = DRV_MB_RD(p_hwfn, p_ptt, fw_mb_param); p_ptt 415 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_memcpy_from(p_hwfn, p_ptt, p_mb_params->p_data_dst, p_ptt 426 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 440 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_memcpy_to(p_hwfn, p_ptt, union_data_addr, &union_data, p_ptt 444 drivers/net/ethernet/qlogic/qed/qed_mcp.c DRV_MB_WR(p_hwfn, p_ptt, drv_mb_param, p_mb_params->param); p_ptt 447 drivers/net/ethernet/qlogic/qed/qed_mcp.c DRV_MB_WR(p_hwfn, p_ptt, drv_mb_header, (p_mb_params->cmd | seq_num)); p_ptt 463 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt) p_ptt 468 drivers/net/ethernet/qlogic/qed/qed_mcp.c cpu_mode = qed_rd(p_hwfn, p_ptt, MCP_REG_CPU_MODE); p_ptt 469 drivers/net/ethernet/qlogic/qed/qed_mcp.c cpu_state = qed_rd(p_hwfn, p_ptt, MCP_REG_CPU_STATE); p_ptt 470 drivers/net/ethernet/qlogic/qed/qed_mcp.c cpu_pc_0 = qed_rd(p_hwfn, p_ptt, MCP_REG_CPU_PROGRAM_COUNTER); p_ptt 472 drivers/net/ethernet/qlogic/qed/qed_mcp.c cpu_pc_1 = qed_rd(p_hwfn, p_ptt, MCP_REG_CPU_PROGRAM_COUNTER); p_ptt 474 drivers/net/ethernet/qlogic/qed/qed_mcp.c cpu_pc_2 = qed_rd(p_hwfn, p_ptt, MCP_REG_CPU_PROGRAM_COUNTER); p_ptt 483 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 504 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_update_pending_cmd(p_hwfn, p_ptt); p_ptt 526 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_reread_offsets(p_hwfn, p_ptt); p_ptt 534 drivers/net/ethernet/qlogic/qed/qed_mcp.c __qed_mcp_cmd_and_union(p_hwfn, p_ptt, p_mb_params, seq_num); p_ptt 554 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_update_pending_cmd(p_hwfn, p_ptt); p_ptt 567 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_print_cpu_info(p_hwfn, p_ptt); p_ptt 600 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 634 drivers/net/ethernet/qlogic/qed/qed_mcp.c return _qed_mcp_cmd_and_union(p_hwfn, p_ptt, p_mb_params, max_retries, p_ptt 639 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 652 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params); p_ptt 664 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 678 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params); p_ptt 692 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 710 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params); p_ptt 749 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt) p_ptt 754 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_CANCEL_LOAD_REQ, 0, p_ptt 820 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 877 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params); p_ptt 959 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 985 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = __qed_mcp_load_req(p_hwfn, p_ptt, &in_params, &out_params); p_ptt 999 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = __qed_mcp_load_req(p_hwfn, p_ptt, &in_params, &out_params); p_ptt 1022 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = __qed_mcp_load_req(p_hwfn, p_ptt, &in_params, p_ptt 1038 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_cancel_load_req(p_hwfn, p_ptt); p_ptt 1073 drivers/net/ethernet/qlogic/qed/qed_mcp.c int qed_mcp_load_done(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 1078 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_LOAD_DONE, 0, &resp, p_ptt 1094 drivers/net/ethernet/qlogic/qed/qed_mcp.c int qed_mcp_unload_req(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 1120 drivers/net/ethernet/qlogic/qed/qed_mcp.c return qed_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params); p_ptt 1123 drivers/net/ethernet/qlogic/qed/qed_mcp.c int qed_mcp_unload_done(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 1149 drivers/net/ethernet/qlogic/qed/qed_mcp.c return qed_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params); p_ptt 1153 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt) p_ptt 1157 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 mfw_path_offsize = qed_rd(p_hwfn, p_ptt, addr); p_ptt 1169 drivers/net/ethernet/qlogic/qed/qed_mcp.c disabled_vfs[i] = qed_rd(p_hwfn, p_ptt, p_ptt 1184 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, u32 *vfs_to_ack) p_ptt 1188 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 mfw_func_offsize = qed_rd(p_hwfn, p_ptt, addr); p_ptt 1204 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params); p_ptt 1212 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_wr(p_hwfn, p_ptt, p_ptt 1221 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt) p_ptt 1225 drivers/net/ethernet/qlogic/qed/qed_mcp.c transceiver_state = qed_rd(p_hwfn, p_ptt, p_ptt 1247 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 1255 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_ptt, p_ptt 1272 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 1277 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 mfw_path_offsize = qed_rd(p_hwfn, p_ptt, addr); p_ptt 1286 drivers/net/ethernet/qlogic/qed/qed_mcp.c ((u32 *)p_data)[i] = qed_rd(p_hwfn, p_ptt, p_ptt 1318 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, bool b_reset) p_ptt 1330 drivers/net/ethernet/qlogic/qed/qed_mcp.c status = qed_rd(p_hwfn, p_ptt, p_ptt 1352 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info, p_ptt 1408 drivers/net/ethernet/qlogic/qed/qed_mcp.c __qed_configure_pf_max_bandwidth(p_hwfn, p_ptt, p_link, max_bw); p_ptt 1411 drivers/net/ethernet/qlogic/qed/qed_mcp.c __qed_configure_pf_min_bandwidth(p_hwfn, p_ptt, p_link, min_bw); p_ptt 1412 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_configure_vp_wfq_on_link_change(p_hwfn->cdev, p_ptt, p_ptt 1469 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_read_eee_config(p_hwfn, p_ptt, p_link); p_ptt 1471 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_link_update(p_hwfn, p_ptt); p_ptt 1476 drivers/net/ethernet/qlogic/qed/qed_mcp.c int qed_mcp_set_link(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, bool b_up) p_ptt 1533 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params); p_ptt 1547 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_handle_link_change(p_hwfn, p_ptt, !b_up); p_ptt 1553 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt) p_ptt 1562 drivers/net/ethernet/qlogic/qed/qed_mcp.c path_offsize = qed_rd(p_hwfn, p_ptt, path_offsize_addr); p_ptt 1565 drivers/net/ethernet/qlogic/qed/qed_mcp.c proc_kill_cnt = qed_rd(p_hwfn, p_ptt, p_ptt 1574 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt) p_ptt 1582 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_int_igu_disable_int(p_hwfn, p_ptt); p_ptt 1600 drivers/net/ethernet/qlogic/qed/qed_mcp.c proc_kill_cnt = qed_get_process_kill_counter(p_hwfn, p_ptt); p_ptt 1607 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 1644 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params); p_ptt 1647 drivers/net/ethernet/qlogic/qed/qed_mcp.c static void qed_mcp_update_bw(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 1653 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info, MCP_PF_ID(p_hwfn)); p_ptt 1663 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_BW_UPDATE_ACK, 0, &resp, p_ptt 1667 drivers/net/ethernet/qlogic/qed/qed_mcp.c static void qed_mcp_update_stag(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 1672 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info, MCP_PF_ID(p_hwfn)); p_ptt 1679 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_wr(p_hwfn, p_ptt, NIG_REG_LLH_FUNC_TAG_VALUE, p_ptt 1681 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_wr(p_hwfn, p_ptt, NIG_REG_LLH_FUNC_TAG_EN, 1); p_ptt 1684 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_wr(p_hwfn, p_ptt, DORQ_REG_TAG1_OVRD_MODE, 1); p_ptt 1685 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_wr(p_hwfn, p_ptt, DORQ_REG_PF_EXT_VID_BB_K2, p_ptt 1688 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_wr(p_hwfn, p_ptt, NIG_REG_LLH_FUNC_TAG_EN, 0); p_ptt 1689 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_wr(p_hwfn, p_ptt, NIG_REG_LLH_FUNC_TAG_VALUE, 0); p_ptt 1690 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_wr(p_hwfn, p_ptt, DORQ_REG_TAG1_OVRD_MODE, 0); p_ptt 1691 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_wr(p_hwfn, p_ptt, DORQ_REG_PF_EXT_VID_BB_K2, 0); p_ptt 1701 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_S_TAG_UPDATE_ACK, 0, p_ptt 1705 drivers/net/ethernet/qlogic/qed/qed_mcp.c void qed_mcp_read_ufp_config(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 1714 drivers/net/ethernet/qlogic/qed/qed_mcp.c port_cfg = qed_rd(p_hwfn, p_ptt, p_hwfn->mcp_info->port_addr + p_ptt 1735 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info, MCP_PF_ID(p_hwfn)); p_ptt 1759 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_handle_ufp_event(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 1761 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_read_ufp_config(p_hwfn, p_ptt); p_ptt 1768 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_qm_reconf(p_hwfn, p_ptt); p_ptt 1771 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_dcbx_mib_update_event(p_hwfn, p_ptt, p_ptt 1788 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt) p_ptt 1798 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_read_mb(p_hwfn, p_ptt); p_ptt 1813 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_handle_link_change(p_hwfn, p_ptt, false); p_ptt 1816 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_handle_vf_flr(p_hwfn, p_ptt); p_ptt 1819 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_dcbx_mib_update_event(p_hwfn, p_ptt, p_ptt 1823 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_dcbx_mib_update_event(p_hwfn, p_ptt, p_ptt 1827 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_dcbx_mib_update_event(p_hwfn, p_ptt, p_ptt 1831 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_handle_ufp_event(p_hwfn, p_ptt); p_ptt 1834 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_handle_transceiver_change(p_hwfn, p_ptt); p_ptt 1837 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_handle_process_kill(p_hwfn, p_ptt); p_ptt 1843 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_send_protocol_stats(p_hwfn, p_ptt, i); p_ptt 1846 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_update_bw(p_hwfn, p_ptt); p_ptt 1849 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_update_stag(p_hwfn, p_ptt); p_ptt 1865 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_wr(p_hwfn, p_ptt, p_ptt 1885 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 1905 drivers/net/ethernet/qlogic/qed/qed_mcp.c global_offsize = qed_rd(p_hwfn, p_ptt, p_ptt 1910 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_rd(p_hwfn, p_ptt, p_ptt 1915 drivers/net/ethernet/qlogic/qed/qed_mcp.c *p_running_bundle_id = qed_rd(p_hwfn, p_ptt, p_ptt 1925 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, u32 *p_mbi_ver) p_ptt 1933 drivers/net/ethernet/qlogic/qed/qed_mcp.c nvm_cfg_addr = qed_rd(p_hwfn, p_ptt, MISC_REG_GEN_PURP_CR0); p_ptt 1940 drivers/net/ethernet/qlogic/qed/qed_mcp.c nvm_cfg1_offset = qed_rd(p_hwfn, p_ptt, nvm_cfg_addr + 4); p_ptt 1945 drivers/net/ethernet/qlogic/qed/qed_mcp.c *p_mbi_ver = qed_rd(p_hwfn, p_ptt, p_ptt 1955 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, u32 *p_media_type) p_ptt 1967 drivers/net/ethernet/qlogic/qed/qed_mcp.c if (!p_ptt) { p_ptt 1972 drivers/net/ethernet/qlogic/qed/qed_mcp.c *p_media_type = qed_rd(p_hwfn, p_ptt, p_ptt 1981 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 1998 drivers/net/ethernet/qlogic/qed/qed_mcp.c transceiver_info = qed_rd(p_hwfn, p_ptt, p_ptt 2028 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, u32 *p_speed_mask) p_ptt 2033 drivers/net/ethernet/qlogic/qed/qed_mcp.c ret = qed_mcp_get_transceiver_data(p_hwfn, p_ptt, &transceiver_state, p_ptt 2135 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, u32 *p_board_config) p_ptt 2146 drivers/net/ethernet/qlogic/qed/qed_mcp.c if (!p_ptt) { p_ptt 2151 drivers/net/ethernet/qlogic/qed/qed_mcp.c nvm_cfg_addr = qed_rd(p_hwfn, p_ptt, MISC_REG_GEN_PURP_CR0); p_ptt 2152 drivers/net/ethernet/qlogic/qed/qed_mcp.c nvm_cfg1_offset = qed_rd(p_hwfn, p_ptt, nvm_cfg_addr + 4); p_ptt 2155 drivers/net/ethernet/qlogic/qed/qed_mcp.c *p_board_config = qed_rd(p_hwfn, p_ptt, p_ptt 2183 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 2189 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd(p_hwfn, p_ptt, p_ptt 2230 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 2239 drivers/net/ethernet/qlogic/qed/qed_mcp.c else if (qed_mcp_get_shmem_proto_mfw(p_hwfn, p_ptt, p_proto)) p_ptt 2259 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt) p_ptt 2264 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info, MCP_PF_ID(p_hwfn)); p_ptt 2270 drivers/net/ethernet/qlogic/qed/qed_mcp.c if (qed_mcp_get_shmem_proto(p_hwfn, &shmem_info, p_ptt, p_ptt 2308 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd(p_hwfn, p_ptt, p_ptt 2352 drivers/net/ethernet/qlogic/qed/qed_mcp.c int qed_mcp_drain(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 2357 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd(p_hwfn, p_ptt, p_ptt 2367 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, u32 *p_flash_size) p_ptt 2374 drivers/net/ethernet/qlogic/qed/qed_mcp.c flash_size = qed_rd(p_hwfn, p_ptt, MCP_REG_NVM_CFG4); p_ptt 2384 drivers/net/ethernet/qlogic/qed/qed_mcp.c int qed_start_recovery_process(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 2395 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_wr(p_hwfn, p_ptt, MISC_REG_AEU_GENERAL_ATTN_35, 0x1); p_ptt 2405 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt = p_hwfn->p_main_ptt; p_ptt 2412 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_pglueb_set_pfid_enable(p_hwfn, p_ptt, false); p_ptt 2423 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, u8 vf_id, u8 num) p_ptt 2438 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_CFG_VF_MSIX, param, p_ptt 2455 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, u8 num) p_ptt 2460 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_CFG_PF_VFS_MSIX, p_ptt 2475 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, u8 vf_id, u8 num) p_ptt 2478 drivers/net/ethernet/qlogic/qed/qed_mcp.c return qed_mcp_config_vf_msix_bb(p_hwfn, p_ptt, vf_id, num); p_ptt 2480 drivers/net/ethernet/qlogic/qed/qed_mcp.c return qed_mcp_config_vf_msix_ah(p_hwfn, p_ptt, num); p_ptt 2485 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 2505 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params); p_ptt 2516 drivers/net/ethernet/qlogic/qed/qed_mcp.c int qed_mcp_halt(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 2521 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_MCP_HALT, 0, &resp, p_ptt 2530 drivers/net/ethernet/qlogic/qed/qed_mcp.c cpu_state = qed_rd(p_hwfn, p_ptt, MCP_REG_CPU_STATE); p_ptt 2538 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_rd(p_hwfn, p_ptt, MCP_REG_CPU_MODE), cpu_state); p_ptt 2549 drivers/net/ethernet/qlogic/qed/qed_mcp.c int qed_mcp_resume(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 2553 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_wr(p_hwfn, p_ptt, MCP_REG_CPU_STATE, 0xffffffff); p_ptt 2555 drivers/net/ethernet/qlogic/qed/qed_mcp.c cpu_mode = qed_rd(p_hwfn, p_ptt, MCP_REG_CPU_MODE); p_ptt 2557 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_wr(p_hwfn, p_ptt, MCP_REG_CPU_MODE, cpu_mode); p_ptt 2559 drivers/net/ethernet/qlogic/qed/qed_mcp.c cpu_state = qed_rd(p_hwfn, p_ptt, MCP_REG_CPU_STATE); p_ptt 2574 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 2596 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_OV_UPDATE_CURR_CFG, p_ptt 2605 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 2627 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_OV_UPDATE_DRIVER_STATE, p_ptt 2636 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, u16 mtu) p_ptt 2643 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_OV_UPDATE_MTU, p_ptt 2652 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, u8 *mac) p_ptt 2674 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params); p_ptt 2685 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, enum qed_ov_wol wol) p_ptt 2712 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_OV_UPDATE_WOL, p_ptt 2724 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 2746 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_OV_UPDATE_ESWITCH_MODE, p_ptt 2755 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, enum qed_led_mode mode) p_ptt 2775 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_SET_LED_MODE, p_ptt 2782 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, u32 mask_parities) p_ptt 2787 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_MASK_PARITIES, p_ptt 2807 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt; p_ptt 2810 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 2811 drivers/net/ethernet/qlogic/qed/qed_mcp.c if (!p_ptt) p_ptt 2817 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_nvm_rd_cmd(p_hwfn, p_ptt, p_ptt 2843 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 2851 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt; p_ptt 2853 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 2854 drivers/net/ethernet/qlogic/qed/qed_mcp.c if (!p_ptt) p_ptt 2858 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 2868 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt; p_ptt 2871 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 2872 drivers/net/ethernet/qlogic/qed/qed_mcp.c if (!p_ptt) p_ptt 2899 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_nvm_wr_cmd(p_hwfn, p_ptt, nvm_cmd, nvm_offset, p_ptt 2940 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 2945 drivers/net/ethernet/qlogic/qed/qed_mcp.c int qed_mcp_phy_sfp_read(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, p_ptt 2971 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_nvm_rd_cmd(p_hwfn, p_ptt, p_ptt 2994 drivers/net/ethernet/qlogic/qed/qed_mcp.c int qed_mcp_bist_register_test(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 3002 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_BIST_TEST, p_ptt 3015 drivers/net/ethernet/qlogic/qed/qed_mcp.c int qed_mcp_bist_clock_test(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 3023 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_BIST_TEST, p_ptt 3037 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 3046 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_BIST_TEST, p_ptt 3058 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 3069 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_nvm_rd_cmd(p_hwfn, p_ptt, p_ptt 3087 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt; p_ptt 3094 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 3095 drivers/net/ethernet/qlogic/qed/qed_mcp.c if (!p_ptt) { p_ptt 3103 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_ptt, &nvm_info.num_images); p_ptt 3122 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_bist_nvm_get_image_att(p_hwfn, p_ptt, p_ptt 3142 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 3148 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 3311 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 3362 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params); p_ptt 3391 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 3404 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_resc_allocation_msg(p_hwfn, p_ptt, &in_params, p_ptt 3416 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 3428 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_resc_allocation_msg(p_hwfn, p_ptt, &in_params, p_ptt 3443 drivers/net/ethernet/qlogic/qed/qed_mcp.c int qed_mcp_initiate_pf_flr(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 3447 drivers/net/ethernet/qlogic/qed/qed_mcp.c return qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_INITIATE_PF_FLR, 0, p_ptt 3452 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 3457 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_RESOURCE_CMD, param, p_ptt 3482 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 3513 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_resource_cmd(p_hwfn, p_ptt, param, &mcp_resp, &mcp_param); p_ptt 3545 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, struct qed_resc_lock_params *p_params) p_ptt 3564 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = __qed_mcp_resc_lock(p_hwfn, p_ptt, p_params); p_ptt 3577 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, p_ptt 3594 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_resource_cmd(p_hwfn, p_ptt, param, &mcp_resp, &mcp_param); p_ptt 3663 drivers/net/ethernet/qlogic/qed/qed_mcp.c int qed_mcp_get_capabilities(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 3668 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_GET_MFW_FEATURE_SUPPORT, p_ptt 3678 drivers/net/ethernet/qlogic/qed/qed_mcp.c int qed_mcp_set_capabilities(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 3685 drivers/net/ethernet/qlogic/qed/qed_mcp.c return qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_FEATURE_SUPPORT, p_ptt 3689 drivers/net/ethernet/qlogic/qed/qed_mcp.c int qed_mcp_get_engine_config(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 3697 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params); p_ptt 3728 drivers/net/ethernet/qlogic/qed/qed_mcp.c int qed_mcp_get_ppfid_bitmap(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 3735 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd_and_union(p_hwfn, p_ptt, &mb_params); p_ptt 3754 drivers/net/ethernet/qlogic/qed/qed_mcp.c int qed_mcp_nvm_get_cfg(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, p_ptt 3776 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_nvm_rd_cmd(p_hwfn, p_ptt, p_ptt 3783 drivers/net/ethernet/qlogic/qed/qed_mcp.c int qed_mcp_nvm_set_cfg(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, p_ptt 3810 drivers/net/ethernet/qlogic/qed/qed_mcp.c return qed_mcp_nvm_wr_cmd(p_hwfn, p_ptt, p_ptt 298 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, p_ptt 312 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, p_ptt 325 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, u32 *p_mbi_ver); p_ptt 339 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, u32 *media_type); p_ptt 354 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, p_ptt 371 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, u32 *p_speed_mask); p_ptt 385 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, u32 *p_board_config); p_ptt 405 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, p_ptt 419 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt); p_ptt 431 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, p_ptt 446 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, p_ptt 458 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt); p_ptt 468 drivers/net/ethernet/qlogic/qed/qed_mcp.h int qed_start_recovery_process(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); p_ptt 491 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, p_ptt 504 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, p_ptt 517 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, u16 mtu); p_ptt 529 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, u8 *mac); p_ptt 541 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, p_ptt 554 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, p_ptt 635 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt); p_ptt 646 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt); p_ptt 659 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, p_ptt 673 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, p_ptt 686 drivers/net/ethernet/qlogic/qed/qed_mcp.h int qed_mfw_process_tlv_req(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); p_ptt 770 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt); p_ptt 780 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt); p_ptt 805 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt); p_ptt 834 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, p_ptt 845 drivers/net/ethernet/qlogic/qed/qed_mcp.h int qed_mcp_load_done(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); p_ptt 855 drivers/net/ethernet/qlogic/qed/qed_mcp.h int qed_mcp_unload_req(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); p_ptt 865 drivers/net/ethernet/qlogic/qed/qed_mcp.h int qed_mcp_unload_done(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); p_ptt 874 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt); p_ptt 886 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, u32 *vfs_to_ack); p_ptt 896 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt); p_ptt 907 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt); p_ptt 926 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, p_ptt 945 drivers/net/ethernet/qlogic/qed/qed_mcp.h int qed_mcp_phy_sfp_read(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, p_ptt 968 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, u8 vf_id, u8 num); p_ptt 978 drivers/net/ethernet/qlogic/qed/qed_mcp.h int qed_mcp_halt(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); p_ptt 988 drivers/net/ethernet/qlogic/qed/qed_mcp.h int qed_mcp_resume(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); p_ptt 993 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, p_ptt 997 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, p_ptt 1002 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, u32 mask_parities); p_ptt 1017 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, p_ptt 1035 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, p_ptt 1049 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, p_ptt 1073 drivers/net/ethernet/qlogic/qed/qed_mcp.h int qed_mcp_initiate_pf_flr(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); p_ptt 1114 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, struct qed_resc_lock_params *p_params); p_ptt 1138 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, p_ptt 1169 drivers/net/ethernet/qlogic/qed/qed_mcp.h int qed_mcp_get_capabilities(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); p_ptt 1178 drivers/net/ethernet/qlogic/qed/qed_mcp.h int qed_mcp_set_capabilities(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); p_ptt 1186 drivers/net/ethernet/qlogic/qed/qed_mcp.h void qed_mcp_read_ufp_config(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); p_ptt 1201 drivers/net/ethernet/qlogic/qed/qed_mcp.h int qed_mcp_get_engine_config(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); p_ptt 1209 drivers/net/ethernet/qlogic/qed/qed_mcp.h int qed_mcp_get_ppfid_bitmap(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); p_ptt 1222 drivers/net/ethernet/qlogic/qed/qed_mcp.h int qed_mcp_nvm_get_cfg(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, p_ptt 1237 drivers/net/ethernet/qlogic/qed/qed_mcp.h int qed_mcp_nvm_set_cfg(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, p_ptt 1242 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c int qed_mfw_process_tlv_req(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 1251 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c global_offsize = qed_rd(p_hwfn, p_ptt, addr); p_ptt 1254 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c addr = qed_rd(p_hwfn, p_ptt, addr); p_ptt 1255 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c size = qed_rd(p_hwfn, p_ptt, global_addr + p_ptt 1276 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c val = qed_rd(p_hwfn, p_ptt, addr + offset); p_ptt 1327 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c qed_wr(p_hwfn, p_ptt, addr + offset, val); p_ptt 1331 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c rc = qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_GET_TLV_DONE, 0, &resp, p_ptt 66 drivers/net/ethernet/qlogic/qed/qed_ptp.c static int qed_ptp_res_lock(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 78 drivers/net/ethernet/qlogic/qed/qed_ptp.c rc = qed_mcp_resc_lock(p_hwfn, p_ptt, ¶ms); p_ptt 98 drivers/net/ethernet/qlogic/qed/qed_ptp.c static int qed_ptp_res_unlock(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 110 drivers/net/ethernet/qlogic/qed/qed_ptp.c rc = qed_mcp_resc_unlock(p_hwfn, p_ptt, ¶ms); p_ptt 130 drivers/net/ethernet/qlogic/qed/qed_ptp.c struct qed_ptt *p_ptt = p_hwfn->p_ptp_ptt; p_ptt 134 drivers/net/ethernet/qlogic/qed/qed_ptp.c val = qed_rd(p_hwfn, p_ptt, NIG_REG_LLH_PTP_HOST_BUF_SEQID); p_ptt 140 drivers/net/ethernet/qlogic/qed/qed_ptp.c val = qed_rd(p_hwfn, p_ptt, NIG_REG_LLH_PTP_HOST_BUF_TS_LSB); p_ptt 141 drivers/net/ethernet/qlogic/qed/qed_ptp.c *timestamp = qed_rd(p_hwfn, p_ptt, NIG_REG_LLH_PTP_HOST_BUF_TS_MSB); p_ptt 146 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_LLH_PTP_HOST_BUF_SEQID, p_ptt 156 drivers/net/ethernet/qlogic/qed/qed_ptp.c struct qed_ptt *p_ptt = p_hwfn->p_ptp_ptt; p_ptt 160 drivers/net/ethernet/qlogic/qed/qed_ptp.c val = qed_rd(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_BUF_SEQID); p_ptt 167 drivers/net/ethernet/qlogic/qed/qed_ptp.c val = qed_rd(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_BUF_TS_LSB); p_ptt 168 drivers/net/ethernet/qlogic/qed/qed_ptp.c *timestamp = qed_rd(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_BUF_TS_MSB); p_ptt 173 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_BUF_SEQID, QED_TIMESTAMP_MASK); p_ptt 182 drivers/net/ethernet/qlogic/qed/qed_ptp.c struct qed_ptt *p_ptt = p_hwfn->p_ptp_ptt; p_ptt 185 drivers/net/ethernet/qlogic/qed/qed_ptp.c temp = qed_rd(p_hwfn, p_ptt, NIG_REG_TSGEN_SYNC_TIME_LSB); p_ptt 186 drivers/net/ethernet/qlogic/qed/qed_ptp.c *phc_cycles = qed_rd(p_hwfn, p_ptt, NIG_REG_TSGEN_SYNC_TIME_MSB); p_ptt 199 drivers/net/ethernet/qlogic/qed/qed_ptp.c struct qed_ptt *p_ptt = p_hwfn->p_ptp_ptt; p_ptt 248 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_LLH_PTP_PARAM_MASK, p_ptt 250 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_LLH_PTP_RULE_MASK, rule_mask); p_ptt 251 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_RX_PTP_EN, enable_cfg); p_ptt 254 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TX_PTP_EN, 0x0); p_ptt 255 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_PARAM_MASK, 0x7FF); p_ptt 256 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_RULE_MASK, 0x3FFF); p_ptt 258 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TX_PTP_EN, enable_cfg); p_ptt 259 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_PARAM_MASK, p_ptt 261 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_RULE_MASK, rule_mask); p_ptt 265 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_LLH_PTP_HOST_BUF_SEQID, p_ptt 282 drivers/net/ethernet/qlogic/qed/qed_ptp.c struct qed_ptt *p_ptt = p_hwfn->p_ptp_ptt; p_ptt 347 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TSGEN_RST_DRIFT_CNTR, 0x1); p_ptt 349 drivers/net/ethernet/qlogic/qed/qed_ptp.c drift_state = qed_rd(p_hwfn, p_ptt, NIG_REG_TSGEN_RST_DRIFT_CNTR); p_ptt 351 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TSGEN_DRIFT_CNTR_CONF, p_ptt 358 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TSGEN_RST_DRIFT_CNTR, 0x0); p_ptt 366 drivers/net/ethernet/qlogic/qed/qed_ptp.c struct qed_ptt *p_ptt; p_ptt 369 drivers/net/ethernet/qlogic/qed/qed_ptp.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 370 drivers/net/ethernet/qlogic/qed/qed_ptp.c if (!p_ptt) { p_ptt 375 drivers/net/ethernet/qlogic/qed/qed_ptp.c p_hwfn->p_ptp_ptt = p_ptt; p_ptt 377 drivers/net/ethernet/qlogic/qed/qed_ptp.c rc = qed_ptp_res_lock(p_hwfn, p_ptt); p_ptt 381 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 387 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_LLH_PTP_PARAM_MASK, 0x7FF); p_ptt 388 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_LLH_PTP_RULE_MASK, 0x3FFF); p_ptt 389 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_PARAM_MASK, 0x7FF); p_ptt 390 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_RULE_MASK, 0x3FFF); p_ptt 392 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TX_PTP_EN, 7); p_ptt 393 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_RX_PTP_EN, 7); p_ptt 395 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TS_OUTPUT_ENABLE_PDA, 0x1); p_ptt 399 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TIMESYNC_GEN_REG_BB, 2); p_ptt 401 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TSGEN_FREECNT_UPDATE_K2, 2); p_ptt 403 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TSGEN_FREE_CNT_VALUE_LSB, 0); p_ptt 404 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TSGEN_FREE_CNT_VALUE_MSB, 0); p_ptt 407 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TIMESYNC_GEN_REG_BB, 4); p_ptt 409 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TSGEN_FREECNT_UPDATE_K2, 4); p_ptt 410 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_PTP_LATCH_OSTS_PKT_TIME, 1); p_ptt 414 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TSGEN_DRIFT_CNTR_CONF, 0x0); p_ptt 415 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TSGEN_RST_DRIFT_CNTR, 0x0); p_ptt 418 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_LLH_PTP_HOST_BUF_SEQID, p_ptt 420 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_BUF_SEQID, QED_TIMESTAMP_MASK); p_ptt 428 drivers/net/ethernet/qlogic/qed/qed_ptp.c struct qed_ptt *p_ptt = p_hwfn->p_ptp_ptt; p_ptt 430 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_ptp_res_unlock(p_hwfn, p_ptt); p_ptt 433 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_LLH_PTP_PARAM_MASK, 0x7FF); p_ptt 434 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_LLH_PTP_RULE_MASK, 0x3FFF); p_ptt 436 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_PARAM_MASK, 0x7FF); p_ptt 437 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_RULE_MASK, 0x3FFF); p_ptt 440 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_RX_PTP_EN, 0x0); p_ptt 441 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_wr(p_hwfn, p_ptt, NIG_REG_TX_PTP_EN, 0x0); p_ptt 443 drivers/net/ethernet/qlogic/qed/qed_ptp.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 559 drivers/net/ethernet/qlogic/qed/qed_rdma.c static int qed_rdma_init_hw(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 567 drivers/net/ethernet/qlogic/qed/qed_rdma.c qed_iwarp_init_hw(p_hwfn, p_ptt); p_ptt 569 drivers/net/ethernet/qlogic/qed/qed_rdma.c rc = qed_roce_init_hw(p_hwfn, p_ptt); p_ptt 576 drivers/net/ethernet/qlogic/qed/qed_rdma.c struct qed_ptt *p_ptt) p_ptt 682 drivers/net/ethernet/qlogic/qed/qed_rdma.c struct qed_ptt *p_ptt, p_ptt 697 drivers/net/ethernet/qlogic/qed/qed_rdma.c rc = qed_rdma_init_hw(p_hwfn, p_ptt); p_ptt 711 drivers/net/ethernet/qlogic/qed/qed_rdma.c return qed_rdma_start_fw(p_hwfn, params, p_ptt); p_ptt 720 drivers/net/ethernet/qlogic/qed/qed_rdma.c struct qed_ptt *p_ptt; p_ptt 726 drivers/net/ethernet/qlogic/qed/qed_rdma.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 727 drivers/net/ethernet/qlogic/qed/qed_rdma.c if (!p_ptt) { p_ptt 733 drivers/net/ethernet/qlogic/qed/qed_rdma.c qed_wr(p_hwfn, p_ptt, p_hwfn->rdma_prs_search_reg, 0); p_ptt 736 drivers/net/ethernet/qlogic/qed/qed_rdma.c qed_wr(p_hwfn, p_ptt, PRS_REG_ROCE_DEST_QP_MAX_PF, 0); p_ptt 738 drivers/net/ethernet/qlogic/qed/qed_rdma.c ll2_ethertype_en = qed_rd(p_hwfn, p_ptt, PRS_REG_LIGHT_L2_ETHERTYPE_EN); p_ptt 740 drivers/net/ethernet/qlogic/qed/qed_rdma.c qed_wr(p_hwfn, p_ptt, PRS_REG_LIGHT_L2_ETHERTYPE_EN, p_ptt 746 drivers/net/ethernet/qlogic/qed/qed_rdma.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 753 drivers/net/ethernet/qlogic/qed/qed_rdma.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 1574 drivers/net/ethernet/qlogic/qed/qed_rdma.c struct qed_ptt *p_ptt; p_ptt 1608 drivers/net/ethernet/qlogic/qed/qed_rdma.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 1609 drivers/net/ethernet/qlogic/qed/qed_rdma.c if (!p_ptt) { p_ptt 1616 drivers/net/ethernet/qlogic/qed/qed_rdma.c rc = qed_mcp_drain(p_hwfn, p_ptt); p_ptt 1618 drivers/net/ethernet/qlogic/qed/qed_rdma.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 1624 drivers/net/ethernet/qlogic/qed/qed_rdma.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 1826 drivers/net/ethernet/qlogic/qed/qed_rdma.c void qed_rdma_dpm_conf(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 1832 drivers/net/ethernet/qlogic/qed/qed_rdma.c qed_wr(p_hwfn, p_ptt, DORQ_REG_PF_DPM_ENABLE, val); p_ptt 1839 drivers/net/ethernet/qlogic/qed/qed_rdma.c void qed_rdma_dpm_bar(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 1843 drivers/net/ethernet/qlogic/qed/qed_rdma.c qed_rdma_dpm_conf(p_hwfn, p_ptt); p_ptt 1850 drivers/net/ethernet/qlogic/qed/qed_rdma.c struct qed_ptt *p_ptt; p_ptt 1856 drivers/net/ethernet/qlogic/qed/qed_rdma.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 1857 drivers/net/ethernet/qlogic/qed/qed_rdma.c if (!p_ptt) p_ptt 1864 drivers/net/ethernet/qlogic/qed/qed_rdma.c rc = qed_rdma_setup(p_hwfn, p_ptt, params); p_ptt 1868 drivers/net/ethernet/qlogic/qed/qed_rdma.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 1876 drivers/net/ethernet/qlogic/qed/qed_rdma.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 178 drivers/net/ethernet/qlogic/qed/qed_rdma.h void qed_rdma_dpm_bar(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); p_ptt 179 drivers/net/ethernet/qlogic/qed/qed_rdma.h void qed_rdma_dpm_conf(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); p_ptt 183 drivers/net/ethernet/qlogic/qed/qed_rdma.h static inline void qed_rdma_dpm_conf(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) {} p_ptt 185 drivers/net/ethernet/qlogic/qed/qed_rdma.h struct qed_ptt *p_ptt) {} p_ptt 1132 drivers/net/ethernet/qlogic/qed/qed_roce.c void qed_roce_dpm_dcbx(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 1143 drivers/net/ethernet/qlogic/qed/qed_roce.c qed_rdma_dpm_conf(p_hwfn, p_ptt); p_ptt 1152 drivers/net/ethernet/qlogic/qed/qed_roce.c int qed_roce_init_hw(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 1156 drivers/net/ethernet/qlogic/qed/qed_roce.c qed_wr(p_hwfn, p_ptt, PRS_REG_ROCE_DEST_QP_MAX_PF, 0); p_ptt 1160 drivers/net/ethernet/qlogic/qed/qed_roce.c ll2_ethertype_en = qed_rd(p_hwfn, p_ptt, PRS_REG_LIGHT_L2_ETHERTYPE_EN); p_ptt 1161 drivers/net/ethernet/qlogic/qed/qed_roce.c qed_wr(p_hwfn, p_ptt, PRS_REG_LIGHT_L2_ETHERTYPE_EN, p_ptt 38 drivers/net/ethernet/qlogic/qed/qed_roce.h void qed_roce_dpm_dcbx(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); p_ptt 41 drivers/net/ethernet/qlogic/qed/qed_roce.h struct qed_ptt *p_ptt) {} p_ptt 46 drivers/net/ethernet/qlogic/qed/qed_roce.h int qed_roce_init_hw(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt); p_ptt 69 drivers/net/ethernet/qlogic/qed/qed_selftest.c struct qed_ptt *p_ptt; p_ptt 75 drivers/net/ethernet/qlogic/qed/qed_selftest.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 76 drivers/net/ethernet/qlogic/qed/qed_selftest.c if (!p_ptt) { p_ptt 80 drivers/net/ethernet/qlogic/qed/qed_selftest.c rc = qed_mcp_bist_register_test(p_hwfn, p_ptt); p_ptt 81 drivers/net/ethernet/qlogic/qed/qed_selftest.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 92 drivers/net/ethernet/qlogic/qed/qed_selftest.c struct qed_ptt *p_ptt; p_ptt 98 drivers/net/ethernet/qlogic/qed/qed_selftest.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 99 drivers/net/ethernet/qlogic/qed/qed_selftest.c if (!p_ptt) { p_ptt 103 drivers/net/ethernet/qlogic/qed/qed_selftest.c rc = qed_mcp_bist_clock_test(p_hwfn, p_ptt); p_ptt 104 drivers/net/ethernet/qlogic/qed/qed_selftest.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 115 drivers/net/ethernet/qlogic/qed/qed_selftest.c struct qed_ptt *p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 122 drivers/net/ethernet/qlogic/qed/qed_selftest.c if (!p_ptt) { p_ptt 128 drivers/net/ethernet/qlogic/qed/qed_selftest.c rc = qed_mcp_bist_nvm_get_num_images(p_hwfn, p_ptt, &num_images); p_ptt 140 drivers/net/ethernet/qlogic/qed/qed_selftest.c rc = qed_mcp_bist_nvm_get_image_att(p_hwfn, p_ptt, p_ptt 203 drivers/net/ethernet/qlogic/qed/qed_selftest.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 209 drivers/net/ethernet/qlogic/qed/qed_selftest.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 442 drivers/net/ethernet/qlogic/qed/qed_sp.h struct qed_ptt *p_ptt, p_ptt 494 drivers/net/ethernet/qlogic/qed/qed_sp.h struct qed_ptt *p_ptt, p_ptt 262 drivers/net/ethernet/qlogic/qed/qed_sp_commands.c struct qed_ptt *p_ptt, p_ptt 265 drivers/net/ethernet/qlogic/qed/qed_sp_commands.c qed_set_gre_enable(p_hwfn, p_ptt, p_tun->l2_gre.b_mode_enabled, p_ptt 267 drivers/net/ethernet/qlogic/qed/qed_sp_commands.c qed_set_vxlan_enable(p_hwfn, p_ptt, p_tun->vxlan.b_mode_enabled); p_ptt 269 drivers/net/ethernet/qlogic/qed/qed_sp_commands.c qed_set_geneve_enable(p_hwfn, p_ptt, p_tun->l2_geneve.b_mode_enabled, p_ptt 274 drivers/net/ethernet/qlogic/qed/qed_sp_commands.c struct qed_ptt *p_ptt, p_ptt 278 drivers/net/ethernet/qlogic/qed/qed_sp_commands.c qed_set_vxlan_dest_port(p_hwfn, p_ptt, p_ptt 282 drivers/net/ethernet/qlogic/qed/qed_sp_commands.c qed_set_geneve_dest_port(p_hwfn, p_ptt, p_ptt 285 drivers/net/ethernet/qlogic/qed/qed_sp_commands.c qed_set_hw_tunn_mode(p_hwfn, p_ptt, p_tunn); p_ptt 325 drivers/net/ethernet/qlogic/qed/qed_sp_commands.c struct qed_ptt *p_ptt, p_ptt 440 drivers/net/ethernet/qlogic/qed/qed_sp_commands.c qed_set_hw_tunn_mode_port(p_hwfn, p_ptt, p_ptt 505 drivers/net/ethernet/qlogic/qed/qed_sp_commands.c struct qed_ptt *p_ptt, p_ptt 540 drivers/net/ethernet/qlogic/qed/qed_sp_commands.c qed_set_hw_tunn_mode_port(p_hwfn, p_ptt, &p_hwfn->cdev->tunnel); p_ptt 120 drivers/net/ethernet/qlogic/qed/qed_spq.c struct qed_ptt *p_ptt; p_ptt 137 drivers/net/ethernet/qlogic/qed/qed_spq.c p_ptt = qed_ptt_acquire(p_hwfn); p_ptt 138 drivers/net/ethernet/qlogic/qed/qed_spq.c if (!p_ptt) { p_ptt 144 drivers/net/ethernet/qlogic/qed/qed_spq.c rc = qed_mcp_drain(p_hwfn, p_ptt); p_ptt 145 drivers/net/ethernet/qlogic/qed/qed_spq.c qed_ptt_release(p_hwfn, p_ptt); p_ptt 328 drivers/net/ethernet/qlogic/qed/qed_sriov.c int vfid, struct qed_ptt *p_ptt) p_ptt 357 drivers/net/ethernet/qlogic/qed/qed_sriov.c return qed_dmae_host2host(p_hwfn, p_ptt, p_vf->bulletin.phys, p_ptt 725 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, u8 abs_vfid) p_ptt 727 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_wr(p_hwfn, p_ptt, p_ptt 733 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, struct qed_vf_info *vf) p_ptt 738 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_fid_pretend(p_hwfn, p_ptt, (u16) vf->concrete_fid); p_ptt 740 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_wr(p_hwfn, p_ptt, IGU_REG_STATISTIC_NUM_VF_MSG_SENT, 0); p_ptt 743 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_fid_pretend(p_hwfn, p_ptt, (u16) p_hwfn->hw_info.concrete_fid); p_ptt 747 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_int_igu_init_pure_rt_single(p_hwfn, p_ptt, p_ptt 753 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 758 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_fid_pretend(p_hwfn, p_ptt, (u16) vf->concrete_fid); p_ptt 760 drivers/net/ethernet/qlogic/qed/qed_sriov.c igu_vf_conf = qed_rd(p_hwfn, p_ptt, IGU_REG_VF_CONFIGURATION); p_ptt 767 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_wr(p_hwfn, p_ptt, IGU_REG_VF_CONFIGURATION, igu_vf_conf); p_ptt 770 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_fid_pretend(p_hwfn, p_ptt, (u16) p_hwfn->hw_info.concrete_fid); p_ptt 775 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, u8 abs_vf_id, u8 num_sbs) p_ptt 796 drivers/net/ethernet/qlogic/qed/qed_sriov.c return qed_mcp_config_vf_msix(p_hwfn, p_ptt, p_ptt 803 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 822 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_pglue_clear_err(p_hwfn, p_ptt, QED_VF_ABS_ID(p_hwfn, vf)); p_ptt 824 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_igu_reset(p_hwfn, p_ptt, vf); p_ptt 826 drivers/net/ethernet/qlogic/qed/qed_sriov.c rc = qed_iov_enable_vf_access_msix(p_hwfn, p_ptt, p_ptt 831 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_fid_pretend(p_hwfn, p_ptt, (u16) vf->concrete_fid); p_ptt 836 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_init_run(p_hwfn, p_ptt, PHASE_VF, vf->abs_vf_id, p_ptt 840 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_fid_pretend(p_hwfn, p_ptt, (u16) p_hwfn->hw_info.concrete_fid); p_ptt 860 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 873 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_wr(p_hwfn, p_ptt, reg_addr, val); p_ptt 878 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 882 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_igu_reset(p_hwfn, p_ptt, vf); p_ptt 884 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_igu_set_int(p_hwfn, p_ptt, vf, 1); p_ptt 887 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_config_perm_table(p_hwfn, p_ptt, vf, true); p_ptt 891 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 913 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_wr(p_hwfn, p_ptt, p_ptt 921 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_dmae_host2grc(p_hwfn, p_ptt, p_ptt 933 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 945 drivers/net/ethernet/qlogic/qed/qed_sriov.c val = qed_rd(p_hwfn, p_ptt, addr); p_ptt 947 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_wr(p_hwfn, p_ptt, addr, val); p_ptt 996 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 1062 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_ptt, p_ptt 1094 drivers/net/ethernet/qlogic/qed/qed_sriov.c rc = qed_iov_enable_vf_access(p_hwfn, p_ptt, vf); p_ptt 1106 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, u16 rel_vf_id) p_ptt 1140 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_igu_set_int(p_hwfn, p_ptt, vf, 0); p_ptt 1143 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_config_perm_table(p_hwfn, p_ptt, vf, 0); p_ptt 1147 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_free_vf_igu_sbs(p_hwfn, p_ptt, vf); p_ptt 1214 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 1232 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_dmae_host2host(p_hwfn, p_ptt, mbx->reply_phys + sizeof(u64), p_ptt 1246 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_dmae_host2host(p_hwfn, p_ptt, mbx->reply_phys, p_ptt 1321 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 1333 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_send_response(p_hwfn, p_ptt, vf_info, length, status); p_ptt 1401 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt) p_ptt 1403 drivers/net/ethernet/qlogic/qed/qed_sriov.c u32 val = qed_rd(p_hwfn, p_ptt, PGLUE_B_REG_VF_BAR1_SIZE); p_ptt 1412 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 1438 drivers/net/ethernet/qlogic/qed/qed_sriov.c bar_size = qed_iov_vf_db_bar_size(p_hwfn, p_ptt); p_ptt 1454 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 1486 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_mbx_acquire_resc_cids(p_hwfn, p_ptt, p_vf, p_req, p_resp); p_ptt 1554 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 1640 drivers/net/ethernet/qlogic/qed/qed_sriov.c resp->pfdev_info.bar_size = qed_iov_vf_db_bar_size(p_hwfn, p_ptt); p_ptt 1657 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_mcp_get_mfw_ver(p_hwfn, p_ptt, &pfdev_info->mfw_ver, NULL); p_ptt 1665 drivers/net/ethernet/qlogic/qed/qed_sriov.c vfpf_status = qed_iov_vf_mbx_acquire_resc(p_hwfn, p_ptt, vf, p_ptt 1680 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_post_vf_bulletin(p_hwfn, vf->relative_vf_id, p_ptt); p_ptt 1700 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_prepare_resp(p_hwfn, p_ptt, vf, CHANNEL_TLV_ACQUIRE, p_ptt 1908 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 1931 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_enable_vf_traffic(p_hwfn, p_ptt, vf); p_ptt 1942 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_int_cau_conf_sb(p_hwfn, p_ptt, p_ptt 1990 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_prepare_resp(p_hwfn, p_ptt, vf, CHANNEL_TLV_VPORT_START, p_ptt 1995 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 2026 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_prepare_resp(p_hwfn, p_ptt, vf, CHANNEL_TLV_VPORT_TEARDOWN, p_ptt 2031 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 2065 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_send_response(p_hwfn, p_ptt, vf, length, status); p_ptt 2105 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 2181 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_mbx_start_rxq_resp(p_hwfn, p_ptt, vf, status, p_ptt 2317 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 2376 drivers/net/ethernet/qlogic/qed/qed_sriov.c rc = qed_sp_pf_update_tunn_cfg(p_hwfn, p_ptt, &tunn, p_ptt 2397 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_send_response(p_hwfn, p_ptt, p_vf, sizeof(*p_resp), status); p_ptt 2401 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 2434 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_send_response(p_hwfn, p_ptt, p_vf, length, status); p_ptt 2438 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 2508 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_mbx_start_txq_resp(p_hwfn, p_ptt, vf, cid, status); p_ptt 2582 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 2615 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_prepare_resp(p_hwfn, p_ptt, vf, CHANNEL_TLV_STOP_RXQS, p_ptt 2620 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 2653 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_prepare_resp(p_hwfn, p_ptt, vf, CHANNEL_TLV_STOP_TXQS, p_ptt 2658 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 2724 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_prepare_resp(p_hwfn, p_ptt, vf, CHANNEL_TLV_UPDATE_RXQ, p_ptt 3031 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 3111 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_send_response(p_hwfn, p_ptt, vf, length, status); p_ptt 3275 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 3359 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_prepare_resp(p_hwfn, p_ptt, vf, CHANNEL_TLV_UCAST_FILTER, p_ptt 3364 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 3371 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_int_igu_init_pure_rt_single(p_hwfn, p_ptt, p_ptt 3375 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_prepare_resp(p_hwfn, p_ptt, vf, CHANNEL_TLV_INT_CLEANUP, p_ptt 3381 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, struct qed_vf_info *vf) p_ptt 3387 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_igu_set_int(p_hwfn, p_ptt, vf, 0); p_ptt 3390 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_config_perm_table(p_hwfn, p_ptt, vf, 0); p_ptt 3392 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_prepare_resp(p_hwfn, p_ptt, vf, CHANNEL_TLV_CLOSE, p_ptt 3397 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 3420 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_prepare_resp(p_hwfn, p_ptt, p_vf, CHANNEL_TLV_RELEASE, p_ptt 3425 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 3454 drivers/net/ethernet/qlogic/qed/qed_sriov.c rc = qed_get_rxq_coalesce(p_hwfn, p_ptt, p_cid, &coal); p_ptt 3473 drivers/net/ethernet/qlogic/qed/qed_sriov.c rc = qed_get_txq_coalesce(p_hwfn, p_ptt, p_cid, &coal); p_ptt 3490 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_send_response(p_hwfn, p_ptt, p_vf, sizeof(*p_resp), status); p_ptt 3494 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 3535 drivers/net/ethernet/qlogic/qed/qed_sriov.c rc = qed_set_rxq_coalesce(p_hwfn, p_ptt, rx_coal, p_cid); p_ptt 3556 drivers/net/ethernet/qlogic/qed/qed_sriov.c rc = qed_set_txq_coalesce(p_hwfn, p_ptt, tx_coal, p_ptt 3572 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_prepare_resp(p_hwfn, p_ptt, vf, CHANNEL_TLV_COALESCE_UPDATE, p_ptt 3577 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_vf_info *p_vf, struct qed_ptt *p_ptt) p_ptt 3582 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_fid_pretend(p_hwfn, p_ptt, (u16) p_vf->concrete_fid); p_ptt 3585 drivers/net/ethernet/qlogic/qed/qed_sriov.c val = qed_rd(p_hwfn, p_ptt, DORQ_REG_VF_USAGE_CNT); p_ptt 3590 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_fid_pretend(p_hwfn, p_ptt, (u16) p_hwfn->hw_info.concrete_fid); p_ptt 3604 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_vf_info *p_vf, struct qed_ptt *p_ptt) p_ptt 3613 drivers/net/ethernet/qlogic/qed/qed_sriov.c cons[i] = qed_rd(p_hwfn, p_ptt, p_ptt 3616 drivers/net/ethernet/qlogic/qed/qed_sriov.c prod = qed_rd(p_hwfn, p_ptt, p_ptt 3628 drivers/net/ethernet/qlogic/qed/qed_sriov.c tmp = qed_rd(p_hwfn, p_ptt, p_ptt 3651 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_vf_info *p_vf, struct qed_ptt *p_ptt) p_ptt 3655 drivers/net/ethernet/qlogic/qed/qed_sriov.c rc = qed_iov_vf_flr_poll_dorq(p_hwfn, p_vf, p_ptt); p_ptt 3659 drivers/net/ethernet/qlogic/qed/qed_sriov.c rc = qed_iov_vf_flr_poll_pbf(p_hwfn, p_vf, p_ptt); p_ptt 3668 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 3691 drivers/net/ethernet/qlogic/qed/qed_sriov.c rc = qed_iov_vf_flr_poll(p_hwfn, p_vf, p_ptt); p_ptt 3695 drivers/net/ethernet/qlogic/qed/qed_sriov.c rc = qed_final_cleanup(p_hwfn, p_ptt, vfid, true); p_ptt 3713 drivers/net/ethernet/qlogic/qed/qed_sriov.c rc = qed_iov_enable_vf_access(p_hwfn, p_ptt, p_vf); p_ptt 3733 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_flr_cleanup(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) p_ptt 3748 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_execute_vf_flr_cleanup(p_hwfn, p_ptt, i, ack_vfs); p_ptt 3750 drivers/net/ethernet/qlogic/qed/qed_sriov.c rc = qed_mcp_ack_vf_flr(p_hwfn, p_ptt, ack_vfs); p_ptt 3829 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, p_ptt 3855 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_prepare_resp(p_hwfn, p_ptt, p_vf, p_ptt 3862 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, int vfid) p_ptt 3893 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_mbx_acquire(p_hwfn, p_ptt, p_vf); p_ptt 3896 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_mbx_start_vport(p_hwfn, p_ptt, p_vf); p_ptt 3899 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_mbx_stop_vport(p_hwfn, p_ptt, p_vf); p_ptt 3902 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_mbx_start_rxq(p_hwfn, p_ptt, p_vf); p_ptt 3905 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_mbx_start_txq(p_hwfn, p_ptt, p_vf); p_ptt 3908 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_mbx_stop_rxqs(p_hwfn, p_ptt, p_vf); p_ptt 3911 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_mbx_stop_txqs(p_hwfn, p_ptt, p_vf); p_ptt 3914 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_mbx_update_rxqs(p_hwfn, p_ptt, p_vf); p_ptt 3917 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_mbx_vport_update(p_hwfn, p_ptt, p_vf); p_ptt 3920 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_mbx_ucast_filter(p_hwfn, p_ptt, p_vf); p_ptt 3923 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_mbx_close(p_hwfn, p_ptt, p_vf); p_ptt 3926 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_mbx_int_cleanup(p_hwfn, p_ptt, p_vf); p_ptt 3929 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_mbx_release(p_hwfn, p_ptt, p_vf); p_ptt 3932 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_mbx_update_tunn_param(p_hwfn, p_ptt, p_vf); p_ptt 3935 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_pf_set_coalesce(p_hwfn, p_ptt, p_vf); p_ptt 3938 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_pf_get_coalesce(p_hwfn, p_ptt, p_vf); p_ptt 3941 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_vf_pf_bulletin_update_mac(p_hwfn, p_ptt, p_vf); p_ptt 3949 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_prepare_resp(p_hwfn, p_ptt, p_vf, p_ptt 3973 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_prepare_resp(p_hwfn, p_ptt, p_vf, p_ptt 4355 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_ptt *p_ptt, int vfid, int val) p_ptt 4372 drivers/net/ethernet/qlogic/qed/qed_sriov.c return qed_init_vport_rl(p_hwfn, p_ptt, abs_vp_id, (u32)val,