Lines Matching refs:gpio_data
1554 uint8_t gpio_data[3] = {0}; in xgbe_phy_validate_gpio_expander() local
1581 gpio_data[0] = 4; /* polarity register */ in xgbe_phy_validate_gpio_expander()
1584 gpio_data, sizeof(gpio_data)); in xgbe_phy_validate_gpio_expander()
1599 gpio_data[0] = 6; /* configuration register */ in xgbe_phy_validate_gpio_expander()
1602 gpio_data[1] = config & 0xff; in xgbe_phy_validate_gpio_expander()
1603 gpio_data[2] = (config >> 8); in xgbe_phy_validate_gpio_expander()
1606 gpio_data, sizeof(gpio_data)); in xgbe_phy_validate_gpio_expander()
3254 uint8_t gpio_reg, gpio_ports[2], gpio_data[3]; in xgbe_phy_i2c_mdio_reset() local
3266 gpio_data[0] = 2; in xgbe_phy_i2c_mdio_reset()
3267 gpio_data[1] = gpio_ports[0]; in xgbe_phy_i2c_mdio_reset()
3268 gpio_data[2] = gpio_ports[1]; in xgbe_phy_i2c_mdio_reset()
3272 gpio_data[1] |= (1 << (phy_data->mdio_reset_gpio % 8)); in xgbe_phy_i2c_mdio_reset()
3274 gpio_data[2] |= (1 << (phy_data->mdio_reset_gpio % 8)); in xgbe_phy_i2c_mdio_reset()
3278 gpio_data, sizeof(gpio_data)); in xgbe_phy_i2c_mdio_reset()
3284 gpio_data[1] &= ~(1 << (phy_data->mdio_reset_gpio % 8)); in xgbe_phy_i2c_mdio_reset()
3286 gpio_data[2] &= ~(1 << (phy_data->mdio_reset_gpio % 8)); in xgbe_phy_i2c_mdio_reset()
3290 gpio_data, sizeof(gpio_data)); in xgbe_phy_i2c_mdio_reset()