[PATCH v5 13/16] dundee: Add driver helper functions