Lines Matching refs:command
34 u32 command, val, device_type = 0; in ngbe_phy_read_reg_mdi_c22() local
40 command = WX_MSCA_RA(regnum) | in ngbe_phy_read_reg_mdi_c22()
43 wr32(wx, WX_MSCA, command); in ngbe_phy_read_reg_mdi_c22()
44 command = WX_MSCC_CMD(WX_MSCA_CMD_READ) | in ngbe_phy_read_reg_mdi_c22()
47 wr32(wx, WX_MSCC, command); in ngbe_phy_read_reg_mdi_c22()
62 u32 command, val, device_type = 0; in ngbe_phy_write_reg_mdi_c22() local
68 command = WX_MSCA_RA(regnum) | in ngbe_phy_write_reg_mdi_c22()
71 wr32(wx, WX_MSCA, command); in ngbe_phy_write_reg_mdi_c22()
72 command = value | in ngbe_phy_write_reg_mdi_c22()
76 wr32(wx, WX_MSCC, command); in ngbe_phy_write_reg_mdi_c22()
90 u32 val, command; in ngbe_phy_read_reg_mdi_c45() local
95 command = WX_MSCA_RA(regnum) | in ngbe_phy_read_reg_mdi_c45()
98 wr32(wx, WX_MSCA, command); in ngbe_phy_read_reg_mdi_c45()
99 command = WX_MSCC_CMD(WX_MSCA_CMD_READ) | in ngbe_phy_read_reg_mdi_c45()
102 wr32(wx, WX_MSCC, command); in ngbe_phy_read_reg_mdi_c45()
119 int ret, command; in ngbe_phy_write_reg_mdi_c45() local
124 command = WX_MSCA_RA(regnum) | in ngbe_phy_write_reg_mdi_c45()
127 wr32(wx, WX_MSCA, command); in ngbe_phy_write_reg_mdi_c45()
128 command = value | in ngbe_phy_write_reg_mdi_c45()
132 wr32(wx, WX_MSCC, command); in ngbe_phy_write_reg_mdi_c45()