/freebsd/sys/dev/bce/ |
H A D | if_bce.c | 1160 sc->bce_chipid = REG_RD(sc, BCE_MISC_ID); in bce_attach() 1263 val = REG_RD(sc, BCE_PCICFG_MISC_STATUS); in bce_attach() 1269 clkreg = REG_RD(sc, BCE_PCICFG_PCI_CLOCK_CONTROL_BITS); in bce_attach() 1746 val = REG_RD(sc, BCE_CTX_CTX_CTRL); in bce_ctx_rd() 1757 val = REG_RD(sc, BCE_CTX_CTX_DATA); in bce_ctx_rd() 1760 val = REG_RD(sc, BCE_CTX_DATA); in bce_ctx_rd() 1797 val = REG_RD(sc, BCE_CTX_CTX_CTRL); in bce_ctx_wr() 1842 val = REG_RD(sc, BCE_EMAC_MDIO_MODE); in bce_miibus_read_reg() 1846 REG_RD(sc, BCE_EMAC_MDIO_MODE); in bce_miibus_read_reg() 1859 val = REG_RD(sc, BCE_EMAC_MDIO_COMM); in bce_miibus_read_reg() [all …]
|
H A D | if_bcereg.h | 1055 #define REG_RD(sc, offset) bce_reg_rd(sc, offset) macro 1061 #define REG_RD(sc, offset) \ macro 1071 REG_WR(sc, reg, (REG_RD(sc, reg) | (x))) 1073 REG_WR(sc, reg, (REG_RD(sc, reg) & ~(x)))
|
/freebsd/sys/dev/bxe/ |
H A D | bxe_elink.c | 953 uint32_t val = REG_RD(sc, reg); in elink_bits_en() 962 uint32_t val = REG_RD(sc, reg); in elink_bits_dis() 985 REG_RD(sc, params->lfa_base + in elink_check_lfa() 1000 link_status = REG_RD(sc, params->shmem_base + in elink_check_lfa() 1029 saved_val = REG_RD(sc, params->lfa_base + in elink_check_lfa() 1038 saved_val = REG_RD(sc, params->lfa_base + in elink_check_lfa() 1047 saved_val = REG_RD(sc, params->lfa_base + in elink_check_lfa() 1057 cur_speed_cap_mask = REG_RD(sc, params->lfa_base + in elink_check_lfa() 1070 REG_RD(sc, params->lfa_base + in elink_check_lfa() 1080 eee_status = REG_RD(sc, params->shmem2_base + in elink_check_lfa() [all …]
|
H A D | bxe.c | 1027 lock_status = REG_RD(sc, hw_lock_control_reg); in bxe_acquire_hw_lock() 1037 lock_status = REG_RD(sc, hw_lock_control_reg); in bxe_acquire_hw_lock() 1073 lock_status = REG_RD(sc, hw_lock_control_reg); in bxe_release_hw_lock() 1129 val = REG_RD(sc, MCP_REG_MCPR_NVM_SW_ARB); in bxe_acquire_nvram_lock() 1165 val = REG_RD(sc, MCP_REG_MCPR_NVM_SW_ARB); in bxe_release_nvram_lock() 1191 val = REG_RD(sc, MCP_REG_MCPR_NVM_ACCESS_ENABLE); in bxe_enable_nvram_access() 1203 val = REG_RD(sc, MCP_REG_MCPR_NVM_ACCESS_ENABLE); in bxe_disable_nvram_access() 1244 val = REG_RD(sc, MCP_REG_MCPR_NVM_COMMAND); in bxe_nvram_read_dword() 1247 val = REG_RD(sc, MCP_REG_MCPR_NVM_READ); in bxe_nvram_read_dword() 1359 val = REG_RD(sc, MCP_REG_MCPR_NVM_COMMAND); in bxe_nvram_write_dword() [all …]
|
H A D | ecore_init.h | 251 uint32_t curr_cos = REG_RD(sc, QM_REG_QVOQIDX_0 + q_num * 4); in ecore_map_q_cos() 278 reg_bit_map = REG_RD(sc, reg_addr); in ecore_map_q_cos() 283 reg_bit_map = REG_RD(sc, reg_addr); in ecore_map_q_cos() 290 reg_bit_map = REG_RD(sc, reg_addr); in ecore_map_q_cos() 750 reg_val = REG_RD(sc, mcp_attn_ctl_regs[i].addr); in ecore_set_mcp_parity() 815 reg_val = REG_RD(sc, ecore_blocks_parity_data[i]. in ecore_clear_blocks_parity() 826 reg_val = REG_RD(sc, MISC_REG_AEU_AFTER_INVERT_4_MCP); in ecore_clear_blocks_parity()
|
H A D | ecore_init_ops.h | 281 REG_RD(sc, addr); in ecore_init_block() 547 val = REG_RD(sc, write_arb_addr[i].l); in ecore_init_pxp_arb() 551 val = REG_RD(sc, write_arb_addr[i].add); in ecore_init_pxp_arb() 555 val = REG_RD(sc, write_arb_addr[i].ubound); in ecore_init_pxp_arb() 616 val = REG_RD(sc, PCIE_REG_PCIER_TL_HDR_FC_ST); in ecore_init_pxp_arb()
|
H A D | bxe_stats.c | 918 estats->eee_tx_lpi += REG_RD(sc, lpi_reg); in bxe_hw_stats_update() 1625 REG_RD(sc, NIG_REG_STAT0_BRB_DISCARD + port*0x38); in bxe_stats_init() 1627 REG_RD(sc, NIG_REG_STAT0_BRB_TRUNCATE + port*0x38); in bxe_stats_init()
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_hw.c | 264 is_empty = REG_RD(p_hwfn, bar_addr) == 0; in ecore_is_reg_fifo_empty() 307 val = REG_RD(p_hwfn, bar_addr); in ecore_rd()
|
H A D | bcm_osal.h | 191 #define REG_RD(hwfn, addr) qlnx_reg_rd32(hwfn, addr) macro
|
H A D | ecore_vf.c | 532 p_hwfn->hw_info.opaque_fid = (u16)REG_RD(p_hwfn, reg); in ecore_vf_hw_prepare() 535 p_hwfn->hw_info.concrete_fid = REG_RD(p_hwfn, reg); in ecore_vf_hw_prepare()
|
H A D | ecore_dev.c | 2721 if (REG_RD(p_hwfn, addr)) { in ecore_final_cleanup() 2734 while (!REG_RD(p_hwfn, addr) && count--) in ecore_final_cleanup() 2737 if (REG_RD(p_hwfn, addr)) in ecore_final_cleanup() 4524 p_hwfn->hw_info.opaque_fid = (u16) REG_RD(p_hwfn, in get_function_id() 4527 p_hwfn->hw_info.concrete_fid = REG_RD(p_hwfn, PXP_PF_ME_CONCRETE_ADDR); in get_function_id() 5862 if (REG_RD(p_hwfn, PXP_PF_ME_OPAQUE_ADDR) == 0xffffffff) { in ecore_hw_prepare_single()
|
H A D | ecore_int.c | 2533 intr_status_lo = REG_RD(p_hwfn, in ecore_int_igu_read_sisr_reg() 2536 intr_status_hi = REG_RD(p_hwfn, in ecore_int_igu_read_sisr_reg()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM/ |
H A D | EmulateInstructionARM.cpp | 660 #define REG_RD 0 macro
|