Searched refs:rd32 (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/uts/common/io/i40e/ |
H A D | i40e_osdep.h | 171 #define rd32(hw, reg) \ macro 175 #define I40E_READ_REG rd32 182 #define i40e_flush(hw) (void) rd32(hw, I40E_GLGEN_STAT)
|
/illumos-gate/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_adminq.c | 319 reg = rd32(hw, hw->aq.asq.bal); in i40e_config_asq_regs() 355 reg = rd32(hw, hw->aq.arq.bal); in i40e_config_arq_regs() 788 while (rd32(hw, hw->aq.asq.head) != ntc) { in i40e_clean_asq() 790 "ntc %d head %d.\n", ntc, rd32(hw, hw->aq.asq.head)); in i40e_clean_asq() 825 return rd32(hw, hw->aq.asq.head) == hw->aq.asq.next_to_use; in i40e_asq_done() 865 val = rd32(hw, hw->aq.asq.head); in i40e_asq_send_command() 1022 if (rd32(hw, hw->aq.asq.len) & I40E_GL_ATQLEN_ATQCRIT_MASK) { in i40e_asq_send_command() 1093 ntu = rd32(hw, hw->aq.arq.head) & I40E_PF_ARQH_ARQH_MASK; in i40e_clean_arq_element() 1095 ntu = rd32(hw, hw->aq.arq.head) & I40E_VF_ARQH1_ARQH_MASK; in i40e_clean_arq_element()
|
H A D | i40e_lan_hmc.c | 136 obj->max_cnt = rd32(hw, I40E_GLHMC_LANQMAX); in i40e_init_lan_hmc() 139 size_exp = rd32(hw, I40E_GLHMC_LANTXOBJSZ); in i40e_init_lan_hmc() 156 obj->max_cnt = rd32(hw, I40E_GLHMC_LANQMAX); in i40e_init_lan_hmc() 162 size_exp = rd32(hw, I40E_GLHMC_LANRXOBJSZ); in i40e_init_lan_hmc() 179 obj->max_cnt = rd32(hw, I40E_GLHMC_FCOEMAX); in i40e_init_lan_hmc() 185 size_exp = rd32(hw, I40E_GLHMC_FCOEDDPOBJSZ); in i40e_init_lan_hmc() 202 obj->max_cnt = rd32(hw, I40E_GLHMC_FCOEFMAX); in i40e_init_lan_hmc() 208 size_exp = rd32(hw, I40E_GLHMC_FCOEFOBJSZ); in i40e_init_lan_hmc()
|
H A D | i40e_common.c | 399 return !!(rd32(hw, hw->aq.asq.len) & in i40e_check_asq_alive() 402 return !!(rd32(hw, hw->aq.asq.len) & in i40e_check_asq_alive() 1014 port = (rd32(hw, I40E_PFGEN_PORTNUM) & I40E_PFGEN_PORTNUM_PORT_NUM_MASK) in i40e_init_shared_code() 1017 ari = (rd32(hw, I40E_GLPCI_CAPSUP) & I40E_GLPCI_CAPSUP_ARI_EN_MASK) >> in i40e_init_shared_code() 1019 func_rid = rd32(hw, I40E_PF_FUNC_RID); in i40e_init_shared_code() 1166 reg_val = rd32(hw, I40E_GLLAN_TXPRE_QDIS(reg_block)); in i40e_pre_tx_queue_cfg() 1307 reg = rd32(hw, I40E_GLGEN_RSTAT); in i40e_poll_globr() 1338 grst_del = (rd32(hw, I40E_GLGEN_RSTCTL) & in i40e_pf_reset() 1345 reg = rd32(hw, I40E_GLGEN_RSTAT); in i40e_pf_reset() 1357 reg = rd32(hw, I40E_GLNVM_ULD); in i40e_pf_reset() [all …]
|
H A D | i40e_nvm.c | 59 gens = rd32(hw, I40E_GLNVM_GENS); in i40e_init_nvm() 66 fla = rd32(hw, I40E_GLNVM_FLA); in i40e_init_nvm() 103 gtime = rd32(hw, I40E_GLVFGEN_TIMER); in i40e_acquire_nvm() 118 gtime = rd32(hw, I40E_GLVFGEN_TIMER); in i40e_acquire_nvm() 186 srctl = rd32(hw, I40E_GLNVM_SRCTL); in i40e_poll_sr_srctl_done_bit() 233 sr_reg = rd32(hw, I40E_GLNVM_SRDATA); in i40e_read_nvm_word_srctl() 1329 gtime = rd32(hw, I40E_GLVFGEN_TIMER); in i40e_nvmupd_state_writing()
|
H A D | i40e_dcb.c | 53 reg = rd32(hw, I40E_PRTDCB_GENS); in i40e_get_dcbx_status()
|