Lines Matching defs:bus
44 #define MDC_PIN(bus) (((struct gpio_priv *)bus->priv)->mdc_pin) argument
45 #define MDIO_PIN(bus) (((struct gpio_priv *)bus->priv)->mdio_pin) argument
47 static inline void mdio_lo(struct mii_bus *bus) in mdio_lo()
52 static inline void mdio_hi(struct mii_bus *bus) in mdio_hi()
57 static inline void mdc_lo(struct mii_bus *bus) in mdc_lo()
62 static inline void mdc_hi(struct mii_bus *bus) in mdc_hi()
67 static inline void mdio_active(struct mii_bus *bus) in mdio_active()
72 static inline void mdio_tristate(struct mii_bus *bus) in mdio_tristate()
77 static inline int mdio_read(struct mii_bus *bus) in mdio_read()
82 static void clock_out(struct mii_bus *bus, int bit) in clock_out()
95 static void bitbang_pre(struct mii_bus *bus, int read, u8 addr, u8 reg) in bitbang_pre()
125 static int gpio_mdio_read(struct mii_bus *bus, int phy_id, int location) in gpio_mdio_read()
164 static int gpio_mdio_write(struct mii_bus *bus, int phy_id, int location, u16 val) in gpio_mdio_write()
210 static int gpio_mdio_reset(struct mii_bus *bus) in gpio_mdio_reset()
301 struct mii_bus *bus = dev_get_drvdata(&dev->dev); in gpio_mdio_remove() local