Home
last modified time | relevance | path

Searched refs:enetc_wr (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/freescale/enetc/
Denetc_msg.c10 enetc_wr(hw, ENETC_PSIIER, psiier & ~ENETC_PSIIER_MR_MASK); in enetc_msg_disable_mr_int()
17 enetc_wr(hw, ENETC_PSIIER, psiier | ENETC_PSIIER_MR_MASK); in enetc_msg_enable_mr_int()
42 enetc_wr(hw, ENETC_PSIIDR, ENETC_PSIIER_MR_MASK); in enetc_msg_task()
58 enetc_wr(hw, ENETC_PSIMSGRR, psimsgrr); in enetc_msg_task()
86 enetc_wr(hw, ENETC_PSIVMSGRCVAR0(idx), val); in enetc_msg_alloc_mbx()
88 enetc_wr(hw, ENETC_PSIVMSGRCVAR1(idx), val); in enetc_msg_alloc_mbx()
103 enetc_wr(hw, ENETC_PSIVMSGRCVAR0(idx), 0); in enetc_msg_free_mbx()
104 enetc_wr(hw, ENETC_PSIVMSGRCVAR1(idx), 0); in enetc_msg_free_mbx()
124 enetc_wr(&si->hw, ENETC_SIMSIVR, ENETC_SI_INT_IDX); in enetc_msg_psi_init()
Denetc.c1059 enetc_wr(hw, ENETC_SICAR2, in enetc_setup_cbdr()
1062 enetc_wr(hw, ENETC_SICBDRBAR0, lower_32_bits(cbdr->bd_dma_base)); in enetc_setup_cbdr()
1063 enetc_wr(hw, ENETC_SICBDRBAR1, upper_32_bits(cbdr->bd_dma_base)); in enetc_setup_cbdr()
1064 enetc_wr(hw, ENETC_SICBDRLENR, ENETC_RTBLENR_LEN(cbdr->bd_count)); in enetc_setup_cbdr()
1066 enetc_wr(hw, ENETC_SICBDRPIR, 0); in enetc_setup_cbdr()
1067 enetc_wr(hw, ENETC_SICBDRCIR, 0); in enetc_setup_cbdr()
1070 enetc_wr(hw, ENETC_SICBDRMR, BIT(31)); in enetc_setup_cbdr()
1078 enetc_wr(hw, ENETC_SICBDRMR, 0); in enetc_clear_cbdr()
1109 enetc_wr(hw, ENETC_SICAR0, in enetc_configure_si()
1111 enetc_wr(hw, ENETC_SICAR1, ENETC_SICAR_MSI); in enetc_configure_si()
[all …]
Denetc_vf.c16 enetc_wr(hw, ENETC_VSIMSGSNDAR1, upper_32_bits(msg->dma)); in enetc_msg_vsi_write_msg()
17 enetc_wr(hw, ENETC_VSIMSGSNDAR0, val); in enetc_msg_vsi_write_msg()
Denetc.h363 enetc_wr(hw, ENETC_PPSFPMR, enetc_rd(hw, ENETC_PPSFPMR) | in enetc_psfp_enable()
379 enetc_wr(hw, ENETC_PPSFPMR, enetc_rd(hw, ENETC_PPSFPMR) & in enetc_psfp_disable()
Denetc_hw.h453 #define enetc_wr(hw, off, val) enetc_wr_reg((hw)->reg + (off), val) macro
468 enetc_wr(hw, ENETC_BDR(t, n, off), val)
Denetc_qos.c69 enetc_wr(&priv->si->hw, in enetc_setup_taprio()
126 enetc_wr(&priv->si->hw, ENETC_QBV_PTGCR_OFFSET, in enetc_setup_taprio()
131 enetc_wr(&priv->si->hw, in enetc_setup_taprio()