Lines Matching refs:write_val
350 qca8k_regmap_update_bits_eth(struct qca8k_priv *priv, u32 reg, u32 mask, u32 write_val) in qca8k_regmap_update_bits_eth() argument
360 val |= write_val; in qca8k_regmap_update_bits_eth()
418 qca8k_regmap_update_bits(void *ctx, uint32_t reg, uint32_t mask, uint32_t write_val) in qca8k_regmap_update_bits() argument
426 if (!qca8k_regmap_update_bits_eth(priv, reg, mask, write_val)) in qca8k_regmap_update_bits()
442 val |= write_val; in qca8k_regmap_update_bits()
503 u32 write_val, clear_val = 0, val; in qca8k_phy_eth_command() local
513 write_val = QCA8K_MDIO_MASTER_BUSY | QCA8K_MDIO_MASTER_EN | in qca8k_phy_eth_command()
518 write_val |= QCA8K_MDIO_MASTER_READ; in qca8k_phy_eth_command()
520 write_val |= QCA8K_MDIO_MASTER_WRITE; in qca8k_phy_eth_command()
521 write_val |= QCA8K_MDIO_MASTER_DATA(data); in qca8k_phy_eth_command()
525 write_skb = qca8k_alloc_mdio_header(MDIO_WRITE, QCA8K_MDIO_MASTER_CTRL, &write_val, in qca8k_phy_eth_command()
526 QCA8K_ETHERNET_PHY_PRIORITY, sizeof(write_val)); in qca8k_phy_eth_command()