Home
last modified time | relevance | path

Searched refs:AC_WRITE (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/input/misc/
H A Dadxl34x.c182 #define AC_WRITE(ac, reg, val) ((ac)->bops->write((ac)->dev, reg, val)) macro
407 AC_WRITE(ac, POWER_CTL, 0); in __adxl34x_disable()
412 AC_WRITE(ac, POWER_CTL, ac->pdata.power_mode | PCTL_MEASURE); in __adxl34x_enable()
517 AC_WRITE(ac, OFSX, (s8) ac->hwcal.x); in adxl34x_calibrate_store()
518 AC_WRITE(ac, OFSY, (s8) ac->hwcal.y); in adxl34x_calibrate_store()
519 AC_WRITE(ac, OFSZ, (s8) ac->hwcal.z); in adxl34x_calibrate_store()
550 AC_WRITE(ac, BW_RATE, in adxl34x_rate_store()
588 AC_WRITE(ac, POWER_CTL, ac->pdata.power_mode | PCTL_MEASURE); in adxl34x_autosleep_store()
626 AC_WRITE(ac, val >> 8, val & 0xFF); in adxl34x_write_store()
794 AC_WRITE(ac, POWER_CTL, 0); in adxl34x_probe()
[all …]