Searched refs:enetc_port_mac_wr (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc_pf.c | 230 enetc_port_mac_wr(si, ENETC_PM0_IF_MODE, reg); in enetc_set_loopback() 238 enetc_port_mac_wr(si, ENETC_PM0_CMD_CFG, reg); in enetc_set_loopback() 413 enetc_port_mac_wr(si, ENETC_PM0_MAXFRM, in enetc_configure_port_mac() 418 enetc_port_mac_wr(si, ENETC_PM0_CMD_CFG, ENETC_PM0_CMD_PHY_TX_EN | in enetc_configure_port_mac() 425 enetc_port_mac_wr(si, ENETC_PM0_RX_FIFO, ENETC_PM0_RX_FIFO_VAL); in enetc_configure_port_mac() 436 enetc_port_mac_wr(si, ENETC_PM0_IF_MODE, val); in enetc_mac_config() 441 enetc_port_mac_wr(si, ENETC_PM0_IF_MODE, val); in enetc_mac_config() 452 enetc_port_mac_wr(si, ENETC_PM0_CMD_CFG, val); in enetc_mac_enable() 680 enetc_port_mac_wr(si, ENETC_PM0_IF_MODE, val); in enetc_force_rgmii_mac() 740 enetc_port_mac_wr(si, ENETC_PM0_PAUSE_QUANTA, init_quanta); in enetc_pl_mac_link_up() [all …]
|
| H A D | enetc4_pf.c | 126 enetc_port_mac_wr(si, ENETC4_PM_CMD_CFG(0), val); in enetc4_pf_set_loopback() 441 enetc_port_mac_wr(si, ENETC4_PM_MAXFRM(0), in enetc4_set_trx_frame_size() 630 enetc_port_mac_wr(si, ENETC4_PM_IF_MODE(0), val); in enetc4_mac_config() 693 enetc_port_mac_wr(si, ENETC4_PM_IF_MODE(0), val); in enetc4_set_rgmii_mac() 718 enetc_port_mac_wr(si, ENETC4_PM_IF_MODE(0), val); in enetc4_set_rmii_mac() 734 enetc_port_mac_wr(si, ENETC4_PM_CMD_CFG(0), val); in enetc4_set_hd_flow_control() 747 enetc_port_mac_wr(si, ENETC4_PM_CMD_CFG(0), val); in enetc4_set_rx_pause() 789 enetc_port_mac_wr(pf->si, ENETC4_PM_PAUSE_QUANTA(0), init_quanta); in enetc4_set_tx_pause() 790 enetc_port_mac_wr(pf->si, ENETC4_PM_PAUSE_THRESH(0), refresh_quanta); in enetc4_set_tx_pause() 826 enetc_port_mac_wr(si, ENETC4_PM_CMD_CFG(0), val); in enetc4_mac_tx_graceful_stop() [all …]
|
| H A D | enetc.h | 507 void enetc_port_mac_wr(struct enetc_si *si, u32 reg, u32 val);
|
| H A D | enetc.c | 27 void enetc_port_mac_wr(struct enetc_si *si, u32 reg, u32 val) in enetc_port_mac_wr() function 36 EXPORT_SYMBOL_GPL(enetc_port_mac_wr); 244 enetc_port_mac_wr(si, ENETC_PM0_SINGLE_STEP, val); in enetc_set_one_step_ts() 255 enetc_port_mac_wr(si, ENETC4_PM_SINGLE_STEP(0), val); in enetc4_set_one_step_ts()
|