Lines Matching defs:bus
34 #define MDC_PIN(bus) (((struct gpio_priv *)bus->priv)->mdc_pin) argument
35 #define MDIO_PIN(bus) (((struct gpio_priv *)bus->priv)->mdio_pin) argument
37 static inline void mdio_lo(struct mii_bus *bus) in mdio_lo()
42 static inline void mdio_hi(struct mii_bus *bus) in mdio_hi()
47 static inline void mdc_lo(struct mii_bus *bus) in mdc_lo()
52 static inline void mdc_hi(struct mii_bus *bus) in mdc_hi()
57 static inline void mdio_active(struct mii_bus *bus) in mdio_active()
62 static inline void mdio_tristate(struct mii_bus *bus) in mdio_tristate()
67 static inline int mdio_read(struct mii_bus *bus) in mdio_read()
72 static void clock_out(struct mii_bus *bus, int bit) in clock_out()
85 static void bitbang_pre(struct mii_bus *bus, int read, u8 addr, u8 reg) in bitbang_pre()
115 static int gpio_mdio_read(struct mii_bus *bus, int phy_id, int location) in gpio_mdio_read()
154 static int gpio_mdio_write(struct mii_bus *bus, int phy_id, int location, u16 val) in gpio_mdio_write()
200 static int gpio_mdio_reset(struct mii_bus *bus) in gpio_mdio_reset()
265 struct mii_bus *bus = dev_get_drvdata(&dev->dev); in gpio_mdio_remove() local