Home
last modified time | relevance | path

Searched refs:qed_rd (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/qlogic/qed/
Dqed_int.c92 u32 tmp = qed_rd(p_hwfn, p_hwfn->p_dpc_ptt, MCP_REG_CPU_STATE); in qed_mcp_attn_cb()
118 u32 tmp = qed_rd(p_hwfn, p_hwfn->p_dpc_ptt, in qed_pswhst_attn_cb()
124 addr = qed_rd(p_hwfn, p_hwfn->p_dpc_ptt, in qed_pswhst_attn_cb()
126 data = qed_rd(p_hwfn, p_hwfn->p_dpc_ptt, in qed_pswhst_attn_cb()
128 length = qed_rd(p_hwfn, p_hwfn->p_dpc_ptt, in qed_pswhst_attn_cb()
187 tmp = qed_rd(p_hwfn, p_hwfn->p_dpc_ptt, in qed_grc_attn_cb()
193 tmp = qed_rd(p_hwfn, p_hwfn->p_dpc_ptt, in qed_grc_attn_cb()
195 tmp2 = qed_rd(p_hwfn, p_hwfn->p_dpc_ptt, in qed_grc_attn_cb()
240 tmp = qed_rd(p_hwfn, p_ptt, PGLUE_B_REG_TX_ERR_WR_DETAILS2); in qed_pglueb_rbc_attn_handler()
244 addr_lo = qed_rd(p_hwfn, p_ptt, in qed_pglueb_rbc_attn_handler()
[all …]
Dqed_ptp.c110 val = qed_rd(p_hwfn, p_ptt, NIG_REG_LLH_PTP_HOST_BUF_SEQID); in qed_ptp_hw_read_rx_ts()
116 val = qed_rd(p_hwfn, p_ptt, NIG_REG_LLH_PTP_HOST_BUF_TS_LSB); in qed_ptp_hw_read_rx_ts()
117 *timestamp = qed_rd(p_hwfn, p_ptt, NIG_REG_LLH_PTP_HOST_BUF_TS_MSB); in qed_ptp_hw_read_rx_ts()
136 val = qed_rd(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_BUF_SEQID); in qed_ptp_hw_read_tx_ts()
143 val = qed_rd(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_BUF_TS_LSB); in qed_ptp_hw_read_tx_ts()
144 *timestamp = qed_rd(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_BUF_TS_MSB); in qed_ptp_hw_read_tx_ts()
161 temp = qed_rd(p_hwfn, p_ptt, NIG_REG_TSGEN_SYNC_TIME_LSB); in qed_ptp_hw_read_cc()
162 *phc_cycles = qed_rd(p_hwfn, p_ptt, NIG_REG_TSGEN_SYNC_TIME_MSB); in qed_ptp_hw_read_cc()
325 drift_state = qed_rd(p_hwfn, p_ptt, NIG_REG_TSGEN_RST_DRIFT_CNTR); in qed_ptp_hw_adjfreq()
Dqed_mcp.c38 qed_rd(_p_hwfn, _p_ptt, (_p_hwfn->mcp_info->_ptr + (_offset)))
64 u32 mfw_mb_offsize = qed_rd(p_hwfn, p_ptt, addr); in qed_mcp_cmd_port_init()
82 tmp = qed_rd(p_hwfn, p_ptt, in qed_mcp_read_mb()
175 p_info->public_base = qed_rd(p_hwfn, p_ptt, MISC_REG_SHARED_MEM_ADDR); in qed_load_mcp_offsets()
185 mfw_mb_offsize = qed_rd(p_hwfn, p_ptt, in qed_load_mcp_offsets()
189 p_info->mfw_mb_length = (u16)qed_rd(p_hwfn, p_ptt, in qed_load_mcp_offsets()
202 (u16)qed_rd(p_hwfn, p_ptt, in qed_load_mcp_offsets()
215 drv_mb_offsize = qed_rd(p_hwfn, p_ptt, in qed_load_mcp_offsets()
233 p_info->mcp_hist = qed_rd(p_hwfn, p_ptt, MISCS_REG_GENERIC_POR_0); in qed_load_mcp_offsets()
280 u32 generic_por_0 = qed_rd(p_hwfn, p_ptt, MISCS_REG_GENERIC_POR_0); in qed_mcp_reread_offsets()
[all …]
Dqed_init_fw_funcs.c899 reg_val = qed_rd(p_hwfn, p_ptt, QM_REG_SDMCMDREADY); in qed_poll_on_qm_cmd_ready()
1267 reg_val = qed_rd(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN); in qed_set_vxlan_enable()
1273 qed_rd(p_hwfn, p_ptt, PRS_REG_OUTPUT_FORMAT_4_0); in qed_set_vxlan_enable()
1282 reg_val = qed_rd(p_hwfn, p_ptt, NIG_REG_ENC_TYPE_ENABLE); in qed_set_vxlan_enable()
1300 reg_val = qed_rd(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN); in qed_set_gre_enable()
1310 qed_rd(p_hwfn, p_ptt, PRS_REG_OUTPUT_FORMAT_4_0); in qed_set_gre_enable()
1319 reg_val = qed_rd(p_hwfn, p_ptt, NIG_REG_ENC_TYPE_ENABLE); in qed_set_gre_enable()
1354 reg_val = qed_rd(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN); in qed_set_geneve_enable()
1364 qed_rd(p_hwfn, p_ptt, PRS_REG_OUTPUT_FORMAT_4_0); in qed_set_geneve_enable()
1401 reg_val = qed_rd(p_hwfn, p_ptt, PRS_REG_MSG_INFO); in qed_set_vxlan_no_l2_enable()
[all …]
Dqed_dev.c776 val = qed_rd(p_hwfn, p_ptt, addr); in qed_llh_set_ppfid_affinity()
827 val = qed_rd(p_hwfn, p_ptt, addr); in qed_llh_set_roce_affinity()
1278 val = qed_rd(p_hwfn, p_ptt, bar_reg); in qed_hw_bar_size()
2603 val = qed_rd(p_hwfn, p_ptt, PSWRQ2_REG_WR_MBS0); in qed_init_cache_line_size()
3007 val = qed_rd(p_hwfn, p_ptt, in qed_pglueb_set_pfid_enable()
3314 if ((!qed_rd(p_hwfn, p_ptt, in qed_hw_timers_stop()
3316 (!qed_rd(p_hwfn, p_ptt, TM_REG_PF_SCAN_ACTIVE_TASK))) in qed_hw_timers_stop()
3330 (u8)qed_rd(p_hwfn, p_ptt, TM_REG_PF_SCAN_ACTIVE_CONN), in qed_hw_timers_stop()
3331 (u8)qed_rd(p_hwfn, p_ptt, TM_REG_PF_SCAN_ACTIVE_TASK)); in qed_hw_timers_stop()
4076 nvm_cfg_addr = qed_rd(p_hwfn, p_ptt, MISC_REG_GEN_PURP_CR0); in qed_hw_get_nvm_info()
[all …]
Dqed_debug.c1079 dest[i] = qed_rd(p_hwfn, p_ptt, addr); in qed_read_storm_fw_info()
1091 dest[i] = qed_rd(p_hwfn, p_ptt, addr); in qed_read_storm_fw_info()
1244 public_data_addr = qed_rd(p_hwfn, in qed_dump_mfw_ver_param()
1254 global_section_offsize = qed_rd(p_hwfn, p_ptt, in qed_dump_mfw_ver_param()
1261 mfw_ver = qed_rd(p_hwfn, p_ptt, in qed_dump_mfw_ver_param()
1289 chip_rev = qed_rd(p_hwfn, p_ptt, MISCS_REG_CHIP_REV); in qed_dump_chip_revision_param()
1290 chip_metal = qed_rd(p_hwfn, p_ptt, MISCS_REG_CHIP_METAL); in qed_dump_chip_revision_param()
1397 reg_val[rst_reg_id] = qed_rd(p_hwfn, p_ptt, in qed_update_blocks_reset_state()
1481 old_reset_reg_val = qed_rd(p_hwfn, p_ptt, reset_reg_addr); in qed_bus_reset_dbg_block()
1824 qed_rd(p_hwfn, p_ptt, in qed_grc_clear_all_prty()
[all …]
Dqed_hw.h159 u32 qed_rd(struct qed_hwfn *p_hwfn,
Dqed_mng_tlv.c1253 global_offsize = qed_rd(p_hwfn, p_ptt, addr); in qed_mfw_process_tlv_req()
1256 addr = qed_rd(p_hwfn, p_ptt, addr); in qed_mfw_process_tlv_req()
1257 size = qed_rd(p_hwfn, p_ptt, global_addr + in qed_mfw_process_tlv_req()
1278 val = qed_rd(p_hwfn, p_ptt, addr + offset); in qed_mfw_process_tlv_req()
Dqed_init_ops.c440 val = qed_rd(p_hwfn, p_ptt, addr); in qed_init_cmd_rd()
466 val = qed_rd(p_hwfn, p_ptt, addr); in qed_init_cmd_rd()
Dqed_sriov.c741 igu_vf_conf = qed_rd(p_hwfn, p_ptt, IGU_REG_VF_CONFIGURATION); in qed_iov_vf_igu_set_int()
927 val = qed_rd(p_hwfn, p_ptt, addr); in qed_iov_free_vf_igu_sbs()
1385 u32 val = qed_rd(p_hwfn, p_ptt, PGLUE_B_REG_VF_BAR1_SIZE); in qed_iov_vf_db_bar_size()
3577 val = qed_rd(p_hwfn, p_ptt, DORQ_REG_VF_USAGE_CNT); in qed_iov_vf_flr_poll_dorq()
3617 cons[voq] = qed_rd(p_hwfn, p_ptt, in qed_iov_vf_flr_poll_pbf()
3619 prod = qed_rd(p_hwfn, p_ptt, in qed_iov_vf_flr_poll_pbf()
3636 tmp = qed_rd(p_hwfn, p_ptt, in qed_iov_vf_flr_poll_pbf()
Dqed_l2.c1845 p_common->link_change_count = qed_rd(p_hwfn, p_ptt, in __qed_get_vport_port_stats()
2113 coalesce = qed_rd(p_hwfn, p_ptt, address); in qed_get_rxq_coalesce()
2147 coalesce = qed_rd(p_hwfn, p_ptt, address); in qed_get_txq_coalesce()
Dqed_hw.c229 u32 qed_rd(struct qed_hwfn *p_hwfn, in qed_rd() function
Dqed_fcoe.c358 active_segs = qed_rd(p_hwfn, p_ptt, TM_REG_PF_ENABLE_TASK); in qed_sp_fcoe_func_stop()
Dqed_roce.c1132 ll2_ethertype_en = qed_rd(p_hwfn, p_ptt, PRS_REG_LIGHT_L2_ETHERTYPE_EN); in qed_roce_init_hw()
Dqed_rdma.c717 ll2_ethertype_en = qed_rd(p_hwfn, p_ptt, PRS_REG_LIGHT_L2_ETHERTYPE_EN); in qed_rdma_stop()