Searched refs:enetc_wr_reg (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_cbdr.c | 40 enetc_wr_reg(cbdr->pir, cbdr->next_to_clean); in enetc_setup_cbdr() 41 enetc_wr_reg(cbdr->cir, cbdr->next_to_use); in enetc_setup_cbdr() 43 enetc_wr_reg(cbdr->mr, BIT(31)); in enetc_setup_cbdr() 54 enetc_wr_reg(cbdr->mr, 0); in enetc_teardown_cbdr() 113 enetc_wr_reg(ring->pir, i); in enetc_send_cmd()
|
H A D | enetc_hw.h | 505 #define enetc_wr_reg(reg, val) _enetc_wr_reg_wa((reg), (val)) macro 507 #define enetc_wr(hw, off, val) enetc_wr_reg((hw)->reg + (off), val) 513 #define enetc_port_wr(hw, off, val) enetc_wr_reg((hw)->port + (off), val) 519 #define enetc_global_wr(hw, off, val) enetc_wr_reg((hw)->global + (off), val)
|