Searched refs:mdio_dev (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/hisilicon/ |
D | hns_mdio.c | 153 static int mdio_sc_cfg_reg_write(struct hns_mdio_device *mdio_dev, in mdio_sc_cfg_reg_write() argument 161 regmap_write(mdio_dev->subctrl_vbase, cfg_reg, set_val); in mdio_sc_cfg_reg_write() 164 ret = regmap_read(mdio_dev->subctrl_vbase, st_reg, ®_value); in mdio_sc_cfg_reg_write() 181 struct hns_mdio_device *mdio_dev = bus->priv; in hns_mdio_wait_ready() local 188 cmd_reg_value = MDIO_GET_REG_BIT(mdio_dev, in hns_mdio_wait_ready() 198 static void hns_mdio_cmd_write(struct hns_mdio_device *mdio_dev, in hns_mdio_cmd_write() argument 211 MDIO_WRITE_REG(mdio_dev, MDIO_COMMAND_REG, cmd_reg_value); in hns_mdio_cmd_write() 227 struct hns_mdio_device *mdio_dev = (struct hns_mdio_device *)bus->priv; in hns_mdio_write() local 235 bus->id, mdio_dev->vbase); in hns_mdio_write() 251 MDIO_SET_REG_FIELD(mdio_dev, MDIO_ADDR_REG, MDIO_ADDR_DATA_M, in hns_mdio_write() [all …]
|
/drivers/net/ethernet/ibm/emac/ |
D | core.h | 198 struct platform_device *mdio_dev; member
|
D | core.c | 2334 of_dev_put(dev->mdio_dev); in emac_put_deps() 2383 dev->mdio_dev = deps[EMAC_DEP_MDIO_IDX].ofdev; in emac_wait_deps() 2803 if (dev->mdio_dev != NULL) in emac_probe() 2804 dev->mdio_instance = platform_get_drvdata(dev->mdio_dev); in emac_probe()
|
/drivers/net/phy/ |
D | mdio_bus.c | 672 ATTRIBUTE_GROUPS(mdio_dev);
|