Lines Matching refs:desc
47 struct hclge_desc desc; in hclge_mdio_write() local
53 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_MDIO_CONFIG, false); in hclge_mdio_write()
55 mdio_cmd = (struct hclge_mdio_cfg_cmd *)desc.data; in hclge_mdio_write()
70 ret = hclge_cmd_send(&hdev->hw, &desc, 1); in hclge_mdio_write()
85 struct hclge_desc desc; in hclge_mdio_read() local
91 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_MDIO_CONFIG, true); in hclge_mdio_read()
93 mdio_cmd = (struct hclge_mdio_cfg_cmd *)desc.data; in hclge_mdio_read()
107 ret = hclge_cmd_send(&hdev->hw, &desc, 1); in hclge_mdio_read()
280 struct hclge_desc desc; in hclge_read_phy_reg() local
283 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_PHY_REG, true); in hclge_read_phy_reg()
285 req = (struct hclge_phy_reg_cmd *)desc.data; in hclge_read_phy_reg()
288 ret = hclge_cmd_send(&hdev->hw, &desc, 1); in hclge_read_phy_reg()
299 struct hclge_desc desc; in hclge_write_phy_reg() local
302 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_PHY_REG, false); in hclge_write_phy_reg()
304 req = (struct hclge_phy_reg_cmd *)desc.data; in hclge_write_phy_reg()
308 ret = hclge_cmd_send(&hdev->hw, &desc, 1); in hclge_write_phy_reg()