[PATCH v6 13/22] core: read: add dev_read_addr_index_ptr function