Lines Matching defs:us
68 * @us: actual spi_device
74 struct spi_device *us;
115 ret = spi_sync_transfer(st->us, xfers, ARRAY_SIZE(xfers));
117 dev_err(&st->us->dev, "problem while reading 16 bit register 0x%02x\n",
151 ret = spi_write(st->us, &st->tx, sizeof(st->tx));
153 dev_err(&st->us->dev, "problem while writing 16 bit register 0x%02x\n",
185 ret = spi_sync_transfer(st->us, xfers, ARRAY_SIZE(xfers));
187 dev_err(&st->us->dev, "Problem while reading sensor data\n");
221 ret = spi_sync_transfer(st->us, &xfers, 1);
223 dev_err(&st->us->dev, "Problem while reading initializing data\n");
247 dev_warn(&st->us->dev, "The initial power on response is not correct! Restart without reset?\n");
259 dev_err(&st->us->dev, "The second response is not correct!\n");
267 dev_err(&st->us->dev, "The third response is not correct!\n");
275 dev_err(&st->us->dev, "The device is not in normal status!\n");
422 st->us = spi;