Searched refs:last_dev (Results 1 – 1 of 1) sorted by relevance
206 …spi_bus_lock_dev_t* last_dev; ///< Last used device, to decide whether to refresh all regist… member542 lock->last_dev = NULL; in spi_bus_init_lock()616 if (lock->last_dev == dev_handle) lock->last_dev = NULL; in spi_bus_lock_unregister_dev()651 spi_bus_lock_dev_t* last_dev = dev_handle->parent->last_dev; in spi_bus_lock_touch() local652 dev_handle->parent->last_dev = dev_handle; in spi_bus_lock_touch()653 if (last_dev != dev_handle) { in spi_bus_lock_touch()654 int last_dev_id = (last_dev? dev_lock_get_id(last_dev): -1); in spi_bus_lock_touch()658 return (dev_handle != last_dev); in spi_bus_lock_touch()