Home
last modified time | relevance | path

Searched refs:mdio_cmd (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_mdio.c45 struct hclge_mdio_cfg_cmd *mdio_cmd; in hclge_mdio_write() local
55 mdio_cmd = (struct hclge_mdio_cfg_cmd *)desc.data; in hclge_mdio_write()
57 hnae3_set_field(mdio_cmd->phyid, HCLGE_MDIO_PHYID_M, in hclge_mdio_write()
59 hnae3_set_field(mdio_cmd->phyad, HCLGE_MDIO_PHYREG_M, in hclge_mdio_write()
62 hnae3_set_bit(mdio_cmd->ctrl_bit, HCLGE_MDIO_CTRL_START_B, 1); in hclge_mdio_write()
63 hnae3_set_field(mdio_cmd->ctrl_bit, HCLGE_MDIO_CTRL_ST_M, in hclge_mdio_write()
65 hnae3_set_field(mdio_cmd->ctrl_bit, HCLGE_MDIO_CTRL_OP_M, in hclge_mdio_write()
68 mdio_cmd->data_wr = cpu_to_le16(data); in hclge_mdio_write()
83 struct hclge_mdio_cfg_cmd *mdio_cmd; in hclge_mdio_read() local
93 mdio_cmd = (struct hclge_mdio_cfg_cmd *)desc.data; in hclge_mdio_read()
[all …]
/linux-6.12.1/include/linux/dsa/
Dtag_qca.h70 enum mdio_cmd { enum
/linux-6.12.1/drivers/net/ethernet/cavium/liquidio/
Dlio_ethtool.c767 struct oct_mdio_cmd *mdio_cmd; in octnet_mdio45_access() local
779 mdio_cmd = (struct oct_mdio_cmd *)sc->virtdptr; in octnet_mdio45_access()
781 mdio_cmd->op = op; in octnet_mdio45_access()
782 mdio_cmd->mdio_addr = loc; in octnet_mdio45_access()
784 mdio_cmd->value1 = *value; in octnet_mdio45_access()
785 octeon_swap_8B_data((u64 *)mdio_cmd, sizeof(struct oct_mdio_cmd) / 8); in octnet_mdio45_access()
/linux-6.12.1/drivers/net/dsa/qca/
Dqca8k-8xxx.c218 static struct sk_buff *qca8k_alloc_mdio_header(enum mdio_cmd cmd, u32 reg, u32 *val, in qca8k_alloc_mdio_header()