Home
last modified time | relevance | path

Searched refs:MDIO_PIN (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/arch/powerpc/platforms/pasemi/
Dgpio_mdio.c47 #define MDIO_PIN(bus) (((struct gpio_priv *)bus->priv)->mdio_pin) macro
51 out_le32(gpio_regs+0x10, 1 << MDIO_PIN(bus)); in mdio_lo()
56 out_le32(gpio_regs, 1 << MDIO_PIN(bus)); in mdio_hi()
71 out_le32(gpio_regs+0x20, (1 << MDC_PIN(bus)) | (1 << MDIO_PIN(bus))); in mdio_active()
76 out_le32(gpio_regs+0x30, (1 << MDIO_PIN(bus))); in mdio_tristate()
81 return !!(in_le32(gpio_regs+0x40) & (1 << MDIO_PIN(bus))); in mdio_read()