Lines Matching refs:command
85 u16 command; member
116 u16 command; in ad7291_event_handler() local
129 command = chip->command | AD7291_ALERT_CLEAR; in ad7291_event_handler()
130 ad7291_i2c_write(chip, AD7291_COMMAND, command); in ad7291_event_handler()
132 command = chip->command & ~AD7291_ALERT_CLEAR; in ad7291_event_handler()
133 ad7291_i2c_write(chip, AD7291_COMMAND, command); in ad7291_event_handler()
283 regval = chip->command; in ad7291_write_event_config()
310 chip->command = regval; in ad7291_write_event_config()
337 if (chip->command & AD7291_AUTOCYCLE) { in ad7291_read_raw()
342 regval = chip->command & (~AD7291_VOLTAGE_MASK); in ad7291_read_raw()
496 chip->command = AD7291_NOISE_DELAY | in ad7291_probe()
501 chip->command |= AD7291_EXT_REF; in ad7291_probe()
517 ret = ad7291_i2c_write(chip, AD7291_COMMAND, chip->command); in ad7291_probe()