Lines Matching defs:bus
46 #define MDC_PIN(bus) (((struct gpio_priv *)bus->priv)->mdc_pin) argument
47 #define MDIO_PIN(bus) (((struct gpio_priv *)bus->priv)->mdio_pin) argument
49 static inline void mdio_lo(struct mii_bus *bus) in mdio_lo()
54 static inline void mdio_hi(struct mii_bus *bus) in mdio_hi()
59 static inline void mdc_lo(struct mii_bus *bus) in mdc_lo()
64 static inline void mdc_hi(struct mii_bus *bus) in mdc_hi()
69 static inline void mdio_active(struct mii_bus *bus) in mdio_active()
74 static inline void mdio_tristate(struct mii_bus *bus) in mdio_tristate()
79 static inline int mdio_read(struct mii_bus *bus) in mdio_read()
84 static void clock_out(struct mii_bus *bus, int bit) in clock_out()
97 static void bitbang_pre(struct mii_bus *bus, int read, u8 addr, u8 reg) in bitbang_pre()
127 static int gpio_mdio_read(struct mii_bus *bus, int phy_id, int location) in gpio_mdio_read()
166 static int gpio_mdio_write(struct mii_bus *bus, int phy_id, int location, u16 val) in gpio_mdio_write()
212 static int gpio_mdio_reset(struct mii_bus *bus) in gpio_mdio_reset()
277 struct mii_bus *bus = dev_get_drvdata(&dev->dev); in gpio_mdio_remove() local