Home
last modified time | relevance | path

Searched refs:REG_WR (Results 1 – 14 of 14) sorted by relevance

/freebsd-13.1/sys/dev/bxe/
H A Decore_init_ops.h56 REG_WR(sc, addr + i*4, data[i]); in ecore_init_str_wr()
286 REG_WR(sc, addr, op->write.val); in ecore_init_block()
529 REG_WR(sc, read_arb_addr[i].add, in ecore_init_pxp_arb()
531 REG_WR(sc, read_arb_addr[i].ubound, in ecore_init_pxp_arb()
539 REG_WR(sc, write_arb_addr[i].l, in ecore_init_pxp_arb()
542 REG_WR(sc, write_arb_addr[i].add, in ecore_init_pxp_arb()
550 REG_WR(sc, write_arb_addr[i].l, in ecore_init_pxp_arb()
554 REG_WR(sc, write_arb_addr[i].add, in ecore_init_pxp_arb()
604 REG_WR(sc, PXP2_REG_WR_HC_MPS, val); in ecore_init_pxp_arb()
609 REG_WR(sc, PXP2_REG_WR_QM_MPS, val); in ecore_init_pxp_arb()
[all …]
H A Dbxe_elink.c958 REG_WR(sc, reg, val); in elink_bits_en()
967 REG_WR(sc, reg, val); in elink_bits_dis()
995 REG_WR(sc, params->lfa_base + in elink_check_lfa()
7665 REG_WR(sc, addr, val); in elink_chng_link_count()
13857 REG_WR(sc, GRCBASE_MISC + in elink_avoid_link_flap()
13861 REG_WR(sc, GRCBASE_MISC + in elink_avoid_link_flap()
13885 REG_WR(sc, params->lfa_base + in elink_avoid_link_flap()
13908 REG_WR(sc, params->lfa_base + in elink_cannot_avoid_link_flap()
13912 REG_WR(sc, params->lfa_base + in elink_cannot_avoid_link_flap()
13916 REG_WR(sc, params->lfa_base + in elink_cannot_avoid_link_flap()
[all …]
H A Dbxe.c6894 REG_WR(sc, in bxe_nic_load_pmf()
7028 REG_WR(sc, in bxe_link_attn()
9400 REG_WR(sc, in bxe_wr_fp_sb_data()
9450 REG_WR(sc, in bxe_wr_sp_sb_data()
9722 REG_WR(sc, in bxe_update_rx_prod()
9760 REG_WR(sc, in bxe_init_rx_rings()
9764 REG_WR(sc, in bxe_init_rx_rings()
9930 REG_WR(sc, in bxe_init_internal_common()
9996 REG_WR(sc, in bxe_func_init()
10190 REG_WR(sc, in bxe_pf_init()
[all …]
H A Decore_init.h276 REG_WR(sc, ECORE_Q_VOQ_REG_ADDR(pf_q_num), new_cos); in ecore_map_q_cos()
281 REG_WR(sc, reg_addr, reg_bit_map & (~q_bit_map)); in ecore_map_q_cos()
286 REG_WR(sc, reg_addr, reg_bit_map | q_bit_map); in ecore_map_q_cos()
297 REG_WR(sc, reg_addr, reg_bit_map); in ecore_map_q_cos()
759 REG_WR(sc, mcp_attn_ctl_regs[i].addr, reg_val); in ecore_set_mcp_parity()
783 REG_WR(sc, ecore_blocks_parity_data[i].mask_addr, in ecore_disable_blocks_parity()
808 REG_WR(sc, XSEM_REG_FAST_MEMORY + SEM_FAST_REG_PARITY_RST, 0x1); in ecore_clear_blocks_parity()
809 REG_WR(sc, TSEM_REG_FAST_MEMORY + SEM_FAST_REG_PARITY_RST, 0x1); in ecore_clear_blocks_parity()
810 REG_WR(sc, USEM_REG_FAST_MEMORY + SEM_FAST_REG_PARITY_RST, 0x1); in ecore_clear_blocks_parity()
839 REG_WR(sc, MISC_REG_AEU_CLR_LATCH_SIGNAL, 0x780); in ecore_clear_blocks_parity()
[all …]
H A Dbxe.h1875 #define REG_WR(sc, offset, val) REG_WR32(sc, offset, val) macro
1931 #define SHMEM_WR(sc, field, val) REG_WR(sc, SHMEM_ADDR(sc, field), val)
1939 #define SHMEM2_WR(sc, field, val) REG_WR(sc, SHMEM2_ADDR(sc, field), val)
1945 #define MFCFG_WR(sc, field, val) REG_WR(sc, MFCFG_ADDR(sc, field), val)
2265 #define CATC_TRIGGER(sc, data) REG_WR((sc), 0x2000, (data));
2327 REG_WR(sc, igu_addr, cmd_data.sb_id_and_flags); in bxe_igu_ack_sb_gen()
2354 REG_WR(sc, hc_addr, (*(uint32_t *)&igu_ack)); in bxe_hc_ack_sb()
H A Decore_sp.c922 REG_WR(sc, (ECORE_PORT_ID(sc) ? NIG_REG_LLH1_FUNC_MEM_ENABLE : in ecore_set_mac_in_nig()
3597 REG_WR(sc, ECORE_MC_HASH_OFFSET(sc, i), mc_filter[i]); in ecore_mcast_setup_e1h()
/freebsd-13.1/sys/dev/bce/
H A Dif_bce.c1650 REG_WR(sc, offset, val); in bce_reg_wr()
2065 REG_WR(sc, BCE_EMAC_MODE, val); in bce_miibus_statchg()
4990 REG_WR(sc, BCE_EMAC_MODE, val); in bce_reset()
5035 REG_WR(sc, BCE_DMA_CONFIG, val); in bce_chipinit()
5072 REG_WR(sc, BCE_MQ_CONFIG, val); in bce_chipinit()
5127 REG_WR(sc, BCE_HC_STATUS_ADDR_L, in bce_blockinit()
5129 REG_WR(sc, BCE_HC_STATUS_ADDR_H, in bce_blockinit()
5150 REG_WR(sc, BCE_HC_TX_TICKS, in bce_blockinit()
5152 REG_WR(sc, BCE_HC_RX_TICKS, in bce_blockinit()
5158 REG_WR(sc, BCE_HC_COM_TICKS, 0); in bce_blockinit()
[all …]
H A Dif_bcereg.h1055 #define REG_WR(sc, offset, val) bce_reg_wr(sc, offset, val) macro
1059 #define REG_WR(sc, offset, val) \ macro
1073 REG_WR(sc, reg, (REG_RD(sc, reg) | (x)))
1075 REG_WR(sc, reg, (REG_RD(sc, reg) & ~(x)))
/freebsd-13.1/sys/dev/qlnx/qlnxe/
H A Decore_hw.c213 REG_WR(p_hwfn, in ecore_ptt_set_win()
286 REG_WR(p_hwfn, bar_addr, val); in ecore_wr()
408 REG_WR(p_hwfn, in ecore_fid_pretend()
424 REG_WR(p_hwfn, in ecore_port_pretend()
441 REG_WR(p_hwfn, in ecore_port_unpretend()
H A Decore_vf.c152 REG_WR(p_hwfn, in ecore_send_msg2pf()
156 REG_WR(p_hwfn, in ecore_send_msg2pf()
165 REG_WR(p_hwfn, (osal_uintptr_t)&zone_data->trigger, *((u32 *)&trigger)); in ecore_send_msg2pf()
H A Decore_init_ops.c626 REG_WR(p_hwfn, gtt_base + i * PXP_GLOBAL_ENTRY_SIZE,
H A Dbcm_osal.h214 #define REG_WR(hwfn, addr, val) qlnx_reg_wr32(hwfn, addr, val) macro
H A Decore_sriov.c1457 REG_WR(p_hwfn, in ecore_iov_send_response()
2400 REG_WR(p_hwfn, in ecore_iov_vf_mbx_start_rxq()
3968 REG_WR(p_hwfn, in ecore_iov_execute_vf_flr_cleanup()
H A Decore_dev.c2726 REG_WR(p_hwfn, addr, 0); in ecore_final_cleanup()
2745 REG_WR(p_hwfn, addr, 0); in ecore_final_cleanup()