Searched refs:tusb (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/phy/ti/ |
H A D | phy-tusb1210.c | 71 static int tusb1210_ulpi_write(struct tusb1210 *tusb, u8 reg, u8 val) in tusb1210_ulpi_write() argument 75 ret = ulpi_write(tusb->ulpi, reg, val); in tusb1210_ulpi_write() 77 dev_err(&tusb->ulpi->dev, "error %d writing val 0x%02x to reg 0x%02x\n", in tusb1210_ulpi_write() 83 static int tusb1210_ulpi_read(struct tusb1210 *tusb, u8 reg, u8 *val) in tusb1210_ulpi_read() argument 87 ret = ulpi_read(tusb->ulpi, reg); in tusb1210_ulpi_read() 92 dev_err(&tusb->ulpi->dev, "error %d reading reg 0x%02x\n", ret, reg); in tusb1210_ulpi_read() 100 struct tusb1210 *tusb = phy_get_drvdata(phy); in tusb1210_power_on() local 102 gpiod_set_value_cansleep(tusb->gpio_reset, 1); in tusb1210_power_on() 103 gpiod_set_value_cansleep(tusb->gpio_cs, 1); in tusb1210_power_on() 108 tusb1210_ulpi_write(tusb, TUSB1210_VENDOR_SPECIFIC2, tusb->vendor_specific2); in tusb1210_power_on() [all …]
|