Lines Matching refs:phy_msg
892 struct ice_sbq_msg_input phy_msg; in ice_write_phy_eth56g() local
895 phy_msg.opcode = ice_sbq_msg_wr; in ice_write_phy_eth56g()
897 phy_msg.msg_addr_low = lower_16_bits(addr); in ice_write_phy_eth56g()
898 phy_msg.msg_addr_high = upper_16_bits(addr); in ice_write_phy_eth56g()
900 phy_msg.data = val; in ice_write_phy_eth56g()
901 phy_msg.dest_dev = hw->ptp.phy.eth56g.phy_addr[phy_idx]; in ice_write_phy_eth56g()
903 err = ice_sbq_rw_reg(hw, &phy_msg, ICE_AQ_FLAG_RD); in ice_write_phy_eth56g()
924 struct ice_sbq_msg_input phy_msg; in ice_read_phy_eth56g() local
927 phy_msg.opcode = ice_sbq_msg_rd; in ice_read_phy_eth56g()
929 phy_msg.msg_addr_low = lower_16_bits(addr); in ice_read_phy_eth56g()
930 phy_msg.msg_addr_high = upper_16_bits(addr); in ice_read_phy_eth56g()
932 phy_msg.data = 0; in ice_read_phy_eth56g()
933 phy_msg.dest_dev = hw->ptp.phy.eth56g.phy_addr[phy_idx]; in ice_read_phy_eth56g()
935 err = ice_sbq_rw_reg(hw, &phy_msg, ICE_AQ_FLAG_RD); in ice_read_phy_eth56g()
942 *val = phy_msg.data; in ice_read_phy_eth56g()