Lines Matching refs:mdio_gpio
213 struct gpio_desc mdio_gpio; member
248 gpio_mii->mdio_gpio.dev = gpio_dev2; in mii_mdio_init()
249 gpio_mii->mdio_gpio.offset = gpio_mii->mdio_num - 32; in mii_mdio_init()
251 gpio_mii->mdio_gpio.dev = gpio_dev1; in mii_mdio_init()
252 gpio_mii->mdio_gpio.offset = gpio_mii->mdio_num; in mii_mdio_init()
254 gpio_mii->mdio_gpio.flags = 0; in mii_mdio_init()
256 dm_gpio_request(&gpio_mii->mdio_gpio, name); in mii_mdio_init()
277 dm_gpio_set_dir_flags(&gpio_mii->mdio_gpio, GPIOD_IS_IN); in mii_mdio_tristate()
286 dm_gpio_set_dir_flags(&gpio_mii->mdio_gpio, GPIOD_IS_OUT); in mii_set_mdio()
287 dm_gpio_set_value(&gpio_mii->mdio_gpio, v); in mii_set_mdio()
297 dm_gpio_set_dir_flags(&gpio_mii->mdio_gpio, GPIOD_IS_IN); in mii_get_mdio()
298 *v = (dm_gpio_get_value(&gpio_mii->mdio_gpio)); in mii_get_mdio()