Lines Matching refs:buf
51 u8 buf[8]; in board_xhci_config() local
65 ret = dm_i2c_read(dev, I2C_IO_CFG_REG_0, buf, 1); in board_xhci_config()
70 buf[0] &= ~I2C_IO_REG_VBUS; in board_xhci_config()
71 buf[0] &= ~I2C_IO_REG_CL; in board_xhci_config()
72 ret = dm_i2c_write(dev, I2C_IO_CFG_REG_0, buf, 1); in board_xhci_config()
79 ret = dm_i2c_read(dev, I2C_IO_DATA_OUT_REG_0, buf, 1); in board_xhci_config()
84 buf[0] &= ~I2C_IO_REG_VBUS; in board_xhci_config()
85 buf[0] |= I2C_IO_REG_CL; in board_xhci_config()
86 ret = dm_i2c_write(dev, I2C_IO_DATA_OUT_REG_0, buf, 1); in board_xhci_config()
102 u8 buf[8]; in board_xhci_enable() local
120 ret = dm_i2c_read(dev, I2C_IO_DATA_OUT_REG_0, buf, 1); in board_xhci_enable()
127 buf[0] |= I2C_IO_REG_VBUS; in board_xhci_enable()
128 ret = dm_i2c_write(dev, I2C_IO_DATA_OUT_REG_0, buf, 1); in board_xhci_enable()