Searched refs:chip_state (Results 1 – 3 of 3) sorted by relevance
11 struct iio_dev *indio_dev = iio_device_alloc(sizeof(struct chip_state));12 where chip_state is a structure of local state data for this instance of
116 flstate_t chip_state = chip->state; in wait_for_ready() local132 map->name, chip_state); in wait_for_ready()155 while (chip->state != chip_state) { in wait_for_ready()
1244 int chip_state = chip->state; in inval_cache_and_wait_for_operation() local1259 if (chip->state != chip_state) { in inval_cache_and_wait_for_operation()1275 if (chip->erase_suspended && chip_state == FL_ERASING) { in inval_cache_and_wait_for_operation()1280 if (chip->write_suspended && chip_state == FL_WRITING) { in inval_cache_and_wait_for_operation()