Searched refs:enetc_wr (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_msg.c | 10 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()
|
H A D | enetc_cbdr.c | 33 enetc_wr(hw, ENETC_SICAR2, in enetc_setup_cbdr() 36 enetc_wr(hw, ENETC_SICBDRBAR0, lower_32_bits(cbdr->bd_dma_base)); in enetc_setup_cbdr() 37 enetc_wr(hw, ENETC_SICBDRBAR1, upper_32_bits(cbdr->bd_dma_base)); in enetc_setup_cbdr() 38 enetc_wr(hw, ENETC_SICBDRLENR, ENETC_RTBLENR_LEN(cbdr->bd_count)); in enetc_setup_cbdr()
|
H A D | enetc_vf.c | 16 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()
|
H A D | enetc.h | 537 enetc_wr(hw, ENETC_PPSFPMR, enetc_rd(hw, ENETC_PPSFPMR) | in enetc_psfp_enable() 553 enetc_wr(hw, ENETC_PPSFPMR, enetc_rd(hw, ENETC_PPSFPMR) & in enetc_psfp_disable()
|
H A D | enetc.c | 2108 enetc_wr(hw, ENETC_SICAR0, in enetc_configure_si() 2110 enetc_wr(hw, ENETC_SICAR1, ENETC_SICAR_MSI); in enetc_configure_si() 2112 enetc_wr(hw, ENETC_SIMR, ENETC_SIMR_EN); in enetc_configure_si() 2382 enetc_wr(hw, ENETC_SIMSIRRV(i), entry); in enetc_setup_irqs() 2387 enetc_wr(hw, ENETC_SIMSITRV(idx), entry); in enetc_setup_irqs() 2909 enetc_wr(hw, ENETC_SIRBGCR, priv->num_rx_rings); in enetc_set_rss() 2914 enetc_wr(hw, ENETC_SIMR, reg); in enetc_set_rss()
|
H A D | enetc_hw.h | 507 #define enetc_wr(hw, off, val) enetc_wr_reg((hw)->reg + (off), val) macro 524 enetc_wr(hw, ENETC_BDR(t, n, off), val)
|
H A D | enetc_qos.c | 113 enetc_wr(hw, ENETC_PTGCR, tge | ENETC_PTGCR_TGE); in enetc_setup_taprio() 117 enetc_wr(hw, ENETC_PTGCR, tge & ~ENETC_PTGCR_TGE); in enetc_setup_taprio() 144 enetc_wr(hw, ENETC_PTGCR, val & ~ENETC_PTGCR_TGE); in enetc_reset_taprio()
|