/drivers/net/ethernet/qlogic/qed/ |
D | qed_int.c | 92 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 …]
|
D | qed_ptp.c | 110 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()
|
D | qed_mcp.c | 37 qed_rd(_p_hwfn, _p_ptt, (_p_hwfn->mcp_info->_ptr + _offset)) 63 u32 mfw_mb_offsize = qed_rd(p_hwfn, p_ptt, addr); in qed_mcp_cmd_port_init() 81 tmp = qed_rd(p_hwfn, p_ptt, in qed_mcp_read_mb() 174 p_info->public_base = qed_rd(p_hwfn, p_ptt, MISC_REG_SHARED_MEM_ADDR); in qed_load_mcp_offsets() 184 mfw_mb_offsize = qed_rd(p_hwfn, p_ptt, in qed_load_mcp_offsets() 188 p_info->mfw_mb_length = (u16)qed_rd(p_hwfn, p_ptt, in qed_load_mcp_offsets() 201 (u16)qed_rd(p_hwfn, p_ptt, in qed_load_mcp_offsets() 214 drv_mb_offsize = qed_rd(p_hwfn, p_ptt, in qed_load_mcp_offsets() 232 p_info->mcp_hist = qed_rd(p_hwfn, p_ptt, MISCS_REG_GENERIC_POR_0); in qed_load_mcp_offsets() 278 u32 generic_por_0 = qed_rd(p_hwfn, p_ptt, MISCS_REG_GENERIC_POR_0); in qed_mcp_reread_offsets() [all …]
|
D | qed_init_fw_funcs.c | 734 reg_val = qed_rd(p_hwfn, p_ptt, QM_REG_SDMCMDREADY); in qed_poll_on_qm_cmd_ready() 1068 reg_val = qed_rd(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN); in qed_set_vxlan_enable() 1074 qed_rd(p_hwfn, p_ptt, PRS_REG_OUTPUT_FORMAT_4_0_BB_K2); in qed_set_vxlan_enable() 1083 reg_val = qed_rd(p_hwfn, p_ptt, NIG_REG_ENC_TYPE_ENABLE); in qed_set_vxlan_enable() 1101 reg_val = qed_rd(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN); in qed_set_gre_enable() 1109 qed_rd(p_hwfn, p_ptt, PRS_REG_OUTPUT_FORMAT_4_0_BB_K2); in qed_set_gre_enable() 1118 reg_val = qed_rd(p_hwfn, p_ptt, NIG_REG_ENC_TYPE_ENABLE); in qed_set_gre_enable() 1154 reg_val = qed_rd(p_hwfn, p_ptt, PRS_REG_ENCAPSULATION_TYPE_EN); in qed_set_geneve_enable() 1162 qed_rd(p_hwfn, p_ptt, PRS_REG_OUTPUT_FORMAT_4_0_BB_K2); in qed_set_geneve_enable() 1199 reg_val = qed_rd(p_hwfn, p_ptt, PRS_REG_MSG_INFO); in qed_set_vxlan_no_l2_enable() [all …]
|
D | qed_dev.c | 773 val = qed_rd(p_hwfn, p_ptt, addr); in qed_llh_set_ppfid_affinity() 824 val = qed_rd(p_hwfn, p_ptt, addr); in qed_llh_set_roce_affinity() 1272 val = qed_rd(p_hwfn, p_ptt, bar_reg); in qed_hw_bar_size() 2531 val = qed_rd(p_hwfn, p_ptt, PSWRQ2_REG_WR_MBS0); in qed_init_cache_line_size() 2924 val = qed_rd(p_hwfn, p_ptt, in qed_pglueb_set_pfid_enable() 3228 if ((!qed_rd(p_hwfn, p_ptt, in qed_hw_timers_stop() 3230 (!qed_rd(p_hwfn, p_ptt, TM_REG_PF_SCAN_ACTIVE_TASK))) in qed_hw_timers_stop() 3244 (u8)qed_rd(p_hwfn, p_ptt, TM_REG_PF_SCAN_ACTIVE_CONN), in qed_hw_timers_stop() 3245 (u8)qed_rd(p_hwfn, p_ptt, TM_REG_PF_SCAN_ACTIVE_TASK)); in qed_hw_timers_stop() 3979 nvm_cfg_addr = qed_rd(p_hwfn, p_ptt, MISC_REG_GEN_PURP_CR0); in qed_hw_get_nvm_info() [all …]
|
D | qed_debug.c | 991 dest[i] = qed_rd(p_hwfn, p_ptt, addr); in qed_read_storm_fw_info() 1008 dest[i] = qed_rd(p_hwfn, p_ptt, addr); in qed_read_storm_fw_info() 1157 public_data_addr = qed_rd(p_hwfn, in qed_dump_mfw_ver_param() 1167 global_section_offsize = qed_rd(p_hwfn, p_ptt, in qed_dump_mfw_ver_param() 1174 mfw_ver = qed_rd(p_hwfn, p_ptt, in qed_dump_mfw_ver_param() 1202 chip_rev = qed_rd(p_hwfn, p_ptt, MISCS_REG_CHIP_REV); in qed_dump_chip_revision_param() 1203 chip_metal = qed_rd(p_hwfn, p_ptt, MISCS_REG_CHIP_METAL); in qed_dump_chip_revision_param() 1308 reg_val[rst_reg_id] = qed_rd(p_hwfn, p_ptt, in qed_update_blocks_reset_state() 1392 old_reset_reg_val = qed_rd(p_hwfn, p_ptt, reset_reg_addr); in qed_bus_reset_dbg_block() 1734 qed_rd(p_hwfn, p_ptt, in qed_grc_clear_all_prty() [all …]
|
D | qed_hw.h | 149 u32 qed_rd(struct qed_hwfn *p_hwfn,
|
D | qed_mng_tlv.c | 1253 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()
|
D | qed_init_ops.c | 423 val = qed_rd(p_hwfn, p_ptt, addr); in qed_init_cmd_rd() 449 val = qed_rd(p_hwfn, p_ptt, addr); in qed_init_cmd_rd()
|
D | qed_sriov.c | 739 igu_vf_conf = qed_rd(p_hwfn, p_ptt, IGU_REG_VF_CONFIGURATION); in qed_iov_vf_igu_set_int() 925 val = qed_rd(p_hwfn, p_ptt, addr); in qed_iov_free_vf_igu_sbs() 1383 u32 val = qed_rd(p_hwfn, p_ptt, PGLUE_B_REG_VF_BAR1_SIZE); in qed_iov_vf_db_bar_size() 3574 val = qed_rd(p_hwfn, p_ptt, DORQ_REG_VF_USAGE_CNT); in qed_iov_vf_flr_poll_dorq() 3602 cons[i] = qed_rd(p_hwfn, p_ptt, in qed_iov_vf_flr_poll_pbf() 3605 prod = qed_rd(p_hwfn, p_ptt, in qed_iov_vf_flr_poll_pbf() 3617 tmp = qed_rd(p_hwfn, p_ptt, in qed_iov_vf_flr_poll_pbf()
|
D | qed_l2.c | 1844 p_common->link_change_count = qed_rd(p_hwfn, p_ptt, in __qed_get_vport_port_stats() 2103 coalesce = qed_rd(p_hwfn, p_ptt, address); in qed_get_rxq_coalesce() 2137 coalesce = qed_rd(p_hwfn, p_ptt, address); in qed_get_txq_coalesce()
|
D | qed_hw.c | 211 u32 qed_rd(struct qed_hwfn *p_hwfn, in qed_rd() function
|
D | qed_fcoe.c | 357 active_segs = qed_rd(p_hwfn, p_ptt, TM_REG_PF_ENABLE_TASK); in qed_sp_fcoe_func_stop()
|
D | qed_roce.c | 1133 ll2_ethertype_en = qed_rd(p_hwfn, p_ptt, PRS_REG_LIGHT_L2_ETHERTYPE_EN); in qed_roce_init_hw()
|
D | qed_rdma.c | 744 ll2_ethertype_en = qed_rd(p_hwfn, p_ptt, PRS_REG_LIGHT_L2_ETHERTYPE_EN); in qed_rdma_stop()
|