Lines Matching refs:command
82 u16 command; member
113 u16 command; in ad7291_event_handler() local
126 command = chip->command | AD7291_ALERT_CLEAR; in ad7291_event_handler()
127 ad7291_i2c_write(chip, AD7291_COMMAND, command); in ad7291_event_handler()
129 command = chip->command & ~AD7291_ALERT_CLEAR; in ad7291_event_handler()
130 ad7291_i2c_write(chip, AD7291_COMMAND, command); in ad7291_event_handler()
280 regval = chip->command; in ad7291_write_event_config()
307 chip->command = regval; in ad7291_write_event_config()
334 if (chip->command & AD7291_AUTOCYCLE) { in ad7291_read_raw()
339 regval = chip->command & (~AD7291_VOLTAGE_MASK); in ad7291_read_raw()
484 chip->command = AD7291_NOISE_DELAY | in ad7291_probe()
506 chip->command |= AD7291_EXT_REF; in ad7291_probe()
520 ret = ad7291_i2c_write(chip, AD7291_COMMAND, chip->command); in ad7291_probe()