Home
last modified time | relevance | path

Searched refs:qca8k_write (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/dsa/qca/
H A Dqca8k-common.c71 int qca8k_write(struct qca8k_priv *priv, u32 reg, u32 val) in qca8k_write() function
179 ret = qca8k_write(priv, QCA8K_REG_ATU_FUNC, reg); in qca8k_fdb_access()
337 ret = qca8k_write(priv, QCA8K_REG_VTU_FUNC1, reg); in qca8k_vlan_access()
385 ret = qca8k_write(priv, QCA8K_REG_VTU_FUNC0, reg); in qca8k_vlan_add()
427 ret = qca8k_write(priv, QCA8K_REG_VTU_FUNC0, reg); in qca8k_vlan_del()
459 ret = qca8k_write(priv, QCA8K_REG_MODULE_EN, QCA8K_MODULE_EN_MIB); in qca8k_mib_init()
554 ret = qca8k_write(priv, QCA8K_REG_EEE_CTRL, reg); in qca8k_set_mac_eee()
785 ret = qca8k_write(priv, QCA8K_MAX_FRAME_SIZE, new_mtu + in qca8k_port_change_mtu()
1021 ret = qca8k_write(priv, QCA8K_REG_PORT_VLAN_CTRL0(port), in qca8k_port_vlan_add()
H A Dqca8k-8xxx.c1367 qca8k_write(priv, reg, QCA8K_PORT_PAD_RGMII_EN); in qca8k_phylink_mac_config()
1377 qca8k_write(priv, QCA8K_REG_PORT5_PAD_CTRL, in qca8k_phylink_mac_config()
1383 qca8k_write(priv, reg, QCA8K_PORT_PAD_SGMII_EN); in qca8k_phylink_mac_config()
1474 qca8k_write(priv, QCA8K_REG_PORT_STATUS(port), reg); in qca8k_phylink_mac_link_up()
1579 qca8k_write(priv, QCA8K_REG_SGMII_CTRL, val); in qca8k_pcs_config()
1895 ret = qca8k_write(priv, QCA8K_REG_PORT_HDR_CTRL(dp->index), in qca8k_setup()
1908 ret = qca8k_write(priv, QCA8K_REG_GLOBAL_FW_CTRL1, in qca8k_setup()
1948 ret = qca8k_write(priv, QCA8K_REG_PORT_VLAN_CTRL0(port), in qca8k_setup()
1976 ret = qca8k_write(priv, QCA8K_MAX_FRAME_SIZE, ETH_FRAME_LEN + ETH_FCS_LEN); in qca8k_setup()
H A Dqca8k.h507 int qca8k_write(struct qca8k_priv *priv, u32 reg, u32 val);