Home
last modified time | relevance | path

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

/Linux-v6.1/arch/powerpc/platforms/pasemi/
Dgpio_mdio.c35 #define MDIO_PIN(bus) (((struct gpio_priv *)bus->priv)->mdio_pin) macro
39 out_le32(gpio_regs+0x10, 1 << MDIO_PIN(bus)); in mdio_lo()
44 out_le32(gpio_regs, 1 << MDIO_PIN(bus)); in mdio_hi()
59 out_le32(gpio_regs+0x20, (1 << MDC_PIN(bus)) | (1 << MDIO_PIN(bus))); in mdio_active()
64 out_le32(gpio_regs+0x30, (1 << MDIO_PIN(bus))); in mdio_tristate()
69 return !!(in_le32(gpio_regs+0x40) & (1 << MDIO_PIN(bus))); in mdio_read()
/Linux-v6.1/drivers/net/ethernet/ti/
Ddavinci_mdio.c62 #define MDIO_PIN 0 macro
225 return test_bit(MDIO_PIN, &reg); in davinci_get_mdio_data()