Home
last modified time | relevance | path

Searched refs:qed_wr (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/qlogic/qed/
Dqed_ptp.c122 qed_wr(p_hwfn, p_ptt, NIG_REG_LLH_PTP_HOST_BUF_SEQID, in qed_ptp_hw_read_rx_ts()
149 qed_wr(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_BUF_SEQID, QED_TIMESTAMP_MASK); in qed_ptp_hw_read_tx_ts()
224 qed_wr(p_hwfn, p_ptt, NIG_REG_LLH_PTP_PARAM_MASK, in qed_ptp_hw_cfg_filters()
226 qed_wr(p_hwfn, p_ptt, NIG_REG_LLH_PTP_RULE_MASK, rule_mask); in qed_ptp_hw_cfg_filters()
227 qed_wr(p_hwfn, p_ptt, NIG_REG_RX_PTP_EN, enable_cfg); in qed_ptp_hw_cfg_filters()
230 qed_wr(p_hwfn, p_ptt, NIG_REG_TX_PTP_EN, 0x0); in qed_ptp_hw_cfg_filters()
231 qed_wr(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_PARAM_MASK, 0x7FF); in qed_ptp_hw_cfg_filters()
232 qed_wr(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_RULE_MASK, 0x3FFF); in qed_ptp_hw_cfg_filters()
234 qed_wr(p_hwfn, p_ptt, NIG_REG_TX_PTP_EN, enable_cfg); in qed_ptp_hw_cfg_filters()
235 qed_wr(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_PARAM_MASK, in qed_ptp_hw_cfg_filters()
[all …]
Dqed_init_fw_funcs.c712 qed_wr(p_hwfn, p_ptt, PQ_INFO_RAM_GRC_ADDRESS(pq_id), in qed_tx_pq_map_rt_init()
919 qed_wr(p_hwfn, p_ptt, QM_REG_SDMCMDADDR, cmd_addr); in qed_send_qm_cmd()
920 qed_wr(p_hwfn, p_ptt, QM_REG_SDMCMDDATALSB, cmd_data_lsb); in qed_send_qm_cmd()
921 qed_wr(p_hwfn, p_ptt, QM_REG_SDMCMDDATAMSB, cmd_data_msb); in qed_send_qm_cmd()
922 qed_wr(p_hwfn, p_ptt, QM_REG_SDMCMDGO, 1); in qed_send_qm_cmd()
923 qed_wr(p_hwfn, p_ptt, QM_REG_SDMCMDGO, 0); in qed_send_qm_cmd()
1048 qed_wr(p_hwfn, p_ptt, QM_REG_WFQPFWEIGHT + pf_id * 4, inc_val); in qed_init_pf_wfq()
1063 qed_wr(p_hwfn, in qed_init_pf_rl()
1065 qed_wr(p_hwfn, p_ptt, QM_REG_RLPFINCVAL + pf_id * 4, inc_val); in qed_init_pf_rl()
1102 qed_wr(p_hwfn, p_ptt, QM_REG_WFQVPCRD + first_tx_pq_id * 4, in qed_init_vport_tc_wfq()
[all …]
Dqed_int.c97 qed_wr(p_hwfn, p_hwfn->p_dpc_ptt, MCP_REG_CPU_EVENT_MASK, in qed_mcp_attn_cb()
211 qed_wr(p_hwfn, p_hwfn->p_dpc_ptt, in qed_grc_attn_cb()
339 qed_wr(p_hwfn, p_ptt, PGLUE_B_REG_LATCHED_ERRORS_CLR, BIT(2)); in qed_pglueb_rbc_attn_handler()
355 qed_wr(p_hwfn, p_hwfn->p_dpc_ptt, MISC_REG_AEU_GENERAL_ATTN_32, 0); in qed_fw_assertion()
383 qed_wr(p_hwfn, p_ptt, DORQ_REG_DPM_FORCE_ABORT, 0x1); in qed_db_rec_flush_queue()
432 qed_wr(p_hwfn, p_ptt, DORQ_REG_PF_OVFL_STICKY, 0x0); in qed_db_rec_handler()
459 qed_wr(p_hwfn, p_ptt, DORQ_REG_PF_OVFL_STICKY, 0x0); in qed_dorq_attn_overflow()
515 qed_wr(p_hwfn, p_ptt, DORQ_REG_DB_DROP_DETAILS_REL, 0); in qed_dorq_attn_int_sts()
520 qed_wr(p_hwfn, in qed_dorq_attn_int_sts()
857 qed_wr(p_hwfn, p_hwfn->p_dpc_ptt, IGU_REG_ATTENTION_ENABLE, igu_mask); in qed_int_assertion()
[all …]
Dqed_dev.c710 qed_wr(p_hwfn, p_ptt, addr, p_hwfn->rel_pf_id); in qed_llh_hw_init_pf()
778 qed_wr(p_hwfn, p_ptt, addr, val); in qed_llh_set_ppfid_affinity()
812 qed_wr(p_hwfn, p_ptt, NIG_REG_LLH_ENG_CLS_ROCE_QP_SEL, in qed_llh_set_roce_affinity()
829 qed_wr(p_hwfn, p_ptt, addr, val); in qed_llh_set_roce_affinity()
877 qed_wr(p_hwfn, p_ptt, addr, p_details->enable); in qed_llh_access_filter()
902 qed_wr(p_hwfn, p_ptt, addr, p_details->mode); in qed_llh_access_filter()
906 qed_wr(p_hwfn, p_ptt, addr, p_details->protocol_type); in qed_llh_access_filter()
910 qed_wr(p_hwfn, p_ptt, addr, p_details->hdr_sel); in qed_llh_access_filter()
915 qed_wr(p_hwfn, p_ptt, addr, p_details->enable); in qed_llh_access_filter()
2502 qed_wr(p_hwfn, p_ptt, XSDM_REG_OPERATION_GEN, command); in qed_final_cleanup()
[all …]
Dqed_init_ops.c179 qed_wr(p_hwfn, p_ptt, addr + (i << 2), p_init_val[i]); in qed_init_rt()
254 qed_wr(p_hwfn, p_ptt, addr + (i << 2), data[i]); in qed_init_array_dmae()
292 qed_wr(p_hwfn, p_ptt, addr, fill); in qed_init_fill()
388 qed_wr(p_hwfn, p_ptt, addr, data); in qed_init_cmd_wr()
Dqed_hw.h145 void qed_wr(struct qed_hwfn *p_hwfn,
Dqed_mcp.c34 qed_wr(_p_hwfn, _p_ptt, (_p_hwfn->mcp_info->_ptr + (_offset)), \
1238 qed_wr(p_hwfn, p_ptt, in qed_mcp_ack_vf_flr()
1793 qed_wr(p_hwfn, p_ptt, NIG_REG_LLH_FUNC_TAG_VALUE, in qed_mcp_update_stag()
1795 qed_wr(p_hwfn, p_ptt, NIG_REG_LLH_FUNC_TAG_EN, 1); in qed_mcp_update_stag()
1798 qed_wr(p_hwfn, p_ptt, DORQ_REG_TAG1_OVRD_MODE, 1); in qed_mcp_update_stag()
1799 qed_wr(p_hwfn, p_ptt, DORQ_REG_PF_EXT_VID_BB_K2, in qed_mcp_update_stag()
1802 qed_wr(p_hwfn, p_ptt, NIG_REG_LLH_FUNC_TAG_EN, 0); in qed_mcp_update_stag()
1803 qed_wr(p_hwfn, p_ptt, NIG_REG_LLH_FUNC_TAG_VALUE, 0); in qed_mcp_update_stag()
1804 qed_wr(p_hwfn, p_ptt, DORQ_REG_TAG1_OVRD_MODE, 0); in qed_mcp_update_stag()
1805 qed_wr(p_hwfn, p_ptt, DORQ_REG_PF_EXT_VID_BB_K2, 0); in qed_mcp_update_stag()
[all …]
Dqed_debug.c412 qed_wr(dev, ptt, addr, (arr)[i]); \
1465 qed_wr(p_hwfn, p_ptt, DBG_REG_DBG_BLOCK_ON, enable ? 1 : 0); in qed_bus_enable_dbg_block()
1485 qed_wr(p_hwfn, p_ptt, reset_reg_addr, new_reset_reg_val); in qed_bus_reset_dbg_block()
1486 qed_wr(p_hwfn, p_ptt, reset_reg_addr, old_reset_reg_val); in qed_bus_reset_dbg_block()
1495 qed_wr(p_hwfn, p_ptt, DBG_REG_CLIENT_ENABLE, client_mask); in qed_bus_enable_clients()
1509 qed_wr(p_hwfn, p_ptt, DWORDS_TO_BYTES(block->dbg_select_reg_addr), in qed_bus_config_dbg_line()
1511 qed_wr(p_hwfn, p_ptt, DWORDS_TO_BYTES(block->dbg_dword_enable_reg_addr), in qed_bus_config_dbg_line()
1513 qed_wr(p_hwfn, p_ptt, DWORDS_TO_BYTES(block->dbg_shift_reg_addr), in qed_bus_config_dbg_line()
1515 qed_wr(p_hwfn, p_ptt, DWORDS_TO_BYTES(block->dbg_force_valid_reg_addr), in qed_bus_config_dbg_line()
1517 qed_wr(p_hwfn, p_ptt, DWORDS_TO_BYTES(block->dbg_force_frame_reg_addr), in qed_bus_config_dbg_line()
[all …]
Dqed_hw.c217 void qed_wr(struct qed_hwfn *p_hwfn, in qed_wr() function
511 qed_wr(p_hwfn, p_ptt, in qed_dmae_post_command()
517 qed_wr(p_hwfn, p_ptt, qed_dmae_idx_to_go_cmd(idx_cmd), DMAE_GO_VALUE); in qed_dmae_post_command()
Dqed_rdma.c712 qed_wr(p_hwfn, p_ptt, p_hwfn->rdma_prs_search_reg, 0); in qed_rdma_stop()
715 qed_wr(p_hwfn, p_ptt, PRS_REG_ROCE_DEST_QP_MAX_PF, 0); in qed_rdma_stop()
719 qed_wr(p_hwfn, p_ptt, PRS_REG_LIGHT_L2_ETHERTYPE_EN, in qed_rdma_stop()
1871 qed_wr(p_hwfn, p_ptt, DORQ_REG_PF_DPM_ENABLE, val); in qed_rdma_dpm_conf()
Dqed_roce.c1128 qed_wr(p_hwfn, p_ptt, PRS_REG_ROCE_DEST_QP_MAX_PF, 0); in qed_roce_init_hw()
1133 qed_wr(p_hwfn, p_ptt, PRS_REG_LIGHT_L2_ETHERTYPE_EN, in qed_roce_init_hw()
Dqed_sriov.c708 qed_wr(p_hwfn, p_ptt, in qed_iov_vf_pglue_clear_err()
721 qed_wr(p_hwfn, p_ptt, IGU_REG_STATISTIC_NUM_VF_MSG_SENT, 0); in qed_iov_vf_igu_reset()
748 qed_wr(p_hwfn, p_ptt, IGU_REG_VF_CONFIGURATION, igu_vf_conf); in qed_iov_vf_igu_set_int()
855 qed_wr(p_hwfn, p_ptt, reg_addr, val); in qed_iov_config_perm_table()
895 qed_wr(p_hwfn, p_ptt, in qed_iov_alloc_vf_igu_sbs()
929 qed_wr(p_hwfn, p_ptt, addr, val); in qed_iov_free_vf_igu_sbs()
2143 qed_wr(p_hwfn, p_ptt, MSEM_REG_FAST_MEMORY + in qed_iov_vf_mbx_start_rxq()
Dqed_dcbx.c191 qed_wr(p_hwfn, p_ptt, DORQ_REG_TAG1_OVRD_MODE, 1); in qed_dcbx_set_params()
192 qed_wr(p_hwfn, p_ptt, DORQ_REG_PF_PCP_BB_K2, prio << 1); in qed_dcbx_set_params()
908 qed_wr(p_hwfn, p_ptt, NIG_REG_TX_EDPM_CTRL, val); in qed_dcbx_mib_update_event()
Dqed_mng_tlv.c1330 qed_wr(p_hwfn, p_ptt, addr + offset, val); in qed_mfw_process_tlv_req()
Dqed_fcoe.c360 qed_wr(p_hwfn, p_ptt, TM_REG_PF_ENABLE_TASK, active_segs); in qed_sp_fcoe_func_stop()
Dqed_cxt.c2301 qed_wr(p_hwfn, p_ptt, PRS_REG_ROCE_DEST_QP_MAX_PF, in qed_cxt_dynamic_ilt_alloc()
2306 qed_wr(p_hwfn, p_ptt, p_hwfn->rdma_prs_search_reg, 1); in qed_cxt_dynamic_ilt_alloc()
Dqed_ll2.c1702 qed_wr(p_hwfn, p_ptt, PRS_REG_USE_LIGHT_L2, 1); in qed_ll2_establish_connection()
Dqed_iwarp.c86 qed_wr(p_hwfn, p_ptt, p_hwfn->rdma_prs_search_reg, 1); in qed_iwarp_init_hw()