Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/bxe/
H A Decore_init_ops.h54 REG_WR(sc, addr + i*4, data[i]); in ecore_init_str_wr()
284 REG_WR(sc, addr, op->write.val); in ecore_init_block()
527 REG_WR(sc, read_arb_addr[i].add, in ecore_init_pxp_arb()
529 REG_WR(sc, read_arb_addr[i].ubound, in ecore_init_pxp_arb()
537 REG_WR(sc, write_arb_addr[i].l, in ecore_init_pxp_arb()
540 REG_WR(sc, write_arb_addr[i].add, in ecore_init_pxp_arb()
548 REG_WR(sc, write_arb_addr[i].l, in ecore_init_pxp_arb()
552 REG_WR(sc, write_arb_addr[i].add, in ecore_init_pxp_arb()
602 REG_WR(sc, PXP2_REG_WR_HC_MPS, val); in ecore_init_pxp_arb()
607 REG_WR(sc, PXP2_REG_WR_QM_MPS, val); in ecore_init_pxp_arb()
[all …]
H A Dbxe_elink.c956 REG_WR(sc, reg, val); in elink_bits_en()
965 REG_WR(sc, reg, val); in elink_bits_dis()
993 REG_WR(sc, params->lfa_base + in elink_check_lfa()
7663 REG_WR(sc, addr, val); in elink_chng_link_count()
13855 REG_WR(sc, GRCBASE_MISC + in elink_avoid_link_flap()
13859 REG_WR(sc, GRCBASE_MISC + in elink_avoid_link_flap()
13883 REG_WR(sc, params->lfa_base + in elink_avoid_link_flap()
13906 REG_WR(sc, params->lfa_base + in elink_cannot_avoid_link_flap()
13910 REG_WR(sc, params->lfa_base + in elink_cannot_avoid_link_flap()
13914 REG_WR(sc, params->lfa_base + in elink_cannot_avoid_link_flap()
[all …]
H A Dbxe.c6869 REG_WR(sc, in bxe_nic_load_pmf()
7003 REG_WR(sc, in bxe_link_attn()
9375 REG_WR(sc, in bxe_wr_fp_sb_data()
9425 REG_WR(sc, in bxe_wr_sp_sb_data()
9697 REG_WR(sc, in bxe_update_rx_prod()
9735 REG_WR(sc, in bxe_init_rx_rings()
9739 REG_WR(sc, in bxe_init_rx_rings()
9905 REG_WR(sc, in bxe_init_internal_common()
9971 REG_WR(sc, in bxe_func_init()
10165 REG_WR(sc, in bxe_pf_init()
[all …]
H A Decore_init.h274 REG_WR(sc, ECORE_Q_VOQ_REG_ADDR(pf_q_num), new_cos); in ecore_map_q_cos()
279 REG_WR(sc, reg_addr, reg_bit_map & (~q_bit_map)); in ecore_map_q_cos()
284 REG_WR(sc, reg_addr, reg_bit_map | q_bit_map); in ecore_map_q_cos()
295 REG_WR(sc, reg_addr, reg_bit_map); in ecore_map_q_cos()
757 REG_WR(sc, mcp_attn_ctl_regs[i].addr, reg_val); in ecore_set_mcp_parity()
781 REG_WR(sc, ecore_blocks_parity_data[i].mask_addr, in ecore_disable_blocks_parity()
806 REG_WR(sc, XSEM_REG_FAST_MEMORY + SEM_FAST_REG_PARITY_RST, 0x1); in ecore_clear_blocks_parity()
807 REG_WR(sc, TSEM_REG_FAST_MEMORY + SEM_FAST_REG_PARITY_RST, 0x1); in ecore_clear_blocks_parity()
808 REG_WR(sc, USEM_REG_FAST_MEMORY + SEM_FAST_REG_PARITY_RST, 0x1); in ecore_clear_blocks_parity()
837 REG_WR(sc, MISC_REG_AEU_CLR_LATCH_SIGNAL, 0x780); in ecore_clear_blocks_parity()
[all …]
H A Dbxe.h1873 #define REG_WR(sc, offset, val) REG_WR32(sc, offset, val) macro
1929 #define SHMEM_WR(sc, field, val) REG_WR(sc, SHMEM_ADDR(sc, field), val)
1937 #define SHMEM2_WR(sc, field, val) REG_WR(sc, SHMEM2_ADDR(sc, field), val)
1943 #define MFCFG_WR(sc, field, val) REG_WR(sc, MFCFG_ADDR(sc, field), val)
2263 #define CATC_TRIGGER(sc, data) REG_WR((sc), 0x2000, (data));
2325 REG_WR(sc, igu_addr, cmd_data.sb_id_and_flags); in bxe_igu_ack_sb_gen()
2352 REG_WR(sc, hc_addr, (*(uint32_t *)&igu_ack)); in bxe_hc_ack_sb()
H A Decore_sp.c920 REG_WR(sc, (ECORE_PORT_ID(sc) ? NIG_REG_LLH1_FUNC_MEM_ENABLE : in ecore_set_mac_in_nig()
3595 REG_WR(sc, ECORE_MC_HASH_OFFSET(sc, i), mc_filter[i]); in ecore_mcast_setup_e1h()
/freebsd-14.2/sys/dev/bce/
H A Dif_bce.c1629 REG_WR(sc, offset, val); in bce_reg_wr()
2044 REG_WR(sc, BCE_EMAC_MODE, val); in bce_miibus_statchg()
4969 REG_WR(sc, BCE_EMAC_MODE, val); in bce_reset()
5014 REG_WR(sc, BCE_DMA_CONFIG, val); in bce_chipinit()
5051 REG_WR(sc, BCE_MQ_CONFIG, val); in bce_chipinit()
5106 REG_WR(sc, BCE_HC_STATUS_ADDR_L, in bce_blockinit()
5108 REG_WR(sc, BCE_HC_STATUS_ADDR_H, in bce_blockinit()
5129 REG_WR(sc, BCE_HC_TX_TICKS, in bce_blockinit()
5131 REG_WR(sc, BCE_HC_RX_TICKS, in bce_blockinit()
5137 REG_WR(sc, BCE_HC_COM_TICKS, 0); in bce_blockinit()
[all …]
H A Dif_bcereg.h1053 #define REG_WR(sc, offset, val) bce_reg_wr(sc, offset, val) macro
1057 #define REG_WR(sc, offset, val) \ macro
1071 REG_WR(sc, reg, (REG_RD(sc, reg) | (x)))
1073 REG_WR(sc, reg, (REG_RD(sc, reg) & ~(x)))
/freebsd-14.2/sys/dev/qlnx/qlnxe/
H A Decore_hw.c211 REG_WR(p_hwfn, in ecore_ptt_set_win()
284 REG_WR(p_hwfn, bar_addr, val); in ecore_wr()
406 REG_WR(p_hwfn, in ecore_fid_pretend()
422 REG_WR(p_hwfn, in ecore_port_pretend()
439 REG_WR(p_hwfn, in ecore_port_unpretend()
H A Decore_vf.c150 REG_WR(p_hwfn, in ecore_send_msg2pf()
154 REG_WR(p_hwfn, in ecore_send_msg2pf()
163 REG_WR(p_hwfn, (osal_uintptr_t)&zone_data->trigger, *((u32 *)&trigger)); in ecore_send_msg2pf()
H A Decore_init_ops.c624 REG_WR(p_hwfn, gtt_base + i * PXP_GLOBAL_ENTRY_SIZE,
H A Dbcm_osal.h202 #define REG_WR(hwfn, addr, val) qlnx_reg_wr32(hwfn, addr, val) macro
H A Decore_sriov.c1455 REG_WR(p_hwfn, in ecore_iov_send_response()
2398 REG_WR(p_hwfn, in ecore_iov_vf_mbx_start_rxq()
3966 REG_WR(p_hwfn, in ecore_iov_execute_vf_flr_cleanup()
H A Decore_dev.c2724 REG_WR(p_hwfn, addr, 0); in ecore_final_cleanup()
2743 REG_WR(p_hwfn, addr, 0); in ecore_final_cleanup()