Lines Matching refs:mdio_dev
13 static int regmap_mdio_read(struct mdio_device *mdio_dev, u32 reg, unsigned int *val) in regmap_mdio_read() argument
17 ret = mdiodev_read(mdio_dev, reg); in regmap_mdio_read()
25 static int regmap_mdio_write(struct mdio_device *mdio_dev, u32 reg, unsigned int val) in regmap_mdio_write() argument
27 return mdiodev_write(mdio_dev, reg, val); in regmap_mdio_write()
32 struct mdio_device *mdio_dev = context; in regmap_mdio_c22_read() local
37 return regmap_mdio_read(mdio_dev, reg, val); in regmap_mdio_c22_read()
42 struct mdio_device *mdio_dev = context; in regmap_mdio_c22_write() local
47 return mdiodev_write(mdio_dev, reg, val); in regmap_mdio_c22_write()
57 struct mdio_device *mdio_dev = context; in regmap_mdio_c45_read() local
62 return regmap_mdio_read(mdio_dev, MII_ADDR_C45 | reg, val); in regmap_mdio_c45_read()
67 struct mdio_device *mdio_dev = context; in regmap_mdio_c45_write() local
72 return regmap_mdio_write(mdio_dev, MII_ADDR_C45 | reg, val); in regmap_mdio_c45_write()
80 struct regmap *__regmap_init_mdio(struct mdio_device *mdio_dev, in __regmap_init_mdio() argument
93 return __regmap_init(&mdio_dev->dev, bus, mdio_dev, config, lock_key, lock_name); in __regmap_init_mdio()
97 struct regmap *__devm_regmap_init_mdio(struct mdio_device *mdio_dev, in __devm_regmap_init_mdio() argument
110 return __devm_regmap_init(&mdio_dev->dev, bus, mdio_dev, config, lock_key, lock_name); in __devm_regmap_init_mdio()