Lines Matching +full:1 +full:ac
19 #define ADXL34X_CMD_MULTB (1 << 6)
20 #define ADXL34X_CMD_READ (1 << 7)
43 buf[1] = val; in adxl34x_spi_write()
56 status = spi_write_then_read(spi, ®, 1, buf, count); in adxl34x_spi_read_block()
70 struct adxl34x *ac; in adxl34x_spi_probe() local
78 ac = adxl34x_probe(&spi->dev, spi->irq, in adxl34x_spi_probe()
82 if (IS_ERR(ac)) in adxl34x_spi_probe()
83 return PTR_ERR(ac); in adxl34x_spi_probe()
85 spi_set_drvdata(spi, ac); in adxl34x_spi_probe()
92 struct adxl34x *ac = spi_get_drvdata(spi); in adxl34x_spi_remove() local
94 adxl34x_remove(ac); in adxl34x_spi_remove()
100 struct adxl34x *ac = spi_get_drvdata(spi); in adxl34x_spi_suspend() local
102 adxl34x_suspend(ac); in adxl34x_spi_suspend()
110 struct adxl34x *ac = spi_get_drvdata(spi); in adxl34x_spi_resume() local
112 adxl34x_resume(ac); in adxl34x_spi_resume()